diff --git a/services/dns/model_clone_zone_payload.go b/services/dns/model_clone_zone_payload.go index 7c8c2e898..5af0b98c8 100644 --- a/services/dns/model_clone_zone_payload.go +++ b/services/dns/model_clone_zone_payload.go @@ -108,7 +108,7 @@ type CloneZonePayload struct { Description CloneZonePayloadGetDescriptionAttributeType `json:"description,omitempty"` // DnsName is the dns name of the zone to clone // REQUIRED - DnsName CloneZonePayloadGetDnsNameAttributeType `json:"dnsName"` + DnsName CloneZonePayloadGetDnsNameAttributeType `json:"dnsName" required:"true"` // New Name for the cloned zone. Leave empty to use the same name as the original zone Name CloneZonePayloadGetNameAttributeType `json:"name,omitempty"` } diff --git a/services/dns/model_create_label_payload.go b/services/dns/model_create_label_payload.go index 89dc1f336..5737d2ad6 100644 --- a/services/dns/model_create_label_payload.go +++ b/services/dns/model_create_label_payload.go @@ -62,9 +62,9 @@ type CreateLabelPayloadGetValueRetType = string // CreateLabelPayload struct for CreateLabelPayload type CreateLabelPayload struct { // REQUIRED - Key CreateLabelPayloadGetKeyAttributeType `json:"key"` + Key CreateLabelPayloadGetKeyAttributeType `json:"key" required:"true"` // REQUIRED - Value CreateLabelPayloadGetValueAttributeType `json:"value"` + Value CreateLabelPayloadGetValueAttributeType `json:"value" required:"true"` } type _CreateLabelPayload CreateLabelPayload diff --git a/services/dns/model_create_record_set_payload.go b/services/dns/model_create_record_set_payload.go index 64e41b8e3..06a542c89 100644 --- a/services/dns/model_create_record_set_payload.go +++ b/services/dns/model_create_record_set_payload.go @@ -268,16 +268,16 @@ type CreateRecordSetPayload struct { Comment CreateRecordSetPayloadGetCommentAttributeType `json:"comment,omitempty"` // name of the record which should be a valid domain according to rfc1035 Section 2.3.4 // REQUIRED - Name CreateRecordSetPayloadGetNameAttributeType `json:"name"` + Name CreateRecordSetPayloadGetNameAttributeType `json:"name" required:"true"` // records // REQUIRED - Records CreateRecordSetPayloadGetRecordsAttributeType `json:"records"` + Records CreateRecordSetPayloadGetRecordsAttributeType `json:"records" required:"true"` // time to live. If nothing provided we will set the zone ttl. // Can be cast to int32 without loss of precision. Ttl CreateRecordSetPayloadGetTtlAttributeType `json:"ttl,omitempty"` // record set type // REQUIRED - Type CreateRecordSetPayloadGetTypeAttributeType `json:"type"` + Type CreateRecordSetPayloadGetTypeAttributeType `json:"type" required:"true"` } type _CreateRecordSetPayload CreateRecordSetPayload diff --git a/services/dns/model_create_zone_payload.go b/services/dns/model_create_zone_payload.go index be268207a..3f4e137eb 100644 --- a/services/dns/model_create_zone_payload.go +++ b/services/dns/model_create_zone_payload.go @@ -420,7 +420,7 @@ type CreateZonePayload struct { Description CreateZonePayloadGetDescriptionAttributeType `json:"description,omitempty"` // zone name // REQUIRED - DnsName CreateZonePayloadGetDnsNameAttributeType `json:"dnsName"` + DnsName CreateZonePayloadGetDnsNameAttributeType `json:"dnsName" required:"true"` // expire time // Can be cast to int32 without loss of precision. ExpireTime CreateZonePayloadGetExpireTimeAttributeType `json:"expireTime,omitempty"` @@ -429,7 +429,7 @@ type CreateZonePayload struct { IsReverseZone CreateZonePayloadgetIsReverseZoneAttributeType `json:"isReverseZone,omitempty"` // user given name // REQUIRED - Name CreateZonePayloadGetNameAttributeType `json:"name"` + Name CreateZonePayloadGetNameAttributeType `json:"name" required:"true"` // negative caching // Can be cast to int32 without loss of precision. NegativeCache CreateZonePayloadGetNegativeCacheAttributeType `json:"negativeCache,omitempty"` diff --git a/services/dns/model_domain_observability_extension.go b/services/dns/model_domain_observability_extension.go index 005408d9b..a7f3ff84a 100644 --- a/services/dns/model_domain_observability_extension.go +++ b/services/dns/model_domain_observability_extension.go @@ -62,7 +62,7 @@ type DomainObservabilityExtensionGetStateRetType = string // DomainObservabilityExtension struct for DomainObservabilityExtension type DomainObservabilityExtension struct { // REQUIRED - ObservabilityInstanceId DomainObservabilityExtensionGetObservabilityInstanceIdAttributeType `json:"observabilityInstanceId"` + ObservabilityInstanceId DomainObservabilityExtensionGetObservabilityInstanceIdAttributeType `json:"observabilityInstanceId" required:"true"` State DomainObservabilityExtensionGetStateAttributeType `json:"state,omitempty"` } diff --git a/services/dns/model_import_record_sets_response.go b/services/dns/model_import_record_sets_response.go index 4ed1f4534..040f3a6c1 100644 --- a/services/dns/model_import_record_sets_response.go +++ b/services/dns/model_import_record_sets_response.go @@ -62,7 +62,7 @@ func setImportRecordSetsResponseGetSummaryAttributeType(arg *ImportRecordSetsRes type ImportRecordSetsResponse struct { Message ImportRecordSetsResponseGetMessageAttributeType `json:"message,omitempty"` // REQUIRED - Summary ImportRecordSetsResponseGetSummaryAttributeType `json:"summary"` + Summary ImportRecordSetsResponseGetSummaryAttributeType `json:"summary" required:"true"` } type _ImportRecordSetsResponse ImportRecordSetsResponse diff --git a/services/dns/model_label.go b/services/dns/model_label.go index affe97856..078fcc666 100644 --- a/services/dns/model_label.go +++ b/services/dns/model_label.go @@ -62,9 +62,9 @@ type LabelGetValueRetType = string // Label struct for Label type Label struct { // REQUIRED - Key LabelGetKeyAttributeType `json:"key"` + Key LabelGetKeyAttributeType `json:"key" required:"true"` // REQUIRED - Value LabelGetValueAttributeType `json:"value"` + Value LabelGetValueAttributeType `json:"value" required:"true"` } type _Label Label diff --git a/services/dns/model_list_record_sets_response.go b/services/dns/model_list_record_sets_response.go index c6b73cfc6..acf446ccb 100644 --- a/services/dns/model_list_record_sets_response.go +++ b/services/dns/model_list_record_sets_response.go @@ -122,16 +122,16 @@ func setListRecordSetsResponseGetTotalPagesAttributeType(arg *ListRecordSetsResp type ListRecordSetsResponse struct { // Can be cast to int32 without loss of precision. // REQUIRED - ItemsPerPage ListRecordSetsResponseGetItemsPerPageAttributeType `json:"itemsPerPage"` + ItemsPerPage ListRecordSetsResponseGetItemsPerPageAttributeType `json:"itemsPerPage" required:"true"` Message ListRecordSetsResponseGetMessageAttributeType `json:"message,omitempty"` // REQUIRED - RrSets ListRecordSetsResponseGetRrSetsAttributeType `json:"rrSets"` + RrSets ListRecordSetsResponseGetRrSetsAttributeType `json:"rrSets" required:"true"` // Can be cast to int32 without loss of precision. // REQUIRED - TotalItems ListRecordSetsResponseGetTotalItemsAttributeType `json:"totalItems"` + TotalItems ListRecordSetsResponseGetTotalItemsAttributeType `json:"totalItems" required:"true"` // Can be cast to int32 without loss of precision. // REQUIRED - TotalPages ListRecordSetsResponseGetTotalPagesAttributeType `json:"totalPages"` + TotalPages ListRecordSetsResponseGetTotalPagesAttributeType `json:"totalPages" required:"true"` } type _ListRecordSetsResponse ListRecordSetsResponse diff --git a/services/dns/model_list_zones_response.go b/services/dns/model_list_zones_response.go index 4dbc3187b..7c81f31df 100644 --- a/services/dns/model_list_zones_response.go +++ b/services/dns/model_list_zones_response.go @@ -122,16 +122,16 @@ func setListZonesResponseGetZonesAttributeType(arg *ListZonesResponseGetZonesAtt type ListZonesResponse struct { // Can be cast to int32 without loss of precision. // REQUIRED - ItemsPerPage ListZonesResponseGetItemsPerPageAttributeType `json:"itemsPerPage"` + ItemsPerPage ListZonesResponseGetItemsPerPageAttributeType `json:"itemsPerPage" required:"true"` Message ListZonesResponseGetMessageAttributeType `json:"message,omitempty"` // Can be cast to int32 without loss of precision. // REQUIRED - TotalItems ListZonesResponseGetTotalItemsAttributeType `json:"totalItems"` + TotalItems ListZonesResponseGetTotalItemsAttributeType `json:"totalItems" required:"true"` // Can be cast to int32 without loss of precision. // REQUIRED - TotalPages ListZonesResponseGetTotalPagesAttributeType `json:"totalPages"` + TotalPages ListZonesResponseGetTotalPagesAttributeType `json:"totalPages" required:"true"` // REQUIRED - Zones ListZonesResponseGetZonesAttributeType `json:"zones"` + Zones ListZonesResponseGetZonesAttributeType `json:"zones" required:"true"` } type _ListZonesResponse ListZonesResponse diff --git a/services/dns/model_move_code_response.go b/services/dns/model_move_code_response.go index 005c706c1..ac971e013 100644 --- a/services/dns/model_move_code_response.go +++ b/services/dns/model_move_code_response.go @@ -84,10 +84,10 @@ type MoveCodeResponseGetMessageRetType = string type MoveCodeResponse struct { // code to move the zone. It is one time shown so better keep it. // REQUIRED - Code MoveCodeResponseGetCodeAttributeType `json:"code"` + Code MoveCodeResponseGetCodeAttributeType `json:"code" required:"true"` // when the code expires // REQUIRED - ExpiresAt MoveCodeResponseGetExpiresAtAttributeType `json:"expiresAt"` + ExpiresAt MoveCodeResponseGetExpiresAtAttributeType `json:"expiresAt" required:"true"` // human readable message Message MoveCodeResponseGetMessageAttributeType `json:"message,omitempty"` } diff --git a/services/dns/model_move_zone_payload.go b/services/dns/model_move_zone_payload.go index ca0c1fb03..d2da2d2fa 100644 --- a/services/dns/model_move_zone_payload.go +++ b/services/dns/model_move_zone_payload.go @@ -63,10 +63,10 @@ type MoveZonePayloadGetZoneDnsNameRetType = string type MoveZonePayload struct { // Code to move the zone. It must be valid, not expired and belong // REQUIRED - Code MoveZonePayloadGetCodeAttributeType `json:"code"` + Code MoveZonePayloadGetCodeAttributeType `json:"code" required:"true"` // ZoneDnsName is the dns name of the zone to move // REQUIRED - ZoneDnsName MoveZonePayloadGetZoneDnsNameAttributeType `json:"zoneDnsName"` + ZoneDnsName MoveZonePayloadGetZoneDnsNameAttributeType `json:"zoneDnsName" required:"true"` } type _MoveZonePayload MoveZonePayload diff --git a/services/dns/model_partial_update_record_payload.go b/services/dns/model_partial_update_record_payload.go index 7a651e4b7..ec257e6af 100644 --- a/services/dns/model_partial_update_record_payload.go +++ b/services/dns/model_partial_update_record_payload.go @@ -165,10 +165,10 @@ func setPartialUpdateRecordPayloadGetRecordsAttributeType(arg *PartialUpdateReco // PartialUpdateRecordPayload RecordPatch for record patch in record set. type PartialUpdateRecordPayload struct { // REQUIRED - Action PartialUpdateRecordPayloadGetActionAttributeType `json:"action"` + Action PartialUpdateRecordPayloadGetActionAttributeType `json:"action" required:"true"` // records // REQUIRED - Records PartialUpdateRecordPayloadGetRecordsAttributeType `json:"records"` + Records PartialUpdateRecordPayloadGetRecordsAttributeType `json:"records" required:"true"` } type _PartialUpdateRecordPayload PartialUpdateRecordPayload diff --git a/services/dns/model_record.go b/services/dns/model_record.go index 779d3e39e..282a0283a 100644 --- a/services/dns/model_record.go +++ b/services/dns/model_record.go @@ -63,10 +63,10 @@ type RecordGetIdRetType = string type Record struct { // content of the record // REQUIRED - Content RecordGetContentAttributeType `json:"content"` + Content RecordGetContentAttributeType `json:"content" required:"true"` // rr set id // REQUIRED - Id RecordGetIdAttributeType `json:"id"` + Id RecordGetIdAttributeType `json:"id" required:"true"` } type _Record Record diff --git a/services/dns/model_record_payload.go b/services/dns/model_record_payload.go index accefa137..9126fd84b 100644 --- a/services/dns/model_record_payload.go +++ b/services/dns/model_record_payload.go @@ -42,7 +42,7 @@ type RecordPayloadGetContentRetType = string type RecordPayload struct { // content of the record // REQUIRED - Content RecordPayloadGetContentAttributeType `json:"content"` + Content RecordPayloadGetContentAttributeType `json:"content" required:"true"` } type _RecordPayload RecordPayload diff --git a/services/dns/model_record_set.go b/services/dns/model_record_set.go index 983409ae6..fe0405a6c 100644 --- a/services/dns/model_record_set.go +++ b/services/dns/model_record_set.go @@ -536,37 +536,37 @@ type RecordSet struct { Comment RecordSetGetCommentAttributeType `json:"comment,omitempty"` // when record set creation finished // REQUIRED - CreationFinished RecordSetGetCreationFinishedAttributeType `json:"creationFinished"` + CreationFinished RecordSetGetCreationFinishedAttributeType `json:"creationFinished" required:"true"` // when record set creation started // REQUIRED - CreationStarted RecordSetGetCreationStartedAttributeType `json:"creationStarted"` + CreationStarted RecordSetGetCreationStartedAttributeType `json:"creationStarted" required:"true"` // Error shows error in case create/update/delete failed Error RecordSetGetErrorAttributeType `json:"error,omitempty"` // rr set id // REQUIRED - Id RecordSetGetIdAttributeType `json:"id"` + Id RecordSetGetIdAttributeType `json:"id" required:"true"` // name of the record which should be a valid domain according to rfc1035 Section 2.3.4 // REQUIRED - Name RecordSetGetNameAttributeType `json:"name"` + Name RecordSetGetNameAttributeType `json:"name" required:"true"` // records // REQUIRED - Records RecordSetGetRecordsAttributeType `json:"records"` + Records RecordSetGetRecordsAttributeType `json:"records" required:"true"` // record set state // REQUIRED - State RecordSetGetStateAttributeType `json:"state"` + State RecordSetGetStateAttributeType `json:"state" required:"true"` // time to live // Can be cast to int32 without loss of precision. // REQUIRED - Ttl RecordSetGetTtlAttributeType `json:"ttl"` + Ttl RecordSetGetTtlAttributeType `json:"ttl" required:"true"` // record set type // REQUIRED - Type RecordSetGetTypeAttributeType `json:"type"` + Type RecordSetGetTypeAttributeType `json:"type" required:"true"` // when record set update/deletion finished // REQUIRED - UpdateFinished RecordSetGetUpdateFinishedAttributeType `json:"updateFinished"` + UpdateFinished RecordSetGetUpdateFinishedAttributeType `json:"updateFinished" required:"true"` // when record set update/deletion started // REQUIRED - UpdateStarted RecordSetGetUpdateStartedAttributeType `json:"updateStarted"` + UpdateStarted RecordSetGetUpdateStartedAttributeType `json:"updateStarted" required:"true"` } type _RecordSet RecordSet diff --git a/services/dns/model_record_set_response.go b/services/dns/model_record_set_response.go index b340ae9ad..770f9da45 100644 --- a/services/dns/model_record_set_response.go +++ b/services/dns/model_record_set_response.go @@ -62,7 +62,7 @@ func setRecordSetResponseGetRrsetAttributeType(arg *RecordSetResponseGetRrsetAtt type RecordSetResponse struct { Message RecordSetResponseGetMessageAttributeType `json:"message,omitempty"` // REQUIRED - Rrset RecordSetResponseGetRrsetAttributeType `json:"rrset"` + Rrset RecordSetResponseGetRrsetAttributeType `json:"rrset" required:"true"` } type _RecordSetResponse RecordSetResponse diff --git a/services/dns/model_validate_move_code_payload.go b/services/dns/model_validate_move_code_payload.go index da8f834ca..2cea61a81 100644 --- a/services/dns/model_validate_move_code_payload.go +++ b/services/dns/model_validate_move_code_payload.go @@ -42,7 +42,7 @@ type ValidateMoveCodePayloadGetCodeRetType = string type ValidateMoveCodePayload struct { // code that should be validated. It validates if it is valid, not expired and belongs to the zone. // REQUIRED - Code ValidateMoveCodePayloadGetCodeAttributeType `json:"code"` + Code ValidateMoveCodePayloadGetCodeAttributeType `json:"code" required:"true"` } type _ValidateMoveCodePayload ValidateMoveCodePayload diff --git a/services/dns/model_zone.go b/services/dns/model_zone.go index 4ad4b38ae..881fff745 100644 --- a/services/dns/model_zone.go +++ b/services/dns/model_zone.go @@ -898,80 +898,80 @@ func setZoneGetVisibilityAttributeType(arg *ZoneGetVisibilityAttributeType, val type Zone struct { // access control list // REQUIRED - Acl ZoneGetAclAttributeType `json:"acl"` + Acl ZoneGetAclAttributeType `json:"acl" required:"true"` Active ZonegetActiveAttributeType `json:"active,omitempty"` // contact email from soa record ContactEmail ZoneGetContactEmailAttributeType `json:"contactEmail,omitempty"` // when zone creation finished // REQUIRED - CreationFinished ZoneGetCreationFinishedAttributeType `json:"creationFinished"` + CreationFinished ZoneGetCreationFinishedAttributeType `json:"creationFinished" required:"true"` // when zone creation started // REQUIRED - CreationStarted ZoneGetCreationStartedAttributeType `json:"creationStarted"` + CreationStarted ZoneGetCreationStartedAttributeType `json:"creationStarted" required:"true"` // default time to live // Can be cast to int32 without loss of precision. // REQUIRED - DefaultTTL ZoneGetDefaultTTLAttributeType `json:"defaultTTL"` + DefaultTTL ZoneGetDefaultTTLAttributeType `json:"defaultTTL" required:"true"` // description of the zone Description ZoneGetDescriptionAttributeType `json:"description,omitempty"` // zone name // REQUIRED - DnsName ZoneGetDnsNameAttributeType `json:"dnsName"` + DnsName ZoneGetDnsNameAttributeType `json:"dnsName" required:"true"` // Error shows error in case create/update/delete failed Error ZoneGetErrorAttributeType `json:"error,omitempty"` // expire time // Can be cast to int32 without loss of precision. // REQUIRED - ExpireTime ZoneGetExpireTimeAttributeType `json:"expireTime"` + ExpireTime ZoneGetExpireTimeAttributeType `json:"expireTime" required:"true"` Extensions ZoneGetExtensionsAttributeType `json:"extensions,omitempty"` // zone id // REQUIRED - Id ZoneGetIdAttributeType `json:"id"` + Id ZoneGetIdAttributeType `json:"id" required:"true"` // if the zone is a reverse zone or not IsReverseZone ZonegetIsReverseZoneAttributeType `json:"isReverseZone,omitempty"` Labels ZoneGetLabelsAttributeType `json:"labels,omitempty"` // user given name // REQUIRED - Name ZoneGetNameAttributeType `json:"name"` + Name ZoneGetNameAttributeType `json:"name" required:"true"` // negative caching // Can be cast to int32 without loss of precision. // REQUIRED - NegativeCache ZoneGetNegativeCacheAttributeType `json:"negativeCache"` + NegativeCache ZoneGetNegativeCacheAttributeType `json:"negativeCache" required:"true"` // primary name server for secondary zone Primaries ZoneGetPrimariesAttributeType `json:"primaries,omitempty"` // primary name server. FQDN // REQUIRED - PrimaryNameServer ZoneGetPrimaryNameServerAttributeType `json:"primaryNameServer"` + PrimaryNameServer ZoneGetPrimaryNameServerAttributeType `json:"primaryNameServer" required:"true"` // record count how many records are in the zone // Can be cast to int32 without loss of precision. RecordCount ZoneGetRecordCountAttributeType `json:"recordCount,omitempty"` // refresh time // Can be cast to int32 without loss of precision. // REQUIRED - RefreshTime ZoneGetRefreshTimeAttributeType `json:"refreshTime"` + RefreshTime ZoneGetRefreshTimeAttributeType `json:"refreshTime" required:"true"` // retry time // Can be cast to int32 without loss of precision. // REQUIRED - RetryTime ZoneGetRetryTimeAttributeType `json:"retryTime"` + RetryTime ZoneGetRetryTimeAttributeType `json:"retryTime" required:"true"` // serial number // Can be cast to int32 without loss of precision. // REQUIRED - SerialNumber ZoneGetSerialNumberAttributeType `json:"serialNumber"` + SerialNumber ZoneGetSerialNumberAttributeType `json:"serialNumber" required:"true"` // zone state // REQUIRED - State ZoneGetStateAttributeType `json:"state"` + State ZoneGetStateAttributeType `json:"state" required:"true"` // zone type // REQUIRED - Type ZoneGetTypeAttributeType `json:"type"` + Type ZoneGetTypeAttributeType `json:"type" required:"true"` // when zone update/deletion finished // REQUIRED - UpdateFinished ZoneGetUpdateFinishedAttributeType `json:"updateFinished"` + UpdateFinished ZoneGetUpdateFinishedAttributeType `json:"updateFinished" required:"true"` // when zone update/deletion started // REQUIRED - UpdateStarted ZoneGetUpdateStartedAttributeType `json:"updateStarted"` + UpdateStarted ZoneGetUpdateStartedAttributeType `json:"updateStarted" required:"true"` // visibility of the zone // REQUIRED - Visibility ZoneGetVisibilityAttributeType `json:"visibility"` + Visibility ZoneGetVisibilityAttributeType `json:"visibility" required:"true"` } type _Zone Zone diff --git a/services/dns/model_zone_observability_extension.go b/services/dns/model_zone_observability_extension.go index 9861f6073..84922a9b9 100644 --- a/services/dns/model_zone_observability_extension.go +++ b/services/dns/model_zone_observability_extension.go @@ -62,7 +62,7 @@ type ZoneObservabilityExtensionGetStateRetType = string // ZoneObservabilityExtension struct for ZoneObservabilityExtension type ZoneObservabilityExtension struct { // REQUIRED - ObservabilityInstanceId ZoneObservabilityExtensionGetObservabilityInstanceIdAttributeType `json:"observabilityInstanceId"` + ObservabilityInstanceId ZoneObservabilityExtensionGetObservabilityInstanceIdAttributeType `json:"observabilityInstanceId" required:"true"` State ZoneObservabilityExtensionGetStateAttributeType `json:"state,omitempty"` } diff --git a/services/dns/model_zone_response.go b/services/dns/model_zone_response.go index 6d4c8a40f..ca99f9a16 100644 --- a/services/dns/model_zone_response.go +++ b/services/dns/model_zone_response.go @@ -62,7 +62,7 @@ func setZoneResponseGetZoneAttributeType(arg *ZoneResponseGetZoneAttributeType, type ZoneResponse struct { Message ZoneResponseGetMessageAttributeType `json:"message,omitempty"` // REQUIRED - Zone ZoneResponseGetZoneAttributeType `json:"zone"` + Zone ZoneResponseGetZoneAttributeType `json:"zone" required:"true"` } type _ZoneResponse ZoneResponse