From 062e1331a9479029e47990159971fea0082c6a0d Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 20 Oct 2026 13:07:14 +0000 Subject: [PATCH] Generate secretsmanager --- services/secretsmanager/oas_commit | 2 +- services/secretsmanager/v1api/api_default.go | 20 ++++++++-------- .../secretsmanager/v1api/api_default_mock.go | 8 +++---- services/secretsmanager/v1api/client.go | 4 ++-- .../secretsmanager/v1api/configuration.go | 2 +- services/secretsmanager/v1api/model_acl.go | 2 +- .../secretsmanager/v1api/model_approle.go | 14 +++++------ .../v1api/model_approle_list.go | 2 +- .../v1api/model_approle_secret.go | 24 +++++++++---------- .../v1api/model_approle_secret_list.go | 2 +- .../secretsmanager/v1api/model_bad_request.go | 2 +- .../secretsmanager/v1api/model_conflict.go | 2 +- .../v1api/model_create_acl_payload.go | 2 +- .../v1api/model_create_approle_payload.go | 18 +++++++------- .../model_create_approle_secret_id_payload.go | 2 +- .../v1api/model_create_instance_payload.go | 2 +- .../v1api/model_create_user_payload.go | 2 +- .../secretsmanager/v1api/model_instance.go | 14 +++++------ .../v1api/model_kms_key_payload.go | 2 +- .../v1api/model_list_acls_response.go | 2 +- .../v1api/model_list_instances_response.go | 2 +- .../v1api/model_list_users_response.go | 2 +- .../secretsmanager/v1api/model_not_found.go | 2 +- .../v1api/model_update_acl_payload.go | 2 +- .../v1api/model_update_acls_payload.go | 2 +- .../v1api/model_update_approle_payload.go | 14 +++++------ .../model_update_approle_secret_id_payload.go | 2 +- .../v1api/model_update_instance_payload.go | 2 +- .../v1api/model_update_user_payload.go | 2 +- services/secretsmanager/v1api/model_user.go | 2 +- services/secretsmanager/v1api/response.go | 2 +- services/secretsmanager/v1api/utils.go | 2 +- 32 files changed, 82 insertions(+), 82 deletions(-) diff --git a/services/secretsmanager/oas_commit b/services/secretsmanager/oas_commit index 71a76821d4..bb18f06379 100644 --- a/services/secretsmanager/oas_commit +++ b/services/secretsmanager/oas_commit @@ -1 +1 @@ -0afa5e4924e6bf230fdade5cb294ecfd97dd63e5 +4ebb7cbd70f30e00b52c9d00300f074fb0f8086a diff --git a/services/secretsmanager/v1api/api_default.go b/services/secretsmanager/v1api/api_default.go index 20ba7f8b4d..20b07dde50 100644 --- a/services/secretsmanager/v1api/api_default.go +++ b/services/secretsmanager/v1api/api_default.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. @@ -147,7 +147,7 @@ type DefaultAPI interface { @param secretIdVersion The version of the secret id. @return ApiDeleteApproleSecretIdRequest */ - DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest + DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiDeleteApproleSecretIdRequest // DeleteApproleSecretIdExecute executes the request DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) error @@ -229,7 +229,7 @@ type DefaultAPI interface { @param secretIdVersion The version of the secret id. @return ApiGetApproleSecretIdRequest */ - GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest + GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiGetApproleSecretIdRequest // GetApproleSecretIdExecute executes the request // @return ApproleSecret @@ -408,7 +408,7 @@ type DefaultAPI interface { @param secretIdVersion The version of the secret id. @return ApiUpdateApproleSecretIdRequest */ - UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest + UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiUpdateApproleSecretIdRequest // UpdateApproleSecretIdExecute executes the request // @return ApproleSecret @@ -1578,7 +1578,7 @@ type ApiDeleteApproleSecretIdRequest struct { projectId string instanceId string roleId string - secretIdVersion int32 + secretIdVersion int64 } func (r ApiDeleteApproleSecretIdRequest) Execute() error { @@ -1597,7 +1597,7 @@ Deletes the secret id by its given version. @param secretIdVersion The version of the secret id. @return ApiDeleteApproleSecretIdRequest */ -func (a *DefaultAPIService) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest { +func (a *DefaultAPIService) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiDeleteApproleSecretIdRequest { return ApiDeleteApproleSecretIdRequest{ ApiService: a, ctx: ctx, @@ -2319,7 +2319,7 @@ type ApiGetApproleSecretIdRequest struct { projectId string instanceId string roleId string - secretIdVersion int32 + secretIdVersion int64 } func (r ApiGetApproleSecretIdRequest) Execute() (*ApproleSecret, error) { @@ -2338,7 +2338,7 @@ Read the properties of a given secret id by its given version. @param secretIdVersion The version of the secret id. @return ApiGetApproleSecretIdRequest */ -func (a *DefaultAPIService) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest { +func (a *DefaultAPIService) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiGetApproleSecretIdRequest { return ApiGetApproleSecretIdRequest{ ApiService: a, ctx: ctx, @@ -4018,7 +4018,7 @@ type ApiUpdateApproleSecretIdRequest struct { projectId string instanceId string roleId string - secretIdVersion int32 + secretIdVersion int64 updateApproleSecretIdPayload *UpdateApproleSecretIdPayload } @@ -4043,7 +4043,7 @@ Update the description of a secret id by its given version. @param secretIdVersion The version of the secret id. @return ApiUpdateApproleSecretIdRequest */ -func (a *DefaultAPIService) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest { +func (a *DefaultAPIService) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiUpdateApproleSecretIdRequest { return ApiUpdateApproleSecretIdRequest{ ApiService: a, ctx: ctx, diff --git a/services/secretsmanager/v1api/api_default_mock.go b/services/secretsmanager/v1api/api_default_mock.go index d9aed258cb..4eedd4d96e 100644 --- a/services/secretsmanager/v1api/api_default_mock.go +++ b/services/secretsmanager/v1api/api_default_mock.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. @@ -207,7 +207,7 @@ func (a DefaultAPIServiceMock) DeleteApproleExecute(r ApiDeleteApproleRequest) e return (*a.DeleteApproleExecuteMock)(r) } -func (a DefaultAPIServiceMock) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest { +func (a DefaultAPIServiceMock) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiDeleteApproleSecretIdRequest { return ApiDeleteApproleSecretIdRequest{ ApiService: a, ctx: ctx, @@ -304,7 +304,7 @@ func (a DefaultAPIServiceMock) GetApproleExecute(r ApiGetApproleRequest) (*Appro return (*a.GetApproleExecuteMock)(r) } -func (a DefaultAPIServiceMock) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest { +func (a DefaultAPIServiceMock) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiGetApproleSecretIdRequest { return ApiGetApproleSecretIdRequest{ ApiService: a, ctx: ctx, @@ -516,7 +516,7 @@ func (a DefaultAPIServiceMock) UpdateApproleExecute(r ApiUpdateApproleRequest) ( return (*a.UpdateApproleExecuteMock)(r) } -func (a DefaultAPIServiceMock) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest { +func (a DefaultAPIServiceMock) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int64) ApiUpdateApproleSecretIdRequest { return ApiUpdateApproleSecretIdRequest{ ApiService: a, ctx: ctx, diff --git a/services/secretsmanager/v1api/client.go b/services/secretsmanager/v1api/client.go index 4745ba467d..dedc3cc516 100644 --- a/services/secretsmanager/v1api/client.go +++ b/services/secretsmanager/v1api/client.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. @@ -42,7 +42,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the STACKIT Secrets Manager API API v1.4.3 +// APIClient manages communication with the STACKIT Secrets Manager API V1 API v1.4.3 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *config.Configuration diff --git a/services/secretsmanager/v1api/configuration.go b/services/secretsmanager/v1api/configuration.go index 0ed03309a1..143ed29792 100644 --- a/services/secretsmanager/v1api/configuration.go +++ b/services/secretsmanager/v1api/configuration.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_acl.go b/services/secretsmanager/v1api/model_acl.go index e5e26d0a5f..a5edfd29f6 100644 --- a/services/secretsmanager/v1api/model_acl.go +++ b/services/secretsmanager/v1api/model_acl.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_approle.go b/services/secretsmanager/v1api/model_approle.go index 0b050bb06a..44bc9f1ded 100644 --- a/services/secretsmanager/v1api/model_approle.go +++ b/services/secretsmanager/v1api/model_approle.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. @@ -24,7 +24,7 @@ type Approle struct { Description string `json:"description"` // Identifier used for authentication RoleId string `json:"role_id"` - SecretIdNumUses int32 `json:"secret_id_num_uses"` + SecretIdNumUses int64 `json:"secret_id_num_uses"` // Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour). SecretIdTtl string `json:"secret_id_ttl" validate:"regexp=^[0-9]+[smh]$"` // Is true if the approle has write access to the secrets engine. Is false for a read-only approle. @@ -38,7 +38,7 @@ type _Approle Approle // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewApprole(description string, roleId string, secretIdNumUses int32, secretIdTtl string, write bool) *Approle { +func NewApprole(description string, roleId string, secretIdNumUses int64, secretIdTtl string, write bool) *Approle { this := Approle{} this.Description = description this.RoleId = roleId @@ -105,9 +105,9 @@ func (o *Approle) SetRoleId(v string) { } // GetSecretIdNumUses returns the SecretIdNumUses field value -func (o *Approle) GetSecretIdNumUses() int32 { +func (o *Approle) GetSecretIdNumUses() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -116,7 +116,7 @@ func (o *Approle) GetSecretIdNumUses() int32 { // GetSecretIdNumUsesOk returns a tuple with the SecretIdNumUses field value // and a boolean to check if the value has been set. -func (o *Approle) GetSecretIdNumUsesOk() (*int32, bool) { +func (o *Approle) GetSecretIdNumUsesOk() (*int64, bool) { if o == nil { return nil, false } @@ -124,7 +124,7 @@ func (o *Approle) GetSecretIdNumUsesOk() (*int32, bool) { } // SetSecretIdNumUses sets field value -func (o *Approle) SetSecretIdNumUses(v int32) { +func (o *Approle) SetSecretIdNumUses(v int64) { o.SecretIdNumUses = v } diff --git a/services/secretsmanager/v1api/model_approle_list.go b/services/secretsmanager/v1api/model_approle_list.go index e6ff6bfc4e..95427a467b 100644 --- a/services/secretsmanager/v1api/model_approle_list.go +++ b/services/secretsmanager/v1api/model_approle_list.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_approle_secret.go b/services/secretsmanager/v1api/model_approle_secret.go index b327161db9..de0047f40b 100644 --- a/services/secretsmanager/v1api/model_approle_secret.go +++ b/services/secretsmanager/v1api/model_approle_secret.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. @@ -22,13 +22,13 @@ var _ MappedNullable = &ApproleSecret{} type ApproleSecret struct { // A user chosen description to differentiate between multiple approle secrets. Description string `json:"description"` - NumUses int32 `json:"num_uses"` + NumUses int64 `json:"num_uses"` // Identifier used for authentication, returned only at creation SecretId *string `json:"secret_id,omitempty"` // Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour). Ttl string `json:"ttl" validate:"regexp=^[0-9]+[smh]$"` // Accessor used for handling secrets - Version int32 `json:"version"` + Version int64 `json:"version"` AdditionalProperties map[string]interface{} } @@ -38,7 +38,7 @@ type _ApproleSecret ApproleSecret // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewApproleSecret(description string, numUses int32, ttl string, version int32) *ApproleSecret { +func NewApproleSecret(description string, numUses int64, ttl string, version int64) *ApproleSecret { this := ApproleSecret{} this.Description = description this.NumUses = numUses @@ -80,9 +80,9 @@ func (o *ApproleSecret) SetDescription(v string) { } // GetNumUses returns the NumUses field value -func (o *ApproleSecret) GetNumUses() int32 { +func (o *ApproleSecret) GetNumUses() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -91,7 +91,7 @@ func (o *ApproleSecret) GetNumUses() int32 { // GetNumUsesOk returns a tuple with the NumUses field value // and a boolean to check if the value has been set. -func (o *ApproleSecret) GetNumUsesOk() (*int32, bool) { +func (o *ApproleSecret) GetNumUsesOk() (*int64, bool) { if o == nil { return nil, false } @@ -99,7 +99,7 @@ func (o *ApproleSecret) GetNumUsesOk() (*int32, bool) { } // SetNumUses sets field value -func (o *ApproleSecret) SetNumUses(v int32) { +func (o *ApproleSecret) SetNumUses(v int64) { o.NumUses = v } @@ -160,9 +160,9 @@ func (o *ApproleSecret) SetTtl(v string) { } // GetVersion returns the Version field value -func (o *ApproleSecret) GetVersion() int32 { +func (o *ApproleSecret) GetVersion() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -171,7 +171,7 @@ func (o *ApproleSecret) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. -func (o *ApproleSecret) GetVersionOk() (*int32, bool) { +func (o *ApproleSecret) GetVersionOk() (*int64, bool) { if o == nil { return nil, false } @@ -179,7 +179,7 @@ func (o *ApproleSecret) GetVersionOk() (*int32, bool) { } // SetVersion sets field value -func (o *ApproleSecret) SetVersion(v int32) { +func (o *ApproleSecret) SetVersion(v int64) { o.Version = v } diff --git a/services/secretsmanager/v1api/model_approle_secret_list.go b/services/secretsmanager/v1api/model_approle_secret_list.go index 3a41489716..0202ddf5a9 100644 --- a/services/secretsmanager/v1api/model_approle_secret_list.go +++ b/services/secretsmanager/v1api/model_approle_secret_list.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_bad_request.go b/services/secretsmanager/v1api/model_bad_request.go index 8ff2e81bd8..503f3cd885 100644 --- a/services/secretsmanager/v1api/model_bad_request.go +++ b/services/secretsmanager/v1api/model_bad_request.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_conflict.go b/services/secretsmanager/v1api/model_conflict.go index a360e97b45..c78cb8d769 100644 --- a/services/secretsmanager/v1api/model_conflict.go +++ b/services/secretsmanager/v1api/model_conflict.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_create_acl_payload.go b/services/secretsmanager/v1api/model_create_acl_payload.go index b6d972a375..f0d0049a98 100644 --- a/services/secretsmanager/v1api/model_create_acl_payload.go +++ b/services/secretsmanager/v1api/model_create_acl_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_create_approle_payload.go b/services/secretsmanager/v1api/model_create_approle_payload.go index 609dd8d5ea..3f3ac681c1 100644 --- a/services/secretsmanager/v1api/model_create_approle_payload.go +++ b/services/secretsmanager/v1api/model_create_approle_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. @@ -21,7 +21,7 @@ var _ MappedNullable = &CreateApprolePayload{} type CreateApprolePayload struct { // A user chosen description to differentiate between multiple approles. Description *string `json:"description,omitempty"` - SecretIdNumUses *int32 `json:"secret_id_num_uses,omitempty"` + SecretIdNumUses *int64 `json:"secret_id_num_uses,omitempty"` // Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour). SecretIdTtl *string `json:"secret_id_ttl,omitempty" validate:"regexp=^[0-9]+[smh]$"` // Is true if the approle has write access to the secrets engine. Is false for a read-only approle. @@ -39,7 +39,7 @@ func NewCreateApprolePayload() *CreateApprolePayload { this := CreateApprolePayload{} var description string = "" this.Description = &description - var secretIdNumUses int32 = 0 + var secretIdNumUses int64 = 0 this.SecretIdNumUses = &secretIdNumUses var secretIdTtl string = "0s" this.SecretIdTtl = &secretIdTtl @@ -55,7 +55,7 @@ func NewCreateApprolePayloadWithDefaults() *CreateApprolePayload { this := CreateApprolePayload{} var description string = "" this.Description = &description - var secretIdNumUses int32 = 0 + var secretIdNumUses int64 = 0 this.SecretIdNumUses = &secretIdNumUses var secretIdTtl string = "0s" this.SecretIdTtl = &secretIdTtl @@ -97,9 +97,9 @@ func (o *CreateApprolePayload) SetDescription(v string) { } // GetSecretIdNumUses returns the SecretIdNumUses field value if set, zero value otherwise. -func (o *CreateApprolePayload) GetSecretIdNumUses() int32 { +func (o *CreateApprolePayload) GetSecretIdNumUses() int64 { if o == nil || IsNil(o.SecretIdNumUses) { - var ret int32 + var ret int64 return ret } return *o.SecretIdNumUses @@ -107,7 +107,7 @@ func (o *CreateApprolePayload) GetSecretIdNumUses() int32 { // GetSecretIdNumUsesOk returns a tuple with the SecretIdNumUses field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CreateApprolePayload) GetSecretIdNumUsesOk() (*int32, bool) { +func (o *CreateApprolePayload) GetSecretIdNumUsesOk() (*int64, bool) { if o == nil || IsNil(o.SecretIdNumUses) { return nil, false } @@ -123,8 +123,8 @@ func (o *CreateApprolePayload) HasSecretIdNumUses() bool { return false } -// SetSecretIdNumUses gets a reference to the given int32 and assigns it to the SecretIdNumUses field. -func (o *CreateApprolePayload) SetSecretIdNumUses(v int32) { +// SetSecretIdNumUses gets a reference to the given int64 and assigns it to the SecretIdNumUses field. +func (o *CreateApprolePayload) SetSecretIdNumUses(v int64) { o.SecretIdNumUses = &v } diff --git a/services/secretsmanager/v1api/model_create_approle_secret_id_payload.go b/services/secretsmanager/v1api/model_create_approle_secret_id_payload.go index 26289d62f6..bd147686fb 100644 --- a/services/secretsmanager/v1api/model_create_approle_secret_id_payload.go +++ b/services/secretsmanager/v1api/model_create_approle_secret_id_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_create_instance_payload.go b/services/secretsmanager/v1api/model_create_instance_payload.go index f38903a7a9..b061b4d6a3 100644 --- a/services/secretsmanager/v1api/model_create_instance_payload.go +++ b/services/secretsmanager/v1api/model_create_instance_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_create_user_payload.go b/services/secretsmanager/v1api/model_create_user_payload.go index 8885da5f07..36b0af69b6 100644 --- a/services/secretsmanager/v1api/model_create_user_payload.go +++ b/services/secretsmanager/v1api/model_create_user_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_instance.go b/services/secretsmanager/v1api/model_instance.go index 6caaf363da..d874e22b0b 100644 --- a/services/secretsmanager/v1api/model_instance.go +++ b/services/secretsmanager/v1api/model_instance.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. @@ -32,7 +32,7 @@ type Instance struct { // A user chosen name to distinguish multiple secrets manager instances. Name string `json:"name"` // The number of secrets currently stored inside of the instance. This value will be updated once per hour. - SecretCount int32 `json:"secretCount"` + SecretCount int64 `json:"secretCount"` // The name of the secrets engine. SecretsEngine string `json:"secretsEngine"` // The current state of the Secrets Manager instance. @@ -48,7 +48,7 @@ type _Instance Instance // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInstance(apiUrl string, creationStartDate string, id string, name string, secretCount int32, secretsEngine string, state string) *Instance { +func NewInstance(apiUrl string, creationStartDate string, id string, name string, secretCount int64, secretsEngine string, state string) *Instance { this := Instance{} this.ApiUrl = apiUrl this.CreationStartDate = creationStartDate @@ -229,9 +229,9 @@ func (o *Instance) SetName(v string) { } // GetSecretCount returns the SecretCount field value -func (o *Instance) GetSecretCount() int32 { +func (o *Instance) GetSecretCount() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -240,7 +240,7 @@ func (o *Instance) GetSecretCount() int32 { // GetSecretCountOk returns a tuple with the SecretCount field value // and a boolean to check if the value has been set. -func (o *Instance) GetSecretCountOk() (*int32, bool) { +func (o *Instance) GetSecretCountOk() (*int64, bool) { if o == nil { return nil, false } @@ -248,7 +248,7 @@ func (o *Instance) GetSecretCountOk() (*int32, bool) { } // SetSecretCount sets field value -func (o *Instance) SetSecretCount(v int32) { +func (o *Instance) SetSecretCount(v int64) { o.SecretCount = v } diff --git a/services/secretsmanager/v1api/model_kms_key_payload.go b/services/secretsmanager/v1api/model_kms_key_payload.go index 0d55010e8c..5e432320b6 100644 --- a/services/secretsmanager/v1api/model_kms_key_payload.go +++ b/services/secretsmanager/v1api/model_kms_key_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_list_acls_response.go b/services/secretsmanager/v1api/model_list_acls_response.go index 0d11f19ebc..8ab73fba61 100644 --- a/services/secretsmanager/v1api/model_list_acls_response.go +++ b/services/secretsmanager/v1api/model_list_acls_response.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_list_instances_response.go b/services/secretsmanager/v1api/model_list_instances_response.go index a4d46f95e8..bb655f676c 100644 --- a/services/secretsmanager/v1api/model_list_instances_response.go +++ b/services/secretsmanager/v1api/model_list_instances_response.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_list_users_response.go b/services/secretsmanager/v1api/model_list_users_response.go index 3f79fa87fc..1fc93dcaf3 100644 --- a/services/secretsmanager/v1api/model_list_users_response.go +++ b/services/secretsmanager/v1api/model_list_users_response.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_not_found.go b/services/secretsmanager/v1api/model_not_found.go index 5143eb162c..9a42e16182 100644 --- a/services/secretsmanager/v1api/model_not_found.go +++ b/services/secretsmanager/v1api/model_not_found.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_update_acl_payload.go b/services/secretsmanager/v1api/model_update_acl_payload.go index a5b973bcfa..264b8f3bbc 100644 --- a/services/secretsmanager/v1api/model_update_acl_payload.go +++ b/services/secretsmanager/v1api/model_update_acl_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_update_acls_payload.go b/services/secretsmanager/v1api/model_update_acls_payload.go index 31d2efda87..a60f16d351 100644 --- a/services/secretsmanager/v1api/model_update_acls_payload.go +++ b/services/secretsmanager/v1api/model_update_acls_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_update_approle_payload.go b/services/secretsmanager/v1api/model_update_approle_payload.go index 7465724b1c..1f18b7206c 100644 --- a/services/secretsmanager/v1api/model_update_approle_payload.go +++ b/services/secretsmanager/v1api/model_update_approle_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. @@ -21,7 +21,7 @@ var _ MappedNullable = &UpdateApprolePayload{} type UpdateApprolePayload struct { // A user chosen description to differentiate between multiple approles. Description *string `json:"description,omitempty"` - SecretIdNumUses *int32 `json:"secret_id_num_uses,omitempty"` + SecretIdNumUses *int64 `json:"secret_id_num_uses,omitempty"` // Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour). SecretIdTtl *string `json:"secret_id_ttl,omitempty" validate:"regexp=^[0-9]+[smh]$"` // Is true if the approle has write access to the secrets engine. Is false for a read-only approle. @@ -81,9 +81,9 @@ func (o *UpdateApprolePayload) SetDescription(v string) { } // GetSecretIdNumUses returns the SecretIdNumUses field value if set, zero value otherwise. -func (o *UpdateApprolePayload) GetSecretIdNumUses() int32 { +func (o *UpdateApprolePayload) GetSecretIdNumUses() int64 { if o == nil || IsNil(o.SecretIdNumUses) { - var ret int32 + var ret int64 return ret } return *o.SecretIdNumUses @@ -91,7 +91,7 @@ func (o *UpdateApprolePayload) GetSecretIdNumUses() int32 { // GetSecretIdNumUsesOk returns a tuple with the SecretIdNumUses field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *UpdateApprolePayload) GetSecretIdNumUsesOk() (*int32, bool) { +func (o *UpdateApprolePayload) GetSecretIdNumUsesOk() (*int64, bool) { if o == nil || IsNil(o.SecretIdNumUses) { return nil, false } @@ -107,8 +107,8 @@ func (o *UpdateApprolePayload) HasSecretIdNumUses() bool { return false } -// SetSecretIdNumUses gets a reference to the given int32 and assigns it to the SecretIdNumUses field. -func (o *UpdateApprolePayload) SetSecretIdNumUses(v int32) { +// SetSecretIdNumUses gets a reference to the given int64 and assigns it to the SecretIdNumUses field. +func (o *UpdateApprolePayload) SetSecretIdNumUses(v int64) { o.SecretIdNumUses = &v } diff --git a/services/secretsmanager/v1api/model_update_approle_secret_id_payload.go b/services/secretsmanager/v1api/model_update_approle_secret_id_payload.go index 49fcb86b01..a4829d3834 100644 --- a/services/secretsmanager/v1api/model_update_approle_secret_id_payload.go +++ b/services/secretsmanager/v1api/model_update_approle_secret_id_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_update_instance_payload.go b/services/secretsmanager/v1api/model_update_instance_payload.go index 0d99f602fb..73975d07d5 100644 --- a/services/secretsmanager/v1api/model_update_instance_payload.go +++ b/services/secretsmanager/v1api/model_update_instance_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_update_user_payload.go b/services/secretsmanager/v1api/model_update_user_payload.go index 279275663a..beeb603249 100644 --- a/services/secretsmanager/v1api/model_update_user_payload.go +++ b/services/secretsmanager/v1api/model_update_user_payload.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/model_user.go b/services/secretsmanager/v1api/model_user.go index 135a303635..2263f77a1c 100644 --- a/services/secretsmanager/v1api/model_user.go +++ b/services/secretsmanager/v1api/model_user.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/response.go b/services/secretsmanager/v1api/response.go index 2b16d65c6d..8635d9839c 100644 --- a/services/secretsmanager/v1api/response.go +++ b/services/secretsmanager/v1api/response.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager. diff --git a/services/secretsmanager/v1api/utils.go b/services/secretsmanager/v1api/utils.go index d65ac40c77..1b2c9ae94f 100644 --- a/services/secretsmanager/v1api/utils.go +++ b/services/secretsmanager/v1api/utils.go @@ -1,5 +1,5 @@ /* -STACKIT Secrets Manager API +STACKIT Secrets Manager API V1 This API provides endpoints for managing the Secrets-Manager.