diff --git a/services/serverupdate/model_create_update_payload.go b/services/serverupdate/model_create_update_payload.go index 758412480..4db77cb85 100644 --- a/services/serverupdate/model_create_update_payload.go +++ b/services/serverupdate/model_create_update_payload.go @@ -62,7 +62,7 @@ type CreateUpdatePayload struct { BackupBeforeUpdate CreateUpdatePayloadgetBackupBeforeUpdateAttributeType `json:"backupBeforeUpdate,omitempty"` // Can be cast to int32 without loss of precision. // REQUIRED - MaintenanceWindow CreateUpdatePayloadGetMaintenanceWindowAttributeType `json:"maintenanceWindow"` + MaintenanceWindow CreateUpdatePayloadGetMaintenanceWindowAttributeType `json:"maintenanceWindow" required:"true"` } type _CreateUpdatePayload CreateUpdatePayload diff --git a/services/serverupdate/model_create_update_schedule_payload.go b/services/serverupdate/model_create_update_schedule_payload.go index a4e1e5abf..a4f6250d0 100644 --- a/services/serverupdate/model_create_update_schedule_payload.go +++ b/services/serverupdate/model_create_update_schedule_payload.go @@ -102,14 +102,14 @@ type CreateUpdateSchedulePayloadGetRruleRetType = string // CreateUpdateSchedulePayload struct for CreateUpdateSchedulePayload type CreateUpdateSchedulePayload struct { // REQUIRED - Enabled CreateUpdateSchedulePayloadgetEnabledAttributeType `json:"enabled"` + Enabled CreateUpdateSchedulePayloadgetEnabledAttributeType `json:"enabled" required:"true"` // Can be cast to int32 without loss of precision. // REQUIRED - MaintenanceWindow CreateUpdateSchedulePayloadGetMaintenanceWindowAttributeType `json:"maintenanceWindow"` + MaintenanceWindow CreateUpdateSchedulePayloadGetMaintenanceWindowAttributeType `json:"maintenanceWindow" required:"true"` // REQUIRED - Name CreateUpdateSchedulePayloadGetNameAttributeType `json:"name"` + Name CreateUpdateSchedulePayloadGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Rrule CreateUpdateSchedulePayloadGetRruleAttributeType `json:"rrule"` + Rrule CreateUpdateSchedulePayloadGetRruleAttributeType `json:"rrule" required:"true"` } type _CreateUpdateSchedulePayload CreateUpdateSchedulePayload diff --git a/services/serverupdate/model_error_response.go b/services/serverupdate/model_error_response.go index 59ad0ef06..eae006667 100644 --- a/services/serverupdate/model_error_response.go +++ b/services/serverupdate/model_error_response.go @@ -63,10 +63,10 @@ type ErrorResponseGetStatusRetType = string type ErrorResponse struct { // Details about the error // REQUIRED - Message ErrorResponseGetMessageAttributeType `json:"message"` + Message ErrorResponseGetMessageAttributeType `json:"message" required:"true"` // The string representation of the http status code (i.e. Not Found, Bad Request, etc) // REQUIRED - Status ErrorResponseGetStatusAttributeType `json:"status"` + Status ErrorResponseGetStatusAttributeType `json:"status" required:"true"` } type _ErrorResponse ErrorResponse diff --git a/services/serverupdate/model_update.go b/services/serverupdate/model_update.go index 90cf368cb..b32c0db9a 100644 --- a/services/serverupdate/model_update.go +++ b/services/serverupdate/model_update.go @@ -169,13 +169,13 @@ type Update struct { FailedUpdates UpdateGetFailedUpdatesAttributeType `json:"failedUpdates,omitempty"` // Can be cast to int32 without loss of precision. // REQUIRED - Id UpdateGetIdAttributeType `json:"id"` + Id UpdateGetIdAttributeType `json:"id" required:"true"` // Can be cast to int32 without loss of precision. InstalledUpdates UpdateGetInstalledUpdatesAttributeType `json:"installedUpdates,omitempty"` // REQUIRED - StartDate UpdateGetStartDateAttributeType `json:"startDate"` + StartDate UpdateGetStartDateAttributeType `json:"startDate" required:"true"` // REQUIRED - Status UpdateGetStatusAttributeType `json:"status"` + Status UpdateGetStatusAttributeType `json:"status" required:"true"` } type _Update Update diff --git a/services/serverupdate/model_update_schedule.go b/services/serverupdate/model_update_schedule.go index b4e09e8d2..c20fba4d0 100644 --- a/services/serverupdate/model_update_schedule.go +++ b/services/serverupdate/model_update_schedule.go @@ -122,17 +122,17 @@ func setUpdateScheduleGetIdAttributeType(arg *UpdateScheduleGetIdAttributeType, // UpdateSchedule struct for UpdateSchedule type UpdateSchedule struct { // REQUIRED - Enabled UpdateSchedulegetEnabledAttributeType `json:"enabled"` + Enabled UpdateSchedulegetEnabledAttributeType `json:"enabled" required:"true"` // Can be cast to int32 without loss of precision. // REQUIRED - MaintenanceWindow UpdateScheduleGetMaintenanceWindowAttributeType `json:"maintenanceWindow"` + MaintenanceWindow UpdateScheduleGetMaintenanceWindowAttributeType `json:"maintenanceWindow" required:"true"` // REQUIRED - Name UpdateScheduleGetNameAttributeType `json:"name"` + Name UpdateScheduleGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Rrule UpdateScheduleGetRruleAttributeType `json:"rrule"` + Rrule UpdateScheduleGetRruleAttributeType `json:"rrule" required:"true"` // Can be cast to int32 without loss of precision. // REQUIRED - Id UpdateScheduleGetIdAttributeType `json:"id"` + Id UpdateScheduleGetIdAttributeType `json:"id" required:"true"` } type _UpdateSchedule UpdateSchedule diff --git a/services/serverupdate/model_update_schedule_all_of.go b/services/serverupdate/model_update_schedule_all_of.go index b7785fec8..811bfcc33 100644 --- a/services/serverupdate/model_update_schedule_all_of.go +++ b/services/serverupdate/model_update_schedule_all_of.go @@ -41,7 +41,7 @@ func setUpdateScheduleAllOfGetIdAttributeType(arg *UpdateScheduleAllOfGetIdAttri type UpdateScheduleAllOf struct { // Can be cast to int32 without loss of precision. // REQUIRED - Id UpdateScheduleAllOfGetIdAttributeType `json:"id"` + Id UpdateScheduleAllOfGetIdAttributeType `json:"id" required:"true"` } type _UpdateScheduleAllOf UpdateScheduleAllOf diff --git a/services/serverupdate/model_update_schedule_create_request.go b/services/serverupdate/model_update_schedule_create_request.go index a55430591..2c0d9447f 100644 --- a/services/serverupdate/model_update_schedule_create_request.go +++ b/services/serverupdate/model_update_schedule_create_request.go @@ -102,14 +102,14 @@ type UpdateScheduleCreateRequestGetRruleRetType = string // UpdateScheduleCreateRequest struct for UpdateScheduleCreateRequest type UpdateScheduleCreateRequest struct { // REQUIRED - Enabled UpdateScheduleCreateRequestgetEnabledAttributeType `json:"enabled"` + Enabled UpdateScheduleCreateRequestgetEnabledAttributeType `json:"enabled" required:"true"` // Can be cast to int32 without loss of precision. // REQUIRED - MaintenanceWindow UpdateScheduleCreateRequestGetMaintenanceWindowAttributeType `json:"maintenanceWindow"` + MaintenanceWindow UpdateScheduleCreateRequestGetMaintenanceWindowAttributeType `json:"maintenanceWindow" required:"true"` // REQUIRED - Name UpdateScheduleCreateRequestGetNameAttributeType `json:"name"` + Name UpdateScheduleCreateRequestGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Rrule UpdateScheduleCreateRequestGetRruleAttributeType `json:"rrule"` + Rrule UpdateScheduleCreateRequestGetRruleAttributeType `json:"rrule" required:"true"` } type _UpdateScheduleCreateRequest UpdateScheduleCreateRequest diff --git a/services/serverupdate/model_update_update_schedule_payload.go b/services/serverupdate/model_update_update_schedule_payload.go index 0a5106fae..659113d32 100644 --- a/services/serverupdate/model_update_update_schedule_payload.go +++ b/services/serverupdate/model_update_update_schedule_payload.go @@ -102,14 +102,14 @@ type UpdateUpdateSchedulePayloadGetRruleRetType = string // UpdateUpdateSchedulePayload struct for UpdateUpdateSchedulePayload type UpdateUpdateSchedulePayload struct { // REQUIRED - Enabled UpdateUpdateSchedulePayloadgetEnabledAttributeType `json:"enabled"` + Enabled UpdateUpdateSchedulePayloadgetEnabledAttributeType `json:"enabled" required:"true"` // Can be cast to int32 without loss of precision. // REQUIRED - MaintenanceWindow UpdateUpdateSchedulePayloadGetMaintenanceWindowAttributeType `json:"maintenanceWindow"` + MaintenanceWindow UpdateUpdateSchedulePayloadGetMaintenanceWindowAttributeType `json:"maintenanceWindow" required:"true"` // REQUIRED - Name UpdateUpdateSchedulePayloadGetNameAttributeType `json:"name"` + Name UpdateUpdateSchedulePayloadGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Rrule UpdateUpdateSchedulePayloadGetRruleAttributeType `json:"rrule"` + Rrule UpdateUpdateSchedulePayloadGetRruleAttributeType `json:"rrule" required:"true"` } type _UpdateUpdateSchedulePayload UpdateUpdateSchedulePayload