Skip to content

Commit 06efce6

Browse files
authored
Add attribute to struct (#1167)
* Update stack_deployment_steps.go * add test * Update CHANGELOG.md * fix linter * Update stack_deployment_steps_integration_test.go * change to Links map
1 parent 13e81e4 commit 06efce6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Unreleased
22

3+
## Enhancements
4+
* Add the `Links` attribute to the `StackDeploymentStep` struct to support the deployment step GET endpoint by @shwetamurali [#1167](https://github.com/h)
5+
36
# v1.88.0
47

58
## Enhancements

stack_deployment_steps.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ type StackDeploymentStep struct {
2828
CreatedAt time.Time `jsonapi:"attr,created-at,iso8601"`
2929
UpdatedAt time.Time `jsonapi:"attr,created-at,iso8601"`
3030

31+
// Links
32+
Links map[string]interface{} `jsonapi:"links,omitempty"`
33+
3134
// Relationships
3235
StackDeploymentRun *StackDeploymentRun `jsonapi:"relation,stack-deployment-run"`
3336
}

0 commit comments

Comments
 (0)