v1api

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 23 Imported by: 1

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"`
	AdditionalProperties map[string]interface{}
}

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.3 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 ApiCreateApproleRequest added in v0.19.0

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

func (ApiCreateApproleRequest) CreateApprolePayload added in v0.19.0

func (r ApiCreateApproleRequest) CreateApprolePayload(createApprolePayload CreateApprolePayload) ApiCreateApproleRequest

func (ApiCreateApproleRequest) Execute added in v0.19.0

func (r ApiCreateApproleRequest) Execute() (*Approle, error)

type ApiCreateApproleSecretIdRequest added in v0.19.0

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

func (ApiCreateApproleSecretIdRequest) CreateApproleSecretIdPayload added in v0.19.0

func (r ApiCreateApproleSecretIdRequest) CreateApproleSecretIdPayload(createApproleSecretIdPayload CreateApproleSecretIdPayload) ApiCreateApproleSecretIdRequest

func (ApiCreateApproleSecretIdRequest) Execute added in v0.19.0

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 ApiDeleteApproleRequest added in v0.19.0

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

func (ApiDeleteApproleRequest) Execute added in v0.19.0

func (r ApiDeleteApproleRequest) Execute() error

type ApiDeleteApproleSecretIdRequest added in v0.19.0

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

func (ApiDeleteApproleSecretIdRequest) Execute added in v0.19.0

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 ApiGetApproleRequest added in v0.19.0

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

func (ApiGetApproleRequest) Execute added in v0.19.0

func (r ApiGetApproleRequest) Execute() (*Approle, error)

type ApiGetApproleSecretIdRequest added in v0.19.0

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

func (ApiGetApproleSecretIdRequest) Execute added in v0.19.0

type ApiGetApprolesRequest added in v0.19.0

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

func (ApiGetApprolesRequest) Execute added in v0.19.0

func (r ApiGetApprolesRequest) Execute() (*ApproleList, 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 ApiListApproleSecretIdsRequest added in v0.19.0

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

func (ApiListApproleSecretIdsRequest) Execute added in v0.19.0

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 ApiUpdateApproleRequest added in v0.19.0

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

func (ApiUpdateApproleRequest) Execute added in v0.19.0

func (r ApiUpdateApproleRequest) Execute() (*Approle, error)

func (ApiUpdateApproleRequest) UpdateApprolePayload added in v0.19.0

func (r ApiUpdateApproleRequest) UpdateApprolePayload(updateApprolePayload UpdateApprolePayload) ApiUpdateApproleRequest

type ApiUpdateApproleSecretIdRequest added in v0.19.0

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

func (ApiUpdateApproleSecretIdRequest) Execute added in v0.19.0

func (ApiUpdateApproleSecretIdRequest) UpdateApproleSecretIdPayload added in v0.19.0

func (r ApiUpdateApproleSecretIdRequest) UpdateApproleSecretIdPayload(updateApproleSecretIdPayload UpdateApproleSecretIdPayload) ApiUpdateApproleSecretIdRequest

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 Approle added in v0.19.0

type Approle struct {
	// A user chosen description to differentiate between multiple approles.
	Description string `json:"description"`
	// Identifier used for authentication
	RoleId          string `json:"role_id"`
	SecretIdNumUses int32  `json:"secret_id_num_uses"`
	// Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour).
	SecretIdTtl string `json:"secret_id_ttl" validate:"regexp=^[0-9]+[smh]$"`
	// Is true if the approle has write access to the secrets engine. Is false for a read-only approle.
	Write                bool `json:"write"`
	AdditionalProperties map[string]interface{}
}

Approle struct for Approle

func NewApprole added in v0.19.0

func NewApprole(description string, roleId string, secretIdNumUses int32, secretIdTtl string, write bool) *Approle

NewApprole instantiates a new Approle 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 NewApproleWithDefaults added in v0.19.0

func NewApproleWithDefaults() *Approle

NewApproleWithDefaults instantiates a new Approle 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 (*Approle) GetDescription added in v0.19.0

func (o *Approle) GetDescription() string

GetDescription returns the Description field value

func (*Approle) GetDescriptionOk added in v0.19.0

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

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

func (*Approle) GetRoleId added in v0.19.0

func (o *Approle) GetRoleId() string

GetRoleId returns the RoleId field value

func (*Approle) GetRoleIdOk added in v0.19.0

func (o *Approle) GetRoleIdOk() (*string, bool)

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

func (*Approle) GetSecretIdNumUses added in v0.19.0

func (o *Approle) GetSecretIdNumUses() int32

GetSecretIdNumUses returns the SecretIdNumUses field value

func (*Approle) GetSecretIdNumUsesOk added in v0.19.0

func (o *Approle) GetSecretIdNumUsesOk() (*int32, bool)

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

func (*Approle) GetSecretIdTtl added in v0.19.0

func (o *Approle) GetSecretIdTtl() string

GetSecretIdTtl returns the SecretIdTtl field value

func (*Approle) GetSecretIdTtlOk added in v0.19.0

func (o *Approle) GetSecretIdTtlOk() (*string, bool)

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

func (*Approle) GetWrite added in v0.19.0

func (o *Approle) GetWrite() bool

GetWrite returns the Write field value

func (*Approle) GetWriteOk added in v0.19.0

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

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

func (Approle) MarshalJSON added in v0.19.0

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

func (*Approle) SetDescription added in v0.19.0

func (o *Approle) SetDescription(v string)

SetDescription sets field value

func (*Approle) SetRoleId added in v0.19.0

func (o *Approle) SetRoleId(v string)

SetRoleId sets field value

func (*Approle) SetSecretIdNumUses added in v0.19.0

func (o *Approle) SetSecretIdNumUses(v int32)

SetSecretIdNumUses sets field value

func (*Approle) SetSecretIdTtl added in v0.19.0

func (o *Approle) SetSecretIdTtl(v string)

SetSecretIdTtl sets field value

func (*Approle) SetWrite added in v0.19.0

func (o *Approle) SetWrite(v bool)

SetWrite sets field value

func (Approle) ToMap added in v0.19.0

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

func (*Approle) UnmarshalJSON added in v0.19.0

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

type ApproleList added in v0.19.0

type ApproleList struct {
	Approles             []Approle `json:"approles"`
	AdditionalProperties map[string]interface{}
}

ApproleList struct for ApproleList

func NewApproleList added in v0.19.0

func NewApproleList(approles []Approle) *ApproleList

NewApproleList instantiates a new ApproleList 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 NewApproleListWithDefaults added in v0.19.0

func NewApproleListWithDefaults() *ApproleList

NewApproleListWithDefaults instantiates a new ApproleList 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 (*ApproleList) GetApproles added in v0.19.0

func (o *ApproleList) GetApproles() []Approle

GetApproles returns the Approles field value

func (*ApproleList) GetApprolesOk added in v0.19.0

func (o *ApproleList) GetApprolesOk() ([]Approle, bool)

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

func (ApproleList) MarshalJSON added in v0.19.0

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

func (*ApproleList) SetApproles added in v0.19.0

func (o *ApproleList) SetApproles(v []Approle)

SetApproles sets field value

func (ApproleList) ToMap added in v0.19.0

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

func (*ApproleList) UnmarshalJSON added in v0.19.0

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

type ApproleSecret added in v0.19.0

type ApproleSecret struct {
	// A user chosen description to differentiate between multiple approle secrets.
	Description string `json:"description"`
	NumUses     int32  `json:"num_uses"`
	// Identifier used for authentication, returned only at creation
	SecretId *string `json:"secret_id,omitempty"`
	// Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour).
	Ttl string `json:"ttl" validate:"regexp=^[0-9]+[smh]$"`
	// Accessor used for handling secrets
	Version              int32 `json:"version"`
	AdditionalProperties map[string]interface{}
}

ApproleSecret struct for ApproleSecret

func NewApproleSecret added in v0.19.0

func NewApproleSecret(description string, numUses int32, ttl string, version int32) *ApproleSecret

NewApproleSecret instantiates a new ApproleSecret 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 NewApproleSecretWithDefaults added in v0.19.0

func NewApproleSecretWithDefaults() *ApproleSecret

NewApproleSecretWithDefaults instantiates a new ApproleSecret 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 (*ApproleSecret) GetDescription added in v0.19.0

func (o *ApproleSecret) GetDescription() string

GetDescription returns the Description field value

func (*ApproleSecret) GetDescriptionOk added in v0.19.0

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

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

func (*ApproleSecret) GetNumUses added in v0.19.0

func (o *ApproleSecret) GetNumUses() int32

GetNumUses returns the NumUses field value

func (*ApproleSecret) GetNumUsesOk added in v0.19.0

func (o *ApproleSecret) GetNumUsesOk() (*int32, bool)

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

func (*ApproleSecret) GetSecretId added in v0.19.0

func (o *ApproleSecret) GetSecretId() string

GetSecretId returns the SecretId field value if set, zero value otherwise.

func (*ApproleSecret) GetSecretIdOk added in v0.19.0

func (o *ApproleSecret) GetSecretIdOk() (*string, bool)

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

func (*ApproleSecret) GetTtl added in v0.19.0

func (o *ApproleSecret) GetTtl() string

GetTtl returns the Ttl field value

func (*ApproleSecret) GetTtlOk added in v0.19.0

func (o *ApproleSecret) GetTtlOk() (*string, bool)

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

func (*ApproleSecret) GetVersion added in v0.19.0

func (o *ApproleSecret) GetVersion() int32

GetVersion returns the Version field value

func (*ApproleSecret) GetVersionOk added in v0.19.0

func (o *ApproleSecret) GetVersionOk() (*int32, bool)

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

func (*ApproleSecret) HasSecretId added in v0.19.0

func (o *ApproleSecret) HasSecretId() bool

HasSecretId returns a boolean if a field has been set.

func (ApproleSecret) MarshalJSON added in v0.19.0

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

func (*ApproleSecret) SetDescription added in v0.19.0

func (o *ApproleSecret) SetDescription(v string)

SetDescription sets field value

func (*ApproleSecret) SetNumUses added in v0.19.0

func (o *ApproleSecret) SetNumUses(v int32)

SetNumUses sets field value

func (*ApproleSecret) SetSecretId added in v0.19.0

func (o *ApproleSecret) SetSecretId(v string)

SetSecretId gets a reference to the given string and assigns it to the SecretId field.

func (*ApproleSecret) SetTtl added in v0.19.0

func (o *ApproleSecret) SetTtl(v string)

SetTtl sets field value

func (*ApproleSecret) SetVersion added in v0.19.0

func (o *ApproleSecret) SetVersion(v int32)

SetVersion sets field value

func (ApproleSecret) ToMap added in v0.19.0

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

func (*ApproleSecret) UnmarshalJSON added in v0.19.0

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

type ApproleSecretList added in v0.19.0

type ApproleSecretList struct {
	SecretIds            []ApproleSecret `json:"secretIds"`
	AdditionalProperties map[string]interface{}
}

ApproleSecretList struct for ApproleSecretList

func NewApproleSecretList added in v0.19.0

func NewApproleSecretList(secretIds []ApproleSecret) *ApproleSecretList

NewApproleSecretList instantiates a new ApproleSecretList 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 NewApproleSecretListWithDefaults added in v0.19.0

func NewApproleSecretListWithDefaults() *ApproleSecretList

NewApproleSecretListWithDefaults instantiates a new ApproleSecretList 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 (*ApproleSecretList) GetSecretIds added in v0.19.0

func (o *ApproleSecretList) GetSecretIds() []ApproleSecret

GetSecretIds returns the SecretIds field value

func (*ApproleSecretList) GetSecretIdsOk added in v0.19.0

func (o *ApproleSecretList) GetSecretIdsOk() ([]ApproleSecret, bool)

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

func (ApproleSecretList) MarshalJSON added in v0.19.0

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

func (*ApproleSecretList) SetSecretIds added in v0.19.0

func (o *ApproleSecretList) SetSecretIds(v []ApproleSecret)

SetSecretIds sets field value

func (ApproleSecretList) ToMap added in v0.19.0

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

func (*ApproleSecretList) UnmarshalJSON added in v0.19.0

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

type BadRequest

type BadRequest struct {
	// The error message for bad requests
	Message              string `json:"message"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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 CreateApprolePayload added in v0.19.0

type CreateApprolePayload struct {
	// A user chosen description to differentiate between multiple approles.
	Description     *string `json:"description,omitempty"`
	SecretIdNumUses *int32  `json:"secret_id_num_uses,omitempty"`
	// Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour).
	SecretIdTtl *string `json:"secret_id_ttl,omitempty" validate:"regexp=^[0-9]+[smh]$"`
	// Is true if the approle has write access to the secrets engine. Is false for a read-only approle.
	Write                *bool `json:"write,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateApprolePayload struct for CreateApprolePayload

func NewCreateApprolePayload added in v0.19.0

func NewCreateApprolePayload() *CreateApprolePayload

NewCreateApprolePayload instantiates a new CreateApprolePayload 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 NewCreateApprolePayloadWithDefaults added in v0.19.0

func NewCreateApprolePayloadWithDefaults() *CreateApprolePayload

NewCreateApprolePayloadWithDefaults instantiates a new CreateApprolePayload 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 (*CreateApprolePayload) GetDescription added in v0.19.0

func (o *CreateApprolePayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateApprolePayload) GetDescriptionOk added in v0.19.0

func (o *CreateApprolePayload) 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 (*CreateApprolePayload) GetSecretIdNumUses added in v0.19.0

func (o *CreateApprolePayload) GetSecretIdNumUses() int32

GetSecretIdNumUses returns the SecretIdNumUses field value if set, zero value otherwise.

func (*CreateApprolePayload) GetSecretIdNumUsesOk added in v0.19.0

func (o *CreateApprolePayload) GetSecretIdNumUsesOk() (*int32, bool)

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

func (*CreateApprolePayload) GetSecretIdTtl added in v0.19.0

func (o *CreateApprolePayload) GetSecretIdTtl() string

GetSecretIdTtl returns the SecretIdTtl field value if set, zero value otherwise.

func (*CreateApprolePayload) GetSecretIdTtlOk added in v0.19.0

func (o *CreateApprolePayload) GetSecretIdTtlOk() (*string, bool)

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

func (*CreateApprolePayload) GetWrite added in v0.19.0

func (o *CreateApprolePayload) GetWrite() bool

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

func (*CreateApprolePayload) GetWriteOk added in v0.19.0

func (o *CreateApprolePayload) 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 (*CreateApprolePayload) HasDescription added in v0.19.0

func (o *CreateApprolePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateApprolePayload) HasSecretIdNumUses added in v0.19.0

func (o *CreateApprolePayload) HasSecretIdNumUses() bool

HasSecretIdNumUses returns a boolean if a field has been set.

func (*CreateApprolePayload) HasSecretIdTtl added in v0.19.0

func (o *CreateApprolePayload) HasSecretIdTtl() bool

HasSecretIdTtl returns a boolean if a field has been set.

func (*CreateApprolePayload) HasWrite added in v0.19.0

func (o *CreateApprolePayload) HasWrite() bool

HasWrite returns a boolean if a field has been set.

func (CreateApprolePayload) MarshalJSON added in v0.19.0

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

func (*CreateApprolePayload) SetDescription added in v0.19.0

func (o *CreateApprolePayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateApprolePayload) SetSecretIdNumUses added in v0.19.0

func (o *CreateApprolePayload) SetSecretIdNumUses(v int32)

SetSecretIdNumUses gets a reference to the given int32 and assigns it to the SecretIdNumUses field.

func (*CreateApprolePayload) SetSecretIdTtl added in v0.19.0

func (o *CreateApprolePayload) SetSecretIdTtl(v string)

SetSecretIdTtl gets a reference to the given string and assigns it to the SecretIdTtl field.

func (*CreateApprolePayload) SetWrite added in v0.19.0

func (o *CreateApprolePayload) SetWrite(v bool)

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

func (CreateApprolePayload) ToMap added in v0.19.0

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

func (*CreateApprolePayload) UnmarshalJSON added in v0.19.0

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

type CreateApproleSecretIdPayload added in v0.19.0

type CreateApproleSecretIdPayload struct {
	// A user chosen description to differentiate between multiple approle secrets.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateApproleSecretIdPayload struct for CreateApproleSecretIdPayload

func NewCreateApproleSecretIdPayload added in v0.19.0

func NewCreateApproleSecretIdPayload() *CreateApproleSecretIdPayload

NewCreateApproleSecretIdPayload instantiates a new CreateApproleSecretIdPayload 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 NewCreateApproleSecretIdPayloadWithDefaults added in v0.19.0

func NewCreateApproleSecretIdPayloadWithDefaults() *CreateApproleSecretIdPayload

NewCreateApproleSecretIdPayloadWithDefaults instantiates a new CreateApproleSecretIdPayload 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 (*CreateApproleSecretIdPayload) GetDescription added in v0.19.0

func (o *CreateApproleSecretIdPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateApproleSecretIdPayload) GetDescriptionOk added in v0.19.0

func (o *CreateApproleSecretIdPayload) 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 (*CreateApproleSecretIdPayload) HasDescription added in v0.19.0

func (o *CreateApproleSecretIdPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateApproleSecretIdPayload) MarshalJSON added in v0.19.0

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

func (*CreateApproleSecretIdPayload) SetDescription added in v0.19.0

func (o *CreateApproleSecretIdPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (CreateApproleSecretIdPayload) ToMap added in v0.19.0

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

func (*CreateApproleSecretIdPayload) UnmarshalJSON added in v0.19.0

func (o *CreateApproleSecretIdPayload) 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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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)

	/*
		CreateApprole Method for CreateApprole

		Creates a new approle 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 ApiCreateApproleRequest
	*/
	CreateApprole(ctx context.Context, projectId string, instanceId string) ApiCreateApproleRequest

	// CreateApproleExecute executes the request
	//  @return Approle
	CreateApproleExecute(r ApiCreateApproleRequest) (*Approle, error)

	/*
		CreateApproleSecretId Method for CreateApproleSecretId

		Generate new secret id for the given approle.

		@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 roleId The approle with permissions on the Secrets Manager instance.
		@return ApiCreateApproleSecretIdRequest
	*/
	CreateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string) ApiCreateApproleSecretIdRequest

	// CreateApproleSecretIdExecute executes the request
	//  @return ApproleSecret
	CreateApproleSecretIdExecute(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, 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

	/*
		DeleteApprole Method for DeleteApprole

		Deletes the given approle.

		@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 roleId The approle with permissions on the Secrets Manager instance.
		@return ApiDeleteApproleRequest
	*/
	DeleteApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiDeleteApproleRequest

	// DeleteApproleExecute executes the request
	DeleteApproleExecute(r ApiDeleteApproleRequest) error

	/*
		DeleteApproleSecretId Method for DeleteApproleSecretId

		Deletes the secret id by its given version.

		@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 roleId The approle with permissions on the Secrets Manager instance.
		@param secretIdVersion The version of the secret id.
		@return ApiDeleteApproleSecretIdRequest
	*/
	DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest

	// DeleteApproleSecretIdExecute executes the request
	DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) 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)

	/*
		GetApprole Method for GetApprole

		Returns the details for the given approle.

		@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 roleId The approle with permissions on the Secrets Manager instance.
		@return ApiGetApproleRequest
	*/
	GetApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiGetApproleRequest

	// GetApproleExecute executes the request
	//  @return Approle
	GetApproleExecute(r ApiGetApproleRequest) (*Approle, error)

	/*
		GetApproleSecretId Method for GetApproleSecretId

		Read the properties of a given secret id by its given version.

		@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 roleId The approle with permissions on the Secrets Manager instance.
		@param secretIdVersion The version of the secret id.
		@return ApiGetApproleSecretIdRequest
	*/
	GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest

	// GetApproleSecretIdExecute executes the request
	//  @return ApproleSecret
	GetApproleSecretIdExecute(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)

	/*
		GetApproles Method for GetApproles

		Returns the approles 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 ApiGetApprolesRequest
	*/
	GetApproles(ctx context.Context, projectId string, instanceId string) ApiGetApprolesRequest

	// GetApprolesExecute executes the request
	//  @return ApproleList
	GetApprolesExecute(r ApiGetApprolesRequest) (*ApproleList, 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)

	/*
		ListApproleSecretIds Method for ListApproleSecretIds

		Returns the secret id list for the given Secrets Manager instance and approle.

		@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 roleId The approle with permissions on the Secrets Manager instance.
		@return ApiListApproleSecretIdsRequest
	*/
	ListApproleSecretIds(ctx context.Context, projectId string, instanceId string, roleId string) ApiListApproleSecretIdsRequest

	// ListApproleSecretIdsExecute executes the request
	//  @return ApproleSecretList
	ListApproleSecretIdsExecute(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, 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

	/*
		UpdateApprole Method for UpdateApprole

		Updates the details for the given approle.

		@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 roleId The approle with permissions on the Secrets Manager instance.
		@return ApiUpdateApproleRequest
	*/
	UpdateApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiUpdateApproleRequest

	// UpdateApproleExecute executes the request
	//  @return Approle
	UpdateApproleExecute(r ApiUpdateApproleRequest) (*Approle, error)

	/*
		UpdateApproleSecretId Method for UpdateApproleSecretId

		Update the description of a secret id by its given version.

		@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 roleId The approle with permissions on the Secrets Manager instance.
		@param secretIdVersion The version of the secret id.
		@return ApiUpdateApproleSecretIdRequest
	*/
	UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest

	// UpdateApproleSecretIdExecute executes the request
	//  @return ApproleSecret
	UpdateApproleSecretIdExecute(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, 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) CreateApprole added in v0.19.0

func (a *DefaultAPIService) CreateApprole(ctx context.Context, projectId string, instanceId string) ApiCreateApproleRequest

CreateApprole Method for CreateApprole

Creates a new approle 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 ApiCreateApproleRequest

func (*DefaultAPIService) CreateApproleExecute added in v0.19.0

func (a *DefaultAPIService) CreateApproleExecute(r ApiCreateApproleRequest) (*Approle, error)

Execute executes the request

@return Approle

func (*DefaultAPIService) CreateApproleSecretId added in v0.19.0

func (a *DefaultAPIService) CreateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string) ApiCreateApproleSecretIdRequest

CreateApproleSecretId Method for CreateApproleSecretId

Generate new secret id for the given approle.

@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 roleId The approle with permissions on the Secrets Manager instance.
@return ApiCreateApproleSecretIdRequest

func (*DefaultAPIService) CreateApproleSecretIdExecute added in v0.19.0

func (a *DefaultAPIService) CreateApproleSecretIdExecute(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, error)

Execute executes the request

@return ApproleSecret

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) DeleteApprole added in v0.19.0

func (a *DefaultAPIService) DeleteApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiDeleteApproleRequest

DeleteApprole Method for DeleteApprole

Deletes the given approle.

@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 roleId The approle with permissions on the Secrets Manager instance.
@return ApiDeleteApproleRequest

func (*DefaultAPIService) DeleteApproleExecute added in v0.19.0

func (a *DefaultAPIService) DeleteApproleExecute(r ApiDeleteApproleRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteApproleSecretId added in v0.19.0

func (a *DefaultAPIService) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest

DeleteApproleSecretId Method for DeleteApproleSecretId

Deletes the secret id by its given version.

@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 roleId The approle with permissions on the Secrets Manager instance.
@param secretIdVersion The version of the secret id.
@return ApiDeleteApproleSecretIdRequest

func (*DefaultAPIService) DeleteApproleSecretIdExecute added in v0.19.0

func (a *DefaultAPIService) DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) 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) GetApprole added in v0.19.0

func (a *DefaultAPIService) GetApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiGetApproleRequest

GetApprole Method for GetApprole

Returns the details for the given approle.

@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 roleId The approle with permissions on the Secrets Manager instance.
@return ApiGetApproleRequest

func (*DefaultAPIService) GetApproleExecute added in v0.19.0

func (a *DefaultAPIService) GetApproleExecute(r ApiGetApproleRequest) (*Approle, error)

Execute executes the request

@return Approle

func (*DefaultAPIService) GetApproleSecretId added in v0.19.0

func (a *DefaultAPIService) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest

GetApproleSecretId Method for GetApproleSecretId

Read the properties of a given secret id by its given version.

@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 roleId The approle with permissions on the Secrets Manager instance.
@param secretIdVersion The version of the secret id.
@return ApiGetApproleSecretIdRequest

func (*DefaultAPIService) GetApproleSecretIdExecute added in v0.19.0

func (a *DefaultAPIService) GetApproleSecretIdExecute(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)

Execute executes the request

@return ApproleSecret

func (*DefaultAPIService) GetApproles added in v0.19.0

func (a *DefaultAPIService) GetApproles(ctx context.Context, projectId string, instanceId string) ApiGetApprolesRequest

GetApproles Method for GetApproles

Returns the approles 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 ApiGetApprolesRequest

func (*DefaultAPIService) GetApprolesExecute added in v0.19.0

func (a *DefaultAPIService) GetApprolesExecute(r ApiGetApprolesRequest) (*ApproleList, error)

Execute executes the request

@return ApproleList

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) ListApproleSecretIds added in v0.19.0

func (a *DefaultAPIService) ListApproleSecretIds(ctx context.Context, projectId string, instanceId string, roleId string) ApiListApproleSecretIdsRequest

ListApproleSecretIds Method for ListApproleSecretIds

Returns the secret id list for the given Secrets Manager instance and approle.

@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 roleId The approle with permissions on the Secrets Manager instance.
@return ApiListApproleSecretIdsRequest

func (*DefaultAPIService) ListApproleSecretIdsExecute added in v0.19.0

func (a *DefaultAPIService) ListApproleSecretIdsExecute(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, error)

Execute executes the request

@return ApproleSecretList

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) UpdateApprole added in v0.19.0

func (a *DefaultAPIService) UpdateApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiUpdateApproleRequest

UpdateApprole Method for UpdateApprole

Updates the details for the given approle.

@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 roleId The approle with permissions on the Secrets Manager instance.
@return ApiUpdateApproleRequest

func (*DefaultAPIService) UpdateApproleExecute added in v0.19.0

func (a *DefaultAPIService) UpdateApproleExecute(r ApiUpdateApproleRequest) (*Approle, error)

Execute executes the request

@return Approle

func (*DefaultAPIService) UpdateApproleSecretId added in v0.19.0

func (a *DefaultAPIService) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest

UpdateApproleSecretId Method for UpdateApproleSecretId

Update the description of a secret id by its given version.

@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 roleId The approle with permissions on the Secrets Manager instance.
@param secretIdVersion The version of the secret id.
@return ApiUpdateApproleSecretIdRequest

func (*DefaultAPIService) UpdateApproleSecretIdExecute added in v0.19.0

func (a *DefaultAPIService) UpdateApproleSecretIdExecute(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, error)

Execute executes the request

@return ApproleSecret

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)
	// CreateApproleExecuteMock can be populated to implement the behavior of the CreateApproleExecute function of this mock
	CreateApproleExecuteMock *func(r ApiCreateApproleRequest) (*Approle, error)
	// CreateApproleSecretIdExecuteMock can be populated to implement the behavior of the CreateApproleSecretIdExecute function of this mock
	CreateApproleSecretIdExecuteMock *func(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, 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
	// DeleteApproleExecuteMock can be populated to implement the behavior of the DeleteApproleExecute function of this mock
	DeleteApproleExecuteMock *func(r ApiDeleteApproleRequest) error
	// DeleteApproleSecretIdExecuteMock can be populated to implement the behavior of the DeleteApproleSecretIdExecute function of this mock
	DeleteApproleSecretIdExecuteMock *func(r ApiDeleteApproleSecretIdRequest) 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)
	// GetApproleExecuteMock can be populated to implement the behavior of the GetApproleExecute function of this mock
	GetApproleExecuteMock *func(r ApiGetApproleRequest) (*Approle, error)
	// GetApproleSecretIdExecuteMock can be populated to implement the behavior of the GetApproleSecretIdExecute function of this mock
	GetApproleSecretIdExecuteMock *func(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)
	// GetApprolesExecuteMock can be populated to implement the behavior of the GetApprolesExecute function of this mock
	GetApprolesExecuteMock *func(r ApiGetApprolesRequest) (*ApproleList, 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)
	// ListApproleSecretIdsExecuteMock can be populated to implement the behavior of the ListApproleSecretIdsExecute function of this mock
	ListApproleSecretIdsExecuteMock *func(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, 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
	// UpdateApproleExecuteMock can be populated to implement the behavior of the UpdateApproleExecute function of this mock
	UpdateApproleExecuteMock *func(r ApiUpdateApproleRequest) (*Approle, error)
	// UpdateApproleSecretIdExecuteMock can be populated to implement the behavior of the UpdateApproleSecretIdExecute function of this mock
	UpdateApproleSecretIdExecuteMock *func(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, 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) CreateApprole added in v0.19.0

func (a DefaultAPIServiceMock) CreateApprole(ctx context.Context, projectId string, instanceId string) ApiCreateApproleRequest

func (DefaultAPIServiceMock) CreateApproleExecute added in v0.19.0

func (a DefaultAPIServiceMock) CreateApproleExecute(r ApiCreateApproleRequest) (*Approle, error)

CreateApproleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateApproleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateApproleSecretId added in v0.19.0

func (a DefaultAPIServiceMock) CreateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string) ApiCreateApproleSecretIdRequest

func (DefaultAPIServiceMock) CreateApproleSecretIdExecute added in v0.19.0

func (a DefaultAPIServiceMock) CreateApproleSecretIdExecute(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, error)

CreateApproleSecretIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateApproleSecretIdExecuteMock 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) DeleteApprole added in v0.19.0

func (a DefaultAPIServiceMock) DeleteApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiDeleteApproleRequest

func (DefaultAPIServiceMock) DeleteApproleExecute added in v0.19.0

func (a DefaultAPIServiceMock) DeleteApproleExecute(r ApiDeleteApproleRequest) error

DeleteApproleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteApproleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteApproleSecretId added in v0.19.0

func (a DefaultAPIServiceMock) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest

func (DefaultAPIServiceMock) DeleteApproleSecretIdExecute added in v0.19.0

func (a DefaultAPIServiceMock) DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) error

DeleteApproleSecretIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteApproleSecretIdExecuteMock 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) GetApprole added in v0.19.0

func (a DefaultAPIServiceMock) GetApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiGetApproleRequest

func (DefaultAPIServiceMock) GetApproleExecute added in v0.19.0

func (a DefaultAPIServiceMock) GetApproleExecute(r ApiGetApproleRequest) (*Approle, error)

GetApproleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApproleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetApproleSecretId added in v0.19.0

func (a DefaultAPIServiceMock) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest

func (DefaultAPIServiceMock) GetApproleSecretIdExecute added in v0.19.0

func (a DefaultAPIServiceMock) GetApproleSecretIdExecute(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)

GetApproleSecretIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApproleSecretIdExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetApproles added in v0.19.0

func (a DefaultAPIServiceMock) GetApproles(ctx context.Context, projectId string, instanceId string) ApiGetApprolesRequest

func (DefaultAPIServiceMock) GetApprolesExecute added in v0.19.0

func (a DefaultAPIServiceMock) GetApprolesExecute(r ApiGetApprolesRequest) (*ApproleList, error)

GetApprolesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApprolesExecuteMock 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) ListApproleSecretIds added in v0.19.0

func (a DefaultAPIServiceMock) ListApproleSecretIds(ctx context.Context, projectId string, instanceId string, roleId string) ApiListApproleSecretIdsRequest

func (DefaultAPIServiceMock) ListApproleSecretIdsExecute added in v0.19.0

func (a DefaultAPIServiceMock) ListApproleSecretIdsExecute(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, error)

ListApproleSecretIdsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListApproleSecretIdsExecuteMock 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) UpdateApprole added in v0.19.0

func (a DefaultAPIServiceMock) UpdateApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiUpdateApproleRequest

func (DefaultAPIServiceMock) UpdateApproleExecute added in v0.19.0

func (a DefaultAPIServiceMock) UpdateApproleExecute(r ApiUpdateApproleRequest) (*Approle, error)

UpdateApproleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateApproleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateApproleSecretId added in v0.19.0

func (a DefaultAPIServiceMock) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest

func (DefaultAPIServiceMock) UpdateApproleSecretIdExecute added in v0.19.0

func (a DefaultAPIServiceMock) UpdateApproleSecretIdExecute(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, error)

UpdateApproleSecretIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateApproleSecretIdExecuteMock 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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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 NullableApprole added in v0.19.0

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

func NewNullableApprole added in v0.19.0

func NewNullableApprole(val *Approle) *NullableApprole

func (NullableApprole) Get added in v0.19.0

func (v NullableApprole) Get() *Approle

func (NullableApprole) IsSet added in v0.19.0

func (v NullableApprole) IsSet() bool

func (NullableApprole) MarshalJSON added in v0.19.0

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

func (*NullableApprole) Set added in v0.19.0

func (v *NullableApprole) Set(val *Approle)

func (*NullableApprole) UnmarshalJSON added in v0.19.0

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

func (*NullableApprole) Unset added in v0.19.0

func (v *NullableApprole) Unset()

type NullableApproleList added in v0.19.0

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

func NewNullableApproleList added in v0.19.0

func NewNullableApproleList(val *ApproleList) *NullableApproleList

func (NullableApproleList) Get added in v0.19.0

func (NullableApproleList) IsSet added in v0.19.0

func (v NullableApproleList) IsSet() bool

func (NullableApproleList) MarshalJSON added in v0.19.0

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

func (*NullableApproleList) Set added in v0.19.0

func (v *NullableApproleList) Set(val *ApproleList)

func (*NullableApproleList) UnmarshalJSON added in v0.19.0

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

func (*NullableApproleList) Unset added in v0.19.0

func (v *NullableApproleList) Unset()

type NullableApproleSecret added in v0.19.0

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

func NewNullableApproleSecret added in v0.19.0

func NewNullableApproleSecret(val *ApproleSecret) *NullableApproleSecret

func (NullableApproleSecret) Get added in v0.19.0

func (NullableApproleSecret) IsSet added in v0.19.0

func (v NullableApproleSecret) IsSet() bool

func (NullableApproleSecret) MarshalJSON added in v0.19.0

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

func (*NullableApproleSecret) Set added in v0.19.0

func (v *NullableApproleSecret) Set(val *ApproleSecret)

func (*NullableApproleSecret) UnmarshalJSON added in v0.19.0

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

func (*NullableApproleSecret) Unset added in v0.19.0

func (v *NullableApproleSecret) Unset()

type NullableApproleSecretList added in v0.19.0

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

func NewNullableApproleSecretList added in v0.19.0

func NewNullableApproleSecretList(val *ApproleSecretList) *NullableApproleSecretList

func (NullableApproleSecretList) Get added in v0.19.0

func (NullableApproleSecretList) IsSet added in v0.19.0

func (v NullableApproleSecretList) IsSet() bool

func (NullableApproleSecretList) MarshalJSON added in v0.19.0

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

func (*NullableApproleSecretList) Set added in v0.19.0

func (*NullableApproleSecretList) UnmarshalJSON added in v0.19.0

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

func (*NullableApproleSecretList) Unset added in v0.19.0

func (v *NullableApproleSecretList) 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 NullableCreateApprolePayload added in v0.19.0

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

func NewNullableCreateApprolePayload added in v0.19.0

func NewNullableCreateApprolePayload(val *CreateApprolePayload) *NullableCreateApprolePayload

func (NullableCreateApprolePayload) Get added in v0.19.0

func (NullableCreateApprolePayload) IsSet added in v0.19.0

func (NullableCreateApprolePayload) MarshalJSON added in v0.19.0

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

func (*NullableCreateApprolePayload) Set added in v0.19.0

func (*NullableCreateApprolePayload) UnmarshalJSON added in v0.19.0

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

func (*NullableCreateApprolePayload) Unset added in v0.19.0

func (v *NullableCreateApprolePayload) Unset()

type NullableCreateApproleSecretIdPayload added in v0.19.0

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

func NewNullableCreateApproleSecretIdPayload added in v0.19.0

func NewNullableCreateApproleSecretIdPayload(val *CreateApproleSecretIdPayload) *NullableCreateApproleSecretIdPayload

func (NullableCreateApproleSecretIdPayload) Get added in v0.19.0

func (NullableCreateApproleSecretIdPayload) IsSet added in v0.19.0

func (NullableCreateApproleSecretIdPayload) MarshalJSON added in v0.19.0

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

func (*NullableCreateApproleSecretIdPayload) Set added in v0.19.0

func (*NullableCreateApproleSecretIdPayload) UnmarshalJSON added in v0.19.0

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

func (*NullableCreateApproleSecretIdPayload) Unset added in v0.19.0

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 NullableUpdateApprolePayload added in v0.19.0

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

func NewNullableUpdateApprolePayload added in v0.19.0

func NewNullableUpdateApprolePayload(val *UpdateApprolePayload) *NullableUpdateApprolePayload

func (NullableUpdateApprolePayload) Get added in v0.19.0

func (NullableUpdateApprolePayload) IsSet added in v0.19.0

func (NullableUpdateApprolePayload) MarshalJSON added in v0.19.0

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

func (*NullableUpdateApprolePayload) Set added in v0.19.0

func (*NullableUpdateApprolePayload) UnmarshalJSON added in v0.19.0

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

func (*NullableUpdateApprolePayload) Unset added in v0.19.0

func (v *NullableUpdateApprolePayload) Unset()

type NullableUpdateApproleSecretIdPayload added in v0.19.0

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

func NewNullableUpdateApproleSecretIdPayload added in v0.19.0

func NewNullableUpdateApproleSecretIdPayload(val *UpdateApproleSecretIdPayload) *NullableUpdateApproleSecretIdPayload

func (NullableUpdateApproleSecretIdPayload) Get added in v0.19.0

func (NullableUpdateApproleSecretIdPayload) IsSet added in v0.19.0

func (NullableUpdateApproleSecretIdPayload) MarshalJSON added in v0.19.0

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

func (*NullableUpdateApproleSecretIdPayload) Set added in v0.19.0

func (*NullableUpdateApproleSecretIdPayload) UnmarshalJSON added in v0.19.0

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

func (*NullableUpdateApproleSecretIdPayload) Unset added in v0.19.0

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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*UpdateACLsPayload) UnmarshalJSON added in v0.16.0

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

type UpdateApprolePayload added in v0.19.0

type UpdateApprolePayload struct {
	// A user chosen description to differentiate between multiple approles.
	Description     *string `json:"description,omitempty"`
	SecretIdNumUses *int32  `json:"secret_id_num_uses,omitempty"`
	// Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour).
	SecretIdTtl *string `json:"secret_id_ttl,omitempty" validate:"regexp=^[0-9]+[smh]$"`
	// Is true if the approle has write access to the secrets engine. Is false for a read-only approle.
	Write                *bool `json:"write,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateApprolePayload struct for UpdateApprolePayload

func NewUpdateApprolePayload added in v0.19.0

func NewUpdateApprolePayload() *UpdateApprolePayload

NewUpdateApprolePayload instantiates a new UpdateApprolePayload 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 NewUpdateApprolePayloadWithDefaults added in v0.19.0

func NewUpdateApprolePayloadWithDefaults() *UpdateApprolePayload

NewUpdateApprolePayloadWithDefaults instantiates a new UpdateApprolePayload 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 (*UpdateApprolePayload) GetDescription added in v0.19.0

func (o *UpdateApprolePayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateApprolePayload) GetDescriptionOk added in v0.19.0

func (o *UpdateApprolePayload) 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 (*UpdateApprolePayload) GetSecretIdNumUses added in v0.19.0

func (o *UpdateApprolePayload) GetSecretIdNumUses() int32

GetSecretIdNumUses returns the SecretIdNumUses field value if set, zero value otherwise.

func (*UpdateApprolePayload) GetSecretIdNumUsesOk added in v0.19.0

func (o *UpdateApprolePayload) GetSecretIdNumUsesOk() (*int32, bool)

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

func (*UpdateApprolePayload) GetSecretIdTtl added in v0.19.0

func (o *UpdateApprolePayload) GetSecretIdTtl() string

GetSecretIdTtl returns the SecretIdTtl field value if set, zero value otherwise.

func (*UpdateApprolePayload) GetSecretIdTtlOk added in v0.19.0

func (o *UpdateApprolePayload) GetSecretIdTtlOk() (*string, bool)

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

func (*UpdateApprolePayload) GetWrite added in v0.19.0

func (o *UpdateApprolePayload) GetWrite() bool

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

func (*UpdateApprolePayload) GetWriteOk added in v0.19.0

func (o *UpdateApprolePayload) 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 (*UpdateApprolePayload) HasDescription added in v0.19.0

func (o *UpdateApprolePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateApprolePayload) HasSecretIdNumUses added in v0.19.0

func (o *UpdateApprolePayload) HasSecretIdNumUses() bool

HasSecretIdNumUses returns a boolean if a field has been set.

func (*UpdateApprolePayload) HasSecretIdTtl added in v0.19.0

func (o *UpdateApprolePayload) HasSecretIdTtl() bool

HasSecretIdTtl returns a boolean if a field has been set.

func (*UpdateApprolePayload) HasWrite added in v0.19.0

func (o *UpdateApprolePayload) HasWrite() bool

HasWrite returns a boolean if a field has been set.

func (UpdateApprolePayload) MarshalJSON added in v0.19.0

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

func (*UpdateApprolePayload) SetDescription added in v0.19.0

func (o *UpdateApprolePayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateApprolePayload) SetSecretIdNumUses added in v0.19.0

func (o *UpdateApprolePayload) SetSecretIdNumUses(v int32)

SetSecretIdNumUses gets a reference to the given int32 and assigns it to the SecretIdNumUses field.

func (*UpdateApprolePayload) SetSecretIdTtl added in v0.19.0

func (o *UpdateApprolePayload) SetSecretIdTtl(v string)

SetSecretIdTtl gets a reference to the given string and assigns it to the SecretIdTtl field.

func (*UpdateApprolePayload) SetWrite added in v0.19.0

func (o *UpdateApprolePayload) SetWrite(v bool)

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

func (UpdateApprolePayload) ToMap added in v0.19.0

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

func (*UpdateApprolePayload) UnmarshalJSON added in v0.19.0

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

type UpdateApproleSecretIdPayload added in v0.19.0

type UpdateApproleSecretIdPayload struct {
	// A user chosen description to differentiate between multiple approle secrets.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateApproleSecretIdPayload struct for UpdateApproleSecretIdPayload

func NewUpdateApproleSecretIdPayload added in v0.19.0

func NewUpdateApproleSecretIdPayload() *UpdateApproleSecretIdPayload

NewUpdateApproleSecretIdPayload instantiates a new UpdateApproleSecretIdPayload 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 NewUpdateApproleSecretIdPayloadWithDefaults added in v0.19.0

func NewUpdateApproleSecretIdPayloadWithDefaults() *UpdateApproleSecretIdPayload

NewUpdateApproleSecretIdPayloadWithDefaults instantiates a new UpdateApproleSecretIdPayload 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 (*UpdateApproleSecretIdPayload) GetDescription added in v0.19.0

func (o *UpdateApproleSecretIdPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateApproleSecretIdPayload) GetDescriptionOk added in v0.19.0

func (o *UpdateApproleSecretIdPayload) 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 (*UpdateApproleSecretIdPayload) HasDescription added in v0.19.0

func (o *UpdateApproleSecretIdPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (UpdateApproleSecretIdPayload) MarshalJSON added in v0.19.0

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

func (*UpdateApproleSecretIdPayload) SetDescription added in v0.19.0

func (o *UpdateApproleSecretIdPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (UpdateApproleSecretIdPayload) ToMap added in v0.19.0

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

func (*UpdateApproleSecretIdPayload) UnmarshalJSON added in v0.19.0

func (o *UpdateApproleSecretIdPayload) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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"`
	AdditionalProperties map[string]interface{}
}

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)

func (*UpdateUserPayload) UnmarshalJSON added in v0.16.0

func (o *UpdateUserPayload) UnmarshalJSON(data []byte) (err 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"`
	AdditionalProperties map[string]interface{}
}

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