diff --git a/services/git/model_create_instance_payload.go b/services/git/model_create_instance_payload.go index 238a21b1c..0af2e443e 100644 --- a/services/git/model_create_instance_payload.go +++ b/services/git/model_create_instance_payload.go @@ -42,7 +42,7 @@ type CreateInstancePayloadGetNameRetType = string type CreateInstancePayload struct { // A user chosen name to distinguish multiple STACKIT Git instances. // REQUIRED - Name CreateInstancePayloadGetNameAttributeType `json:"name"` + Name CreateInstancePayloadGetNameAttributeType `json:"name" required:"true"` } type _CreateInstancePayload CreateInstancePayload diff --git a/services/git/model_instance.go b/services/git/model_instance.go index 7fe9a930f..5299f8336 100644 --- a/services/git/model_instance.go +++ b/services/git/model_instance.go @@ -259,22 +259,22 @@ type InstanceGetVersionRetType = string type Instance struct { // The date and time the creation of the STACKIT Git instance was triggered. // REQUIRED - Created InstanceGetCreatedAttributeType `json:"created"` + Created InstanceGetCreatedAttributeType `json:"created" required:"true"` // A auto generated unique id which identifies the STACKIT Git instances. // REQUIRED - Id InstanceGetIdAttributeType `json:"id"` + Id InstanceGetIdAttributeType `json:"id" required:"true"` // A user chosen name to distinguish multiple STACKIT Git instances. // REQUIRED - Name InstanceGetNameAttributeType `json:"name"` + Name InstanceGetNameAttributeType `json:"name" required:"true"` // The current state of the STACKIT Git instance. // REQUIRED - State InstanceGetStateAttributeType `json:"state"` + State InstanceGetStateAttributeType `json:"state" required:"true"` // The URL for reaching the STACKIT Git instance. // REQUIRED - Url InstanceGetUrlAttributeType `json:"url"` + Url InstanceGetUrlAttributeType `json:"url" required:"true"` // The current version of STACKIT Git deployed to the instance. // REQUIRED - Version InstanceGetVersionAttributeType `json:"version"` + Version InstanceGetVersionAttributeType `json:"version" required:"true"` } type _Instance Instance diff --git a/services/git/model_list_instances.go b/services/git/model_list_instances.go index 3bd03e062..8b115a113 100644 --- a/services/git/model_list_instances.go +++ b/services/git/model_list_instances.go @@ -40,7 +40,7 @@ func setListInstancesGetInstancesAttributeType(arg *ListInstancesGetInstancesAtt // ListInstances A list of STACKIT Git instances. type ListInstances struct { // REQUIRED - Instances ListInstancesGetInstancesAttributeType `json:"instances"` + Instances ListInstancesGetInstancesAttributeType `json:"instances" required:"true"` } type _ListInstances ListInstances