@@ -34,16 +34,16 @@ type WorkspaceResourcesList struct {
34
34
35
35
// WorkspaceResource represents a Terraform Enterprise workspace resource.
36
36
type WorkspaceResource struct {
37
- ID string `jsonapi:"primary,resources"`
38
- Address string `jsonapi:"attr,address"`
39
- Name string `jsonapi:"attr,name"`
40
- CreatedAt string `jsonapi:"attr,created-at"`
41
- UpdatedAt string `jsonapi:"attr,updated-at"`
42
- Module string `jsonapi:"attr,module"`
43
- Provider string `jsonapi:"attr,provider"`
44
- ProviderType string `jsonapi:"attr,provider-type"`
45
- ModifiedByStateVersionID string `jsonapi:"attr,modified-by-state-version-id"`
46
- NameIndex string `jsonapi:"attr,name-index"`
37
+ ID string `jsonapi:"primary,resources"`
38
+ Address string `jsonapi:"attr,address"`
39
+ Name string `jsonapi:"attr,name"`
40
+ CreatedAt string `jsonapi:"attr,created-at"`
41
+ UpdatedAt string `jsonapi:"attr,updated-at"`
42
+ Module string `jsonapi:"attr,module"`
43
+ Provider string `jsonapi:"attr,provider"`
44
+ ProviderType string `jsonapi:"attr,provider-type"`
45
+ ModifiedByStateVersionID string `jsonapi:"attr,modified-by-state-version-id"`
46
+ NameIndex * string `jsonapi:"attr,name-index"`
47
47
}
48
48
49
49
// WorkspaceResourceListOptions represents the options for listing workspace resources.
0 commit comments