secretsmanager

package module
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type ACL added in v0.8.0

type ACL struct {
	// The given IP/IP Range that is permitted to access.
	// REQUIRED
	Cidr *string `json:"cidr"`
	// A auto generated unique id which identifies the acl.
	// REQUIRED
	Id *string `json:"id"`
}

ACL struct for ACL

func NewACL added in v0.10.0

func NewACL(cidr *string, id *string) *ACL

NewACL instantiates a new ACL object 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 NewACLWithDefaults added in v0.10.0

func NewACLWithDefaults() *ACL

NewACLWithDefaults instantiates a new ACL object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ACL) GetCidr added in v0.10.0

func (o *ACL) GetCidr() *string

GetCidr returns the Cidr field value

func (*ACL) GetCidrOk added in v0.10.0

func (o *ACL) GetCidrOk() (*string, bool)

GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.

func (*ACL) GetId added in v0.10.0

func (o *ACL) GetId() *string

GetId returns the Id field value

func (*ACL) GetIdOk added in v0.10.0

func (o *ACL) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ACL) SetCidr added in v0.10.0

func (o *ACL) SetCidr(v *string)

SetCidr sets field value

func (*ACL) SetId added in v0.10.0

func (o *ACL) SetId(v *string)

SetId sets field value

func (ACL) ToMap added in v0.10.0

func (o ACL) ToMap() (map[string]interface{}, error)

type APIClient

type APIClient struct {
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Secrets Manager API API v1.4.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Optionally receives configuration options

func (*APIClient) CreateACL

func (a *APIClient) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest

CreateACL: Method for CreateACL

Creates a new Secrets Manager acl within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiCreateACLRequest

func (*APIClient) CreateACLExecute

func (a *APIClient) CreateACLExecute(ctx context.Context, projectId string, instanceId string) (*ACL, error)

func (*APIClient) CreateInstance

func (a *APIClient) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest

CreateInstance: Method for CreateInstance

Creates a new Secrets Manager instance within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@return ApiCreateInstanceRequest

func (*APIClient) CreateInstanceExecute

func (a *APIClient) CreateInstanceExecute(ctx context.Context, projectId string) (*Instance, error)

func (*APIClient) CreateUser

func (a *APIClient) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest

CreateUser: Method for CreateUser

Creates a new user for the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiCreateUserRequest

func (*APIClient) CreateUserExecute

func (a *APIClient) CreateUserExecute(ctx context.Context, projectId string, instanceId string) (*User, error)

func (*APIClient) DeleteACL

func (a *APIClient) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest

DeleteACL: Method for DeleteACL

Deletes the given acl.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiDeleteACLRequest

func (*APIClient) DeleteACLExecute

func (a *APIClient) DeleteACLExecute(ctx context.Context, projectId string, instanceId string, aclId string) error

func (*APIClient) DeleteInstance

func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest

DeleteInstance: Method for DeleteInstance

Deletes the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiDeleteInstanceRequest

func (*APIClient) DeleteInstanceExecute

func (a *APIClient) DeleteInstanceExecute(ctx context.Context, projectId string, instanceId string) error

func (*APIClient) DeleteUser

func (a *APIClient) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest

DeleteUser: Method for DeleteUser

Deletes the given user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiDeleteUserRequest

func (*APIClient) DeleteUserExecute

func (a *APIClient) DeleteUserExecute(ctx context.Context, projectId string, instanceId string, userId string) error

func (*APIClient) GetACL

func (a *APIClient) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest

GetACL: Method for GetACL

Returns the details for the given acl.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiGetACLRequest

func (*APIClient) GetACLExecute

func (a *APIClient) GetACLExecute(ctx context.Context, projectId string, instanceId string, aclId string) (*ACL, error)

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

func (*APIClient) GetInstance

func (a *APIClient) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest

GetInstance: Method for GetInstance

Returns the details for the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiGetInstanceRequest

func (*APIClient) GetInstanceExecute

func (a *APIClient) GetInstanceExecute(ctx context.Context, projectId string, instanceId string) (*Instance, error)

func (*APIClient) GetUser

func (a *APIClient) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest

GetUser: Method for GetUser

Returns the details for the given user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiGetUserRequest

func (*APIClient) GetUserExecute

func (a *APIClient) GetUserExecute(ctx context.Context, projectId string, instanceId string, userId string) (*User, error)

func (*APIClient) ListACLs

func (a *APIClient) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest

ListACLs: Method for ListACLs

Returns the acls for the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiListACLsRequest

func (*APIClient) ListACLsExecute

func (a *APIClient) ListACLsExecute(ctx context.Context, projectId string, instanceId string) (*ListACLsResponse, error)

func (*APIClient) ListInstances

func (a *APIClient) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest

ListInstances: Method for ListInstances

Returns a list of all Secrets Manager instances within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@return ApiListInstancesRequest

func (*APIClient) ListInstancesExecute

func (a *APIClient) ListInstancesExecute(ctx context.Context, projectId string) (*ListInstancesResponse, error)

func (*APIClient) ListUsers

func (a *APIClient) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest

ListUsers: Method for ListUsers

Returns the users for the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiListUsersRequest

func (*APIClient) ListUsersExecute

func (a *APIClient) ListUsersExecute(ctx context.Context, projectId string, instanceId string) (*ListUsersResponse, error)

func (*APIClient) UpdateACL

func (a *APIClient) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest

UpdateACL: Method for UpdateACL

Updates the ip ranges for the acl.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiUpdateACLRequest

func (*APIClient) UpdateACLExecute

func (a *APIClient) UpdateACLExecute(ctx context.Context, projectId string, instanceId string, aclId string) error

func (*APIClient) UpdateACLs added in v0.6.0

func (a *APIClient) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest

UpdateACLs: Method for UpdateACLs

Changes a list of ACLs within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiUpdateACLsRequest

func (*APIClient) UpdateACLsExecute added in v0.6.0

func (a *APIClient) UpdateACLsExecute(ctx context.Context, projectId string, instanceId string) error

func (*APIClient) UpdateInstance added in v0.9.0

func (a *APIClient) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest

UpdateInstance: Method for UpdateInstance

Updates the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiUpdateInstanceRequest

func (*APIClient) UpdateInstanceExecute added in v0.9.0

func (a *APIClient) UpdateInstanceExecute(ctx context.Context, projectId string, instanceId string) error

func (*APIClient) UpdateUser

func (a *APIClient) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest

UpdateUser: Method for UpdateUser

Updates the details for the given user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiUpdateUserRequest

func (*APIClient) UpdateUserExecute

func (a *APIClient) UpdateUserExecute(ctx context.Context, projectId string, instanceId string, userId string) error

type ApiCreateACLRequest

type ApiCreateACLRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateACLRequest) CreateACLPayload

func (r ApiCreateACLRequest) CreateACLPayload(createACLPayload CreateACLPayload) ApiCreateACLRequest

func (ApiCreateACLRequest) Execute

func (r ApiCreateACLRequest) Execute() (*ACL, error)

type ApiCreateInstanceRequest

type ApiCreateInstanceRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateInstanceRequest) CreateInstancePayload

func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest

func (ApiCreateInstanceRequest) Execute

func (r ApiCreateInstanceRequest) Execute() (*Instance, error)

type ApiCreateUserRequest

type ApiCreateUserRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateUserRequest) CreateUserPayload

func (r ApiCreateUserRequest) CreateUserPayload(createUserPayload CreateUserPayload) ApiCreateUserRequest

func (ApiCreateUserRequest) Execute

func (r ApiCreateUserRequest) Execute() (*User, error)

type ApiDeleteACLRequest

type ApiDeleteACLRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteACLRequest) Execute

func (r ApiDeleteACLRequest) Execute() error

type ApiDeleteInstanceRequest

type ApiDeleteInstanceRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteInstanceRequest) Execute

func (r ApiDeleteInstanceRequest) Execute() error

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) Execute

func (r ApiDeleteUserRequest) Execute() error

type ApiGetACLRequest

type ApiGetACLRequest struct {
	// contains filtered or unexported fields
}

func (ApiGetACLRequest) Execute

func (r ApiGetACLRequest) Execute() (*ACL, error)

type ApiGetInstanceRequest

type ApiGetInstanceRequest struct {
	// contains filtered or unexported fields
}

func (ApiGetInstanceRequest) Execute

func (r ApiGetInstanceRequest) Execute() (*Instance, error)

type ApiGetUserRequest

type ApiGetUserRequest struct {
	// contains filtered or unexported fields
}

func (ApiGetUserRequest) Execute

func (r ApiGetUserRequest) Execute() (*User, error)

type ApiListACLsRequest

type ApiListACLsRequest struct {
	// contains filtered or unexported fields
}

func (ApiListACLsRequest) Execute

func (r ApiListACLsRequest) Execute() (*ListACLsResponse, error)

type ApiListInstancesRequest

type ApiListInstancesRequest struct {
	// contains filtered or unexported fields
}

func (ApiListInstancesRequest) Execute

type ApiListUsersRequest

type ApiListUsersRequest struct {
	// contains filtered or unexported fields
}

func (ApiListUsersRequest) Execute

type ApiUpdateACLRequest

type ApiUpdateACLRequest struct {
	// contains filtered or unexported fields
}

func (ApiUpdateACLRequest) Execute

func (r ApiUpdateACLRequest) Execute() error

func (ApiUpdateACLRequest) UpdateACLPayload

func (r ApiUpdateACLRequest) UpdateACLPayload(updateACLPayload UpdateACLPayload) ApiUpdateACLRequest

type ApiUpdateACLsRequest added in v0.6.0

type ApiUpdateACLsRequest struct {
	// contains filtered or unexported fields
}

func (ApiUpdateACLsRequest) Execute added in v0.6.0

func (r ApiUpdateACLsRequest) Execute() error

func (ApiUpdateACLsRequest) UpdateACLsPayload added in v0.6.0

func (r ApiUpdateACLsRequest) UpdateACLsPayload(updateACLsPayload UpdateACLsPayload) ApiUpdateACLsRequest

type ApiUpdateInstanceRequest added in v0.9.0

type ApiUpdateInstanceRequest struct {
	// contains filtered or unexported fields
}

func (ApiUpdateInstanceRequest) Execute added in v0.9.0

func (r ApiUpdateInstanceRequest) Execute() error

func (ApiUpdateInstanceRequest) UpdateInstancePayload added in v0.9.0

func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest

type ApiUpdateUserRequest

type ApiUpdateUserRequest struct {
	// contains filtered or unexported fields
}

func (ApiUpdateUserRequest) Execute

func (r ApiUpdateUserRequest) Execute() error

func (ApiUpdateUserRequest) UpdateUserPayload

func (r ApiUpdateUserRequest) UpdateUserPayload(updateUserPayload UpdateUserPayload) ApiUpdateUserRequest

type CreateACLPayload

type CreateACLPayload struct {
	// The given IP/IP Range that is permitted to access.
	// REQUIRED
	Cidr *string `json:"cidr"`
}

CreateACLPayload struct for CreateACLPayload

func NewCreateACLPayload added in v0.10.0

func NewCreateACLPayload(cidr *string) *CreateACLPayload

NewCreateACLPayload instantiates a new CreateACLPayload object 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 NewCreateACLPayloadWithDefaults added in v0.10.0

func NewCreateACLPayloadWithDefaults() *CreateACLPayload

NewCreateACLPayloadWithDefaults instantiates a new CreateACLPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateACLPayload) GetCidr added in v0.10.0

func (o *CreateACLPayload) GetCidr() *string

GetCidr returns the Cidr field value

func (*CreateACLPayload) GetCidrOk added in v0.10.0

func (o *CreateACLPayload) GetCidrOk() (*string, bool)

GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.

func (*CreateACLPayload) SetCidr added in v0.10.0

func (o *CreateACLPayload) SetCidr(v *string)

SetCidr sets field value

func (CreateACLPayload) ToMap added in v0.10.0

func (o CreateACLPayload) ToMap() (map[string]interface{}, error)

type CreateInstancePayload

type CreateInstancePayload struct {
	// A user chosen name to distinguish multiple secrets manager instances.
	// REQUIRED
	Name *string `json:"name"`
}

CreateInstancePayload struct for CreateInstancePayload

func NewCreateInstancePayload added in v0.10.0

func NewCreateInstancePayload(name *string) *CreateInstancePayload

NewCreateInstancePayload instantiates a new CreateInstancePayload object 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 NewCreateInstancePayloadWithDefaults added in v0.10.0

func NewCreateInstancePayloadWithDefaults() *CreateInstancePayload

NewCreateInstancePayloadWithDefaults instantiates a new CreateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateInstancePayload) GetName added in v0.10.0

func (o *CreateInstancePayload) GetName() *string

GetName returns the Name field value

func (*CreateInstancePayload) GetNameOk added in v0.10.0

func (o *CreateInstancePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateInstancePayload) SetName added in v0.10.0

func (o *CreateInstancePayload) SetName(v *string)

SetName sets field value

func (CreateInstancePayload) ToMap added in v0.10.0

func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)

type CreateUserPayload

type CreateUserPayload struct {
	// A user chosen description to differentiate between multiple users.
	// REQUIRED
	Description *string `json:"description"`
	// Is true if the user has write access to the secrets engine. Is false for a read-only user.
	// REQUIRED
	Write *bool `json:"write"`
}

CreateUserPayload struct for CreateUserPayload

func NewCreateUserPayload added in v0.10.0

func NewCreateUserPayload(description *string, write *bool) *CreateUserPayload

NewCreateUserPayload instantiates a new CreateUserPayload object 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 NewCreateUserPayloadWithDefaults added in v0.10.0

func NewCreateUserPayloadWithDefaults() *CreateUserPayload

NewCreateUserPayloadWithDefaults instantiates a new CreateUserPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateUserPayload) GetDescription added in v0.10.0

func (o *CreateUserPayload) GetDescription() *string

GetDescription returns the Description field value

func (*CreateUserPayload) GetDescriptionOk added in v0.10.0

func (o *CreateUserPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*CreateUserPayload) GetWrite added in v0.10.0

func (o *CreateUserPayload) GetWrite() *bool

GetWrite returns the Write field value

func (*CreateUserPayload) GetWriteOk added in v0.10.0

func (o *CreateUserPayload) GetWriteOk() (*bool, bool)

GetWriteOk returns a tuple with the Write field value and a boolean to check if the value has been set.

func (*CreateUserPayload) SetDescription added in v0.10.0

func (o *CreateUserPayload) SetDescription(v *string)

SetDescription sets field value

func (*CreateUserPayload) SetWrite added in v0.10.0

func (o *CreateUserPayload) SetWrite(v *bool)

SetWrite sets field value

func (CreateUserPayload) ToMap added in v0.10.0

func (o CreateUserPayload) ToMap() (map[string]interface{}, error)

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type Instance

type Instance struct {
	// The API endpoint for connecting to the secrets engine.
	// REQUIRED
	ApiUrl *string `json:"apiUrl"`
	// The date and time the creation of the Secrets Manager instance was finished.
	CreationFinishedDate *string `json:"creationFinishedDate,omitempty"`
	// The date and time the creation of the Secrets Manager instance was triggered.
	// REQUIRED
	CreationStartDate *string `json:"creationStartDate"`
	// A auto generated unique id which identifies the secrets manager instances.
	// REQUIRED
	Id *string `json:"id"`
	// A user chosen name to distinguish multiple secrets manager instances.
	// REQUIRED
	Name *string `json:"name"`
	// The number of secrets currently stored inside of the instance. This value will be updated once per hour.
	// REQUIRED
	SecretCount *int64 `json:"secretCount"`
	// The name of the secrets engine.
	// REQUIRED
	SecretsEngine *string `json:"secretsEngine"`
	// The current state of the Secrets Manager instance.
	// REQUIRED
	State              *string `json:"state"`
	UpdateFinishedDate *string `json:"updateFinishedDate,omitempty"`
	UpdateStartDate    *string `json:"updateStartDate,omitempty"`
}

Instance struct for Instance

func NewInstance added in v0.10.0

func NewInstance(apiUrl *string, creationStartDate *string, id *string, name *string, secretCount *int64, secretsEngine *string, state *string) *Instance

NewInstance instantiates a new Instance object 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 NewInstanceWithDefaults added in v0.10.0

func NewInstanceWithDefaults() *Instance

NewInstanceWithDefaults instantiates a new Instance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Instance) GetApiUrl added in v0.10.0

func (o *Instance) GetApiUrl() *string

GetApiUrl returns the ApiUrl field value

func (*Instance) GetApiUrlOk added in v0.10.0

func (o *Instance) GetApiUrlOk() (*string, bool)

GetApiUrlOk returns a tuple with the ApiUrl field value and a boolean to check if the value has been set.

func (*Instance) GetCreationFinishedDate added in v0.10.0

func (o *Instance) GetCreationFinishedDate() *string

GetCreationFinishedDate returns the CreationFinishedDate field value if set, zero value otherwise.

func (*Instance) GetCreationFinishedDateOk added in v0.10.0

func (o *Instance) GetCreationFinishedDateOk() (*string, bool)

GetCreationFinishedDateOk returns a tuple with the CreationFinishedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Instance) GetCreationStartDate added in v0.10.0

func (o *Instance) GetCreationStartDate() *string

GetCreationStartDate returns the CreationStartDate field value

func (*Instance) GetCreationStartDateOk added in v0.10.0

func (o *Instance) GetCreationStartDateOk() (*string, bool)

GetCreationStartDateOk returns a tuple with the CreationStartDate field value and a boolean to check if the value has been set.

func (*Instance) GetId added in v0.10.0

func (o *Instance) GetId() *string

GetId returns the Id field value

func (*Instance) GetIdOk added in v0.10.0

func (o *Instance) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Instance) GetName added in v0.10.0

func (o *Instance) GetName() *string

GetName returns the Name field value

func (*Instance) GetNameOk added in v0.10.0

func (o *Instance) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Instance) GetSecretCount added in v0.10.0

func (o *Instance) GetSecretCount() *int64

GetSecretCount returns the SecretCount field value

func (*Instance) GetSecretCountOk added in v0.10.0

func (o *Instance) GetSecretCountOk() (*int64, bool)

GetSecretCountOk returns a tuple with the SecretCount field value and a boolean to check if the value has been set.

func (*Instance) GetSecretsEngine added in v0.10.0

func (o *Instance) GetSecretsEngine() *string

GetSecretsEngine returns the SecretsEngine field value

func (*Instance) GetSecretsEngineOk added in v0.10.0

func (o *Instance) GetSecretsEngineOk() (*string, bool)

GetSecretsEngineOk returns a tuple with the SecretsEngine field value and a boolean to check if the value has been set.

func (*Instance) GetState added in v0.10.0

func (o *Instance) GetState() *string

GetState returns the State field value

func (*Instance) GetStateOk added in v0.10.0

func (o *Instance) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*Instance) GetUpdateFinishedDate added in v0.10.0

func (o *Instance) GetUpdateFinishedDate() *string

GetUpdateFinishedDate returns the UpdateFinishedDate field value if set, zero value otherwise.

func (*Instance) GetUpdateFinishedDateOk added in v0.10.0

func (o *Instance) GetUpdateFinishedDateOk() (*string, bool)

GetUpdateFinishedDateOk returns a tuple with the UpdateFinishedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Instance) GetUpdateStartDate added in v0.10.0

func (o *Instance) GetUpdateStartDate() *string

GetUpdateStartDate returns the UpdateStartDate field value if set, zero value otherwise.

func (*Instance) GetUpdateStartDateOk added in v0.10.0

func (o *Instance) GetUpdateStartDateOk() (*string, bool)

GetUpdateStartDateOk returns a tuple with the UpdateStartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Instance) HasCreationFinishedDate added in v0.10.0

func (o *Instance) HasCreationFinishedDate() bool

HasCreationFinishedDate returns a boolean if a field has been set.

func (*Instance) HasUpdateFinishedDate added in v0.10.0

func (o *Instance) HasUpdateFinishedDate() bool

HasUpdateFinishedDate returns a boolean if a field has been set.

func (*Instance) HasUpdateStartDate added in v0.10.0

func (o *Instance) HasUpdateStartDate() bool

HasUpdateStartDate returns a boolean if a field has been set.

func (*Instance) SetApiUrl added in v0.10.0

func (o *Instance) SetApiUrl(v *string)

SetApiUrl sets field value

func (*Instance) SetCreationFinishedDate added in v0.10.0

func (o *Instance) SetCreationFinishedDate(v *string)

SetCreationFinishedDate gets a reference to the given string and assigns it to the CreationFinishedDate field.

func (*Instance) SetCreationStartDate added in v0.10.0

func (o *Instance) SetCreationStartDate(v *string)

SetCreationStartDate sets field value

func (*Instance) SetId added in v0.10.0

func (o *Instance) SetId(v *string)

SetId sets field value

func (*Instance) SetName added in v0.10.0

func (o *Instance) SetName(v *string)

SetName sets field value

func (*Instance) SetSecretCount added in v0.10.0

func (o *Instance) SetSecretCount(v *int64)

SetSecretCount sets field value

func (*Instance) SetSecretsEngine added in v0.10.0

func (o *Instance) SetSecretsEngine(v *string)

SetSecretsEngine sets field value

func (*Instance) SetState added in v0.10.0

func (o *Instance) SetState(v *string)

SetState sets field value

func (*Instance) SetUpdateFinishedDate added in v0.10.0

func (o *Instance) SetUpdateFinishedDate(v *string)

SetUpdateFinishedDate gets a reference to the given string and assigns it to the UpdateFinishedDate field.

func (*Instance) SetUpdateStartDate added in v0.10.0

func (o *Instance) SetUpdateStartDate(v *string)

SetUpdateStartDate gets a reference to the given string and assigns it to the UpdateStartDate field.

func (Instance) ToMap added in v0.10.0

func (o Instance) ToMap() (map[string]interface{}, error)

type ListACLsResponse added in v0.8.0

type ListACLsResponse struct {
	// REQUIRED
	Acls *[]ACL `json:"acls"`
}

ListACLsResponse struct for ListACLsResponse

func NewListACLsResponse added in v0.10.0

func NewListACLsResponse(acls *[]ACL) *ListACLsResponse

NewListACLsResponse instantiates a new ListACLsResponse object 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 NewListACLsResponseWithDefaults added in v0.10.0

func NewListACLsResponseWithDefaults() *ListACLsResponse

NewListACLsResponseWithDefaults instantiates a new ListACLsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListACLsResponse) GetAcls added in v0.10.0

func (o *ListACLsResponse) GetAcls() *[]ACL

GetAcls returns the Acls field value

func (*ListACLsResponse) GetAclsOk added in v0.10.0

func (o *ListACLsResponse) GetAclsOk() (*[]ACL, bool)

GetAclsOk returns a tuple with the Acls field value and a boolean to check if the value has been set.

func (*ListACLsResponse) SetAcls added in v0.10.0

func (o *ListACLsResponse) SetAcls(v *[]ACL)

SetAcls sets field value

func (ListACLsResponse) ToMap added in v0.10.0

func (o ListACLsResponse) ToMap() (map[string]interface{}, error)

type ListInstancesResponse added in v0.8.0

type ListInstancesResponse struct {
	// REQUIRED
	Instances *[]Instance `json:"instances"`
}

ListInstancesResponse struct for ListInstancesResponse

func NewListInstancesResponse added in v0.10.0

func NewListInstancesResponse(instances *[]Instance) *ListInstancesResponse

NewListInstancesResponse instantiates a new ListInstancesResponse object 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 NewListInstancesResponseWithDefaults added in v0.10.0

func NewListInstancesResponseWithDefaults() *ListInstancesResponse

NewListInstancesResponseWithDefaults instantiates a new ListInstancesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListInstancesResponse) GetInstances added in v0.10.0

func (o *ListInstancesResponse) GetInstances() *[]Instance

GetInstances returns the Instances field value

func (*ListInstancesResponse) GetInstancesOk added in v0.10.0

func (o *ListInstancesResponse) GetInstancesOk() (*[]Instance, bool)

GetInstancesOk returns a tuple with the Instances field value and a boolean to check if the value has been set.

func (*ListInstancesResponse) SetInstances added in v0.10.0

func (o *ListInstancesResponse) SetInstances(v *[]Instance)

SetInstances sets field value

func (ListInstancesResponse) ToMap added in v0.10.0

func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)

type ListUsersResponse added in v0.8.0

type ListUsersResponse struct {
	// REQUIRED
	Users *[]User `json:"users"`
}

ListUsersResponse struct for ListUsersResponse

func NewListUsersResponse added in v0.10.0

func NewListUsersResponse(users *[]User) *ListUsersResponse

NewListUsersResponse instantiates a new ListUsersResponse object 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 NewListUsersResponseWithDefaults added in v0.10.0

func NewListUsersResponseWithDefaults() *ListUsersResponse

NewListUsersResponseWithDefaults instantiates a new ListUsersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListUsersResponse) GetUsers added in v0.10.0

func (o *ListUsersResponse) GetUsers() *[]User

GetUsers returns the Users field value

func (*ListUsersResponse) GetUsersOk added in v0.10.0

func (o *ListUsersResponse) GetUsersOk() (*[]User, bool)

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (*ListUsersResponse) SetUsers added in v0.10.0

func (o *ListUsersResponse) SetUsers(v *[]User)

SetUsers sets field value

func (ListUsersResponse) ToMap added in v0.10.0

func (o ListUsersResponse) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableACL added in v0.10.0

type NullableACL struct {
	// contains filtered or unexported fields
}

func NewNullableACL added in v0.10.0

func NewNullableACL(val *ACL) *NullableACL

func (NullableACL) Get added in v0.10.0

func (v NullableACL) Get() *ACL

func (NullableACL) IsSet added in v0.10.0

func (v NullableACL) IsSet() bool

func (NullableACL) MarshalJSON added in v0.10.0

func (v NullableACL) MarshalJSON() ([]byte, error)

func (*NullableACL) Set added in v0.10.0

func (v *NullableACL) Set(val *ACL)

func (*NullableACL) UnmarshalJSON added in v0.10.0

func (v *NullableACL) UnmarshalJSON(src []byte) error

func (*NullableACL) Unset added in v0.10.0

func (v *NullableACL) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateACLPayload added in v0.10.0

type NullableCreateACLPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateACLPayload added in v0.10.0

func NewNullableCreateACLPayload(val *CreateACLPayload) *NullableCreateACLPayload

func (NullableCreateACLPayload) Get added in v0.10.0

func (NullableCreateACLPayload) IsSet added in v0.10.0

func (v NullableCreateACLPayload) IsSet() bool

func (NullableCreateACLPayload) MarshalJSON added in v0.10.0

func (v NullableCreateACLPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateACLPayload) Set added in v0.10.0

func (*NullableCreateACLPayload) UnmarshalJSON added in v0.10.0

func (v *NullableCreateACLPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateACLPayload) Unset added in v0.10.0

func (v *NullableCreateACLPayload) Unset()

type NullableCreateInstancePayload added in v0.10.0

type NullableCreateInstancePayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateInstancePayload added in v0.10.0

func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload

func (NullableCreateInstancePayload) Get added in v0.10.0

func (NullableCreateInstancePayload) IsSet added in v0.10.0

func (NullableCreateInstancePayload) MarshalJSON added in v0.10.0

func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateInstancePayload) Set added in v0.10.0

func (*NullableCreateInstancePayload) UnmarshalJSON added in v0.10.0

func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateInstancePayload) Unset added in v0.10.0

func (v *NullableCreateInstancePayload) Unset()

type NullableCreateUserPayload added in v0.10.0

type NullableCreateUserPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateUserPayload added in v0.10.0

func NewNullableCreateUserPayload(val *CreateUserPayload) *NullableCreateUserPayload

func (NullableCreateUserPayload) Get added in v0.10.0

func (NullableCreateUserPayload) IsSet added in v0.10.0

func (v NullableCreateUserPayload) IsSet() bool

func (NullableCreateUserPayload) MarshalJSON added in v0.10.0

func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateUserPayload) Set added in v0.10.0

func (*NullableCreateUserPayload) UnmarshalJSON added in v0.10.0

func (v *NullableCreateUserPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateUserPayload) Unset added in v0.10.0

func (v *NullableCreateUserPayload) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInstance added in v0.10.0

type NullableInstance struct {
	// contains filtered or unexported fields
}

func NewNullableInstance added in v0.10.0

func NewNullableInstance(val *Instance) *NullableInstance

func (NullableInstance) Get added in v0.10.0

func (v NullableInstance) Get() *Instance

func (NullableInstance) IsSet added in v0.10.0

func (v NullableInstance) IsSet() bool

func (NullableInstance) MarshalJSON added in v0.10.0

func (v NullableInstance) MarshalJSON() ([]byte, error)

func (*NullableInstance) Set added in v0.10.0

func (v *NullableInstance) Set(val *Instance)

func (*NullableInstance) UnmarshalJSON added in v0.10.0

func (v *NullableInstance) UnmarshalJSON(src []byte) error

func (*NullableInstance) Unset added in v0.10.0

func (v *NullableInstance) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableListACLsResponse added in v0.10.0

type NullableListACLsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListACLsResponse added in v0.10.0

func NewNullableListACLsResponse(val *ListACLsResponse) *NullableListACLsResponse

func (NullableListACLsResponse) Get added in v0.10.0

func (NullableListACLsResponse) IsSet added in v0.10.0

func (v NullableListACLsResponse) IsSet() bool

func (NullableListACLsResponse) MarshalJSON added in v0.10.0

func (v NullableListACLsResponse) MarshalJSON() ([]byte, error)

func (*NullableListACLsResponse) Set added in v0.10.0

func (*NullableListACLsResponse) UnmarshalJSON added in v0.10.0

func (v *NullableListACLsResponse) UnmarshalJSON(src []byte) error

func (*NullableListACLsResponse) Unset added in v0.10.0

func (v *NullableListACLsResponse) Unset()

type NullableListInstancesResponse added in v0.10.0

type NullableListInstancesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListInstancesResponse added in v0.10.0

func NewNullableListInstancesResponse(val *ListInstancesResponse) *NullableListInstancesResponse

func (NullableListInstancesResponse) Get added in v0.10.0

func (NullableListInstancesResponse) IsSet added in v0.10.0

func (NullableListInstancesResponse) MarshalJSON added in v0.10.0

func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)

func (*NullableListInstancesResponse) Set added in v0.10.0

func (*NullableListInstancesResponse) UnmarshalJSON added in v0.10.0

func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error

func (*NullableListInstancesResponse) Unset added in v0.10.0

func (v *NullableListInstancesResponse) Unset()

type NullableListUsersResponse added in v0.10.0

type NullableListUsersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListUsersResponse added in v0.10.0

func NewNullableListUsersResponse(val *ListUsersResponse) *NullableListUsersResponse

func (NullableListUsersResponse) Get added in v0.10.0

func (NullableListUsersResponse) IsSet added in v0.10.0

func (v NullableListUsersResponse) IsSet() bool

func (NullableListUsersResponse) MarshalJSON added in v0.10.0

func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)

func (*NullableListUsersResponse) Set added in v0.10.0

func (*NullableListUsersResponse) UnmarshalJSON added in v0.10.0

func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error

func (*NullableListUsersResponse) Unset added in v0.10.0

func (v *NullableListUsersResponse) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateACLPayload added in v0.10.0

type NullableUpdateACLPayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateACLPayload added in v0.10.0

func NewNullableUpdateACLPayload(val *UpdateACLPayload) *NullableUpdateACLPayload

func (NullableUpdateACLPayload) Get added in v0.10.0

func (NullableUpdateACLPayload) IsSet added in v0.10.0

func (v NullableUpdateACLPayload) IsSet() bool

func (NullableUpdateACLPayload) MarshalJSON added in v0.10.0

func (v NullableUpdateACLPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateACLPayload) Set added in v0.10.0

func (*NullableUpdateACLPayload) UnmarshalJSON added in v0.10.0

func (v *NullableUpdateACLPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateACLPayload) Unset added in v0.10.0

func (v *NullableUpdateACLPayload) Unset()

type NullableUpdateACLsPayload added in v0.10.0

type NullableUpdateACLsPayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateACLsPayload added in v0.10.0

func NewNullableUpdateACLsPayload(val *UpdateACLsPayload) *NullableUpdateACLsPayload

func (NullableUpdateACLsPayload) Get added in v0.10.0

func (NullableUpdateACLsPayload) IsSet added in v0.10.0

func (v NullableUpdateACLsPayload) IsSet() bool

func (NullableUpdateACLsPayload) MarshalJSON added in v0.10.0

func (v NullableUpdateACLsPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateACLsPayload) Set added in v0.10.0

func (*NullableUpdateACLsPayload) UnmarshalJSON added in v0.10.0

func (v *NullableUpdateACLsPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateACLsPayload) Unset added in v0.10.0

func (v *NullableUpdateACLsPayload) Unset()

type NullableUpdateInstancePayload added in v0.10.0

type NullableUpdateInstancePayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateInstancePayload added in v0.10.0

func NewNullableUpdateInstancePayload(val *UpdateInstancePayload) *NullableUpdateInstancePayload

func (NullableUpdateInstancePayload) Get added in v0.10.0

func (NullableUpdateInstancePayload) IsSet added in v0.10.0

func (NullableUpdateInstancePayload) MarshalJSON added in v0.10.0

func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateInstancePayload) Set added in v0.10.0

func (*NullableUpdateInstancePayload) UnmarshalJSON added in v0.10.0

func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateInstancePayload) Unset added in v0.10.0

func (v *NullableUpdateInstancePayload) Unset()

type NullableUpdateUserPayload added in v0.10.0

type NullableUpdateUserPayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateUserPayload added in v0.10.0

func NewNullableUpdateUserPayload(val *UpdateUserPayload) *NullableUpdateUserPayload

func (NullableUpdateUserPayload) Get added in v0.10.0

func (NullableUpdateUserPayload) IsSet added in v0.10.0

func (v NullableUpdateUserPayload) IsSet() bool

func (NullableUpdateUserPayload) MarshalJSON added in v0.10.0

func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateUserPayload) Set added in v0.10.0

func (*NullableUpdateUserPayload) UnmarshalJSON added in v0.10.0

func (v *NullableUpdateUserPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateUserPayload) Unset added in v0.10.0

func (v *NullableUpdateUserPayload) Unset()

type NullableUser added in v0.10.0

type NullableUser struct {
	// contains filtered or unexported fields
}

func NewNullableUser added in v0.10.0

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get added in v0.10.0

func (v NullableUser) Get() *User

func (NullableUser) IsSet added in v0.10.0

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON added in v0.10.0

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set added in v0.10.0

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON added in v0.10.0

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset added in v0.10.0

func (v *NullableUser) Unset()

type UpdateACLPayload

type UpdateACLPayload struct {
	// The given IP/IP Range that is permitted to access.
	// REQUIRED
	Cidr *string `json:"cidr"`
}

UpdateACLPayload struct for UpdateACLPayload

func NewUpdateACLPayload added in v0.10.0

func NewUpdateACLPayload(cidr *string) *UpdateACLPayload

NewUpdateACLPayload instantiates a new UpdateACLPayload object 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 NewUpdateACLPayloadWithDefaults added in v0.10.0

func NewUpdateACLPayloadWithDefaults() *UpdateACLPayload

NewUpdateACLPayloadWithDefaults instantiates a new UpdateACLPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateACLPayload) GetCidr added in v0.10.0

func (o *UpdateACLPayload) GetCidr() *string

GetCidr returns the Cidr field value

func (*UpdateACLPayload) GetCidrOk added in v0.10.0

func (o *UpdateACLPayload) GetCidrOk() (*string, bool)

GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.

func (*UpdateACLPayload) SetCidr added in v0.10.0

func (o *UpdateACLPayload) SetCidr(v *string)

SetCidr sets field value

func (UpdateACLPayload) ToMap added in v0.10.0

func (o UpdateACLPayload) ToMap() (map[string]interface{}, error)

type UpdateACLsPayload added in v0.6.0

type UpdateACLsPayload struct {
	Cidrs *[]UpdateACLPayload `json:"cidrs,omitempty"`
}

UpdateACLsPayload struct for UpdateACLsPayload

func NewUpdateACLsPayload added in v0.10.0

func NewUpdateACLsPayload() *UpdateACLsPayload

NewUpdateACLsPayload instantiates a new UpdateACLsPayload object 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 NewUpdateACLsPayloadWithDefaults added in v0.10.0

func NewUpdateACLsPayloadWithDefaults() *UpdateACLsPayload

NewUpdateACLsPayloadWithDefaults instantiates a new UpdateACLsPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateACLsPayload) GetCidrs added in v0.10.0

func (o *UpdateACLsPayload) GetCidrs() *[]UpdateACLPayload

GetCidrs returns the Cidrs field value if set, zero value otherwise.

func (*UpdateACLsPayload) GetCidrsOk added in v0.10.0

func (o *UpdateACLsPayload) GetCidrsOk() (*[]UpdateACLPayload, bool)

GetCidrsOk returns a tuple with the Cidrs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateACLsPayload) HasCidrs added in v0.10.0

func (o *UpdateACLsPayload) HasCidrs() bool

HasCidrs returns a boolean if a field has been set.

func (*UpdateACLsPayload) SetCidrs added in v0.10.0

func (o *UpdateACLsPayload) SetCidrs(v *[]UpdateACLPayload)

SetCidrs gets a reference to the given []UpdateACLPayload and assigns it to the Cidrs field.

func (UpdateACLsPayload) ToMap added in v0.10.0

func (o UpdateACLsPayload) ToMap() (map[string]interface{}, error)

type UpdateInstancePayload added in v0.9.0

type UpdateInstancePayload struct {
	// A user chosen name to distinguish multiple secrets manager instances.
	// REQUIRED
	Name *string `json:"name"`
}

UpdateInstancePayload struct for UpdateInstancePayload

func NewUpdateInstancePayload added in v0.10.0

func NewUpdateInstancePayload(name *string) *UpdateInstancePayload

NewUpdateInstancePayload instantiates a new UpdateInstancePayload object 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 NewUpdateInstancePayloadWithDefaults added in v0.10.0

func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload

NewUpdateInstancePayloadWithDefaults instantiates a new UpdateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateInstancePayload) GetName added in v0.10.0

func (o *UpdateInstancePayload) GetName() *string

GetName returns the Name field value

func (*UpdateInstancePayload) GetNameOk added in v0.10.0

func (o *UpdateInstancePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpdateInstancePayload) SetName added in v0.10.0

func (o *UpdateInstancePayload) SetName(v *string)

SetName sets field value

func (UpdateInstancePayload) ToMap added in v0.10.0

func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)

type UpdateUserPayload

type UpdateUserPayload struct {
	// Is true if the user has write access to the secrets engine. Is false for a read-only user.
	Write *bool `json:"write,omitempty"`
}

UpdateUserPayload struct for UpdateUserPayload

func NewUpdateUserPayload added in v0.10.0

func NewUpdateUserPayload() *UpdateUserPayload

NewUpdateUserPayload instantiates a new UpdateUserPayload object 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 NewUpdateUserPayloadWithDefaults added in v0.10.0

func NewUpdateUserPayloadWithDefaults() *UpdateUserPayload

NewUpdateUserPayloadWithDefaults instantiates a new UpdateUserPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateUserPayload) GetWrite added in v0.10.0

func (o *UpdateUserPayload) GetWrite() *bool

GetWrite returns the Write field value if set, zero value otherwise.

func (*UpdateUserPayload) GetWriteOk added in v0.10.0

func (o *UpdateUserPayload) GetWriteOk() (*bool, bool)

GetWriteOk returns a tuple with the Write field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserPayload) HasWrite added in v0.10.0

func (o *UpdateUserPayload) HasWrite() bool

HasWrite returns a boolean if a field has been set.

func (*UpdateUserPayload) SetWrite added in v0.10.0

func (o *UpdateUserPayload) SetWrite(v *bool)

SetWrite gets a reference to the given bool and assigns it to the Write field.

func (UpdateUserPayload) ToMap added in v0.10.0

func (o UpdateUserPayload) ToMap() (map[string]interface{}, error)

type User

type User struct {
	// A user chosen description to differentiate between multiple users.
	// REQUIRED
	Description *string `json:"description"`
	// A auto generated unique id which identifies the users.
	// REQUIRED
	Id *string `json:"id"`
	// A auto generated password for logging in with the user.
	// REQUIRED
	Password *string `json:"password"`
	// A auto generated username for logging in with the user.
	// REQUIRED
	Username *string `json:"username"`
	// Is true if the user has write access to the secrets engine. Is false for a read-only user.
	// REQUIRED
	Write *bool `json:"write"`
}

User struct for User

func NewUser added in v0.10.0

func NewUser(description *string, id *string, password *string, username *string, write *bool) *User

NewUser instantiates a new User object 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 NewUserWithDefaults added in v0.10.0

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*User) GetDescription added in v0.10.0

func (o *User) GetDescription() *string

GetDescription returns the Description field value

func (*User) GetDescriptionOk added in v0.10.0

func (o *User) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*User) GetId added in v0.10.0

func (o *User) GetId() *string

GetId returns the Id field value

func (*User) GetIdOk added in v0.10.0

func (o *User) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*User) GetPassword added in v0.10.0

func (o *User) GetPassword() *string

GetPassword returns the Password field value

func (*User) GetPasswordOk added in v0.10.0

func (o *User) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*User) GetUsername added in v0.10.0

func (o *User) GetUsername() *string

GetUsername returns the Username field value

func (*User) GetUsernameOk added in v0.10.0

func (o *User) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*User) GetWrite added in v0.10.0

func (o *User) GetWrite() *bool

GetWrite returns the Write field value

func (*User) GetWriteOk added in v0.10.0

func (o *User) GetWriteOk() (*bool, bool)

GetWriteOk returns a tuple with the Write field value and a boolean to check if the value has been set.

func (*User) SetDescription added in v0.10.0

func (o *User) SetDescription(v *string)

SetDescription sets field value

func (*User) SetId added in v0.10.0

func (o *User) SetId(v *string)

SetId sets field value

func (*User) SetPassword added in v0.10.0

func (o *User) SetPassword(v *string)

SetPassword sets field value

func (*User) SetUsername added in v0.10.0

func (o *User) SetUsername(v *string)

SetUsername sets field value

func (*User) SetWrite added in v0.10.0

func (o *User) SetWrite(v *bool)

SetWrite sets field value

func (User) ToMap added in v0.10.0

func (o User) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL