diff --git a/CHANGELOG.md b/CHANGELOG.md index 50117d118..7bbcb2b65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ - `CHATMODELDETAILSBITS_4Bits` -> `CHATMODELDETAILSBITS_FOUR_BITS` - `CHATMODELDETAILSBITS_8Bits` -> `CHATMODELDETAILSBITS_EIGHT_BITS` - `CHATMODELDETAILSBITS_16Bits` -> `CHATMODELDETAILSBITS_SIXTEEN_BITS` +- `objectstorage`: [v1.4.0](services/objectstorage/CHANGELOG.md#v140) + - **Breaking change:** Set `Expires` field in `CreateAccessKeyResponse` model to NullableString - `observability`: - [v0.14.0](services/observability/CHANGELOG.md#v0131) - **Feature:** Add attributes `JaegerHttpTracesUrl`, `OtlpGrpcTracesUrl` and `OtlpHttpTracesUrl` to `InstanceSensitiveData` model diff --git a/services/objectstorage/CHANGELOG.md b/services/objectstorage/CHANGELOG.md index 5a3e2f338..eadc2c151 100644 --- a/services/objectstorage/CHANGELOG.md +++ b/services/objectstorage/CHANGELOG.md @@ -1,5 +1,8 @@ +## v1.4.0 +- **Breaking change:** Set `Expires` field in `CreateAccessKeyResponse` model to NullableString + ## v1.3.1 - - **Dependencies:** Bump `github.com/golang-jwt/jwt/v5` from `v5.2.2` to `v5.2.3` +- **Dependencies:** Bump `github.com/golang-jwt/jwt/v5` from `v5.2.2` to `v5.2.3` ## v1.3.0 - Add `required:"true"` tags to model structs diff --git a/services/objectstorage/VERSION b/services/objectstorage/VERSION index 23c38c241..ec7b96782 100644 --- a/services/objectstorage/VERSION +++ b/services/objectstorage/VERSION @@ -1 +1 @@ -v1.3.1 \ No newline at end of file +v1.4.0 \ No newline at end of file diff --git a/services/objectstorage/model_create_access_key_response.go b/services/objectstorage/model_create_access_key_response.go index 5c5e8aee4..5ef2b39cb 100644 --- a/services/objectstorage/model_create_access_key_response.go +++ b/services/objectstorage/model_create_access_key_response.go @@ -63,22 +63,26 @@ type CreateAccessKeyResponseGetDisplayNameRetType = string types and functions for expires */ -// isNotNullableString -type CreateAccessKeyResponseGetExpiresAttributeType = *string +// isNullableString +type CreateAccessKeyResponseGetExpiresAttributeType = *NullableString func getCreateAccessKeyResponseGetExpiresAttributeTypeOk(arg CreateAccessKeyResponseGetExpiresAttributeType) (ret CreateAccessKeyResponseGetExpiresRetType, ok bool) { if arg == nil { - return ret, false + return nil, false } - return *arg, true + return arg.Get(), true } func setCreateAccessKeyResponseGetExpiresAttributeType(arg *CreateAccessKeyResponseGetExpiresAttributeType, val CreateAccessKeyResponseGetExpiresRetType) { - *arg = &val + if IsNil(*arg) { + *arg = NewNullableString(val) + } else { + (*arg).Set(val) + } } -type CreateAccessKeyResponseGetExpiresArgType = string -type CreateAccessKeyResponseGetExpiresRetType = string +type CreateAccessKeyResponseGetExpiresArgType = *string +type CreateAccessKeyResponseGetExpiresRetType = *string /* types and functions for keyId @@ -225,6 +229,7 @@ func (o *CreateAccessKeyResponse) SetDisplayName(v CreateAccessKeyResponseGetDis } // GetExpires returns the Expires field value +// If the value is explicit nil, the zero value for string will be returned func (o *CreateAccessKeyResponse) GetExpires() (ret CreateAccessKeyResponseGetExpiresRetType) { ret, _ = o.GetExpiresOk() return ret @@ -232,6 +237,7 @@ func (o *CreateAccessKeyResponse) GetExpires() (ret CreateAccessKeyResponseGetEx // GetExpiresOk returns a tuple with the Expires field value // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *CreateAccessKeyResponse) GetExpiresOk() (ret CreateAccessKeyResponseGetExpiresRetType, ok bool) { return getCreateAccessKeyResponseGetExpiresAttributeTypeOk(o.Expires) }