From 750d050e43ca2ee265788f772f4e7e16427cfa17 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Thu, 12 Dec 2024 17:16:46 +0000 Subject: [PATCH] Generate objectstorage --- services/objectstorage/api_default.go | 2 +- services/objectstorage/client.go | 4 ++-- services/objectstorage/configuration.go | 2 +- services/objectstorage/model_access_key.go | 8 ++++---- services/objectstorage/model_bucket.go | 10 +++++----- .../model_create_access_key_payload.go | 2 +- .../model_create_access_key_response.go | 14 +++++++------- .../objectstorage/model_create_bucket_response.go | 6 +++--- .../model_create_credentials_group_payload.go | 4 ++-- .../model_create_credentials_group_response.go | 6 +++--- services/objectstorage/model_credentials_group.go | 8 ++++---- .../model_delete_access_key_response.go | 6 +++--- .../objectstorage/model_delete_bucket_response.go | 6 +++--- .../model_delete_credentials_group_response.go | 6 +++--- services/objectstorage/model_detailed_error.go | 6 +++--- services/objectstorage/model_error_message.go | 4 ++-- .../objectstorage/model_get_bucket_response.go | 6 +++--- .../objectstorage/model_http_validation_error.go | 2 +- .../model_list_access_keys_response.go | 6 +++--- .../objectstorage/model_list_buckets_response.go | 6 +++--- .../model_list_credentials_groups_response.go | 6 +++--- services/objectstorage/model_location_inner.go | 2 +- services/objectstorage/model_project_scope.go | 2 +- services/objectstorage/model_project_status.go | 6 +++--- services/objectstorage/model_validation_error.go | 8 ++++---- services/objectstorage/utils.go | 2 +- 26 files changed, 70 insertions(+), 70 deletions(-) diff --git a/services/objectstorage/api_default.go b/services/objectstorage/api_default.go index cfa75292c..54c6174da 100644 --- a/services/objectstorage/api_default.go +++ b/services/objectstorage/api_default.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/objectstorage/client.go b/services/objectstorage/client.go index e8f6cf7d6..40db4909c 100644 --- a/services/objectstorage/client.go +++ b/services/objectstorage/client.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -42,7 +42,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the STACKIT Object Storage API API v1.0.9 +// APIClient manages communication with the STACKIT Object Storage API API v1.1.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *config.Configuration diff --git a/services/objectstorage/configuration.go b/services/objectstorage/configuration.go index 7a84bfd91..363504330 100644 --- a/services/objectstorage/configuration.go +++ b/services/objectstorage/configuration.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/objectstorage/model_access_key.go b/services/objectstorage/model_access_key.go index bae041ad3..08615c80a 100644 --- a/services/objectstorage/model_access_key.go +++ b/services/objectstorage/model_access_key.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -52,7 +52,7 @@ func NewAccessKeyWithDefaults() *AccessKey { // GetDisplayName returns the DisplayName field value func (o *AccessKey) GetDisplayName() *string { - if o == nil { + if o == nil || IsNil(o.DisplayName) { var ret *string return ret } @@ -76,7 +76,7 @@ func (o *AccessKey) SetDisplayName(v *string) { // GetExpires returns the Expires field value func (o *AccessKey) GetExpires() *string { - if o == nil { + if o == nil || IsNil(o.Expires) { var ret *string return ret } @@ -100,7 +100,7 @@ func (o *AccessKey) SetExpires(v *string) { // GetKeyId returns the KeyId field value func (o *AccessKey) GetKeyId() *string { - if o == nil { + if o == nil || IsNil(o.KeyId) { var ret *string return ret } diff --git a/services/objectstorage/model_bucket.go b/services/objectstorage/model_bucket.go index cc820fba2..b44817030 100644 --- a/services/objectstorage/model_bucket.go +++ b/services/objectstorage/model_bucket.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -56,7 +56,7 @@ func NewBucketWithDefaults() *Bucket { // GetName returns the Name field value func (o *Bucket) GetName() *string { - if o == nil { + if o == nil || IsNil(o.Name) { var ret *string return ret } @@ -80,7 +80,7 @@ func (o *Bucket) SetName(v *string) { // GetRegion returns the Region field value func (o *Bucket) GetRegion() *string { - if o == nil { + if o == nil || IsNil(o.Region) { var ret *string return ret } @@ -104,7 +104,7 @@ func (o *Bucket) SetRegion(v *string) { // GetUrlPathStyle returns the UrlPathStyle field value func (o *Bucket) GetUrlPathStyle() *string { - if o == nil { + if o == nil || IsNil(o.UrlPathStyle) { var ret *string return ret } @@ -128,7 +128,7 @@ func (o *Bucket) SetUrlPathStyle(v *string) { // GetUrlVirtualHostedStyle returns the UrlVirtualHostedStyle field value func (o *Bucket) GetUrlVirtualHostedStyle() *string { - if o == nil { + if o == nil || IsNil(o.UrlVirtualHostedStyle) { var ret *string return ret } diff --git a/services/objectstorage/model_create_access_key_payload.go b/services/objectstorage/model_create_access_key_payload.go index e05785bfd..509d77682 100644 --- a/services/objectstorage/model_create_access_key_payload.go +++ b/services/objectstorage/model_create_access_key_payload.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/objectstorage/model_create_access_key_response.go b/services/objectstorage/model_create_access_key_response.go index 815bbace1..585cc7fcb 100644 --- a/services/objectstorage/model_create_access_key_response.go +++ b/services/objectstorage/model_create_access_key_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -66,7 +66,7 @@ func NewCreateAccessKeyResponseWithDefaults() *CreateAccessKeyResponse { // GetAccessKey returns the AccessKey field value func (o *CreateAccessKeyResponse) GetAccessKey() *string { - if o == nil { + if o == nil || IsNil(o.AccessKey) { var ret *string return ret } @@ -90,7 +90,7 @@ func (o *CreateAccessKeyResponse) SetAccessKey(v *string) { // GetDisplayName returns the DisplayName field value func (o *CreateAccessKeyResponse) GetDisplayName() *string { - if o == nil { + if o == nil || IsNil(o.DisplayName) { var ret *string return ret } @@ -114,7 +114,7 @@ func (o *CreateAccessKeyResponse) SetDisplayName(v *string) { // GetExpires returns the Expires field value func (o *CreateAccessKeyResponse) GetExpires() *string { - if o == nil { + if o == nil || IsNil(o.Expires) { var ret *string return ret } @@ -138,7 +138,7 @@ func (o *CreateAccessKeyResponse) SetExpires(v *string) { // GetKeyId returns the KeyId field value func (o *CreateAccessKeyResponse) GetKeyId() *string { - if o == nil { + if o == nil || IsNil(o.KeyId) { var ret *string return ret } @@ -162,7 +162,7 @@ func (o *CreateAccessKeyResponse) SetKeyId(v *string) { // GetProject returns the Project field value func (o *CreateAccessKeyResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } @@ -186,7 +186,7 @@ func (o *CreateAccessKeyResponse) SetProject(v *string) { // GetSecretAccessKey returns the SecretAccessKey field value func (o *CreateAccessKeyResponse) GetSecretAccessKey() *string { - if o == nil { + if o == nil || IsNil(o.SecretAccessKey) { var ret *string return ret } diff --git a/services/objectstorage/model_create_bucket_response.go b/services/objectstorage/model_create_bucket_response.go index 2f7b37453..312ec9953 100644 --- a/services/objectstorage/model_create_bucket_response.go +++ b/services/objectstorage/model_create_bucket_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -50,7 +50,7 @@ func NewCreateBucketResponseWithDefaults() *CreateBucketResponse { // GetBucket returns the Bucket field value func (o *CreateBucketResponse) GetBucket() *string { - if o == nil { + if o == nil || IsNil(o.Bucket) { var ret *string return ret } @@ -74,7 +74,7 @@ func (o *CreateBucketResponse) SetBucket(v *string) { // GetProject returns the Project field value func (o *CreateBucketResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_create_credentials_group_payload.go b/services/objectstorage/model_create_credentials_group_payload.go index 98dd3a938..3b3610957 100644 --- a/services/objectstorage/model_create_credentials_group_payload.go +++ b/services/objectstorage/model_create_credentials_group_payload.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -46,7 +46,7 @@ func NewCreateCredentialsGroupPayloadWithDefaults() *CreateCredentialsGroupPaylo // GetDisplayName returns the DisplayName field value func (o *CreateCredentialsGroupPayload) GetDisplayName() *string { - if o == nil { + if o == nil || IsNil(o.DisplayName) { var ret *string return ret } diff --git a/services/objectstorage/model_create_credentials_group_response.go b/services/objectstorage/model_create_credentials_group_response.go index d2e4baeb4..7b2ef543e 100644 --- a/services/objectstorage/model_create_credentials_group_response.go +++ b/services/objectstorage/model_create_credentials_group_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -49,7 +49,7 @@ func NewCreateCredentialsGroupResponseWithDefaults() *CreateCredentialsGroupResp // GetCredentialsGroup returns the CredentialsGroup field value func (o *CreateCredentialsGroupResponse) GetCredentialsGroup() *CredentialsGroup { - if o == nil { + if o == nil || IsNil(o.CredentialsGroup) { var ret *CredentialsGroup return ret } @@ -73,7 +73,7 @@ func (o *CreateCredentialsGroupResponse) SetCredentialsGroup(v *CredentialsGroup // GetProject returns the Project field value func (o *CreateCredentialsGroupResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_credentials_group.go b/services/objectstorage/model_credentials_group.go index 95dcf0d62..7b2aed62a 100644 --- a/services/objectstorage/model_credentials_group.go +++ b/services/objectstorage/model_credentials_group.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -54,7 +54,7 @@ func NewCredentialsGroupWithDefaults() *CredentialsGroup { // GetCredentialsGroupId returns the CredentialsGroupId field value func (o *CredentialsGroup) GetCredentialsGroupId() *string { - if o == nil { + if o == nil || IsNil(o.CredentialsGroupId) { var ret *string return ret } @@ -78,7 +78,7 @@ func (o *CredentialsGroup) SetCredentialsGroupId(v *string) { // GetDisplayName returns the DisplayName field value func (o *CredentialsGroup) GetDisplayName() *string { - if o == nil { + if o == nil || IsNil(o.DisplayName) { var ret *string return ret } @@ -102,7 +102,7 @@ func (o *CredentialsGroup) SetDisplayName(v *string) { // GetUrn returns the Urn field value func (o *CredentialsGroup) GetUrn() *string { - if o == nil { + if o == nil || IsNil(o.Urn) { var ret *string return ret } diff --git a/services/objectstorage/model_delete_access_key_response.go b/services/objectstorage/model_delete_access_key_response.go index 8332cd4b7..fd368cdde 100644 --- a/services/objectstorage/model_delete_access_key_response.go +++ b/services/objectstorage/model_delete_access_key_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -50,7 +50,7 @@ func NewDeleteAccessKeyResponseWithDefaults() *DeleteAccessKeyResponse { // GetKeyId returns the KeyId field value func (o *DeleteAccessKeyResponse) GetKeyId() *string { - if o == nil { + if o == nil || IsNil(o.KeyId) { var ret *string return ret } @@ -74,7 +74,7 @@ func (o *DeleteAccessKeyResponse) SetKeyId(v *string) { // GetProject returns the Project field value func (o *DeleteAccessKeyResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_delete_bucket_response.go b/services/objectstorage/model_delete_bucket_response.go index 164129bbf..f52c49b0d 100644 --- a/services/objectstorage/model_delete_bucket_response.go +++ b/services/objectstorage/model_delete_bucket_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -50,7 +50,7 @@ func NewDeleteBucketResponseWithDefaults() *DeleteBucketResponse { // GetBucket returns the Bucket field value func (o *DeleteBucketResponse) GetBucket() *string { - if o == nil { + if o == nil || IsNil(o.Bucket) { var ret *string return ret } @@ -74,7 +74,7 @@ func (o *DeleteBucketResponse) SetBucket(v *string) { // GetProject returns the Project field value func (o *DeleteBucketResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_delete_credentials_group_response.go b/services/objectstorage/model_delete_credentials_group_response.go index 53756f451..9e00acfd6 100644 --- a/services/objectstorage/model_delete_credentials_group_response.go +++ b/services/objectstorage/model_delete_credentials_group_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -50,7 +50,7 @@ func NewDeleteCredentialsGroupResponseWithDefaults() *DeleteCredentialsGroupResp // GetCredentialsGroupId returns the CredentialsGroupId field value func (o *DeleteCredentialsGroupResponse) GetCredentialsGroupId() *string { - if o == nil { + if o == nil || IsNil(o.CredentialsGroupId) { var ret *string return ret } @@ -74,7 +74,7 @@ func (o *DeleteCredentialsGroupResponse) SetCredentialsGroupId(v *string) { // GetProject returns the Project field value func (o *DeleteCredentialsGroupResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_detailed_error.go b/services/objectstorage/model_detailed_error.go index f506e11c6..9cc6c9c00 100644 --- a/services/objectstorage/model_detailed_error.go +++ b/services/objectstorage/model_detailed_error.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -48,7 +48,7 @@ func NewDetailedErrorWithDefaults() *DetailedError { // GetKey returns the Key field value func (o *DetailedError) GetKey() *string { - if o == nil { + if o == nil || IsNil(o.Key) { var ret *string return ret } @@ -72,7 +72,7 @@ func (o *DetailedError) SetKey(v *string) { // GetMsg returns the Msg field value func (o *DetailedError) GetMsg() *string { - if o == nil { + if o == nil || IsNil(o.Msg) { var ret *string return ret } diff --git a/services/objectstorage/model_error_message.go b/services/objectstorage/model_error_message.go index 05944b26a..14f0f3d7a 100644 --- a/services/objectstorage/model_error_message.go +++ b/services/objectstorage/model_error_message.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -45,7 +45,7 @@ func NewErrorMessageWithDefaults() *ErrorMessage { // GetDetail returns the Detail field value func (o *ErrorMessage) GetDetail() *[]DetailedError { - if o == nil { + if o == nil || IsNil(o.Detail) { var ret *[]DetailedError return ret } diff --git a/services/objectstorage/model_get_bucket_response.go b/services/objectstorage/model_get_bucket_response.go index 60362f120..30a0b5606 100644 --- a/services/objectstorage/model_get_bucket_response.go +++ b/services/objectstorage/model_get_bucket_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -49,7 +49,7 @@ func NewGetBucketResponseWithDefaults() *GetBucketResponse { // GetBucket returns the Bucket field value func (o *GetBucketResponse) GetBucket() *Bucket { - if o == nil { + if o == nil || IsNil(o.Bucket) { var ret *Bucket return ret } @@ -73,7 +73,7 @@ func (o *GetBucketResponse) SetBucket(v *Bucket) { // GetProject returns the Project field value func (o *GetBucketResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_http_validation_error.go b/services/objectstorage/model_http_validation_error.go index 37b6ea45c..4439ff495 100644 --- a/services/objectstorage/model_http_validation_error.go +++ b/services/objectstorage/model_http_validation_error.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/objectstorage/model_list_access_keys_response.go b/services/objectstorage/model_list_access_keys_response.go index 06aa39c2d..853f59f27 100644 --- a/services/objectstorage/model_list_access_keys_response.go +++ b/services/objectstorage/model_list_access_keys_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -49,7 +49,7 @@ func NewListAccessKeysResponseWithDefaults() *ListAccessKeysResponse { // GetAccessKeys returns the AccessKeys field value func (o *ListAccessKeysResponse) GetAccessKeys() *[]AccessKey { - if o == nil { + if o == nil || IsNil(o.AccessKeys) { var ret *[]AccessKey return ret } @@ -73,7 +73,7 @@ func (o *ListAccessKeysResponse) SetAccessKeys(v *[]AccessKey) { // GetProject returns the Project field value func (o *ListAccessKeysResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_list_buckets_response.go b/services/objectstorage/model_list_buckets_response.go index 50294d3aa..599d20ecf 100644 --- a/services/objectstorage/model_list_buckets_response.go +++ b/services/objectstorage/model_list_buckets_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -49,7 +49,7 @@ func NewListBucketsResponseWithDefaults() *ListBucketsResponse { // GetBuckets returns the Buckets field value func (o *ListBucketsResponse) GetBuckets() *[]Bucket { - if o == nil { + if o == nil || IsNil(o.Buckets) { var ret *[]Bucket return ret } @@ -73,7 +73,7 @@ func (o *ListBucketsResponse) SetBuckets(v *[]Bucket) { // GetProject returns the Project field value func (o *ListBucketsResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_list_credentials_groups_response.go b/services/objectstorage/model_list_credentials_groups_response.go index 067bac162..605efe663 100644 --- a/services/objectstorage/model_list_credentials_groups_response.go +++ b/services/objectstorage/model_list_credentials_groups_response.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -49,7 +49,7 @@ func NewListCredentialsGroupsResponseWithDefaults() *ListCredentialsGroupsRespon // GetCredentialsGroups returns the CredentialsGroups field value func (o *ListCredentialsGroupsResponse) GetCredentialsGroups() *[]CredentialsGroup { - if o == nil { + if o == nil || IsNil(o.CredentialsGroups) { var ret *[]CredentialsGroup return ret } @@ -73,7 +73,7 @@ func (o *ListCredentialsGroupsResponse) SetCredentialsGroups(v *[]CredentialsGro // GetProject returns the Project field value func (o *ListCredentialsGroupsResponse) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } diff --git a/services/objectstorage/model_location_inner.go b/services/objectstorage/model_location_inner.go index 079d2515f..ec3fb5212 100644 --- a/services/objectstorage/model_location_inner.go +++ b/services/objectstorage/model_location_inner.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/objectstorage/model_project_scope.go b/services/objectstorage/model_project_scope.go index 3f5a19adf..a46e9e5aa 100644 --- a/services/objectstorage/model_project_scope.go +++ b/services/objectstorage/model_project_scope.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/objectstorage/model_project_status.go b/services/objectstorage/model_project_status.go index b13c80642..8030f2eb0 100644 --- a/services/objectstorage/model_project_status.go +++ b/services/objectstorage/model_project_status.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -49,7 +49,7 @@ func NewProjectStatusWithDefaults() *ProjectStatus { // GetProject returns the Project field value func (o *ProjectStatus) GetProject() *string { - if o == nil { + if o == nil || IsNil(o.Project) { var ret *string return ret } @@ -73,7 +73,7 @@ func (o *ProjectStatus) SetProject(v *string) { // GetScope returns the Scope field value func (o *ProjectStatus) GetScope() *ProjectScope { - if o == nil { + if o == nil || IsNil(o.Scope) { var ret *ProjectScope return ret } diff --git a/services/objectstorage/model_validation_error.go b/services/objectstorage/model_validation_error.go index ce44aae1c..b7a682498 100644 --- a/services/objectstorage/model_validation_error.go +++ b/services/objectstorage/model_validation_error.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -51,7 +51,7 @@ func NewValidationErrorWithDefaults() *ValidationError { // GetLoc returns the Loc field value func (o *ValidationError) GetLoc() *[]LocationInner { - if o == nil { + if o == nil || IsNil(o.Loc) { var ret *[]LocationInner return ret } @@ -75,7 +75,7 @@ func (o *ValidationError) SetLoc(v *[]LocationInner) { // GetMsg returns the Msg field value func (o *ValidationError) GetMsg() *string { - if o == nil { + if o == nil || IsNil(o.Msg) { var ret *string return ret } @@ -99,7 +99,7 @@ func (o *ValidationError) SetMsg(v *string) { // GetType returns the Type field value func (o *ValidationError) GetType() *string { - if o == nil { + if o == nil || IsNil(o.Type) { var ret *string return ret } diff --git a/services/objectstorage/utils.go b/services/objectstorage/utils.go index c933b4f7e..4af60db6d 100644 --- a/services/objectstorage/utils.go +++ b/services/objectstorage/utils.go @@ -3,7 +3,7 @@ STACKIT Object Storage API STACKIT API to manage the Object Storage -API version: 1.0.9 +API version: 1.1.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.