Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type ACL
- func (o *ACL) GetCidr() string
- func (o *ACL) GetCidrOk() (*string, bool)
- func (o *ACL) GetId() string
- func (o *ACL) GetIdOk() (*string, bool)
- func (o ACL) MarshalJSON() ([]byte, error)
- func (o *ACL) SetCidr(v string)
- func (o *ACL) SetId(v string)
- func (o ACL) ToMap() (map[string]interface{}, error)
- func (o *ACL) UnmarshalJSON(data []byte) (err error)
- type APIClient
- type APIResponse
- type ApiCreateACLRequest
- type ApiCreateInstanceRequest
- type ApiCreateUserRequest
- type ApiDeleteACLRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteUserRequest
- type ApiGetACLRequest
- type ApiGetInstanceRequest
- type ApiGetUserRequest
- type ApiListACLsRequest
- type ApiListInstancesRequest
- type ApiListUsersRequest
- type ApiUpdateACLRequest
- type ApiUpdateACLsRequest
- type ApiUpdateInstanceRequest
- type ApiUpdateUserRequest
- type BadRequest
- func (o *BadRequest) GetMessage() string
- func (o *BadRequest) GetMessageOk() (*string, bool)
- func (o BadRequest) MarshalJSON() ([]byte, error)
- func (o *BadRequest) SetMessage(v string)
- func (o BadRequest) ToMap() (map[string]interface{}, error)
- func (o *BadRequest) UnmarshalJSON(data []byte) (err error)
- type Conflict
- type CreateACLPayload
- func (o *CreateACLPayload) GetCidr() string
- func (o *CreateACLPayload) GetCidrOk() (*string, bool)
- func (o CreateACLPayload) MarshalJSON() ([]byte, error)
- func (o *CreateACLPayload) SetCidr(v string)
- func (o CreateACLPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateACLPayload) UnmarshalJSON(data []byte) (err error)
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetKmsKey() KmsKeyPayload
- func (o *CreateInstancePayload) GetKmsKeyOk() (*KmsKeyPayload, bool)
- func (o *CreateInstancePayload) GetName() string
- func (o *CreateInstancePayload) GetNameOk() (*string, bool)
- func (o *CreateInstancePayload) HasKmsKey() bool
- func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayload) SetKmsKey(v KmsKeyPayload)
- func (o *CreateInstancePayload) SetName(v string)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type CreateUserPayload
- func (o *CreateUserPayload) GetDescription() string
- func (o *CreateUserPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateUserPayload) GetWrite() bool
- func (o *CreateUserPayload) GetWriteOk() (*bool, bool)
- func (o CreateUserPayload) MarshalJSON() ([]byte, error)
- func (o *CreateUserPayload) SetDescription(v string)
- func (o *CreateUserPayload) SetWrite(v bool)
- func (o CreateUserPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateUserPayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
- func (a *DefaultAPIService) CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
- func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
- func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
- func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
- func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*User, error)
- func (a *DefaultAPIService) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
- func (a *DefaultAPIService) DeleteACLExecute(r ApiDeleteACLRequest) error
- func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a *DefaultAPIService) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
- func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a *DefaultAPIService) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
- func (a *DefaultAPIService) GetACLExecute(r ApiGetACLRequest) (*ACL, error)
- func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
- func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
- func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*User, error)
- func (a *DefaultAPIService) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
- func (a *DefaultAPIService) ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
- func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
- func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
- func (a *DefaultAPIService) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
- func (a *DefaultAPIService) UpdateACLExecute(r ApiUpdateACLRequest) error
- func (a *DefaultAPIService) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
- func (a *DefaultAPIService) UpdateACLsExecute(r ApiUpdateACLsRequest) error
- func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- func (a *DefaultAPIService) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
- func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
- func (a DefaultAPIServiceMock) CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
- func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
- func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
- func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
- func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*User, error)
- func (a DefaultAPIServiceMock) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
- func (a DefaultAPIServiceMock) DeleteACLExecute(r ApiDeleteACLRequest) error
- func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
- func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a DefaultAPIServiceMock) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
- func (a DefaultAPIServiceMock) GetACLExecute(r ApiGetACLRequest) (*ACL, error)
- func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
- func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
- func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*User, error)
- func (a DefaultAPIServiceMock) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
- func (a DefaultAPIServiceMock) ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
- func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
- func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
- func (a DefaultAPIServiceMock) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
- func (a DefaultAPIServiceMock) UpdateACLExecute(r ApiUpdateACLRequest) error
- func (a DefaultAPIServiceMock) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
- func (a DefaultAPIServiceMock) UpdateACLsExecute(r ApiUpdateACLsRequest) error
- func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
- func (a DefaultAPIServiceMock) UpdateUserExecute(r ApiUpdateUserRequest) error
- type Instance
- func (o *Instance) GetApiUrl() string
- func (o *Instance) GetApiUrlOk() (*string, bool)
- func (o *Instance) GetCreationFinishedDate() string
- func (o *Instance) GetCreationFinishedDateOk() (*string, bool)
- func (o *Instance) GetCreationStartDate() string
- func (o *Instance) GetCreationStartDateOk() (*string, bool)
- func (o *Instance) GetId() string
- func (o *Instance) GetIdOk() (*string, bool)
- func (o *Instance) GetKmsKey() KmsKeyPayload
- func (o *Instance) GetKmsKeyOk() (*KmsKeyPayload, bool)
- func (o *Instance) GetName() string
- func (o *Instance) GetNameOk() (*string, bool)
- func (o *Instance) GetSecretCount() int32
- func (o *Instance) GetSecretCountOk() (*int32, bool)
- func (o *Instance) GetSecretsEngine() string
- func (o *Instance) GetSecretsEngineOk() (*string, bool)
- func (o *Instance) GetState() string
- func (o *Instance) GetStateOk() (*string, bool)
- func (o *Instance) GetUpdateFinishedDate() string
- func (o *Instance) GetUpdateFinishedDateOk() (*string, bool)
- func (o *Instance) GetUpdateStartDate() string
- func (o *Instance) GetUpdateStartDateOk() (*string, bool)
- func (o *Instance) HasCreationFinishedDate() bool
- func (o *Instance) HasKmsKey() bool
- func (o *Instance) HasUpdateFinishedDate() bool
- func (o *Instance) HasUpdateStartDate() bool
- func (o Instance) MarshalJSON() ([]byte, error)
- func (o *Instance) SetApiUrl(v string)
- func (o *Instance) SetCreationFinishedDate(v string)
- func (o *Instance) SetCreationStartDate(v string)
- func (o *Instance) SetId(v string)
- func (o *Instance) SetKmsKey(v KmsKeyPayload)
- func (o *Instance) SetName(v string)
- func (o *Instance) SetSecretCount(v int32)
- func (o *Instance) SetSecretsEngine(v string)
- func (o *Instance) SetState(v string)
- func (o *Instance) SetUpdateFinishedDate(v string)
- func (o *Instance) SetUpdateStartDate(v string)
- func (o Instance) ToMap() (map[string]interface{}, error)
- func (o *Instance) UnmarshalJSON(data []byte) (err error)
- type KmsKeyPayload
- func (o *KmsKeyPayload) GetKeyId() string
- func (o *KmsKeyPayload) GetKeyIdOk() (*string, bool)
- func (o *KmsKeyPayload) GetKeyRingId() string
- func (o *KmsKeyPayload) GetKeyRingIdOk() (*string, bool)
- func (o *KmsKeyPayload) GetKeyVersion() int64
- func (o *KmsKeyPayload) GetKeyVersionOk() (*int64, bool)
- func (o *KmsKeyPayload) GetServiceAccountEmail() string
- func (o *KmsKeyPayload) GetServiceAccountEmailOk() (*string, bool)
- func (o KmsKeyPayload) MarshalJSON() ([]byte, error)
- func (o *KmsKeyPayload) SetKeyId(v string)
- func (o *KmsKeyPayload) SetKeyRingId(v string)
- func (o *KmsKeyPayload) SetKeyVersion(v int64)
- func (o *KmsKeyPayload) SetServiceAccountEmail(v string)
- func (o KmsKeyPayload) ToMap() (map[string]interface{}, error)
- func (o *KmsKeyPayload) UnmarshalJSON(data []byte) (err error)
- type ListACLsResponse
- func (o *ListACLsResponse) GetAcls() []ACL
- func (o *ListACLsResponse) GetAclsOk() ([]ACL, bool)
- func (o ListACLsResponse) MarshalJSON() ([]byte, error)
- func (o *ListACLsResponse) SetAcls(v []ACL)
- func (o ListACLsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListACLsResponse) UnmarshalJSON(data []byte) (err error)
- type ListInstancesResponse
- func (o *ListInstancesResponse) GetInstances() []Instance
- func (o *ListInstancesResponse) GetInstancesOk() ([]Instance, bool)
- func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
- func (o *ListInstancesResponse) SetInstances(v []Instance)
- func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
- type ListUsersResponse
- func (o *ListUsersResponse) GetUsers() []User
- func (o *ListUsersResponse) GetUsersOk() ([]User, bool)
- func (o ListUsersResponse) MarshalJSON() ([]byte, error)
- func (o *ListUsersResponse) SetUsers(v []User)
- func (o ListUsersResponse) ToMap() (map[string]interface{}, error)
- func (o *ListUsersResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NotFound
- type NullableACL
- type NullableBadRequest
- type NullableBool
- type NullableConflict
- type NullableCreateACLPayload
- func (v NullableCreateACLPayload) Get() *CreateACLPayload
- func (v NullableCreateACLPayload) IsSet() bool
- func (v NullableCreateACLPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateACLPayload) Set(val *CreateACLPayload)
- func (v *NullableCreateACLPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateACLPayload) Unset()
- type NullableCreateInstancePayload
- func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
- func (v NullableCreateInstancePayload) IsSet() bool
- func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
- func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayload) Unset()
- type NullableCreateUserPayload
- func (v NullableCreateUserPayload) Get() *CreateUserPayload
- func (v NullableCreateUserPayload) IsSet() bool
- func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserPayload) Set(val *CreateUserPayload)
- func (v *NullableCreateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserPayload) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInstance
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKmsKeyPayload
- func (v NullableKmsKeyPayload) Get() *KmsKeyPayload
- func (v NullableKmsKeyPayload) IsSet() bool
- func (v NullableKmsKeyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableKmsKeyPayload) Set(val *KmsKeyPayload)
- func (v *NullableKmsKeyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableKmsKeyPayload) Unset()
- type NullableListACLsResponse
- func (v NullableListACLsResponse) Get() *ListACLsResponse
- func (v NullableListACLsResponse) IsSet() bool
- func (v NullableListACLsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListACLsResponse) Set(val *ListACLsResponse)
- func (v *NullableListACLsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListACLsResponse) Unset()
- type NullableListInstancesResponse
- func (v NullableListInstancesResponse) Get() *ListInstancesResponse
- func (v NullableListInstancesResponse) IsSet() bool
- func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListInstancesResponse) Set(val *ListInstancesResponse)
- func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListInstancesResponse) Unset()
- type NullableListUsersResponse
- func (v NullableListUsersResponse) Get() *ListUsersResponse
- func (v NullableListUsersResponse) IsSet() bool
- func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
- func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUsersResponse) Unset()
- type NullableNotFound
- type NullableString
- type NullableTime
- type NullableUpdateACLPayload
- func (v NullableUpdateACLPayload) Get() *UpdateACLPayload
- func (v NullableUpdateACLPayload) IsSet() bool
- func (v NullableUpdateACLPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateACLPayload) Set(val *UpdateACLPayload)
- func (v *NullableUpdateACLPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateACLPayload) Unset()
- type NullableUpdateACLsPayload
- func (v NullableUpdateACLsPayload) Get() *UpdateACLsPayload
- func (v NullableUpdateACLsPayload) IsSet() bool
- func (v NullableUpdateACLsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateACLsPayload) Set(val *UpdateACLsPayload)
- func (v *NullableUpdateACLsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateACLsPayload) Unset()
- type NullableUpdateInstancePayload
- func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
- func (v NullableUpdateInstancePayload) IsSet() bool
- func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
- func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePayload) Unset()
- type NullableUpdateUserPayload
- func (v NullableUpdateUserPayload) Get() *UpdateUserPayload
- func (v NullableUpdateUserPayload) IsSet() bool
- func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserPayload) Set(val *UpdateUserPayload)
- func (v *NullableUpdateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserPayload) Unset()
- type NullableUser
- type UpdateACLPayload
- func (o *UpdateACLPayload) GetCidr() string
- func (o *UpdateACLPayload) GetCidrOk() (*string, bool)
- func (o UpdateACLPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateACLPayload) SetCidr(v string)
- func (o UpdateACLPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateACLPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateACLsPayload
- func (o *UpdateACLsPayload) GetCidrs() []UpdateACLPayload
- func (o *UpdateACLsPayload) GetCidrsOk() ([]UpdateACLPayload, bool)
- func (o *UpdateACLsPayload) HasCidrs() bool
- func (o UpdateACLsPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateACLsPayload) SetCidrs(v []UpdateACLPayload)
- func (o UpdateACLsPayload) ToMap() (map[string]interface{}, error)
- type UpdateInstancePayload
- func (o *UpdateInstancePayload) GetKmsKey() KmsKeyPayload
- func (o *UpdateInstancePayload) GetKmsKeyOk() (*KmsKeyPayload, bool)
- func (o *UpdateInstancePayload) GetName() string
- func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *UpdateInstancePayload) HasKmsKey() bool
- func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePayload) SetKmsKey(v KmsKeyPayload)
- func (o *UpdateInstancePayload) SetName(v string)
- func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateUserPayload
- func (o *UpdateUserPayload) GetDescription() string
- func (o *UpdateUserPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateUserPayload) GetWrite() bool
- func (o *UpdateUserPayload) GetWriteOk() (*bool, bool)
- func (o *UpdateUserPayload) HasDescription() bool
- func (o *UpdateUserPayload) HasWrite() bool
- func (o UpdateUserPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateUserPayload) SetDescription(v string)
- func (o *UpdateUserPayload) SetWrite(v bool)
- func (o UpdateUserPayload) ToMap() (map[string]interface{}, error)
- type User
- func (o *User) GetDescription() string
- func (o *User) GetDescriptionOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetPassword() string
- func (o *User) GetPasswordOk() (*string, bool)
- func (o *User) GetUsername() string
- func (o *User) GetUsernameOk() (*string, bool)
- func (o *User) GetWrite() bool
- func (o *User) GetWriteOk() (*bool, bool)
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetDescription(v string)
- func (o *User) SetId(v string)
- func (o *User) SetPassword(v string)
- func (o *User) SetUsername(v string)
- func (o *User) SetWrite(v bool)
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type ACL ¶
type ACL struct {
// The given IP/IP Range that is permitted to access.
Cidr string `json:"cidr"`
// A auto generated unique id which identifies the acl.
Id string `json:"id"`
}
ACL struct for ACL
func NewACL ¶
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 ¶
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) GetCidrOk ¶
GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.
func (*ACL) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (ACL) MarshalJSON ¶
func (*ACL) UnmarshalJSON ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Secrets Manager API API v1.4.2 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. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
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
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateACLRequest ¶
type ApiCreateACLRequest struct {
ApiService DefaultAPI
// 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 {
ApiService DefaultAPI
// 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 {
ApiService DefaultAPI
// 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 {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteACLRequest) Execute ¶
func (r ApiDeleteACLRequest) Execute() error
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteInstanceRequest) Execute ¶
func (r ApiDeleteInstanceRequest) Execute() error
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteUserRequest) Execute ¶
func (r ApiDeleteUserRequest) Execute() error
type ApiGetACLRequest ¶
type ApiGetACLRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetACLRequest) Execute ¶
func (r ApiGetACLRequest) Execute() (*ACL, error)
type ApiGetInstanceRequest ¶
type ApiGetInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceRequest) Execute ¶
func (r ApiGetInstanceRequest) Execute() (*Instance, error)
type ApiGetUserRequest ¶
type ApiGetUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetUserRequest) Execute ¶
func (r ApiGetUserRequest) Execute() (*User, error)
type ApiListACLsRequest ¶
type ApiListACLsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListACLsRequest) Execute ¶
func (r ApiListACLsRequest) Execute() (*ListACLsResponse, error)
type ApiListInstancesRequest ¶
type ApiListInstancesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstancesRequest) Execute ¶
func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
type ApiListUsersRequest ¶
type ApiListUsersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() (*ListUsersResponse, error)
type ApiUpdateACLRequest ¶
type ApiUpdateACLRequest struct {
ApiService DefaultAPI
// 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 ¶
type ApiUpdateACLsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateACLsRequest) Execute ¶
func (r ApiUpdateACLsRequest) Execute() error
func (ApiUpdateACLsRequest) UpdateACLsPayload ¶
func (r ApiUpdateACLsRequest) UpdateACLsPayload(updateACLsPayload UpdateACLsPayload) ApiUpdateACLsRequest
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstanceRequest) Execute ¶
func (r ApiUpdateInstanceRequest) Execute() error
func (ApiUpdateInstanceRequest) UpdateInstancePayload ¶
func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
type ApiUpdateUserRequest ¶
type ApiUpdateUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateUserRequest) Execute ¶
func (r ApiUpdateUserRequest) Execute() error
func (ApiUpdateUserRequest) UpdateUserPayload ¶
func (r ApiUpdateUserRequest) UpdateUserPayload(updateUserPayload UpdateUserPayload) ApiUpdateUserRequest
type BadRequest ¶
type BadRequest struct {
// The error message for bad requests
Message string `json:"message"`
}
BadRequest struct for BadRequest
func NewBadRequest ¶
func NewBadRequest(message string) *BadRequest
NewBadRequest instantiates a new BadRequest 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 NewBadRequestWithDefaults ¶
func NewBadRequestWithDefaults() *BadRequest
NewBadRequestWithDefaults instantiates a new BadRequest 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 (*BadRequest) GetMessage ¶
func (o *BadRequest) GetMessage() string
GetMessage returns the Message field value
func (*BadRequest) GetMessageOk ¶
func (o *BadRequest) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (BadRequest) MarshalJSON ¶
func (o BadRequest) MarshalJSON() ([]byte, error)
func (*BadRequest) SetMessage ¶
func (o *BadRequest) SetMessage(v string)
SetMessage sets field value
func (BadRequest) ToMap ¶
func (o BadRequest) ToMap() (map[string]interface{}, error)
func (*BadRequest) UnmarshalJSON ¶
func (o *BadRequest) UnmarshalJSON(data []byte) (err error)
type Conflict ¶
type Conflict struct {
// The error message for conflicts
Message string `json:"message"`
}
Conflict struct for Conflict
func NewConflict ¶
NewConflict instantiates a new Conflict 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 NewConflictWithDefaults ¶
func NewConflictWithDefaults() *Conflict
NewConflictWithDefaults instantiates a new Conflict 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 (*Conflict) GetMessage ¶
GetMessage returns the Message field value
func (*Conflict) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (Conflict) MarshalJSON ¶
func (*Conflict) UnmarshalJSON ¶
type CreateACLPayload ¶
type CreateACLPayload struct {
// The given IP/IP Range that is permitted to access.
Cidr string `json:"cidr"`
}
CreateACLPayload struct for CreateACLPayload
func NewCreateACLPayload ¶
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 ¶
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 ¶
func (o *CreateACLPayload) GetCidr() string
GetCidr returns the Cidr field value
func (*CreateACLPayload) GetCidrOk ¶
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) MarshalJSON ¶
func (o CreateACLPayload) MarshalJSON() ([]byte, error)
func (*CreateACLPayload) SetCidr ¶
func (o *CreateACLPayload) SetCidr(v string)
SetCidr sets field value
func (CreateACLPayload) ToMap ¶
func (o CreateACLPayload) ToMap() (map[string]interface{}, error)
func (*CreateACLPayload) UnmarshalJSON ¶
func (o *CreateACLPayload) UnmarshalJSON(data []byte) (err error)
type CreateInstancePayload ¶
type CreateInstancePayload struct {
KmsKey *KmsKeyPayload `json:"kmsKey,omitempty"`
// A user chosen name to distinguish multiple secrets manager instances.
Name string `json:"name"`
}
CreateInstancePayload struct for CreateInstancePayload
func NewCreateInstancePayload ¶
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 ¶
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) GetKmsKey ¶
func (o *CreateInstancePayload) GetKmsKey() KmsKeyPayload
GetKmsKey returns the KmsKey field value if set, zero value otherwise.
func (*CreateInstancePayload) GetKmsKeyOk ¶
func (o *CreateInstancePayload) GetKmsKeyOk() (*KmsKeyPayload, bool)
GetKmsKeyOk returns a tuple with the KmsKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetName ¶
func (o *CreateInstancePayload) GetName() string
GetName returns the Name field value
func (*CreateInstancePayload) GetNameOk ¶
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) HasKmsKey ¶
func (o *CreateInstancePayload) HasKmsKey() bool
HasKmsKey returns a boolean if a field has been set.
func (CreateInstancePayload) MarshalJSON ¶
func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
func (*CreateInstancePayload) SetKmsKey ¶
func (o *CreateInstancePayload) SetKmsKey(v KmsKeyPayload)
SetKmsKey gets a reference to the given KmsKeyPayload and assigns it to the KmsKey field.
func (*CreateInstancePayload) SetName ¶
func (o *CreateInstancePayload) SetName(v string)
SetName sets field value
func (CreateInstancePayload) ToMap ¶
func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
func (*CreateInstancePayload) UnmarshalJSON ¶
func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
type CreateUserPayload ¶
type CreateUserPayload struct {
// A user chosen description to differentiate between multiple users.
Description string `json:"description"`
// Is true if the user has write access to the secrets engine. Is false for a read-only user.
Write bool `json:"write"`
}
CreateUserPayload struct for CreateUserPayload
func NewCreateUserPayload ¶
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 ¶
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 ¶
func (o *CreateUserPayload) GetDescription() string
GetDescription returns the Description field value
func (*CreateUserPayload) GetDescriptionOk ¶
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 ¶
func (o *CreateUserPayload) GetWrite() bool
GetWrite returns the Write field value
func (*CreateUserPayload) GetWriteOk ¶
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) MarshalJSON ¶
func (o CreateUserPayload) MarshalJSON() ([]byte, error)
func (*CreateUserPayload) SetDescription ¶
func (o *CreateUserPayload) SetDescription(v string)
SetDescription sets field value
func (*CreateUserPayload) SetWrite ¶
func (o *CreateUserPayload) SetWrite(v bool)
SetWrite sets field value
func (CreateUserPayload) ToMap ¶
func (o CreateUserPayload) ToMap() (map[string]interface{}, error)
func (*CreateUserPayload) UnmarshalJSON ¶
func (o *CreateUserPayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
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
*/
CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
// CreateACLExecute executes the request
// @return ACL
CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
/*
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
*/
CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
// CreateInstanceExecute executes the request
// @return Instance
CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
/*
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
*/
CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
// CreateUserExecute executes the request
// @return User
CreateUserExecute(r ApiCreateUserRequest) (*User, error)
/*
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
*/
DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
// DeleteACLExecute executes the request
DeleteACLExecute(r ApiDeleteACLRequest) error
/*
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
*/
DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
// DeleteInstanceExecute executes the request
DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
/*
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
*/
DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
// DeleteUserExecute executes the request
DeleteUserExecute(r ApiDeleteUserRequest) error
/*
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
*/
GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
// GetACLExecute executes the request
// @return ACL
GetACLExecute(r ApiGetACLRequest) (*ACL, error)
/*
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
*/
GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
// GetInstanceExecute executes the request
// @return Instance
GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
/*
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
*/
GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
// GetUserExecute executes the request
// @return User
GetUserExecute(r ApiGetUserRequest) (*User, error)
/*
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
*/
ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
// ListACLsExecute executes the request
// @return ListACLsResponse
ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
/*
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
*/
ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
// ListInstancesExecute executes the request
// @return ListInstancesResponse
ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
/*
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
*/
ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
// ListUsersExecute executes the request
// @return ListUsersResponse
ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
/*
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
*/
UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
// UpdateACLExecute executes the request
UpdateACLExecute(r ApiUpdateACLRequest) error
/*
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
*/
UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
// UpdateACLsExecute executes the request
UpdateACLsExecute(r ApiUpdateACLsRequest) error
/*
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
*/
UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
// UpdateInstanceExecute executes the request
UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
/*
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
*/
UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
// UpdateUserExecute executes the request
UpdateUserExecute(r ApiUpdateUserRequest) error
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateACL ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) CreateACLExecute ¶
func (a *DefaultAPIService) CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
Execute executes the request
@return ACL
func (*DefaultAPIService) CreateInstance ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) CreateInstanceExecute ¶
func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
Execute executes the request
@return Instance
func (*DefaultAPIService) CreateUser ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) CreateUserExecute ¶
func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*User, error)
Execute executes the request
@return User
func (*DefaultAPIService) DeleteACL ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) DeleteACLExecute ¶
func (a *DefaultAPIService) DeleteACLExecute(r ApiDeleteACLRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteInstance ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) DeleteInstanceExecute ¶
func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteUser ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) DeleteUserExecute ¶
func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error
Execute executes the request
func (*DefaultAPIService) GetACL ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) GetACLExecute ¶
func (a *DefaultAPIService) GetACLExecute(r ApiGetACLRequest) (*ACL, error)
Execute executes the request
@return ACL
func (*DefaultAPIService) GetInstance ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) GetInstanceExecute ¶
func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
Execute executes the request
@return Instance
func (*DefaultAPIService) GetUser ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) GetUserExecute ¶
func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*User, error)
Execute executes the request
@return User
func (*DefaultAPIService) ListACLs ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListACLsExecute ¶
func (a *DefaultAPIService) ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
Execute executes the request
@return ListACLsResponse
func (*DefaultAPIService) ListInstances ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListInstancesExecute ¶
func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
Execute executes the request
@return ListInstancesResponse
func (*DefaultAPIService) ListUsers ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) ListUsersExecute ¶
func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
Execute executes the request
@return ListUsersResponse
func (*DefaultAPIService) UpdateACL ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) UpdateACLExecute ¶
func (a *DefaultAPIService) UpdateACLExecute(r ApiUpdateACLRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateACLs ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) UpdateACLsExecute ¶
func (a *DefaultAPIService) UpdateACLsExecute(r ApiUpdateACLsRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateInstance ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) UpdateInstanceExecute ¶
func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateUser ¶
func (a *DefaultAPIService) 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 (*DefaultAPIService) UpdateUserExecute ¶
func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error
Execute executes the request
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateACLExecuteMock can be populated to implement the behavior of the CreateACLExecute function of this mock
CreateACLExecuteMock *func(r ApiCreateACLRequest) (*ACL, error)
// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*Instance, error)
// CreateUserExecuteMock can be populated to implement the behavior of the CreateUserExecute function of this mock
CreateUserExecuteMock *func(r ApiCreateUserRequest) (*User, error)
// DeleteACLExecuteMock can be populated to implement the behavior of the DeleteACLExecute function of this mock
DeleteACLExecuteMock *func(r ApiDeleteACLRequest) error
// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) error
// DeleteUserExecuteMock can be populated to implement the behavior of the DeleteUserExecute function of this mock
DeleteUserExecuteMock *func(r ApiDeleteUserRequest) error
// GetACLExecuteMock can be populated to implement the behavior of the GetACLExecute function of this mock
GetACLExecuteMock *func(r ApiGetACLRequest) (*ACL, error)
// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*Instance, error)
// GetUserExecuteMock can be populated to implement the behavior of the GetUserExecute function of this mock
GetUserExecuteMock *func(r ApiGetUserRequest) (*User, error)
// ListACLsExecuteMock can be populated to implement the behavior of the ListACLsExecute function of this mock
ListACLsExecuteMock *func(r ApiListACLsRequest) (*ListACLsResponse, error)
// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstancesResponse, error)
// ListUsersExecuteMock can be populated to implement the behavior of the ListUsersExecute function of this mock
ListUsersExecuteMock *func(r ApiListUsersRequest) (*ListUsersResponse, error)
// UpdateACLExecuteMock can be populated to implement the behavior of the UpdateACLExecute function of this mock
UpdateACLExecuteMock *func(r ApiUpdateACLRequest) error
// UpdateACLsExecuteMock can be populated to implement the behavior of the UpdateACLsExecute function of this mock
UpdateACLsExecuteMock *func(r ApiUpdateACLsRequest) error
// UpdateInstanceExecuteMock can be populated to implement the behavior of the UpdateInstanceExecute function of this mock
UpdateInstanceExecuteMock *func(r ApiUpdateInstanceRequest) error
// UpdateUserExecuteMock can be populated to implement the behavior of the UpdateUserExecute function of this mock
UpdateUserExecuteMock *func(r ApiUpdateUserRequest) error
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateACL ¶
func (a DefaultAPIServiceMock) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
func (DefaultAPIServiceMock) CreateACLExecute ¶
func (a DefaultAPIServiceMock) CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
CreateACLExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateACLExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateInstance ¶
func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
func (DefaultAPIServiceMock) CreateInstanceExecute ¶
func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
CreateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateUser ¶
func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
func (DefaultAPIServiceMock) CreateUserExecute ¶
func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*User, error)
CreateUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteACL ¶
func (a DefaultAPIServiceMock) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
func (DefaultAPIServiceMock) DeleteACLExecute ¶
func (a DefaultAPIServiceMock) DeleteACLExecute(r ApiDeleteACLRequest) error
DeleteACLExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteACLExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteInstance ¶
func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
func (DefaultAPIServiceMock) DeleteInstanceExecute ¶
func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
DeleteInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteUser ¶
func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
func (DefaultAPIServiceMock) DeleteUserExecute ¶
func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error
DeleteUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetACL ¶
func (a DefaultAPIServiceMock) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
func (DefaultAPIServiceMock) GetACLExecute ¶
func (a DefaultAPIServiceMock) GetACLExecute(r ApiGetACLRequest) (*ACL, error)
GetACLExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetACLExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetInstance ¶
func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
func (DefaultAPIServiceMock) GetInstanceExecute ¶
func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
GetInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetUser ¶
func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
func (DefaultAPIServiceMock) GetUserExecute ¶
func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*User, error)
GetUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListACLs ¶
func (a DefaultAPIServiceMock) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
func (DefaultAPIServiceMock) ListACLsExecute ¶
func (a DefaultAPIServiceMock) ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
ListACLsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListACLsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListInstances ¶
func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
func (DefaultAPIServiceMock) ListInstancesExecute ¶
func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
ListInstancesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListInstancesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListUsers ¶
func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
func (DefaultAPIServiceMock) ListUsersExecute ¶
func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
ListUsersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListUsersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateACL ¶
func (a DefaultAPIServiceMock) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
func (DefaultAPIServiceMock) UpdateACLExecute ¶
func (a DefaultAPIServiceMock) UpdateACLExecute(r ApiUpdateACLRequest) error
UpdateACLExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateACLExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateACLs ¶
func (a DefaultAPIServiceMock) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
func (DefaultAPIServiceMock) UpdateACLsExecute ¶
func (a DefaultAPIServiceMock) UpdateACLsExecute(r ApiUpdateACLsRequest) error
UpdateACLsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateACLsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstance ¶
func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
func (DefaultAPIServiceMock) UpdateInstanceExecute ¶
func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
UpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateUser ¶
func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
func (DefaultAPIServiceMock) UpdateUserExecute ¶
func (a DefaultAPIServiceMock) UpdateUserExecute(r ApiUpdateUserRequest) error
UpdateUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateUserExecuteMock field in the DefaultAPIServiceMock struct.
type Instance ¶
type Instance struct {
// The API endpoint for connecting to the secrets engine.
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.
CreationStartDate string `json:"creationStartDate"`
// A auto generated unique id which identifies the secrets manager instances.
Id string `json:"id"`
KmsKey *KmsKeyPayload `json:"kmsKey,omitempty"`
// 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"`
// The name of the secrets engine.
SecretsEngine string `json:"secretsEngine"`
// The current state of the Secrets Manager instance.
State string `json:"state"`
UpdateFinishedDate *string `json:"updateFinishedDate,omitempty"`
UpdateStartDate *string `json:"updateStartDate,omitempty"`
}
Instance struct for Instance
func NewInstance ¶
func NewInstance(apiUrl string, creationStartDate string, id string, name string, secretCount int32, 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 ¶
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) GetApiUrlOk ¶
GetApiUrlOk returns a tuple with the ApiUrl field value and a boolean to check if the value has been set.
func (*Instance) GetCreationFinishedDate ¶
GetCreationFinishedDate returns the CreationFinishedDate field value if set, zero value otherwise.
func (*Instance) GetCreationFinishedDateOk ¶
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 ¶
GetCreationStartDate returns the CreationStartDate field value
func (*Instance) GetCreationStartDateOk ¶
GetCreationStartDateOk returns a tuple with the CreationStartDate field value and a boolean to check if the value has been set.
func (*Instance) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Instance) GetKmsKey ¶
func (o *Instance) GetKmsKey() KmsKeyPayload
GetKmsKey returns the KmsKey field value if set, zero value otherwise.
func (*Instance) GetKmsKeyOk ¶
func (o *Instance) GetKmsKeyOk() (*KmsKeyPayload, bool)
GetKmsKeyOk returns a tuple with the KmsKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Instance) GetSecretCount ¶
GetSecretCount returns the SecretCount field value
func (*Instance) GetSecretCountOk ¶
GetSecretCountOk returns a tuple with the SecretCount field value and a boolean to check if the value has been set.
func (*Instance) GetSecretsEngine ¶
GetSecretsEngine returns the SecretsEngine field value
func (*Instance) GetSecretsEngineOk ¶
GetSecretsEngineOk returns a tuple with the SecretsEngine field value and a boolean to check if the value has been set.
func (*Instance) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Instance) GetUpdateFinishedDate ¶
GetUpdateFinishedDate returns the UpdateFinishedDate field value if set, zero value otherwise.
func (*Instance) GetUpdateFinishedDateOk ¶
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 ¶
GetUpdateStartDate returns the UpdateStartDate field value if set, zero value otherwise.
func (*Instance) GetUpdateStartDateOk ¶
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 ¶
HasCreationFinishedDate returns a boolean if a field has been set.
func (*Instance) HasUpdateFinishedDate ¶
HasUpdateFinishedDate returns a boolean if a field has been set.
func (*Instance) HasUpdateStartDate ¶
HasUpdateStartDate returns a boolean if a field has been set.
func (Instance) MarshalJSON ¶
func (*Instance) SetCreationFinishedDate ¶
SetCreationFinishedDate gets a reference to the given string and assigns it to the CreationFinishedDate field.
func (*Instance) SetCreationStartDate ¶
SetCreationStartDate sets field value
func (*Instance) SetKmsKey ¶
func (o *Instance) SetKmsKey(v KmsKeyPayload)
SetKmsKey gets a reference to the given KmsKeyPayload and assigns it to the KmsKey field.
func (*Instance) SetSecretCount ¶
SetSecretCount sets field value
func (*Instance) SetSecretsEngine ¶
SetSecretsEngine sets field value
func (*Instance) SetUpdateFinishedDate ¶
SetUpdateFinishedDate gets a reference to the given string and assigns it to the UpdateFinishedDate field.
func (*Instance) SetUpdateStartDate ¶
SetUpdateStartDate gets a reference to the given string and assigns it to the UpdateStartDate field.
func (*Instance) UnmarshalJSON ¶
type KmsKeyPayload ¶
type KmsKeyPayload struct {
// The key UUID.
KeyId string `json:"keyId"`
// The key ring UUID the key is part of.
KeyRingId string `json:"keyRingId"`
// The Key version number.
KeyVersion int64 `json:"keyVersion"`
// The Service account email that will consume the key. Must be in the same project as the Secrets Manager instance.
ServiceAccountEmail string `json:"serviceAccountEmail"`
}
KmsKeyPayload The key for secret encryption and decryption.
func NewKmsKeyPayload ¶
func NewKmsKeyPayload(keyId string, keyRingId string, keyVersion int64, serviceAccountEmail string) *KmsKeyPayload
NewKmsKeyPayload instantiates a new KmsKeyPayload 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 NewKmsKeyPayloadWithDefaults ¶
func NewKmsKeyPayloadWithDefaults() *KmsKeyPayload
NewKmsKeyPayloadWithDefaults instantiates a new KmsKeyPayload 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 (*KmsKeyPayload) GetKeyId ¶
func (o *KmsKeyPayload) GetKeyId() string
GetKeyId returns the KeyId field value
func (*KmsKeyPayload) GetKeyIdOk ¶
func (o *KmsKeyPayload) GetKeyIdOk() (*string, bool)
GetKeyIdOk returns a tuple with the KeyId field value and a boolean to check if the value has been set.
func (*KmsKeyPayload) GetKeyRingId ¶
func (o *KmsKeyPayload) GetKeyRingId() string
GetKeyRingId returns the KeyRingId field value
func (*KmsKeyPayload) GetKeyRingIdOk ¶
func (o *KmsKeyPayload) GetKeyRingIdOk() (*string, bool)
GetKeyRingIdOk returns a tuple with the KeyRingId field value and a boolean to check if the value has been set.
func (*KmsKeyPayload) GetKeyVersion ¶
func (o *KmsKeyPayload) GetKeyVersion() int64
GetKeyVersion returns the KeyVersion field value
func (*KmsKeyPayload) GetKeyVersionOk ¶
func (o *KmsKeyPayload) GetKeyVersionOk() (*int64, bool)
GetKeyVersionOk returns a tuple with the KeyVersion field value and a boolean to check if the value has been set.
func (*KmsKeyPayload) GetServiceAccountEmail ¶
func (o *KmsKeyPayload) GetServiceAccountEmail() string
GetServiceAccountEmail returns the ServiceAccountEmail field value
func (*KmsKeyPayload) GetServiceAccountEmailOk ¶
func (o *KmsKeyPayload) GetServiceAccountEmailOk() (*string, bool)
GetServiceAccountEmailOk returns a tuple with the ServiceAccountEmail field value and a boolean to check if the value has been set.
func (KmsKeyPayload) MarshalJSON ¶
func (o KmsKeyPayload) MarshalJSON() ([]byte, error)
func (*KmsKeyPayload) SetKeyId ¶
func (o *KmsKeyPayload) SetKeyId(v string)
SetKeyId sets field value
func (*KmsKeyPayload) SetKeyRingId ¶
func (o *KmsKeyPayload) SetKeyRingId(v string)
SetKeyRingId sets field value
func (*KmsKeyPayload) SetKeyVersion ¶
func (o *KmsKeyPayload) SetKeyVersion(v int64)
SetKeyVersion sets field value
func (*KmsKeyPayload) SetServiceAccountEmail ¶
func (o *KmsKeyPayload) SetServiceAccountEmail(v string)
SetServiceAccountEmail sets field value
func (KmsKeyPayload) ToMap ¶
func (o KmsKeyPayload) ToMap() (map[string]interface{}, error)
func (*KmsKeyPayload) UnmarshalJSON ¶
func (o *KmsKeyPayload) UnmarshalJSON(data []byte) (err error)
type ListACLsResponse ¶
type ListACLsResponse struct {
Acls []ACL `json:"acls"`
}
ListACLsResponse struct for ListACLsResponse
func NewListACLsResponse ¶
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 ¶
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 ¶
func (o *ListACLsResponse) GetAcls() []ACL
GetAcls returns the Acls field value
func (*ListACLsResponse) GetAclsOk ¶
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) MarshalJSON ¶
func (o ListACLsResponse) MarshalJSON() ([]byte, error)
func (*ListACLsResponse) SetAcls ¶
func (o *ListACLsResponse) SetAcls(v []ACL)
SetAcls sets field value
func (ListACLsResponse) ToMap ¶
func (o ListACLsResponse) ToMap() (map[string]interface{}, error)
func (*ListACLsResponse) UnmarshalJSON ¶
func (o *ListACLsResponse) UnmarshalJSON(data []byte) (err error)
type ListInstancesResponse ¶
type ListInstancesResponse struct {
Instances []Instance `json:"instances"`
}
ListInstancesResponse struct for ListInstancesResponse
func NewListInstancesResponse ¶
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 ¶
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 ¶
func (o *ListInstancesResponse) GetInstances() []Instance
GetInstances returns the Instances field value
func (*ListInstancesResponse) GetInstancesOk ¶
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) MarshalJSON ¶
func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
func (*ListInstancesResponse) SetInstances ¶
func (o *ListInstancesResponse) SetInstances(v []Instance)
SetInstances sets field value
func (ListInstancesResponse) ToMap ¶
func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
func (*ListInstancesResponse) UnmarshalJSON ¶
func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
type ListUsersResponse ¶
type ListUsersResponse struct {
Users []User `json:"users"`
}
ListUsersResponse struct for ListUsersResponse
func NewListUsersResponse ¶
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 ¶
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 ¶
func (o *ListUsersResponse) GetUsers() []User
GetUsers returns the Users field value
func (*ListUsersResponse) GetUsersOk ¶
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) MarshalJSON ¶
func (o ListUsersResponse) MarshalJSON() ([]byte, error)
func (*ListUsersResponse) SetUsers ¶
func (o *ListUsersResponse) SetUsers(v []User)
SetUsers sets field value
func (ListUsersResponse) ToMap ¶
func (o ListUsersResponse) ToMap() (map[string]interface{}, error)
func (*ListUsersResponse) UnmarshalJSON ¶
func (o *ListUsersResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NotFound ¶
type NotFound struct {
// The error message for not found resources
Message string `json:"message"`
}
NotFound struct for NotFound
func NewNotFound ¶
NewNotFound instantiates a new NotFound 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 NewNotFoundWithDefaults ¶
func NewNotFoundWithDefaults() *NotFound
NewNotFoundWithDefaults instantiates a new NotFound 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 (*NotFound) GetMessage ¶
GetMessage returns the Message field value
func (*NotFound) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (NotFound) MarshalJSON ¶
func (*NotFound) UnmarshalJSON ¶
type NullableACL ¶
type NullableACL struct {
// contains filtered or unexported fields
}
func NewNullableACL ¶
func NewNullableACL(val *ACL) *NullableACL
func (NullableACL) Get ¶
func (v NullableACL) Get() *ACL
func (NullableACL) IsSet ¶
func (v NullableACL) IsSet() bool
func (NullableACL) MarshalJSON ¶
func (v NullableACL) MarshalJSON() ([]byte, error)
func (*NullableACL) Set ¶
func (v *NullableACL) Set(val *ACL)
func (*NullableACL) UnmarshalJSON ¶
func (v *NullableACL) UnmarshalJSON(src []byte) error
func (*NullableACL) Unset ¶
func (v *NullableACL) Unset()
type NullableBadRequest ¶
type NullableBadRequest struct {
// contains filtered or unexported fields
}
func NewNullableBadRequest ¶
func NewNullableBadRequest(val *BadRequest) *NullableBadRequest
func (NullableBadRequest) Get ¶
func (v NullableBadRequest) Get() *BadRequest
func (NullableBadRequest) IsSet ¶
func (v NullableBadRequest) IsSet() bool
func (NullableBadRequest) MarshalJSON ¶
func (v NullableBadRequest) MarshalJSON() ([]byte, error)
func (*NullableBadRequest) Set ¶
func (v *NullableBadRequest) Set(val *BadRequest)
func (*NullableBadRequest) UnmarshalJSON ¶
func (v *NullableBadRequest) UnmarshalJSON(src []byte) error
func (*NullableBadRequest) Unset ¶
func (v *NullableBadRequest) 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 NullableConflict ¶
type NullableConflict struct {
// contains filtered or unexported fields
}
func NewNullableConflict ¶
func NewNullableConflict(val *Conflict) *NullableConflict
func (NullableConflict) Get ¶
func (v NullableConflict) Get() *Conflict
func (NullableConflict) IsSet ¶
func (v NullableConflict) IsSet() bool
func (NullableConflict) MarshalJSON ¶
func (v NullableConflict) MarshalJSON() ([]byte, error)
func (*NullableConflict) Set ¶
func (v *NullableConflict) Set(val *Conflict)
func (*NullableConflict) UnmarshalJSON ¶
func (v *NullableConflict) UnmarshalJSON(src []byte) error
func (*NullableConflict) Unset ¶
func (v *NullableConflict) Unset()
type NullableCreateACLPayload ¶
type NullableCreateACLPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateACLPayload ¶
func NewNullableCreateACLPayload(val *CreateACLPayload) *NullableCreateACLPayload
func (NullableCreateACLPayload) Get ¶
func (v NullableCreateACLPayload) Get() *CreateACLPayload
func (NullableCreateACLPayload) IsSet ¶
func (v NullableCreateACLPayload) IsSet() bool
func (NullableCreateACLPayload) MarshalJSON ¶
func (v NullableCreateACLPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateACLPayload) Set ¶
func (v *NullableCreateACLPayload) Set(val *CreateACLPayload)
func (*NullableCreateACLPayload) UnmarshalJSON ¶
func (v *NullableCreateACLPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateACLPayload) Unset ¶
func (v *NullableCreateACLPayload) Unset()
type NullableCreateInstancePayload ¶
type NullableCreateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstancePayload ¶
func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload
func (NullableCreateInstancePayload) Get ¶
func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
func (NullableCreateInstancePayload) IsSet ¶
func (v NullableCreateInstancePayload) IsSet() bool
func (NullableCreateInstancePayload) MarshalJSON ¶
func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayload) Set ¶
func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
func (*NullableCreateInstancePayload) UnmarshalJSON ¶
func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayload) Unset ¶
func (v *NullableCreateInstancePayload) Unset()
type NullableCreateUserPayload ¶
type NullableCreateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserPayload ¶
func NewNullableCreateUserPayload(val *CreateUserPayload) *NullableCreateUserPayload
func (NullableCreateUserPayload) Get ¶
func (v NullableCreateUserPayload) Get() *CreateUserPayload
func (NullableCreateUserPayload) IsSet ¶
func (v NullableCreateUserPayload) IsSet() bool
func (NullableCreateUserPayload) MarshalJSON ¶
func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateUserPayload) Set ¶
func (v *NullableCreateUserPayload) Set(val *CreateUserPayload)
func (*NullableCreateUserPayload) UnmarshalJSON ¶
func (v *NullableCreateUserPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateUserPayload) Unset ¶
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 ¶
type NullableInstance struct {
// contains filtered or unexported fields
}
func NewNullableInstance ¶
func NewNullableInstance(val *Instance) *NullableInstance
func (NullableInstance) Get ¶
func (v NullableInstance) Get() *Instance
func (NullableInstance) IsSet ¶
func (v NullableInstance) IsSet() bool
func (NullableInstance) MarshalJSON ¶
func (v NullableInstance) MarshalJSON() ([]byte, error)
func (*NullableInstance) Set ¶
func (v *NullableInstance) Set(val *Instance)
func (*NullableInstance) UnmarshalJSON ¶
func (v *NullableInstance) UnmarshalJSON(src []byte) error
func (*NullableInstance) Unset ¶
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 NullableKmsKeyPayload ¶
type NullableKmsKeyPayload struct {
// contains filtered or unexported fields
}
func NewNullableKmsKeyPayload ¶
func NewNullableKmsKeyPayload(val *KmsKeyPayload) *NullableKmsKeyPayload
func (NullableKmsKeyPayload) Get ¶
func (v NullableKmsKeyPayload) Get() *KmsKeyPayload
func (NullableKmsKeyPayload) IsSet ¶
func (v NullableKmsKeyPayload) IsSet() bool
func (NullableKmsKeyPayload) MarshalJSON ¶
func (v NullableKmsKeyPayload) MarshalJSON() ([]byte, error)
func (*NullableKmsKeyPayload) Set ¶
func (v *NullableKmsKeyPayload) Set(val *KmsKeyPayload)
func (*NullableKmsKeyPayload) UnmarshalJSON ¶
func (v *NullableKmsKeyPayload) UnmarshalJSON(src []byte) error
func (*NullableKmsKeyPayload) Unset ¶
func (v *NullableKmsKeyPayload) Unset()
type NullableListACLsResponse ¶
type NullableListACLsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListACLsResponse ¶
func NewNullableListACLsResponse(val *ListACLsResponse) *NullableListACLsResponse
func (NullableListACLsResponse) Get ¶
func (v NullableListACLsResponse) Get() *ListACLsResponse
func (NullableListACLsResponse) IsSet ¶
func (v NullableListACLsResponse) IsSet() bool
func (NullableListACLsResponse) MarshalJSON ¶
func (v NullableListACLsResponse) MarshalJSON() ([]byte, error)
func (*NullableListACLsResponse) Set ¶
func (v *NullableListACLsResponse) Set(val *ListACLsResponse)
func (*NullableListACLsResponse) UnmarshalJSON ¶
func (v *NullableListACLsResponse) UnmarshalJSON(src []byte) error
func (*NullableListACLsResponse) Unset ¶
func (v *NullableListACLsResponse) Unset()
type NullableListInstancesResponse ¶
type NullableListInstancesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListInstancesResponse ¶
func NewNullableListInstancesResponse(val *ListInstancesResponse) *NullableListInstancesResponse
func (NullableListInstancesResponse) Get ¶
func (v NullableListInstancesResponse) Get() *ListInstancesResponse
func (NullableListInstancesResponse) IsSet ¶
func (v NullableListInstancesResponse) IsSet() bool
func (NullableListInstancesResponse) MarshalJSON ¶
func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)
func (*NullableListInstancesResponse) Set ¶
func (v *NullableListInstancesResponse) Set(val *ListInstancesResponse)
func (*NullableListInstancesResponse) UnmarshalJSON ¶
func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error
func (*NullableListInstancesResponse) Unset ¶
func (v *NullableListInstancesResponse) Unset()
type NullableListUsersResponse ¶
type NullableListUsersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUsersResponse ¶
func NewNullableListUsersResponse(val *ListUsersResponse) *NullableListUsersResponse
func (NullableListUsersResponse) Get ¶
func (v NullableListUsersResponse) Get() *ListUsersResponse
func (NullableListUsersResponse) IsSet ¶
func (v NullableListUsersResponse) IsSet() bool
func (NullableListUsersResponse) MarshalJSON ¶
func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
func (*NullableListUsersResponse) Set ¶
func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
func (*NullableListUsersResponse) UnmarshalJSON ¶
func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
func (*NullableListUsersResponse) Unset ¶
func (v *NullableListUsersResponse) Unset()
type NullableNotFound ¶
type NullableNotFound struct {
// contains filtered or unexported fields
}
func NewNullableNotFound ¶
func NewNullableNotFound(val *NotFound) *NullableNotFound
func (NullableNotFound) Get ¶
func (v NullableNotFound) Get() *NotFound
func (NullableNotFound) IsSet ¶
func (v NullableNotFound) IsSet() bool
func (NullableNotFound) MarshalJSON ¶
func (v NullableNotFound) MarshalJSON() ([]byte, error)
func (*NullableNotFound) Set ¶
func (v *NullableNotFound) Set(val *NotFound)
func (*NullableNotFound) UnmarshalJSON ¶
func (v *NullableNotFound) UnmarshalJSON(src []byte) error
func (*NullableNotFound) Unset ¶
func (v *NullableNotFound) 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 ¶
type NullableUpdateACLPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateACLPayload ¶
func NewNullableUpdateACLPayload(val *UpdateACLPayload) *NullableUpdateACLPayload
func (NullableUpdateACLPayload) Get ¶
func (v NullableUpdateACLPayload) Get() *UpdateACLPayload
func (NullableUpdateACLPayload) IsSet ¶
func (v NullableUpdateACLPayload) IsSet() bool
func (NullableUpdateACLPayload) MarshalJSON ¶
func (v NullableUpdateACLPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateACLPayload) Set ¶
func (v *NullableUpdateACLPayload) Set(val *UpdateACLPayload)
func (*NullableUpdateACLPayload) UnmarshalJSON ¶
func (v *NullableUpdateACLPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateACLPayload) Unset ¶
func (v *NullableUpdateACLPayload) Unset()
type NullableUpdateACLsPayload ¶
type NullableUpdateACLsPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateACLsPayload ¶
func NewNullableUpdateACLsPayload(val *UpdateACLsPayload) *NullableUpdateACLsPayload
func (NullableUpdateACLsPayload) Get ¶
func (v NullableUpdateACLsPayload) Get() *UpdateACLsPayload
func (NullableUpdateACLsPayload) IsSet ¶
func (v NullableUpdateACLsPayload) IsSet() bool
func (NullableUpdateACLsPayload) MarshalJSON ¶
func (v NullableUpdateACLsPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateACLsPayload) Set ¶
func (v *NullableUpdateACLsPayload) Set(val *UpdateACLsPayload)
func (*NullableUpdateACLsPayload) UnmarshalJSON ¶
func (v *NullableUpdateACLsPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateACLsPayload) Unset ¶
func (v *NullableUpdateACLsPayload) Unset()
type NullableUpdateInstancePayload ¶
type NullableUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePayload ¶
func NewNullableUpdateInstancePayload(val *UpdateInstancePayload) *NullableUpdateInstancePayload
func (NullableUpdateInstancePayload) Get ¶
func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
func (NullableUpdateInstancePayload) IsSet ¶
func (v NullableUpdateInstancePayload) IsSet() bool
func (NullableUpdateInstancePayload) MarshalJSON ¶
func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePayload) Set ¶
func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
func (*NullableUpdateInstancePayload) UnmarshalJSON ¶
func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePayload) Unset ¶
func (v *NullableUpdateInstancePayload) Unset()
type NullableUpdateUserPayload ¶
type NullableUpdateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUserPayload ¶
func NewNullableUpdateUserPayload(val *UpdateUserPayload) *NullableUpdateUserPayload
func (NullableUpdateUserPayload) Get ¶
func (v NullableUpdateUserPayload) Get() *UpdateUserPayload
func (NullableUpdateUserPayload) IsSet ¶
func (v NullableUpdateUserPayload) IsSet() bool
func (NullableUpdateUserPayload) MarshalJSON ¶
func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserPayload) Set ¶
func (v *NullableUpdateUserPayload) Set(val *UpdateUserPayload)
func (*NullableUpdateUserPayload) UnmarshalJSON ¶
func (v *NullableUpdateUserPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateUserPayload) Unset ¶
func (v *NullableUpdateUserPayload) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type UpdateACLPayload ¶
type UpdateACLPayload struct {
// The given IP/IP Range that is permitted to access.
Cidr string `json:"cidr"`
}
UpdateACLPayload struct for UpdateACLPayload
func NewUpdateACLPayload ¶
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 ¶
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 ¶
func (o *UpdateACLPayload) GetCidr() string
GetCidr returns the Cidr field value
func (*UpdateACLPayload) GetCidrOk ¶
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) MarshalJSON ¶
func (o UpdateACLPayload) MarshalJSON() ([]byte, error)
func (*UpdateACLPayload) SetCidr ¶
func (o *UpdateACLPayload) SetCidr(v string)
SetCidr sets field value
func (UpdateACLPayload) ToMap ¶
func (o UpdateACLPayload) ToMap() (map[string]interface{}, error)
func (*UpdateACLPayload) UnmarshalJSON ¶
func (o *UpdateACLPayload) UnmarshalJSON(data []byte) (err error)
type UpdateACLsPayload ¶
type UpdateACLsPayload struct {
Cidrs []UpdateACLPayload `json:"cidrs,omitempty"`
}
UpdateACLsPayload struct for UpdateACLsPayload
func NewUpdateACLsPayload ¶
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 ¶
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 ¶
func (o *UpdateACLsPayload) GetCidrs() []UpdateACLPayload
GetCidrs returns the Cidrs field value if set, zero value otherwise.
func (*UpdateACLsPayload) GetCidrsOk ¶
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 ¶
func (o *UpdateACLsPayload) HasCidrs() bool
HasCidrs returns a boolean if a field has been set.
func (UpdateACLsPayload) MarshalJSON ¶
func (o UpdateACLsPayload) MarshalJSON() ([]byte, error)
func (*UpdateACLsPayload) SetCidrs ¶
func (o *UpdateACLsPayload) SetCidrs(v []UpdateACLPayload)
SetCidrs gets a reference to the given []UpdateACLPayload and assigns it to the Cidrs field.
func (UpdateACLsPayload) ToMap ¶
func (o UpdateACLsPayload) ToMap() (map[string]interface{}, error)
type UpdateInstancePayload ¶
type UpdateInstancePayload struct {
KmsKey *KmsKeyPayload `json:"kmsKey,omitempty"`
// A user chosen name to distinguish multiple secrets manager instances.
Name string `json:"name"`
}
UpdateInstancePayload struct for UpdateInstancePayload
func NewUpdateInstancePayload ¶
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 ¶
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) GetKmsKey ¶
func (o *UpdateInstancePayload) GetKmsKey() KmsKeyPayload
GetKmsKey returns the KmsKey field value if set, zero value otherwise.
func (*UpdateInstancePayload) GetKmsKeyOk ¶
func (o *UpdateInstancePayload) GetKmsKeyOk() (*KmsKeyPayload, bool)
GetKmsKeyOk returns a tuple with the KmsKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetName ¶
func (o *UpdateInstancePayload) GetName() string
GetName returns the Name field value
func (*UpdateInstancePayload) GetNameOk ¶
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) HasKmsKey ¶
func (o *UpdateInstancePayload) HasKmsKey() bool
HasKmsKey returns a boolean if a field has been set.
func (UpdateInstancePayload) MarshalJSON ¶
func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*UpdateInstancePayload) SetKmsKey ¶
func (o *UpdateInstancePayload) SetKmsKey(v KmsKeyPayload)
SetKmsKey gets a reference to the given KmsKeyPayload and assigns it to the KmsKey field.
func (*UpdateInstancePayload) SetName ¶
func (o *UpdateInstancePayload) SetName(v string)
SetName sets field value
func (UpdateInstancePayload) ToMap ¶
func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
func (*UpdateInstancePayload) UnmarshalJSON ¶
func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
type UpdateUserPayload ¶
type UpdateUserPayload struct {
// A user chosen description to differentiate between multiple users.
Description *string `json:"description,omitempty"`
// 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 ¶
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 ¶
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) GetDescription ¶
func (o *UpdateUserPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateUserPayload) GetDescriptionOk ¶
func (o *UpdateUserPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserPayload) GetWrite ¶
func (o *UpdateUserPayload) GetWrite() bool
GetWrite returns the Write field value if set, zero value otherwise.
func (*UpdateUserPayload) GetWriteOk ¶
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) HasDescription ¶
func (o *UpdateUserPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateUserPayload) HasWrite ¶
func (o *UpdateUserPayload) HasWrite() bool
HasWrite returns a boolean if a field has been set.
func (UpdateUserPayload) MarshalJSON ¶
func (o UpdateUserPayload) MarshalJSON() ([]byte, error)
func (*UpdateUserPayload) SetDescription ¶
func (o *UpdateUserPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateUserPayload) SetWrite ¶
func (o *UpdateUserPayload) SetWrite(v bool)
SetWrite gets a reference to the given bool and assigns it to the Write field.
func (UpdateUserPayload) ToMap ¶
func (o UpdateUserPayload) ToMap() (map[string]interface{}, error)
type User ¶
type User struct {
// A user chosen description to differentiate between multiple users.
Description string `json:"description"`
// A auto generated unique id which identifies the users.
Id string `json:"id"`
// A auto generated password for logging in with the user.
Password string `json:"password"`
// A auto generated username for logging in with the user.
Username string `json:"username"`
// Is true if the user has write access to the secrets engine. Is false for a read-only user.
Write bool `json:"write"`
}
User struct for User
func NewUser ¶
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 ¶
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 ¶
GetDescription returns the Description field value
func (*User) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*User) GetPassword ¶
GetPassword returns the Password field value
func (*User) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*User) GetUsername ¶
GetUsername returns the Username field value
func (*User) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*User) GetWriteOk ¶
GetWriteOk returns a tuple with the Write field value and a boolean to check if the value has been set.
func (User) MarshalJSON ¶
func (*User) SetDescription ¶
SetDescription sets field value
func (*User) UnmarshalJSON ¶
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_acl.go
- model_bad_request.go
- model_conflict.go
- model_create_acl_payload.go
- model_create_instance_payload.go
- model_create_user_payload.go
- model_instance.go
- model_kms_key_payload.go
- model_list_acls_response.go
- model_list_instances_response.go
- model_list_users_response.go
- model_not_found.go
- model_update_acl_payload.go
- model_update_acls_payload.go
- model_update_instance_payload.go
- model_update_user_payload.go
- model_user.go
- response.go
- utils.go