v1alphaapi

package
v0.18.1 Latest Latest
Warning

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

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

Documentation ¶

Overview ¶

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index ¶

Constants ¶

This section is empty.

Variables ¶

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

Functions ¶

func CacheExpires ¶

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

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

func IsNil ¶

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration ¶

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool ¶

func PtrBool(v bool) *bool

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

func PtrFloat32 ¶

func PtrFloat32(v float32) *float32

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

func PtrFloat64 ¶

func PtrFloat64(v float64) *float64

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

func PtrInt ¶

func PtrInt(v int) *int

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

func PtrInt32 ¶

func PtrInt32(v int32) *int32

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

func PtrInt64 ¶

func PtrInt64(v int64) *int64

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

func PtrString ¶

func PtrString(v string) *string

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

func PtrTime ¶

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

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

Types ¶

type APIClient ¶

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

APIClient manages communication with the STACKIT Secrets Manager API API v1alpha 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 AddInstanceRoleBindingsPayload ¶

type AddInstanceRoleBindingsPayload struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

AddInstanceRoleBindingsPayload struct for AddInstanceRoleBindingsPayload

func NewAddInstanceRoleBindingsPayload ¶

func NewAddInstanceRoleBindingsPayload(role string, subject string) *AddInstanceRoleBindingsPayload

NewAddInstanceRoleBindingsPayload instantiates a new AddInstanceRoleBindingsPayload 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 NewAddInstanceRoleBindingsPayloadWithDefaults ¶

func NewAddInstanceRoleBindingsPayloadWithDefaults() *AddInstanceRoleBindingsPayload

NewAddInstanceRoleBindingsPayloadWithDefaults instantiates a new AddInstanceRoleBindingsPayload 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 (*AddInstanceRoleBindingsPayload) GetRole ¶

GetRole returns the Role field value

func (*AddInstanceRoleBindingsPayload) GetRoleOk ¶

func (o *AddInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)

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

func (*AddInstanceRoleBindingsPayload) GetSubject ¶

func (o *AddInstanceRoleBindingsPayload) GetSubject() string

GetSubject returns the Subject field value

func (*AddInstanceRoleBindingsPayload) GetSubjectOk ¶

func (o *AddInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)

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

func (AddInstanceRoleBindingsPayload) MarshalJSON ¶

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

func (*AddInstanceRoleBindingsPayload) SetRole ¶

func (o *AddInstanceRoleBindingsPayload) SetRole(v string)

SetRole sets field value

func (*AddInstanceRoleBindingsPayload) SetSubject ¶

func (o *AddInstanceRoleBindingsPayload) SetSubject(v string)

SetSubject sets field value

func (AddInstanceRoleBindingsPayload) ToMap ¶

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

func (*AddInstanceRoleBindingsPayload) UnmarshalJSON ¶

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

type AddSecretGroupRoleBindingsPayload ¶

type AddSecretGroupRoleBindingsPayload struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

AddSecretGroupRoleBindingsPayload struct for AddSecretGroupRoleBindingsPayload

func NewAddSecretGroupRoleBindingsPayload ¶

func NewAddSecretGroupRoleBindingsPayload(role string, subject string) *AddSecretGroupRoleBindingsPayload

NewAddSecretGroupRoleBindingsPayload instantiates a new AddSecretGroupRoleBindingsPayload 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 NewAddSecretGroupRoleBindingsPayloadWithDefaults ¶

func NewAddSecretGroupRoleBindingsPayloadWithDefaults() *AddSecretGroupRoleBindingsPayload

NewAddSecretGroupRoleBindingsPayloadWithDefaults instantiates a new AddSecretGroupRoleBindingsPayload 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 (*AddSecretGroupRoleBindingsPayload) GetRole ¶

GetRole returns the Role field value

func (*AddSecretGroupRoleBindingsPayload) GetRoleOk ¶

func (o *AddSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)

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

func (*AddSecretGroupRoleBindingsPayload) GetSubject ¶

func (o *AddSecretGroupRoleBindingsPayload) GetSubject() string

GetSubject returns the Subject field value

func (*AddSecretGroupRoleBindingsPayload) GetSubjectOk ¶

func (o *AddSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)

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

func (AddSecretGroupRoleBindingsPayload) MarshalJSON ¶

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

func (*AddSecretGroupRoleBindingsPayload) SetRole ¶

SetRole sets field value

func (*AddSecretGroupRoleBindingsPayload) SetSubject ¶

func (o *AddSecretGroupRoleBindingsPayload) SetSubject(v string)

SetSubject sets field value

func (AddSecretGroupRoleBindingsPayload) ToMap ¶

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

func (*AddSecretGroupRoleBindingsPayload) UnmarshalJSON ¶

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

type ApiAddInstanceRoleBindingsRequest ¶

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

func (ApiAddInstanceRoleBindingsRequest) AddInstanceRoleBindingsPayload ¶

func (r ApiAddInstanceRoleBindingsRequest) AddInstanceRoleBindingsPayload(addInstanceRoleBindingsPayload AddInstanceRoleBindingsPayload) ApiAddInstanceRoleBindingsRequest

func (ApiAddInstanceRoleBindingsRequest) Execute ¶

type ApiAddSecretGroupRoleBindingsRequest ¶

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

func (ApiAddSecretGroupRoleBindingsRequest) AddSecretGroupRoleBindingsPayload ¶

func (r ApiAddSecretGroupRoleBindingsRequest) AddSecretGroupRoleBindingsPayload(addSecretGroupRoleBindingsPayload AddSecretGroupRoleBindingsPayload) ApiAddSecretGroupRoleBindingsRequest

func (ApiAddSecretGroupRoleBindingsRequest) Execute ¶

type ApiEditInstanceRoleBindingsRequest ¶

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

func (ApiEditInstanceRoleBindingsRequest) EditInstanceRoleBindingsPayload ¶

func (r ApiEditInstanceRoleBindingsRequest) EditInstanceRoleBindingsPayload(editInstanceRoleBindingsPayload EditInstanceRoleBindingsPayload) ApiEditInstanceRoleBindingsRequest

func (ApiEditInstanceRoleBindingsRequest) Execute ¶

type ApiEditSecretGroupRoleBindingsRequest ¶

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

func (ApiEditSecretGroupRoleBindingsRequest) EditSecretGroupRoleBindingsPayload ¶

func (r ApiEditSecretGroupRoleBindingsRequest) EditSecretGroupRoleBindingsPayload(editSecretGroupRoleBindingsPayload EditSecretGroupRoleBindingsPayload) ApiEditSecretGroupRoleBindingsRequest

func (ApiEditSecretGroupRoleBindingsRequest) Execute ¶

type ApiGetInstanceRoleBindingsRequest ¶

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

func (ApiGetInstanceRoleBindingsRequest) Execute ¶

func (ApiGetInstanceRoleBindingsRequest) GetInstanceRoleBindingsPayload ¶

func (r ApiGetInstanceRoleBindingsRequest) GetInstanceRoleBindingsPayload(getInstanceRoleBindingsPayload GetInstanceRoleBindingsPayload) ApiGetInstanceRoleBindingsRequest

type ApiGetSecretGroupRoleBindingsRequest ¶

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

func (ApiGetSecretGroupRoleBindingsRequest) Execute ¶

func (ApiGetSecretGroupRoleBindingsRequest) GetSecretGroupRoleBindingsPayload ¶

func (r ApiGetSecretGroupRoleBindingsRequest) GetSecretGroupRoleBindingsPayload(getSecretGroupRoleBindingsPayload GetSecretGroupRoleBindingsPayload) ApiGetSecretGroupRoleBindingsRequest

type ApiListInstanceRoleBindingsRequest ¶

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

func (ApiListInstanceRoleBindingsRequest) Execute ¶

type ApiListSecretGroupRoleBindingsRequest ¶

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

func (ApiListSecretGroupRoleBindingsRequest) Execute ¶

type ApiRemoveInstanceRoleBindingsRequest ¶

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

func (ApiRemoveInstanceRoleBindingsRequest) Execute ¶

func (ApiRemoveInstanceRoleBindingsRequest) RemoveInstanceRoleBindingsPayload ¶

func (r ApiRemoveInstanceRoleBindingsRequest) RemoveInstanceRoleBindingsPayload(removeInstanceRoleBindingsPayload RemoveInstanceRoleBindingsPayload) ApiRemoveInstanceRoleBindingsRequest

type ApiRemoveSecretGroupRoleBindingsRequest ¶

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

func (ApiRemoveSecretGroupRoleBindingsRequest) Execute ¶

func (ApiRemoveSecretGroupRoleBindingsRequest) RemoveSecretGroupRoleBindingsPayload ¶

func (r ApiRemoveSecretGroupRoleBindingsRequest) RemoveSecretGroupRoleBindingsPayload(removeSecretGroupRoleBindingsPayload RemoveSecretGroupRoleBindingsPayload) ApiRemoveSecretGroupRoleBindingsRequest

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 CreateSecretgroupPayload ¶

type CreateSecretgroupPayload struct {
	// A user chosen description to differentiate between multiple secret groups.
	Description string `json:"description"`
	// A list of secrets this secret group contains.
	Secrets              []string `json:"secrets"`
	AdditionalProperties map[string]interface{}
}

CreateSecretgroupPayload struct for CreateSecretgroupPayload

func NewCreateSecretgroupPayload ¶

func NewCreateSecretgroupPayload(description string, secrets []string) *CreateSecretgroupPayload

NewCreateSecretgroupPayload instantiates a new CreateSecretgroupPayload 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 NewCreateSecretgroupPayloadWithDefaults ¶

func NewCreateSecretgroupPayloadWithDefaults() *CreateSecretgroupPayload

NewCreateSecretgroupPayloadWithDefaults instantiates a new CreateSecretgroupPayload 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 (*CreateSecretgroupPayload) GetDescription ¶

func (o *CreateSecretgroupPayload) GetDescription() string

GetDescription returns the Description field value

func (*CreateSecretgroupPayload) GetDescriptionOk ¶

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

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

func (*CreateSecretgroupPayload) GetSecrets ¶

func (o *CreateSecretgroupPayload) GetSecrets() []string

GetSecrets returns the Secrets field value

func (*CreateSecretgroupPayload) GetSecretsOk ¶

func (o *CreateSecretgroupPayload) GetSecretsOk() ([]string, bool)

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

func (CreateSecretgroupPayload) MarshalJSON ¶

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

func (*CreateSecretgroupPayload) SetDescription ¶

func (o *CreateSecretgroupPayload) SetDescription(v string)

SetDescription sets field value

func (*CreateSecretgroupPayload) SetSecrets ¶

func (o *CreateSecretgroupPayload) SetSecrets(v []string)

SetSecrets sets field value

func (CreateSecretgroupPayload) ToMap ¶

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

func (*CreateSecretgroupPayload) UnmarshalJSON ¶

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

type DefaultAPI ¶

type DefaultAPI interface {

	/*
		AddInstanceRoleBindings Add a new role binding

		Add role binding to the given resource.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiAddInstanceRoleBindingsRequest
	*/
	AddInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiAddInstanceRoleBindingsRequest

	// AddInstanceRoleBindingsExecute executes the request
	//  @return RoleBinding
	AddInstanceRoleBindingsExecute(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)

	/*
		AddSecretGroupRoleBindings Add a new role binding

		Add role binding to the given resource.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiAddSecretGroupRoleBindingsRequest
	*/
	AddSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiAddSecretGroupRoleBindingsRequest

	// AddSecretGroupRoleBindingsExecute executes the request
	//  @return RoleBinding
	AddSecretGroupRoleBindingsExecute(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)

	/*
		EditInstanceRoleBindings Update an existing role binding

		Update a role binding.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiEditInstanceRoleBindingsRequest
	*/
	EditInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiEditInstanceRoleBindingsRequest

	// EditInstanceRoleBindingsExecute executes the request
	//  @return RoleBinding
	EditInstanceRoleBindingsExecute(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)

	/*
		EditSecretGroupRoleBindings Update an existing role binding

		Update a role binding.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiEditSecretGroupRoleBindingsRequest
	*/
	EditSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiEditSecretGroupRoleBindingsRequest

	// EditSecretGroupRoleBindingsExecute executes the request
	//  @return RoleBinding
	EditSecretGroupRoleBindingsExecute(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)

	/*
		GetInstanceRoleBindings Get role binding of a resource

		Get a specific role binding of the given resource.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiGetInstanceRoleBindingsRequest
	*/
	GetInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiGetInstanceRoleBindingsRequest

	// GetInstanceRoleBindingsExecute executes the request
	//  @return RoleBinding
	GetInstanceRoleBindingsExecute(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)

	/*
		GetSecretGroupRoleBindings Get role binding of a resource

		Get a specific role binding of the given resource.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiGetSecretGroupRoleBindingsRequest
	*/
	GetSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiGetSecretGroupRoleBindingsRequest

	// GetSecretGroupRoleBindingsExecute executes the request
	//  @return RoleBinding
	GetSecretGroupRoleBindingsExecute(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)

	/*
		ListInstanceRoleBindings List role bindings of a resource

		List role bindings of the given resource.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiListInstanceRoleBindingsRequest
	*/
	ListInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiListInstanceRoleBindingsRequest

	// ListInstanceRoleBindingsExecute executes the request
	//  @return ListRoleBindingsResponse
	ListInstanceRoleBindingsExecute(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)

	/*
		ListSecretGroupRoleBindings List role bindings of a resource

		List role bindings of the given resource.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiListSecretGroupRoleBindingsRequest
	*/
	ListSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiListSecretGroupRoleBindingsRequest

	// ListSecretGroupRoleBindingsExecute executes the request
	//  @return ListRoleBindingsResponse
	ListSecretGroupRoleBindingsExecute(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)

	/*
		RemoveInstanceRoleBindings Delete an existing role binding

		Delete a role binding.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiRemoveInstanceRoleBindingsRequest
	*/
	RemoveInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveInstanceRoleBindingsRequest

	// RemoveInstanceRoleBindingsExecute executes the request
	RemoveInstanceRoleBindingsExecute(r ApiRemoveInstanceRoleBindingsRequest) error

	/*
		RemoveSecretGroupRoleBindings Delete an existing role binding

		Delete a role binding.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region
		@param resourceId
		@return ApiRemoveSecretGroupRoleBindingsRequest
	*/
	RemoveSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveSecretGroupRoleBindingsRequest

	// RemoveSecretGroupRoleBindingsExecute executes the request
	RemoveSecretGroupRoleBindingsExecute(r ApiRemoveSecretGroupRoleBindingsRequest) error
}

type DefaultAPIService ¶

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) AddInstanceRoleBindings ¶

func (a *DefaultAPIService) AddInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiAddInstanceRoleBindingsRequest

AddInstanceRoleBindings Add a new role binding

Add role binding to the given resource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiAddInstanceRoleBindingsRequest

func (*DefaultAPIService) AddInstanceRoleBindingsExecute ¶

func (a *DefaultAPIService) AddInstanceRoleBindingsExecute(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)

Execute executes the request

@return RoleBinding

func (*DefaultAPIService) AddSecretGroupRoleBindings ¶

func (a *DefaultAPIService) AddSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiAddSecretGroupRoleBindingsRequest

AddSecretGroupRoleBindings Add a new role binding

Add role binding to the given resource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiAddSecretGroupRoleBindingsRequest

func (*DefaultAPIService) AddSecretGroupRoleBindingsExecute ¶

func (a *DefaultAPIService) AddSecretGroupRoleBindingsExecute(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)

Execute executes the request

@return RoleBinding

func (*DefaultAPIService) EditInstanceRoleBindings ¶

func (a *DefaultAPIService) EditInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiEditInstanceRoleBindingsRequest

EditInstanceRoleBindings Update an existing role binding

Update a role binding.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiEditInstanceRoleBindingsRequest

func (*DefaultAPIService) EditInstanceRoleBindingsExecute ¶

func (a *DefaultAPIService) EditInstanceRoleBindingsExecute(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)

Execute executes the request

@return RoleBinding

func (*DefaultAPIService) EditSecretGroupRoleBindings ¶

func (a *DefaultAPIService) EditSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiEditSecretGroupRoleBindingsRequest

EditSecretGroupRoleBindings Update an existing role binding

Update a role binding.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiEditSecretGroupRoleBindingsRequest

func (*DefaultAPIService) EditSecretGroupRoleBindingsExecute ¶

func (a *DefaultAPIService) EditSecretGroupRoleBindingsExecute(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)

Execute executes the request

@return RoleBinding

func (*DefaultAPIService) GetInstanceRoleBindings ¶

func (a *DefaultAPIService) GetInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiGetInstanceRoleBindingsRequest

GetInstanceRoleBindings Get role binding of a resource

Get a specific role binding of the given resource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiGetInstanceRoleBindingsRequest

func (*DefaultAPIService) GetInstanceRoleBindingsExecute ¶

func (a *DefaultAPIService) GetInstanceRoleBindingsExecute(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)

Execute executes the request

@return RoleBinding

func (*DefaultAPIService) GetSecretGroupRoleBindings ¶

func (a *DefaultAPIService) GetSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiGetSecretGroupRoleBindingsRequest

GetSecretGroupRoleBindings Get role binding of a resource

Get a specific role binding of the given resource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiGetSecretGroupRoleBindingsRequest

func (*DefaultAPIService) GetSecretGroupRoleBindingsExecute ¶

func (a *DefaultAPIService) GetSecretGroupRoleBindingsExecute(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)

Execute executes the request

@return RoleBinding

func (*DefaultAPIService) ListInstanceRoleBindings ¶

func (a *DefaultAPIService) ListInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiListInstanceRoleBindingsRequest

ListInstanceRoleBindings List role bindings of a resource

List role bindings of the given resource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiListInstanceRoleBindingsRequest

func (*DefaultAPIService) ListInstanceRoleBindingsExecute ¶

func (a *DefaultAPIService) ListInstanceRoleBindingsExecute(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)

Execute executes the request

@return ListRoleBindingsResponse

func (*DefaultAPIService) ListSecretGroupRoleBindings ¶

func (a *DefaultAPIService) ListSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiListSecretGroupRoleBindingsRequest

ListSecretGroupRoleBindings List role bindings of a resource

List role bindings of the given resource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiListSecretGroupRoleBindingsRequest

func (*DefaultAPIService) ListSecretGroupRoleBindingsExecute ¶

func (a *DefaultAPIService) ListSecretGroupRoleBindingsExecute(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)

Execute executes the request

@return ListRoleBindingsResponse

func (*DefaultAPIService) RemoveInstanceRoleBindings ¶

func (a *DefaultAPIService) RemoveInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveInstanceRoleBindingsRequest

RemoveInstanceRoleBindings Delete an existing role binding

Delete a role binding.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiRemoveInstanceRoleBindingsRequest

func (*DefaultAPIService) RemoveInstanceRoleBindingsExecute ¶

func (a *DefaultAPIService) RemoveInstanceRoleBindingsExecute(r ApiRemoveInstanceRoleBindingsRequest) error

Execute executes the request

func (*DefaultAPIService) RemoveSecretGroupRoleBindings ¶

func (a *DefaultAPIService) RemoveSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveSecretGroupRoleBindingsRequest

RemoveSecretGroupRoleBindings Delete an existing role binding

Delete a role binding.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiRemoveSecretGroupRoleBindingsRequest

func (*DefaultAPIService) RemoveSecretGroupRoleBindingsExecute ¶

func (a *DefaultAPIService) RemoveSecretGroupRoleBindingsExecute(r ApiRemoveSecretGroupRoleBindingsRequest) error

Execute executes the request

type DefaultAPIServiceMock ¶

type DefaultAPIServiceMock struct {
	// AddInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the AddInstanceRoleBindingsExecute function of this mock
	AddInstanceRoleBindingsExecuteMock *func(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)
	// AddSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the AddSecretGroupRoleBindingsExecute function of this mock
	AddSecretGroupRoleBindingsExecuteMock *func(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)
	// EditInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the EditInstanceRoleBindingsExecute function of this mock
	EditInstanceRoleBindingsExecuteMock *func(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)
	// EditSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the EditSecretGroupRoleBindingsExecute function of this mock
	EditSecretGroupRoleBindingsExecuteMock *func(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)
	// GetInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the GetInstanceRoleBindingsExecute function of this mock
	GetInstanceRoleBindingsExecuteMock *func(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)
	// GetSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the GetSecretGroupRoleBindingsExecute function of this mock
	GetSecretGroupRoleBindingsExecuteMock *func(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)
	// ListInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the ListInstanceRoleBindingsExecute function of this mock
	ListInstanceRoleBindingsExecuteMock *func(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)
	// ListSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the ListSecretGroupRoleBindingsExecute function of this mock
	ListSecretGroupRoleBindingsExecuteMock *func(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)
	// RemoveInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the RemoveInstanceRoleBindingsExecute function of this mock
	RemoveInstanceRoleBindingsExecuteMock *func(r ApiRemoveInstanceRoleBindingsRequest) error
	// RemoveSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the RemoveSecretGroupRoleBindingsExecute function of this mock
	RemoveSecretGroupRoleBindingsExecuteMock *func(r ApiRemoveSecretGroupRoleBindingsRequest) 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) AddInstanceRoleBindings ¶

func (a DefaultAPIServiceMock) AddInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiAddInstanceRoleBindingsRequest

func (DefaultAPIServiceMock) AddInstanceRoleBindingsExecute ¶

func (a DefaultAPIServiceMock) AddInstanceRoleBindingsExecute(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)

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

func (DefaultAPIServiceMock) AddSecretGroupRoleBindings ¶

func (a DefaultAPIServiceMock) AddSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiAddSecretGroupRoleBindingsRequest

func (DefaultAPIServiceMock) AddSecretGroupRoleBindingsExecute ¶

func (a DefaultAPIServiceMock) AddSecretGroupRoleBindingsExecute(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)

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

func (DefaultAPIServiceMock) EditInstanceRoleBindings ¶

func (a DefaultAPIServiceMock) EditInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiEditInstanceRoleBindingsRequest

func (DefaultAPIServiceMock) EditInstanceRoleBindingsExecute ¶

func (a DefaultAPIServiceMock) EditInstanceRoleBindingsExecute(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)

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

func (DefaultAPIServiceMock) EditSecretGroupRoleBindings ¶

func (a DefaultAPIServiceMock) EditSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiEditSecretGroupRoleBindingsRequest

func (DefaultAPIServiceMock) EditSecretGroupRoleBindingsExecute ¶

func (a DefaultAPIServiceMock) EditSecretGroupRoleBindingsExecute(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)

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

func (DefaultAPIServiceMock) GetInstanceRoleBindings ¶

func (a DefaultAPIServiceMock) GetInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiGetInstanceRoleBindingsRequest

func (DefaultAPIServiceMock) GetInstanceRoleBindingsExecute ¶

func (a DefaultAPIServiceMock) GetInstanceRoleBindingsExecute(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)

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

func (DefaultAPIServiceMock) GetSecretGroupRoleBindings ¶

func (a DefaultAPIServiceMock) GetSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiGetSecretGroupRoleBindingsRequest

func (DefaultAPIServiceMock) GetSecretGroupRoleBindingsExecute ¶

func (a DefaultAPIServiceMock) GetSecretGroupRoleBindingsExecute(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)

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

func (DefaultAPIServiceMock) ListInstanceRoleBindings ¶

func (a DefaultAPIServiceMock) ListInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiListInstanceRoleBindingsRequest

func (DefaultAPIServiceMock) ListInstanceRoleBindingsExecute ¶

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

func (DefaultAPIServiceMock) ListSecretGroupRoleBindings ¶

func (a DefaultAPIServiceMock) ListSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiListSecretGroupRoleBindingsRequest

func (DefaultAPIServiceMock) ListSecretGroupRoleBindingsExecute ¶

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

func (DefaultAPIServiceMock) RemoveInstanceRoleBindings ¶

func (a DefaultAPIServiceMock) RemoveInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveInstanceRoleBindingsRequest

func (DefaultAPIServiceMock) RemoveInstanceRoleBindingsExecute ¶

func (a DefaultAPIServiceMock) RemoveInstanceRoleBindingsExecute(r ApiRemoveInstanceRoleBindingsRequest) error

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

func (DefaultAPIServiceMock) RemoveSecretGroupRoleBindings ¶

func (a DefaultAPIServiceMock) RemoveSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveSecretGroupRoleBindingsRequest

func (DefaultAPIServiceMock) RemoveSecretGroupRoleBindingsExecute ¶

func (a DefaultAPIServiceMock) RemoveSecretGroupRoleBindingsExecute(r ApiRemoveSecretGroupRoleBindingsRequest) error

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

type EditInstanceRoleBindingsPayload ¶

type EditInstanceRoleBindingsPayload struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

EditInstanceRoleBindingsPayload struct for EditInstanceRoleBindingsPayload

func NewEditInstanceRoleBindingsPayload ¶

func NewEditInstanceRoleBindingsPayload(role string, subject string) *EditInstanceRoleBindingsPayload

NewEditInstanceRoleBindingsPayload instantiates a new EditInstanceRoleBindingsPayload 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 NewEditInstanceRoleBindingsPayloadWithDefaults ¶

func NewEditInstanceRoleBindingsPayloadWithDefaults() *EditInstanceRoleBindingsPayload

NewEditInstanceRoleBindingsPayloadWithDefaults instantiates a new EditInstanceRoleBindingsPayload 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 (*EditInstanceRoleBindingsPayload) GetRole ¶

GetRole returns the Role field value

func (*EditInstanceRoleBindingsPayload) GetRoleOk ¶

func (o *EditInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)

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

func (*EditInstanceRoleBindingsPayload) GetSubject ¶

func (o *EditInstanceRoleBindingsPayload) GetSubject() string

GetSubject returns the Subject field value

func (*EditInstanceRoleBindingsPayload) GetSubjectOk ¶

func (o *EditInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)

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

func (EditInstanceRoleBindingsPayload) MarshalJSON ¶

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

func (*EditInstanceRoleBindingsPayload) SetRole ¶

SetRole sets field value

func (*EditInstanceRoleBindingsPayload) SetSubject ¶

func (o *EditInstanceRoleBindingsPayload) SetSubject(v string)

SetSubject sets field value

func (EditInstanceRoleBindingsPayload) ToMap ¶

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

func (*EditInstanceRoleBindingsPayload) UnmarshalJSON ¶

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

type EditSecretGroupRoleBindingsPayload ¶

type EditSecretGroupRoleBindingsPayload struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

EditSecretGroupRoleBindingsPayload struct for EditSecretGroupRoleBindingsPayload

func NewEditSecretGroupRoleBindingsPayload ¶

func NewEditSecretGroupRoleBindingsPayload(role string, subject string) *EditSecretGroupRoleBindingsPayload

NewEditSecretGroupRoleBindingsPayload instantiates a new EditSecretGroupRoleBindingsPayload 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 NewEditSecretGroupRoleBindingsPayloadWithDefaults ¶

func NewEditSecretGroupRoleBindingsPayloadWithDefaults() *EditSecretGroupRoleBindingsPayload

NewEditSecretGroupRoleBindingsPayloadWithDefaults instantiates a new EditSecretGroupRoleBindingsPayload 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 (*EditSecretGroupRoleBindingsPayload) GetRole ¶

GetRole returns the Role field value

func (*EditSecretGroupRoleBindingsPayload) GetRoleOk ¶

func (o *EditSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)

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

func (*EditSecretGroupRoleBindingsPayload) GetSubject ¶

GetSubject returns the Subject field value

func (*EditSecretGroupRoleBindingsPayload) GetSubjectOk ¶

func (o *EditSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)

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

func (EditSecretGroupRoleBindingsPayload) MarshalJSON ¶

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

func (*EditSecretGroupRoleBindingsPayload) SetRole ¶

SetRole sets field value

func (*EditSecretGroupRoleBindingsPayload) SetSubject ¶

func (o *EditSecretGroupRoleBindingsPayload) SetSubject(v string)

SetSubject sets field value

func (EditSecretGroupRoleBindingsPayload) ToMap ¶

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

func (*EditSecretGroupRoleBindingsPayload) UnmarshalJSON ¶

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

type ErrorResponse ¶

type ErrorResponse struct {
	Error                string    `json:"error"`
	Message              string    `json:"message"`
	Path                 string    `json:"path"`
	Status               int32     `json:"status"`
	TimeStamp            time.Time `json:"timeStamp"`
	AdditionalProperties map[string]interface{}
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse ¶

func NewErrorResponse(error_ string, message string, path string, status int32, timeStamp time.Time) *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetError ¶

func (o *ErrorResponse) GetError() string

GetError returns the Error field value

func (*ErrorResponse) GetErrorOk ¶

func (o *ErrorResponse) GetErrorOk() (*string, bool)

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

func (*ErrorResponse) GetMessage ¶

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*ErrorResponse) GetMessageOk ¶

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

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

func (*ErrorResponse) GetPath ¶

func (o *ErrorResponse) GetPath() string

GetPath returns the Path field value

func (*ErrorResponse) GetPathOk ¶

func (o *ErrorResponse) GetPathOk() (*string, bool)

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

func (*ErrorResponse) GetStatus ¶

func (o *ErrorResponse) GetStatus() int32

GetStatus returns the Status field value

func (*ErrorResponse) GetStatusOk ¶

func (o *ErrorResponse) GetStatusOk() (*int32, bool)

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

func (*ErrorResponse) GetTimeStamp ¶

func (o *ErrorResponse) GetTimeStamp() time.Time

GetTimeStamp returns the TimeStamp field value

func (*ErrorResponse) GetTimeStampOk ¶

func (o *ErrorResponse) GetTimeStampOk() (*time.Time, bool)

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

func (ErrorResponse) MarshalJSON ¶

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

func (*ErrorResponse) SetError ¶

func (o *ErrorResponse) SetError(v string)

SetError sets field value

func (*ErrorResponse) SetMessage ¶

func (o *ErrorResponse) SetMessage(v string)

SetMessage sets field value

func (*ErrorResponse) SetPath ¶

func (o *ErrorResponse) SetPath(v string)

SetPath sets field value

func (*ErrorResponse) SetStatus ¶

func (o *ErrorResponse) SetStatus(v int32)

SetStatus sets field value

func (*ErrorResponse) SetTimeStamp ¶

func (o *ErrorResponse) SetTimeStamp(v time.Time)

SetTimeStamp sets field value

func (ErrorResponse) ToMap ¶

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

func (*ErrorResponse) UnmarshalJSON ¶

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

type GetInstanceRoleBindingsPayload ¶

type GetInstanceRoleBindingsPayload struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

GetInstanceRoleBindingsPayload struct for GetInstanceRoleBindingsPayload

func NewGetInstanceRoleBindingsPayload ¶

func NewGetInstanceRoleBindingsPayload(role string, subject string) *GetInstanceRoleBindingsPayload

NewGetInstanceRoleBindingsPayload instantiates a new GetInstanceRoleBindingsPayload 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 NewGetInstanceRoleBindingsPayloadWithDefaults ¶

func NewGetInstanceRoleBindingsPayloadWithDefaults() *GetInstanceRoleBindingsPayload

NewGetInstanceRoleBindingsPayloadWithDefaults instantiates a new GetInstanceRoleBindingsPayload 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 (*GetInstanceRoleBindingsPayload) GetRole ¶

GetRole returns the Role field value

func (*GetInstanceRoleBindingsPayload) GetRoleOk ¶

func (o *GetInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)

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

func (*GetInstanceRoleBindingsPayload) GetSubject ¶

func (o *GetInstanceRoleBindingsPayload) GetSubject() string

GetSubject returns the Subject field value

func (*GetInstanceRoleBindingsPayload) GetSubjectOk ¶

func (o *GetInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)

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

func (GetInstanceRoleBindingsPayload) MarshalJSON ¶

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

func (*GetInstanceRoleBindingsPayload) SetRole ¶

func (o *GetInstanceRoleBindingsPayload) SetRole(v string)

SetRole sets field value

func (*GetInstanceRoleBindingsPayload) SetSubject ¶

func (o *GetInstanceRoleBindingsPayload) SetSubject(v string)

SetSubject sets field value

func (GetInstanceRoleBindingsPayload) ToMap ¶

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

func (*GetInstanceRoleBindingsPayload) UnmarshalJSON ¶

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

type GetSecretGroupRoleBindingsPayload ¶

type GetSecretGroupRoleBindingsPayload struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

GetSecretGroupRoleBindingsPayload struct for GetSecretGroupRoleBindingsPayload

func NewGetSecretGroupRoleBindingsPayload ¶

func NewGetSecretGroupRoleBindingsPayload(role string, subject string) *GetSecretGroupRoleBindingsPayload

NewGetSecretGroupRoleBindingsPayload instantiates a new GetSecretGroupRoleBindingsPayload 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 NewGetSecretGroupRoleBindingsPayloadWithDefaults ¶

func NewGetSecretGroupRoleBindingsPayloadWithDefaults() *GetSecretGroupRoleBindingsPayload

NewGetSecretGroupRoleBindingsPayloadWithDefaults instantiates a new GetSecretGroupRoleBindingsPayload 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 (*GetSecretGroupRoleBindingsPayload) GetRole ¶

GetRole returns the Role field value

func (*GetSecretGroupRoleBindingsPayload) GetRoleOk ¶

func (o *GetSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)

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

func (*GetSecretGroupRoleBindingsPayload) GetSubject ¶

func (o *GetSecretGroupRoleBindingsPayload) GetSubject() string

GetSubject returns the Subject field value

func (*GetSecretGroupRoleBindingsPayload) GetSubjectOk ¶

func (o *GetSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)

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

func (GetSecretGroupRoleBindingsPayload) MarshalJSON ¶

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

func (*GetSecretGroupRoleBindingsPayload) SetRole ¶

SetRole sets field value

func (*GetSecretGroupRoleBindingsPayload) SetSubject ¶

func (o *GetSecretGroupRoleBindingsPayload) SetSubject(v string)

SetSubject sets field value

func (GetSecretGroupRoleBindingsPayload) ToMap ¶

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

func (*GetSecretGroupRoleBindingsPayload) UnmarshalJSON ¶

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

type ListRoleBindingsResponse ¶

type ListRoleBindingsResponse struct {
	RoleBindings         []RoleBinding `json:"roleBindings,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListRoleBindingsResponse struct for ListRoleBindingsResponse

func NewListRoleBindingsResponse ¶

func NewListRoleBindingsResponse() *ListRoleBindingsResponse

NewListRoleBindingsResponse instantiates a new ListRoleBindingsResponse 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 NewListRoleBindingsResponseWithDefaults ¶

func NewListRoleBindingsResponseWithDefaults() *ListRoleBindingsResponse

NewListRoleBindingsResponseWithDefaults instantiates a new ListRoleBindingsResponse 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 (*ListRoleBindingsResponse) GetRoleBindings ¶

func (o *ListRoleBindingsResponse) GetRoleBindings() []RoleBinding

GetRoleBindings returns the RoleBindings field value if set, zero value otherwise.

func (*ListRoleBindingsResponse) GetRoleBindingsOk ¶

func (o *ListRoleBindingsResponse) GetRoleBindingsOk() ([]RoleBinding, bool)

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

func (*ListRoleBindingsResponse) HasRoleBindings ¶

func (o *ListRoleBindingsResponse) HasRoleBindings() bool

HasRoleBindings returns a boolean if a field has been set.

func (ListRoleBindingsResponse) MarshalJSON ¶

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

func (*ListRoleBindingsResponse) SetRoleBindings ¶

func (o *ListRoleBindingsResponse) SetRoleBindings(v []RoleBinding)

SetRoleBindings gets a reference to the given []RoleBinding and assigns it to the RoleBindings field.

func (ListRoleBindingsResponse) ToMap ¶

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

func (*ListRoleBindingsResponse) UnmarshalJSON ¶

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

type ListSecretgroupsResponse ¶

type ListSecretgroupsResponse struct {
	Secretgroups         []Secretgroup `json:"secretgroups,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListSecretgroupsResponse struct for ListSecretgroupsResponse

func NewListSecretgroupsResponse ¶

func NewListSecretgroupsResponse() *ListSecretgroupsResponse

NewListSecretgroupsResponse instantiates a new ListSecretgroupsResponse 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 NewListSecretgroupsResponseWithDefaults ¶

func NewListSecretgroupsResponseWithDefaults() *ListSecretgroupsResponse

NewListSecretgroupsResponseWithDefaults instantiates a new ListSecretgroupsResponse 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 (*ListSecretgroupsResponse) GetSecretgroups ¶

func (o *ListSecretgroupsResponse) GetSecretgroups() []Secretgroup

GetSecretgroups returns the Secretgroups field value if set, zero value otherwise.

func (*ListSecretgroupsResponse) GetSecretgroupsOk ¶

func (o *ListSecretgroupsResponse) GetSecretgroupsOk() ([]Secretgroup, bool)

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

func (*ListSecretgroupsResponse) HasSecretgroups ¶

func (o *ListSecretgroupsResponse) HasSecretgroups() bool

HasSecretgroups returns a boolean if a field has been set.

func (ListSecretgroupsResponse) MarshalJSON ¶

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

func (*ListSecretgroupsResponse) SetSecretgroups ¶

func (o *ListSecretgroupsResponse) SetSecretgroups(v []Secretgroup)

SetSecretgroups gets a reference to the given []Secretgroup and assigns it to the Secretgroups field.

func (ListSecretgroupsResponse) ToMap ¶

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

func (*ListSecretgroupsResponse) UnmarshalJSON ¶

func (o *ListSecretgroupsResponse) 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 NullableAddInstanceRoleBindingsPayload ¶

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

func (NullableAddInstanceRoleBindingsPayload) Get ¶

func (NullableAddInstanceRoleBindingsPayload) IsSet ¶

func (NullableAddInstanceRoleBindingsPayload) MarshalJSON ¶

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

func (*NullableAddInstanceRoleBindingsPayload) Set ¶

func (*NullableAddInstanceRoleBindingsPayload) UnmarshalJSON ¶

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

func (*NullableAddInstanceRoleBindingsPayload) Unset ¶

type NullableAddSecretGroupRoleBindingsPayload ¶

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

func (NullableAddSecretGroupRoleBindingsPayload) Get ¶

func (NullableAddSecretGroupRoleBindingsPayload) IsSet ¶

func (NullableAddSecretGroupRoleBindingsPayload) MarshalJSON ¶

func (*NullableAddSecretGroupRoleBindingsPayload) Set ¶

func (*NullableAddSecretGroupRoleBindingsPayload) UnmarshalJSON ¶

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

func (*NullableAddSecretGroupRoleBindingsPayload) 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 NullableCreateSecretgroupPayload ¶

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

func (NullableCreateSecretgroupPayload) Get ¶

func (NullableCreateSecretgroupPayload) IsSet ¶

func (NullableCreateSecretgroupPayload) MarshalJSON ¶

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

func (*NullableCreateSecretgroupPayload) Set ¶

func (*NullableCreateSecretgroupPayload) UnmarshalJSON ¶

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

func (*NullableCreateSecretgroupPayload) Unset ¶

type NullableEditInstanceRoleBindingsPayload ¶

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

func (NullableEditInstanceRoleBindingsPayload) Get ¶

func (NullableEditInstanceRoleBindingsPayload) IsSet ¶

func (NullableEditInstanceRoleBindingsPayload) MarshalJSON ¶

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

func (*NullableEditInstanceRoleBindingsPayload) Set ¶

func (*NullableEditInstanceRoleBindingsPayload) UnmarshalJSON ¶

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

func (*NullableEditInstanceRoleBindingsPayload) Unset ¶

type NullableEditSecretGroupRoleBindingsPayload ¶

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

func (NullableEditSecretGroupRoleBindingsPayload) Get ¶

func (NullableEditSecretGroupRoleBindingsPayload) IsSet ¶

func (NullableEditSecretGroupRoleBindingsPayload) MarshalJSON ¶

func (*NullableEditSecretGroupRoleBindingsPayload) Set ¶

func (*NullableEditSecretGroupRoleBindingsPayload) UnmarshalJSON ¶

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

func (*NullableEditSecretGroupRoleBindingsPayload) Unset ¶

type NullableErrorResponse ¶

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

func NewNullableErrorResponse ¶

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get ¶

func (NullableErrorResponse) IsSet ¶

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON ¶

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

func (*NullableErrorResponse) Set ¶

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON ¶

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

func (*NullableErrorResponse) Unset ¶

func (v *NullableErrorResponse) 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 NullableGetInstanceRoleBindingsPayload ¶

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

func (NullableGetInstanceRoleBindingsPayload) Get ¶

func (NullableGetInstanceRoleBindingsPayload) IsSet ¶

func (NullableGetInstanceRoleBindingsPayload) MarshalJSON ¶

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

func (*NullableGetInstanceRoleBindingsPayload) Set ¶

func (*NullableGetInstanceRoleBindingsPayload) UnmarshalJSON ¶

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

func (*NullableGetInstanceRoleBindingsPayload) Unset ¶

type NullableGetSecretGroupRoleBindingsPayload ¶

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

func (NullableGetSecretGroupRoleBindingsPayload) Get ¶

func (NullableGetSecretGroupRoleBindingsPayload) IsSet ¶

func (NullableGetSecretGroupRoleBindingsPayload) MarshalJSON ¶

func (*NullableGetSecretGroupRoleBindingsPayload) Set ¶

func (*NullableGetSecretGroupRoleBindingsPayload) UnmarshalJSON ¶

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

func (*NullableGetSecretGroupRoleBindingsPayload) 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 NullableListRoleBindingsResponse ¶

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

func (NullableListRoleBindingsResponse) Get ¶

func (NullableListRoleBindingsResponse) IsSet ¶

func (NullableListRoleBindingsResponse) MarshalJSON ¶

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

func (*NullableListRoleBindingsResponse) Set ¶

func (*NullableListRoleBindingsResponse) UnmarshalJSON ¶

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

func (*NullableListRoleBindingsResponse) Unset ¶

type NullableListSecretgroupsResponse ¶

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

func (NullableListSecretgroupsResponse) Get ¶

func (NullableListSecretgroupsResponse) IsSet ¶

func (NullableListSecretgroupsResponse) MarshalJSON ¶

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

func (*NullableListSecretgroupsResponse) Set ¶

func (*NullableListSecretgroupsResponse) UnmarshalJSON ¶

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

func (*NullableListSecretgroupsResponse) 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 NullableRemoveInstanceRoleBindingsPayload ¶

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

func (NullableRemoveInstanceRoleBindingsPayload) Get ¶

func (NullableRemoveInstanceRoleBindingsPayload) IsSet ¶

func (NullableRemoveInstanceRoleBindingsPayload) MarshalJSON ¶

func (*NullableRemoveInstanceRoleBindingsPayload) Set ¶

func (*NullableRemoveInstanceRoleBindingsPayload) UnmarshalJSON ¶

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

func (*NullableRemoveInstanceRoleBindingsPayload) Unset ¶

type NullableRemoveSecretGroupRoleBindingsPayload ¶

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

func (NullableRemoveSecretGroupRoleBindingsPayload) Get ¶

func (NullableRemoveSecretGroupRoleBindingsPayload) IsSet ¶

func (NullableRemoveSecretGroupRoleBindingsPayload) MarshalJSON ¶

func (*NullableRemoveSecretGroupRoleBindingsPayload) Set ¶

func (*NullableRemoveSecretGroupRoleBindingsPayload) UnmarshalJSON ¶

func (*NullableRemoveSecretGroupRoleBindingsPayload) Unset ¶

type NullableRoleBinding ¶

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

func NewNullableRoleBinding ¶

func NewNullableRoleBinding(val *RoleBinding) *NullableRoleBinding

func (NullableRoleBinding) Get ¶

func (NullableRoleBinding) IsSet ¶

func (v NullableRoleBinding) IsSet() bool

func (NullableRoleBinding) MarshalJSON ¶

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

func (*NullableRoleBinding) Set ¶

func (v *NullableRoleBinding) Set(val *RoleBinding)

func (*NullableRoleBinding) UnmarshalJSON ¶

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

func (*NullableRoleBinding) Unset ¶

func (v *NullableRoleBinding) Unset()

type NullableSecretgroup ¶

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

func NewNullableSecretgroup ¶

func NewNullableSecretgroup(val *Secretgroup) *NullableSecretgroup

func (NullableSecretgroup) Get ¶

func (NullableSecretgroup) IsSet ¶

func (v NullableSecretgroup) IsSet() bool

func (NullableSecretgroup) MarshalJSON ¶

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

func (*NullableSecretgroup) Set ¶

func (v *NullableSecretgroup) Set(val *Secretgroup)

func (*NullableSecretgroup) UnmarshalJSON ¶

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

func (*NullableSecretgroup) Unset ¶

func (v *NullableSecretgroup) 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 NullableUpdateSecretgroupPayload ¶

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

func (NullableUpdateSecretgroupPayload) Get ¶

func (NullableUpdateSecretgroupPayload) IsSet ¶

func (NullableUpdateSecretgroupPayload) MarshalJSON ¶

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

func (*NullableUpdateSecretgroupPayload) Set ¶

func (*NullableUpdateSecretgroupPayload) UnmarshalJSON ¶

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

func (*NullableUpdateSecretgroupPayload) Unset ¶

type RemoveInstanceRoleBindingsPayload ¶

type RemoveInstanceRoleBindingsPayload struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

RemoveInstanceRoleBindingsPayload struct for RemoveInstanceRoleBindingsPayload

func NewRemoveInstanceRoleBindingsPayload ¶

func NewRemoveInstanceRoleBindingsPayload(role string, subject string) *RemoveInstanceRoleBindingsPayload

NewRemoveInstanceRoleBindingsPayload instantiates a new RemoveInstanceRoleBindingsPayload 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 NewRemoveInstanceRoleBindingsPayloadWithDefaults ¶

func NewRemoveInstanceRoleBindingsPayloadWithDefaults() *RemoveInstanceRoleBindingsPayload

NewRemoveInstanceRoleBindingsPayloadWithDefaults instantiates a new RemoveInstanceRoleBindingsPayload 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 (*RemoveInstanceRoleBindingsPayload) GetRole ¶

GetRole returns the Role field value

func (*RemoveInstanceRoleBindingsPayload) GetRoleOk ¶

func (o *RemoveInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)

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

func (*RemoveInstanceRoleBindingsPayload) GetSubject ¶

func (o *RemoveInstanceRoleBindingsPayload) GetSubject() string

GetSubject returns the Subject field value

func (*RemoveInstanceRoleBindingsPayload) GetSubjectOk ¶

func (o *RemoveInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)

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

func (RemoveInstanceRoleBindingsPayload) MarshalJSON ¶

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

func (*RemoveInstanceRoleBindingsPayload) SetRole ¶

SetRole sets field value

func (*RemoveInstanceRoleBindingsPayload) SetSubject ¶

func (o *RemoveInstanceRoleBindingsPayload) SetSubject(v string)

SetSubject sets field value

func (RemoveInstanceRoleBindingsPayload) ToMap ¶

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

func (*RemoveInstanceRoleBindingsPayload) UnmarshalJSON ¶

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

type RemoveSecretGroupRoleBindingsPayload ¶

type RemoveSecretGroupRoleBindingsPayload struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

RemoveSecretGroupRoleBindingsPayload struct for RemoveSecretGroupRoleBindingsPayload

func NewRemoveSecretGroupRoleBindingsPayload ¶

func NewRemoveSecretGroupRoleBindingsPayload(role string, subject string) *RemoveSecretGroupRoleBindingsPayload

NewRemoveSecretGroupRoleBindingsPayload instantiates a new RemoveSecretGroupRoleBindingsPayload 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 NewRemoveSecretGroupRoleBindingsPayloadWithDefaults ¶

func NewRemoveSecretGroupRoleBindingsPayloadWithDefaults() *RemoveSecretGroupRoleBindingsPayload

NewRemoveSecretGroupRoleBindingsPayloadWithDefaults instantiates a new RemoveSecretGroupRoleBindingsPayload 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 (*RemoveSecretGroupRoleBindingsPayload) GetRole ¶

GetRole returns the Role field value

func (*RemoveSecretGroupRoleBindingsPayload) GetRoleOk ¶

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

func (*RemoveSecretGroupRoleBindingsPayload) GetSubject ¶

GetSubject returns the Subject field value

func (*RemoveSecretGroupRoleBindingsPayload) GetSubjectOk ¶

func (o *RemoveSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)

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

func (RemoveSecretGroupRoleBindingsPayload) MarshalJSON ¶

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

func (*RemoveSecretGroupRoleBindingsPayload) SetRole ¶

SetRole sets field value

func (*RemoveSecretGroupRoleBindingsPayload) SetSubject ¶

SetSubject sets field value

func (RemoveSecretGroupRoleBindingsPayload) ToMap ¶

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

func (*RemoveSecretGroupRoleBindingsPayload) UnmarshalJSON ¶

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

type RoleBinding ¶

type RoleBinding struct {
	Role                 string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

RoleBinding struct for RoleBinding

func NewRoleBinding ¶

func NewRoleBinding(role string, subject string) *RoleBinding

NewRoleBinding instantiates a new RoleBinding 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 NewRoleBindingWithDefaults ¶

func NewRoleBindingWithDefaults() *RoleBinding

NewRoleBindingWithDefaults instantiates a new RoleBinding 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 (*RoleBinding) GetRole ¶

func (o *RoleBinding) GetRole() string

GetRole returns the Role field value

func (*RoleBinding) GetRoleOk ¶

func (o *RoleBinding) GetRoleOk() (*string, bool)

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

func (*RoleBinding) GetSubject ¶

func (o *RoleBinding) GetSubject() string

GetSubject returns the Subject field value

func (*RoleBinding) GetSubjectOk ¶

func (o *RoleBinding) GetSubjectOk() (*string, bool)

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

func (RoleBinding) MarshalJSON ¶

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

func (*RoleBinding) SetRole ¶

func (o *RoleBinding) SetRole(v string)

SetRole sets field value

func (*RoleBinding) SetSubject ¶

func (o *RoleBinding) SetSubject(v string)

SetSubject sets field value

func (RoleBinding) ToMap ¶

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

func (*RoleBinding) UnmarshalJSON ¶

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

type Secretgroup ¶

type Secretgroup struct {
	// A user chosen description to differentiate between multiple secret groups.
	Description string `json:"description"`
	// A auto generated unique id which identifies the secret group.
	Id string `json:"id"`
	// A list of secrets this secret group contains.
	Secrets              []string `json:"secrets"`
	AdditionalProperties map[string]interface{}
}

Secretgroup struct for Secretgroup

func NewSecretgroup ¶

func NewSecretgroup(description string, id string, secrets []string) *Secretgroup

NewSecretgroup instantiates a new Secretgroup 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 NewSecretgroupWithDefaults ¶

func NewSecretgroupWithDefaults() *Secretgroup

NewSecretgroupWithDefaults instantiates a new Secretgroup 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 (*Secretgroup) GetDescription ¶

func (o *Secretgroup) GetDescription() string

GetDescription returns the Description field value

func (*Secretgroup) GetDescriptionOk ¶

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

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

func (*Secretgroup) GetId ¶

func (o *Secretgroup) GetId() string

GetId returns the Id field value

func (*Secretgroup) GetIdOk ¶

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

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

func (*Secretgroup) GetSecrets ¶

func (o *Secretgroup) GetSecrets() []string

GetSecrets returns the Secrets field value

func (*Secretgroup) GetSecretsOk ¶

func (o *Secretgroup) GetSecretsOk() ([]string, bool)

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

func (Secretgroup) MarshalJSON ¶

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

func (*Secretgroup) SetDescription ¶

func (o *Secretgroup) SetDescription(v string)

SetDescription sets field value

func (*Secretgroup) SetId ¶

func (o *Secretgroup) SetId(v string)

SetId sets field value

func (*Secretgroup) SetSecrets ¶

func (o *Secretgroup) SetSecrets(v []string)

SetSecrets sets field value

func (Secretgroup) ToMap ¶

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

func (*Secretgroup) UnmarshalJSON ¶

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

type UpdateSecretgroupPayload ¶

type UpdateSecretgroupPayload struct {
	// A user chosen description to differentiate between multiple secret groups.
	Description *string `json:"description,omitempty"`
	// A list of secrets this secret group contains.
	Secrets              []string `json:"secrets,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateSecretgroupPayload struct for UpdateSecretgroupPayload

func NewUpdateSecretgroupPayload ¶

func NewUpdateSecretgroupPayload() *UpdateSecretgroupPayload

NewUpdateSecretgroupPayload instantiates a new UpdateSecretgroupPayload 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 NewUpdateSecretgroupPayloadWithDefaults ¶

func NewUpdateSecretgroupPayloadWithDefaults() *UpdateSecretgroupPayload

NewUpdateSecretgroupPayloadWithDefaults instantiates a new UpdateSecretgroupPayload 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 (*UpdateSecretgroupPayload) GetDescription ¶

func (o *UpdateSecretgroupPayload) GetDescription() string

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

func (*UpdateSecretgroupPayload) GetDescriptionOk ¶

func (o *UpdateSecretgroupPayload) 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 (*UpdateSecretgroupPayload) GetSecrets ¶

func (o *UpdateSecretgroupPayload) GetSecrets() []string

GetSecrets returns the Secrets field value if set, zero value otherwise.

func (*UpdateSecretgroupPayload) GetSecretsOk ¶

func (o *UpdateSecretgroupPayload) GetSecretsOk() ([]string, bool)

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

func (*UpdateSecretgroupPayload) HasDescription ¶

func (o *UpdateSecretgroupPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateSecretgroupPayload) HasSecrets ¶

func (o *UpdateSecretgroupPayload) HasSecrets() bool

HasSecrets returns a boolean if a field has been set.

func (UpdateSecretgroupPayload) MarshalJSON ¶

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

func (*UpdateSecretgroupPayload) SetDescription ¶

func (o *UpdateSecretgroupPayload) SetDescription(v string)

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

func (*UpdateSecretgroupPayload) SetSecrets ¶

func (o *UpdateSecretgroupPayload) SetSecrets(v []string)

SetSecrets gets a reference to the given []string and assigns it to the Secrets field.

func (UpdateSecretgroupPayload) ToMap ¶

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

func (*UpdateSecretgroupPayload) UnmarshalJSON ¶

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

Jump to

Keyboard shortcuts

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