Skip to content

Commit c2d256b

Browse files
Fixed jsonapi references
1 parent da51d3c commit c2d256b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stack_deployment_groups.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ type stackDeploymentGroups struct {
2828
var _ StackDeploymentGroups = &stackDeploymentGroups{}
2929

3030
type StackDeploymentGroup struct {
31-
ID string
31+
ID string `jsonapi:"primary,stacks-deployment-groups"`
3232
Name string `jsonapi:"attr,name"`
3333
Status DeploymentGroupStatus `jsonapi:"attr,status"`
34-
CreatedAt string
35-
UpdatedAt string
34+
CreatedAt string `jsonapi:"attr,created-at"`
35+
UpdatedAt string `jsonapi:"attr,updated-at"`
3636

3737
// Relationships
38-
StackConfiguration StackConfiguration
38+
StackConfiguration StackConfiguration `jsonapi:"relation,stack-configurations"`
3939
}
4040

4141
// StackDeploymentGroupList represents a list of stack deployment groups.

0 commit comments

Comments
 (0)