v1api

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type ACL

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

func NewACL(cidr string, id string) *ACL

NewACL instantiates a new ACL object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewACLWithDefaults

func NewACLWithDefaults() *ACL

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

func (*ACL) GetCidr

func (o *ACL) GetCidr() string

GetCidr returns the Cidr field value

func (*ACL) GetCidrOk

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

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

func (*ACL) GetId

func (o *ACL) GetId() string

GetId returns the Id field value

func (*ACL) GetIdOk

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

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

func (ACL) MarshalJSON

func (o ACL) MarshalJSON() ([]byte, error)

func (*ACL) SetCidr

func (o *ACL) SetCidr(v string)

SetCidr sets field value

func (*ACL) SetId

func (o *ACL) SetId(v string)

SetId sets field value

func (ACL) ToMap

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

func (*ACL) UnmarshalJSON

func (o *ACL) UnmarshalJSON(data []byte) (err error)

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

type ApiListUsersRequest

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

func (ApiListUsersRequest) Execute

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

func NewConflict(message string) *Conflict

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

func (o *Conflict) GetMessage() string

GetMessage returns the Message field value

func (*Conflict) GetMessageOk

func (o *Conflict) GetMessageOk() (*string, bool)

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

func (Conflict) MarshalJSON

func (o Conflict) MarshalJSON() ([]byte, error)

func (*Conflict) SetMessage

func (o *Conflict) SetMessage(v string)

SetMessage sets field value

func (Conflict) ToMap

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

func (*Conflict) UnmarshalJSON

func (o *Conflict) UnmarshalJSON(data []byte) (err error)

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

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

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

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

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) GetApiUrl

func (o *Instance) GetApiUrl() string

GetApiUrl returns the ApiUrl field value

func (*Instance) GetApiUrlOk

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

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

func (*Instance) GetCreationFinishedDate

func (o *Instance) GetCreationFinishedDate() string

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

func (*Instance) GetCreationFinishedDateOk

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

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

func (*Instance) GetCreationStartDate

func (o *Instance) GetCreationStartDate() string

GetCreationStartDate returns the CreationStartDate field value

func (*Instance) GetCreationStartDateOk

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

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

func (*Instance) GetId

func (o *Instance) GetId() string

GetId returns the Id field value

func (*Instance) GetIdOk

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

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

func (*Instance) 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) GetName

func (o *Instance) GetName() string

GetName returns the Name field value

func (*Instance) GetNameOk

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

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

func (*Instance) GetSecretCount

func (o *Instance) GetSecretCount() int32

GetSecretCount returns the SecretCount field value

func (*Instance) GetSecretCountOk

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

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

func (*Instance) GetSecretsEngine

func (o *Instance) GetSecretsEngine() string

GetSecretsEngine returns the SecretsEngine field value

func (*Instance) GetSecretsEngineOk

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

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

func (*Instance) GetState

func (o *Instance) GetState() string

GetState returns the State field value

func (*Instance) GetStateOk

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

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

func (*Instance) GetUpdateFinishedDate

func (o *Instance) GetUpdateFinishedDate() string

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

func (*Instance) GetUpdateFinishedDateOk

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

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

func (*Instance) GetUpdateStartDate

func (o *Instance) GetUpdateStartDate() string

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

func (*Instance) GetUpdateStartDateOk

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

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

func (*Instance) HasCreationFinishedDate

func (o *Instance) HasCreationFinishedDate() bool

HasCreationFinishedDate returns a boolean if a field has been set.

func (*Instance) HasKmsKey

func (o *Instance) HasKmsKey() bool

HasKmsKey returns a boolean if a field has been set.

func (*Instance) HasUpdateFinishedDate

func (o *Instance) HasUpdateFinishedDate() bool

HasUpdateFinishedDate returns a boolean if a field has been set.

func (*Instance) HasUpdateStartDate

func (o *Instance) HasUpdateStartDate() bool

HasUpdateStartDate returns a boolean if a field has been set.

func (Instance) MarshalJSON

func (o Instance) MarshalJSON() ([]byte, error)

func (*Instance) SetApiUrl

func (o *Instance) SetApiUrl(v string)

SetApiUrl sets field value

func (*Instance) SetCreationFinishedDate

func (o *Instance) SetCreationFinishedDate(v string)

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

func (*Instance) SetCreationStartDate

func (o *Instance) SetCreationStartDate(v string)

SetCreationStartDate sets field value

func (*Instance) SetId

func (o *Instance) SetId(v string)

SetId 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) SetName

func (o *Instance) SetName(v string)

SetName sets field value

func (*Instance) SetSecretCount

func (o *Instance) SetSecretCount(v int32)

SetSecretCount sets field value

func (*Instance) SetSecretsEngine

func (o *Instance) SetSecretsEngine(v string)

SetSecretsEngine sets field value

func (*Instance) SetState

func (o *Instance) SetState(v string)

SetState sets field value

func (*Instance) SetUpdateFinishedDate

func (o *Instance) SetUpdateFinishedDate(v string)

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

func (*Instance) SetUpdateStartDate

func (o *Instance) SetUpdateStartDate(v string)

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

func (Instance) ToMap

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

func (*Instance) UnmarshalJSON

func (o *Instance) UnmarshalJSON(data []byte) (err error)

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NotFound

type NotFound struct {
	// The error message for not found resources
	Message string `json:"message"`
}

NotFound struct for NotFound

func NewNotFound

func NewNotFound(message string) *NotFound

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

func (o *NotFound) GetMessage() string

GetMessage returns the Message field value

func (*NotFound) GetMessageOk

func (o *NotFound) GetMessageOk() (*string, bool)

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

func (NotFound) MarshalJSON

func (o NotFound) MarshalJSON() ([]byte, error)

func (*NotFound) SetMessage

func (o *NotFound) SetMessage(v string)

SetMessage sets field value

func (NotFound) ToMap

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

func (*NotFound) UnmarshalJSON

func (o *NotFound) UnmarshalJSON(data []byte) (err error)

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 (NullableCreateACLPayload) IsSet

func (v NullableCreateACLPayload) IsSet() bool

func (NullableCreateACLPayload) MarshalJSON

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

func (*NullableCreateACLPayload) Set

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 (NullableCreateInstancePayload) Get

func (NullableCreateInstancePayload) IsSet

func (NullableCreateInstancePayload) MarshalJSON

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

func (*NullableCreateInstancePayload) Set

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 (NullableCreateUserPayload) IsSet

func (v NullableCreateUserPayload) IsSet() bool

func (NullableCreateUserPayload) MarshalJSON

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

func (*NullableCreateUserPayload) Set

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 (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 (NullableListACLsResponse) IsSet

func (v NullableListACLsResponse) IsSet() bool

func (NullableListACLsResponse) MarshalJSON

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

func (*NullableListACLsResponse) Set

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 (NullableListInstancesResponse) Get

func (NullableListInstancesResponse) IsSet

func (NullableListInstancesResponse) MarshalJSON

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

func (*NullableListInstancesResponse) Set

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 (NullableListUsersResponse) IsSet

func (v NullableListUsersResponse) IsSet() bool

func (NullableListUsersResponse) MarshalJSON

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

func (*NullableListUsersResponse) Set

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 (NullableUpdateACLPayload) IsSet

func (v NullableUpdateACLPayload) IsSet() bool

func (NullableUpdateACLPayload) MarshalJSON

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

func (*NullableUpdateACLPayload) Set

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 (NullableUpdateACLsPayload) IsSet

func (v NullableUpdateACLsPayload) IsSet() bool

func (NullableUpdateACLsPayload) MarshalJSON

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

func (*NullableUpdateACLsPayload) Set

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 (NullableUpdateInstancePayload) Get

func (NullableUpdateInstancePayload) IsSet

func (NullableUpdateInstancePayload) MarshalJSON

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

func (*NullableUpdateInstancePayload) Set

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 (NullableUpdateUserPayload) IsSet

func (v NullableUpdateUserPayload) IsSet() bool

func (NullableUpdateUserPayload) MarshalJSON

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

func (*NullableUpdateUserPayload) Set

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

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

NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserWithDefaults

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

func (o *User) GetDescription() string

GetDescription returns the Description field value

func (*User) GetDescriptionOk

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

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

func (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value

func (*User) GetIdOk

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

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

func (*User) GetPassword

func (o *User) GetPassword() string

GetPassword returns the Password field value

func (*User) GetPasswordOk

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

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

func (*User) GetUsername

func (o *User) GetUsername() string

GetUsername returns the Username field value

func (*User) GetUsernameOk

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

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

func (*User) GetWrite

func (o *User) GetWrite() bool

GetWrite returns the Write field value

func (*User) GetWriteOk

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

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

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetDescription

func (o *User) SetDescription(v string)

SetDescription sets field value

func (*User) SetId

func (o *User) SetId(v string)

SetId sets field value

func (*User) SetPassword

func (o *User) SetPassword(v string)

SetPassword sets field value

func (*User) SetUsername

func (o *User) SetUsername(v string)

SetUsername sets field value

func (*User) SetWrite

func (o *User) SetWrite(v bool)

SetWrite sets field value

func (User) ToMap

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

func (*User) UnmarshalJSON

func (o *User) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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