diff --git a/services/resourcemanager/model_partial_update_folder_payload.go b/services/resourcemanager/model_partial_update_folder_payload.go index ab30502aa..138e082ce 100644 --- a/services/resourcemanager/model_partial_update_folder_payload.go +++ b/services/resourcemanager/model_partial_update_folder_payload.go @@ -104,7 +104,7 @@ type PartialUpdateFolderPayloadGetNameRetType = string type PartialUpdateFolderPayload struct { // New parent identifier for the resource container - containerId as well as UUID identifier is supported. ContainerParentId PartialUpdateFolderPayloadGetContainerParentIdAttributeType `json:"containerParentId,omitempty"` - // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.* + // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.* Labels PartialUpdateFolderPayloadGetLabelsAttributeType `json:"labels,omitempty"` // New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name PartialUpdateFolderPayloadGetNameAttributeType `json:"name,omitempty"` diff --git a/services/resourcemanager/model_partial_update_organization_payload.go b/services/resourcemanager/model_partial_update_organization_payload.go index 1c8b512b8..efb7f6187 100644 --- a/services/resourcemanager/model_partial_update_organization_payload.go +++ b/services/resourcemanager/model_partial_update_organization_payload.go @@ -75,7 +75,7 @@ type PartialUpdateOrganizationPayloadGetNameRetType = string // PartialUpdateOrganizationPayload struct for PartialUpdateOrganizationPayload // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead type PartialUpdateOrganizationPayload struct { - // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.* + // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.* Labels PartialUpdateOrganizationPayloadGetLabelsAttributeType `json:"labels,omitempty"` // The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name PartialUpdateOrganizationPayloadGetNameAttributeType `json:"name,omitempty"` diff --git a/services/resourcemanager/model_partial_update_project_payload.go b/services/resourcemanager/model_partial_update_project_payload.go index 93a8c8c71..3c6094f03 100644 --- a/services/resourcemanager/model_partial_update_project_payload.go +++ b/services/resourcemanager/model_partial_update_project_payload.go @@ -104,7 +104,7 @@ type PartialUpdateProjectPayloadGetNameRetType = string type PartialUpdateProjectPayload struct { // New parent identifier for the resource container - containerId as well as UUID identifier is supported. ContainerParentId PartialUpdateProjectPayloadGetContainerParentIdAttributeType `json:"containerParentId,omitempty"` - // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` > Note: Additional naming restrictions may apply depending on your specific organization.* + // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.* Labels PartialUpdateProjectPayloadGetLabelsAttributeType `json:"labels,omitempty"` // New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name PartialUpdateProjectPayloadGetNameAttributeType `json:"name,omitempty"` diff --git a/services/resourcemanager/oas_commit b/services/resourcemanager/oas_commit index 8ae9a8db5..996d01233 100644 --- a/services/resourcemanager/oas_commit +++ b/services/resourcemanager/oas_commit @@ -1 +1 @@ -e9fe931e91e0b8f067d5c12518398a52062ca794 +c9c11ba1b198dc952e8e192d1df98d65d85ba977 diff --git a/services/resourcemanager/v0api/model_partial_update_folder_payload.go b/services/resourcemanager/v0api/model_partial_update_folder_payload.go index ea9f683d7..b114d8278 100644 --- a/services/resourcemanager/v0api/model_partial_update_folder_payload.go +++ b/services/resourcemanager/v0api/model_partial_update_folder_payload.go @@ -21,8 +21,8 @@ var _ MappedNullable = &PartialUpdateFolderPayload{} type PartialUpdateFolderPayload struct { // New parent identifier for the resource container - containerId as well as UUID identifier is supported. ContainerParentId *string `json:"containerParentId,omitempty"` - // Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * Either a `\"scope\": \"PUBLIC\"` label or a valid `networkArea` label must be provided for project creation. * To create a project within a STACKIT Network Area, you must set the label `\"networkArea\": \"\"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation. - Labels *map[string]string `json:"labels,omitempty"` + // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.* + Labels *map[string]*string `json:"labels,omitempty"` // New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0\\,39}$"` AdditionalProperties map[string]interface{} @@ -80,9 +80,9 @@ func (o *PartialUpdateFolderPayload) SetContainerParentId(v string) { } // GetLabels returns the Labels field value if set, zero value otherwise. -func (o *PartialUpdateFolderPayload) GetLabels() map[string]string { +func (o *PartialUpdateFolderPayload) GetLabels() map[string]*string { if o == nil || IsNil(o.Labels) { - var ret map[string]string + var ret map[string]*string return ret } return *o.Labels @@ -90,7 +90,7 @@ func (o *PartialUpdateFolderPayload) GetLabels() map[string]string { // GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PartialUpdateFolderPayload) GetLabelsOk() (*map[string]string, bool) { +func (o *PartialUpdateFolderPayload) GetLabelsOk() (*map[string]*string, bool) { if o == nil || IsNil(o.Labels) { return nil, false } @@ -106,8 +106,8 @@ func (o *PartialUpdateFolderPayload) HasLabels() bool { return false } -// SetLabels gets a reference to the given map[string]string and assigns it to the Labels field. -func (o *PartialUpdateFolderPayload) SetLabels(v map[string]string) { +// SetLabels gets a reference to the given map[string]*string and assigns it to the Labels field. +func (o *PartialUpdateFolderPayload) SetLabels(v map[string]*string) { o.Labels = &v } diff --git a/services/resourcemanager/v0api/model_partial_update_organization_payload.go b/services/resourcemanager/v0api/model_partial_update_organization_payload.go index 649b8a071..ef495b1b8 100644 --- a/services/resourcemanager/v0api/model_partial_update_organization_payload.go +++ b/services/resourcemanager/v0api/model_partial_update_organization_payload.go @@ -19,8 +19,8 @@ var _ MappedNullable = &PartialUpdateOrganizationPayload{} // PartialUpdateOrganizationPayload struct for PartialUpdateOrganizationPayload type PartialUpdateOrganizationPayload struct { - // Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * Either a `\"scope\": \"PUBLIC\"` label or a valid `networkArea` label must be provided for project creation. * To create a project within a STACKIT Network Area, you must set the label `\"networkArea\": \"\"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation. - Labels *map[string]string `json:"labels,omitempty"` + // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.* + Labels *map[string]*string `json:"labels,omitempty"` // The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0\\,39}$"` AdditionalProperties map[string]interface{} @@ -46,9 +46,9 @@ func NewPartialUpdateOrganizationPayloadWithDefaults() *PartialUpdateOrganizatio } // GetLabels returns the Labels field value if set, zero value otherwise. -func (o *PartialUpdateOrganizationPayload) GetLabels() map[string]string { +func (o *PartialUpdateOrganizationPayload) GetLabels() map[string]*string { if o == nil || IsNil(o.Labels) { - var ret map[string]string + var ret map[string]*string return ret } return *o.Labels @@ -56,7 +56,7 @@ func (o *PartialUpdateOrganizationPayload) GetLabels() map[string]string { // GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PartialUpdateOrganizationPayload) GetLabelsOk() (*map[string]string, bool) { +func (o *PartialUpdateOrganizationPayload) GetLabelsOk() (*map[string]*string, bool) { if o == nil || IsNil(o.Labels) { return nil, false } @@ -72,8 +72,8 @@ func (o *PartialUpdateOrganizationPayload) HasLabels() bool { return false } -// SetLabels gets a reference to the given map[string]string and assigns it to the Labels field. -func (o *PartialUpdateOrganizationPayload) SetLabels(v map[string]string) { +// SetLabels gets a reference to the given map[string]*string and assigns it to the Labels field. +func (o *PartialUpdateOrganizationPayload) SetLabels(v map[string]*string) { o.Labels = &v } diff --git a/services/resourcemanager/v0api/model_partial_update_project_payload.go b/services/resourcemanager/v0api/model_partial_update_project_payload.go index ee4319427..57047695b 100644 --- a/services/resourcemanager/v0api/model_partial_update_project_payload.go +++ b/services/resourcemanager/v0api/model_partial_update_project_payload.go @@ -21,8 +21,8 @@ var _ MappedNullable = &PartialUpdateProjectPayload{} type PartialUpdateProjectPayload struct { // New parent identifier for the resource container - containerId as well as UUID identifier is supported. ContainerParentId *string `json:"containerParentId,omitempty"` - // Key-value string pairs attached to a resource container during creation. Certain labels may be enforced via organizational policies. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * Either a `\"scope\": \"PUBLIC\"` label or a valid `networkArea` label must be provided for project creation. * To create a project within a STACKIT Network Area, you must set the label `\"networkArea\": \"\"`. > **Important:** The `networkArea` label is immutable and **cannot be changed** after project creation. - Labels *map[string]string `json:"labels,omitempty"` + // Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}` * **Value:** Must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`, or be `null` to delete the label > Note: Additional naming restrictions may apply depending on your specific organization.* + Labels *map[string]*string `json:"labels,omitempty"` // New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`. Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0\\,39}$"` AdditionalProperties map[string]interface{} @@ -80,9 +80,9 @@ func (o *PartialUpdateProjectPayload) SetContainerParentId(v string) { } // GetLabels returns the Labels field value if set, zero value otherwise. -func (o *PartialUpdateProjectPayload) GetLabels() map[string]string { +func (o *PartialUpdateProjectPayload) GetLabels() map[string]*string { if o == nil || IsNil(o.Labels) { - var ret map[string]string + var ret map[string]*string return ret } return *o.Labels @@ -90,7 +90,7 @@ func (o *PartialUpdateProjectPayload) GetLabels() map[string]string { // GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PartialUpdateProjectPayload) GetLabelsOk() (*map[string]string, bool) { +func (o *PartialUpdateProjectPayload) GetLabelsOk() (*map[string]*string, bool) { if o == nil || IsNil(o.Labels) { return nil, false } @@ -106,8 +106,8 @@ func (o *PartialUpdateProjectPayload) HasLabels() bool { return false } -// SetLabels gets a reference to the given map[string]string and assigns it to the Labels field. -func (o *PartialUpdateProjectPayload) SetLabels(v map[string]string) { +// SetLabels gets a reference to the given map[string]*string and assigns it to the Labels field. +func (o *PartialUpdateProjectPayload) SetLabels(v map[string]*string) { o.Labels = &v }