v1api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 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)`)
)
View Source
var AllowedInstanceStateEnumValues = []InstanceState{
	"pending",
	"creating",
	"updating",
	"active",
	"deleting",
	"impaired",
	"reconciling",
	"unknown_default_open_api",
}

All allowed values of InstanceState enum

View Source
var AllowedTokenStateEnumValues = []TokenState{
	"creating",
	"active",
	"deleting",
	"inactive",
	"unknown_default_open_api",
}

All allowed values of TokenState enum

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 AI Model Experiments API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

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

NewAPIClient creates a new API client. 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 ApiCreateInstanceRequest

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

func (ApiCreateInstanceRequest) CreateInstancePayload

func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest

func (ApiCreateInstanceRequest) Execute

type ApiCreateInstanceTokenRequest

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

func (ApiCreateInstanceTokenRequest) CreateInstanceTokenPayload

func (r ApiCreateInstanceTokenRequest) CreateInstanceTokenPayload(createInstanceTokenPayload CreateInstanceTokenPayload) ApiCreateInstanceTokenRequest

func (ApiCreateInstanceTokenRequest) Execute

type ApiDeleteInstanceRequest

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

func (ApiDeleteInstanceRequest) Execute

type ApiDeleteInstanceTokenRequest

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

func (ApiDeleteInstanceTokenRequest) Execute

type ApiGetInstanceRequest

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

func (ApiGetInstanceRequest) Execute

type ApiGetInstanceTokenRequest

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

func (ApiGetInstanceTokenRequest) Execute

type ApiListInstanceTokensRequest

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

func (ApiListInstanceTokensRequest) Execute

type ApiListInstancesRequest

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

func (ApiListInstancesRequest) Execute

type ApiPartialUpdateInstanceRequest

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

func (ApiPartialUpdateInstanceRequest) Execute

func (ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload

func (r ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload(partialUpdateInstancePayload PartialUpdateInstancePayload) ApiPartialUpdateInstanceRequest

type ApiPartialUpdateInstanceTokenRequest

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

func (ApiPartialUpdateInstanceTokenRequest) Execute

func (ApiPartialUpdateInstanceTokenRequest) PartialUpdateInstanceTokenPayload

func (r ApiPartialUpdateInstanceTokenRequest) PartialUpdateInstanceTokenPayload(partialUpdateInstanceTokenPayload PartialUpdateInstanceTokenPayload) ApiPartialUpdateInstanceTokenRequest

type CreateInstancePayload

type CreateInstancePayload struct {
	// The duration to retain experiments marked for deletion before they are permanently purged. Min: 1d, Max: 90d.
	DeletedExperimentRetention *string `` /* 160-byte string literal not displayed */
	Description                *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]*$"`
	// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels               *map[string]string `json:"labels,omitempty"`
	Name                 string             `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
	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) GetDeletedExperimentRetention

func (o *CreateInstancePayload) GetDeletedExperimentRetention() string

GetDeletedExperimentRetention returns the DeletedExperimentRetention field value if set, zero value otherwise.

func (*CreateInstancePayload) GetDeletedExperimentRetentionOk

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

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

func (*CreateInstancePayload) GetDescription

func (o *CreateInstancePayload) GetDescription() string

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

func (*CreateInstancePayload) GetDescriptionOk

func (o *CreateInstancePayload) 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 (*CreateInstancePayload) GetLabels

func (o *CreateInstancePayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateInstancePayload) GetLabelsOk

func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels 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) HasDeletedExperimentRetention

func (o *CreateInstancePayload) HasDeletedExperimentRetention() bool

HasDeletedExperimentRetention returns a boolean if a field has been set.

func (*CreateInstancePayload) HasDescription

func (o *CreateInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateInstancePayload) HasLabels

func (o *CreateInstancePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (CreateInstancePayload) MarshalJSON

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

func (*CreateInstancePayload) SetDeletedExperimentRetention

func (o *CreateInstancePayload) SetDeletedExperimentRetention(v string)

SetDeletedExperimentRetention gets a reference to the given string and assigns it to the DeletedExperimentRetention field.

func (*CreateInstancePayload) SetDescription

func (o *CreateInstancePayload) SetDescription(v string)

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

func (*CreateInstancePayload) SetLabels

func (o *CreateInstancePayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels 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 CreateInstanceResponse

type CreateInstanceResponse struct {
	Instance             Instance `json:"instance"`
	Message              *string  `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateInstanceResponse struct for CreateInstanceResponse

func NewCreateInstanceResponse

func NewCreateInstanceResponse(instance Instance) *CreateInstanceResponse

NewCreateInstanceResponse instantiates a new CreateInstanceResponse 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 NewCreateInstanceResponseWithDefaults

func NewCreateInstanceResponseWithDefaults() *CreateInstanceResponse

NewCreateInstanceResponseWithDefaults instantiates a new CreateInstanceResponse 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 (*CreateInstanceResponse) GetInstance

func (o *CreateInstanceResponse) GetInstance() Instance

GetInstance returns the Instance field value

func (*CreateInstanceResponse) GetInstanceOk

func (o *CreateInstanceResponse) GetInstanceOk() (*Instance, bool)

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

func (*CreateInstanceResponse) GetMessage

func (o *CreateInstanceResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateInstanceResponse) GetMessageOk

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

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

func (*CreateInstanceResponse) HasMessage

func (o *CreateInstanceResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CreateInstanceResponse) MarshalJSON

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

func (*CreateInstanceResponse) SetInstance

func (o *CreateInstanceResponse) SetInstance(v Instance)

SetInstance sets field value

func (*CreateInstanceResponse) SetMessage

func (o *CreateInstanceResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (CreateInstanceResponse) ToMap

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

func (*CreateInstanceResponse) UnmarshalJSON

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

type CreateInstanceTokenPayload

type CreateInstanceTokenPayload struct {
	Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]*$"`
	// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels *map[string]string `json:"labels,omitempty"`
	Name   string             `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
	// time to live duration. Must be valid duration string. Maximum allowed duration is 6 months. If not set, defaults to 6 months.
	TtlDuration          *string `json:"ttlDuration,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateInstanceTokenPayload struct for CreateInstanceTokenPayload

func NewCreateInstanceTokenPayload

func NewCreateInstanceTokenPayload(name string) *CreateInstanceTokenPayload

NewCreateInstanceTokenPayload instantiates a new CreateInstanceTokenPayload 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 NewCreateInstanceTokenPayloadWithDefaults

func NewCreateInstanceTokenPayloadWithDefaults() *CreateInstanceTokenPayload

NewCreateInstanceTokenPayloadWithDefaults instantiates a new CreateInstanceTokenPayload 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 (*CreateInstanceTokenPayload) GetDescription

func (o *CreateInstanceTokenPayload) GetDescription() string

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

func (*CreateInstanceTokenPayload) GetDescriptionOk

func (o *CreateInstanceTokenPayload) 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 (*CreateInstanceTokenPayload) GetLabels

func (o *CreateInstanceTokenPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateInstanceTokenPayload) GetLabelsOk

func (o *CreateInstanceTokenPayload) GetLabelsOk() (*map[string]string, bool)

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

func (*CreateInstanceTokenPayload) GetName

func (o *CreateInstanceTokenPayload) GetName() string

GetName returns the Name field value

func (*CreateInstanceTokenPayload) GetNameOk

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

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

func (*CreateInstanceTokenPayload) GetTtlDuration

func (o *CreateInstanceTokenPayload) GetTtlDuration() string

GetTtlDuration returns the TtlDuration field value if set, zero value otherwise.

func (*CreateInstanceTokenPayload) GetTtlDurationOk

func (o *CreateInstanceTokenPayload) GetTtlDurationOk() (*string, bool)

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

func (*CreateInstanceTokenPayload) HasDescription

func (o *CreateInstanceTokenPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateInstanceTokenPayload) HasLabels

func (o *CreateInstanceTokenPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateInstanceTokenPayload) HasTtlDuration

func (o *CreateInstanceTokenPayload) HasTtlDuration() bool

HasTtlDuration returns a boolean if a field has been set.

func (CreateInstanceTokenPayload) MarshalJSON

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

func (*CreateInstanceTokenPayload) SetDescription

func (o *CreateInstanceTokenPayload) SetDescription(v string)

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

func (*CreateInstanceTokenPayload) SetLabels

func (o *CreateInstanceTokenPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*CreateInstanceTokenPayload) SetName

func (o *CreateInstanceTokenPayload) SetName(v string)

SetName sets field value

func (*CreateInstanceTokenPayload) SetTtlDuration

func (o *CreateInstanceTokenPayload) SetTtlDuration(v string)

SetTtlDuration gets a reference to the given string and assigns it to the TtlDuration field.

func (CreateInstanceTokenPayload) ToMap

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

func (*CreateInstanceTokenPayload) UnmarshalJSON

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

type CreateInstanceTokenResponse

type CreateInstanceTokenResponse struct {
	Message              *string `json:"message,omitempty"`
	Token                Token   `json:"token"`
	AdditionalProperties map[string]interface{}
}

CreateInstanceTokenResponse struct for CreateInstanceTokenResponse

func NewCreateInstanceTokenResponse

func NewCreateInstanceTokenResponse(token Token) *CreateInstanceTokenResponse

NewCreateInstanceTokenResponse instantiates a new CreateInstanceTokenResponse 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 NewCreateInstanceTokenResponseWithDefaults

func NewCreateInstanceTokenResponseWithDefaults() *CreateInstanceTokenResponse

NewCreateInstanceTokenResponseWithDefaults instantiates a new CreateInstanceTokenResponse 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 (*CreateInstanceTokenResponse) GetMessage

func (o *CreateInstanceTokenResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateInstanceTokenResponse) GetMessageOk

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

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

func (*CreateInstanceTokenResponse) GetToken

func (o *CreateInstanceTokenResponse) GetToken() Token

GetToken returns the Token field value

func (*CreateInstanceTokenResponse) GetTokenOk

func (o *CreateInstanceTokenResponse) GetTokenOk() (*Token, bool)

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

func (*CreateInstanceTokenResponse) HasMessage

func (o *CreateInstanceTokenResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CreateInstanceTokenResponse) MarshalJSON

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

func (*CreateInstanceTokenResponse) SetMessage

func (o *CreateInstanceTokenResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*CreateInstanceTokenResponse) SetToken

func (o *CreateInstanceTokenResponse) SetToken(v Token)

SetToken sets field value

func (CreateInstanceTokenResponse) ToMap

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

func (*CreateInstanceTokenResponse) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateInstance create an instance in a project

		create an instance in a project

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@return ApiCreateInstanceRequest
	*/
	CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest

	// CreateInstanceExecute executes the request
	//  @return CreateInstanceResponse
	CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)

	/*
		CreateInstanceToken create an auth token for an instance

		create an auth token for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@param instanceId instance id
		@return ApiCreateInstanceTokenRequest
	*/
	CreateInstanceToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateInstanceTokenRequest

	// CreateInstanceTokenExecute executes the request
	//  @return CreateInstanceTokenResponse
	CreateInstanceTokenExecute(r ApiCreateInstanceTokenRequest) (*CreateInstanceTokenResponse, error)

	/*
		DeleteInstance delete an instance in a project

		delete an instance in a project

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@param instanceId instance id
		@return ApiDeleteInstanceRequest
	*/
	DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest

	// DeleteInstanceExecute executes the request
	//  @return DeleteInstanceResponse
	DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*DeleteInstanceResponse, error)

	/*
		DeleteInstanceToken delete an auth token in an instance

		delete an auth token in an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@param tokenId token id
		@param instanceId instance id
		@return ApiDeleteInstanceTokenRequest
	*/
	DeleteInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiDeleteInstanceTokenRequest

	// DeleteInstanceTokenExecute executes the request
	//  @return DeleteInstanceTokenResponse
	DeleteInstanceTokenExecute(r ApiDeleteInstanceTokenRequest) (*DeleteInstanceTokenResponse, error)

	/*
		GetInstance get an instance in a project

		get an instance in a project

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@param instanceId instance id
		@return ApiGetInstanceRequest
	*/
	GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest

	// GetInstanceExecute executes the request
	//  @return GetInstanceResponse
	GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)

	/*
		GetInstanceToken get an auth token for an instance

		get an auth token for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@param tokenId token id
		@param instanceId instance id
		@return ApiGetInstanceTokenRequest
	*/
	GetInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiGetInstanceTokenRequest

	// GetInstanceTokenExecute executes the request
	//  @return GetInstanceTokenResponse
	GetInstanceTokenExecute(r ApiGetInstanceTokenRequest) (*GetInstanceTokenResponse, error)

	/*
		ListInstanceTokens list all auth tokens for an instance

		list all auth tokens for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@param instanceId instance id
		@return ApiListInstanceTokensRequest
	*/
	ListInstanceTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListInstanceTokensRequest

	// ListInstanceTokensExecute executes the request
	//  @return ListInstanceTokensResponse
	ListInstanceTokensExecute(r ApiListInstanceTokensRequest) (*ListInstanceTokensResponse, error)

	/*
		ListInstances list instances in a project

		list instances in a project

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@return ApiListInstancesRequest
	*/
	ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest

	// ListInstancesExecute executes the request
	//  @return ListInstancesResponse
	ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)

	/*
		PartialUpdateInstance partial update an instance in a project

		partial update an instance in a project

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@param instanceId instance id
		@return ApiPartialUpdateInstanceRequest
	*/
	PartialUpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiPartialUpdateInstanceRequest

	// PartialUpdateInstanceExecute executes the request
	//  @return PartialUpdateInstanceResponse
	PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*PartialUpdateInstanceResponse, error)

	/*
		PartialUpdateInstanceToken partial update an auth token for an instance

		partial update an auth token for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId portal project id
		@param regionId region id
		@param tokenId token id
		@param instanceId instance id
		@return ApiPartialUpdateInstanceTokenRequest
	*/
	PartialUpdateInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiPartialUpdateInstanceTokenRequest

	// PartialUpdateInstanceTokenExecute executes the request
	//  @return PartialUpdateInstanceTokenResponse
	PartialUpdateInstanceTokenExecute(r ApiPartialUpdateInstanceTokenRequest) (*PartialUpdateInstanceTokenResponse, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateInstance

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

CreateInstance create an instance in a project

create an instance in a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@return ApiCreateInstanceRequest

func (*DefaultAPIService) CreateInstanceExecute

Execute executes the request

@return CreateInstanceResponse

func (*DefaultAPIService) CreateInstanceToken

func (a *DefaultAPIService) CreateInstanceToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateInstanceTokenRequest

CreateInstanceToken create an auth token for an instance

create an auth token for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiCreateInstanceTokenRequest

func (*DefaultAPIService) CreateInstanceTokenExecute

Execute executes the request

@return CreateInstanceTokenResponse

func (*DefaultAPIService) DeleteInstance

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

DeleteInstance delete an instance in a project

delete an instance in a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiDeleteInstanceRequest

func (*DefaultAPIService) DeleteInstanceExecute

Execute executes the request

@return DeleteInstanceResponse

func (*DefaultAPIService) DeleteInstanceToken

func (a *DefaultAPIService) DeleteInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiDeleteInstanceTokenRequest

DeleteInstanceToken delete an auth token in an instance

delete an auth token in an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param tokenId token id
@param instanceId instance id
@return ApiDeleteInstanceTokenRequest

func (*DefaultAPIService) DeleteInstanceTokenExecute

Execute executes the request

@return DeleteInstanceTokenResponse

func (*DefaultAPIService) GetInstance

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

GetInstance get an instance in a project

get an instance in a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiGetInstanceRequest

func (*DefaultAPIService) GetInstanceExecute

Execute executes the request

@return GetInstanceResponse

func (*DefaultAPIService) GetInstanceToken

func (a *DefaultAPIService) GetInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiGetInstanceTokenRequest

GetInstanceToken get an auth token for an instance

get an auth token for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param tokenId token id
@param instanceId instance id
@return ApiGetInstanceTokenRequest

func (*DefaultAPIService) GetInstanceTokenExecute

Execute executes the request

@return GetInstanceTokenResponse

func (*DefaultAPIService) ListInstanceTokens

func (a *DefaultAPIService) ListInstanceTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListInstanceTokensRequest

ListInstanceTokens list all auth tokens for an instance

list all auth tokens for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiListInstanceTokensRequest

func (*DefaultAPIService) ListInstanceTokensExecute

Execute executes the request

@return ListInstanceTokensResponse

func (*DefaultAPIService) ListInstances

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

ListInstances list instances in a project

list instances in a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@return ApiListInstancesRequest

func (*DefaultAPIService) ListInstancesExecute

Execute executes the request

@return ListInstancesResponse

func (*DefaultAPIService) PartialUpdateInstance

func (a *DefaultAPIService) PartialUpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiPartialUpdateInstanceRequest

PartialUpdateInstance partial update an instance in a project

partial update an instance in a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiPartialUpdateInstanceRequest

func (*DefaultAPIService) PartialUpdateInstanceExecute

Execute executes the request

@return PartialUpdateInstanceResponse

func (*DefaultAPIService) PartialUpdateInstanceToken

func (a *DefaultAPIService) PartialUpdateInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiPartialUpdateInstanceTokenRequest

PartialUpdateInstanceToken partial update an auth token for an instance

partial update an auth token for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param tokenId token id
@param instanceId instance id
@return ApiPartialUpdateInstanceTokenRequest

func (*DefaultAPIService) PartialUpdateInstanceTokenExecute

Execute executes the request

@return PartialUpdateInstanceTokenResponse

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
	CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
	// CreateInstanceTokenExecuteMock can be populated to implement the behavior of the CreateInstanceTokenExecute function of this mock
	CreateInstanceTokenExecuteMock *func(r ApiCreateInstanceTokenRequest) (*CreateInstanceTokenResponse, error)
	// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
	DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) (*DeleteInstanceResponse, error)
	// DeleteInstanceTokenExecuteMock can be populated to implement the behavior of the DeleteInstanceTokenExecute function of this mock
	DeleteInstanceTokenExecuteMock *func(r ApiDeleteInstanceTokenRequest) (*DeleteInstanceTokenResponse, error)
	// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
	GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
	// GetInstanceTokenExecuteMock can be populated to implement the behavior of the GetInstanceTokenExecute function of this mock
	GetInstanceTokenExecuteMock *func(r ApiGetInstanceTokenRequest) (*GetInstanceTokenResponse, error)
	// ListInstanceTokensExecuteMock can be populated to implement the behavior of the ListInstanceTokensExecute function of this mock
	ListInstanceTokensExecuteMock *func(r ApiListInstanceTokensRequest) (*ListInstanceTokensResponse, error)
	// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
	ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstancesResponse, error)
	// PartialUpdateInstanceExecuteMock can be populated to implement the behavior of the PartialUpdateInstanceExecute function of this mock
	PartialUpdateInstanceExecuteMock *func(r ApiPartialUpdateInstanceRequest) (*PartialUpdateInstanceResponse, error)
	// PartialUpdateInstanceTokenExecuteMock can be populated to implement the behavior of the PartialUpdateInstanceTokenExecute function of this mock
	PartialUpdateInstanceTokenExecuteMock *func(r ApiPartialUpdateInstanceTokenRequest) (*PartialUpdateInstanceTokenResponse, 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) CreateInstance

func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest

func (DefaultAPIServiceMock) CreateInstanceExecute

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

func (a DefaultAPIServiceMock) CreateInstanceToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateInstanceTokenRequest

func (DefaultAPIServiceMock) CreateInstanceTokenExecute

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

func (DefaultAPIServiceMock) DeleteInstance

func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest

func (DefaultAPIServiceMock) DeleteInstanceExecute

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

func (a DefaultAPIServiceMock) DeleteInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiDeleteInstanceTokenRequest

func (DefaultAPIServiceMock) DeleteInstanceTokenExecute

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

func (DefaultAPIServiceMock) GetInstance

func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest

func (DefaultAPIServiceMock) GetInstanceExecute

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

func (a DefaultAPIServiceMock) GetInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiGetInstanceTokenRequest

func (DefaultAPIServiceMock) GetInstanceTokenExecute

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

func (DefaultAPIServiceMock) ListInstanceTokens

func (a DefaultAPIServiceMock) ListInstanceTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListInstanceTokensRequest

func (DefaultAPIServiceMock) ListInstanceTokensExecute

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

func (DefaultAPIServiceMock) ListInstances

func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string, regionId 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) PartialUpdateInstance

func (a DefaultAPIServiceMock) PartialUpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiPartialUpdateInstanceRequest

func (DefaultAPIServiceMock) PartialUpdateInstanceExecute

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

func (DefaultAPIServiceMock) PartialUpdateInstanceToken

func (a DefaultAPIServiceMock) PartialUpdateInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiPartialUpdateInstanceTokenRequest

func (DefaultAPIServiceMock) PartialUpdateInstanceTokenExecute

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

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	Instance             Instance `json:"instance"`
	Message              *string  `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeleteInstanceResponse struct for DeleteInstanceResponse

func NewDeleteInstanceResponse

func NewDeleteInstanceResponse(instance Instance) *DeleteInstanceResponse

NewDeleteInstanceResponse instantiates a new DeleteInstanceResponse 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 NewDeleteInstanceResponseWithDefaults

func NewDeleteInstanceResponseWithDefaults() *DeleteInstanceResponse

NewDeleteInstanceResponseWithDefaults instantiates a new DeleteInstanceResponse 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 (*DeleteInstanceResponse) GetInstance

func (o *DeleteInstanceResponse) GetInstance() Instance

GetInstance returns the Instance field value

func (*DeleteInstanceResponse) GetInstanceOk

func (o *DeleteInstanceResponse) GetInstanceOk() (*Instance, bool)

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

func (*DeleteInstanceResponse) GetMessage

func (o *DeleteInstanceResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*DeleteInstanceResponse) GetMessageOk

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

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

func (*DeleteInstanceResponse) HasMessage

func (o *DeleteInstanceResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (DeleteInstanceResponse) MarshalJSON

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

func (*DeleteInstanceResponse) SetInstance

func (o *DeleteInstanceResponse) SetInstance(v Instance)

SetInstance sets field value

func (*DeleteInstanceResponse) SetMessage

func (o *DeleteInstanceResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (DeleteInstanceResponse) ToMap

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

func (*DeleteInstanceResponse) UnmarshalJSON

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

type DeleteInstanceTokenResponse

type DeleteInstanceTokenResponse struct {
	Message              *string       `json:"message,omitempty"`
	Token                TokenMetadata `json:"token"`
	AdditionalProperties map[string]interface{}
}

DeleteInstanceTokenResponse struct for DeleteInstanceTokenResponse

func NewDeleteInstanceTokenResponse

func NewDeleteInstanceTokenResponse(token TokenMetadata) *DeleteInstanceTokenResponse

NewDeleteInstanceTokenResponse instantiates a new DeleteInstanceTokenResponse 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 NewDeleteInstanceTokenResponseWithDefaults

func NewDeleteInstanceTokenResponseWithDefaults() *DeleteInstanceTokenResponse

NewDeleteInstanceTokenResponseWithDefaults instantiates a new DeleteInstanceTokenResponse 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 (*DeleteInstanceTokenResponse) GetMessage

func (o *DeleteInstanceTokenResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*DeleteInstanceTokenResponse) GetMessageOk

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

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

func (*DeleteInstanceTokenResponse) GetToken

GetToken returns the Token field value

func (*DeleteInstanceTokenResponse) GetTokenOk

func (o *DeleteInstanceTokenResponse) GetTokenOk() (*TokenMetadata, bool)

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

func (*DeleteInstanceTokenResponse) HasMessage

func (o *DeleteInstanceTokenResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (DeleteInstanceTokenResponse) MarshalJSON

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

func (*DeleteInstanceTokenResponse) SetMessage

func (o *DeleteInstanceTokenResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*DeleteInstanceTokenResponse) SetToken

SetToken sets field value

func (DeleteInstanceTokenResponse) ToMap

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

func (*DeleteInstanceTokenResponse) UnmarshalJSON

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

type ErrorResponse

type ErrorResponse struct {
	// The HTTP status code.
	Code int32 `json:"code"`
	// User facing error message.
	Message string `json:"message"`
	// The canonical error code.
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse(code int32, message string) *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) GetCode

func (o *ErrorResponse) GetCode() int32

GetCode returns the Code field value

func (*ErrorResponse) GetCodeOk

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

GetCodeOk returns a tuple with the Code 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) GetStatus

func (o *ErrorResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ErrorResponse) GetStatusOk

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

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

func (*ErrorResponse) HasStatus

func (o *ErrorResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetCode

func (o *ErrorResponse) SetCode(v int32)

SetCode sets field value

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage sets field value

func (*ErrorResponse) SetStatus

func (o *ErrorResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (ErrorResponse) ToMap

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

func (*ErrorResponse) UnmarshalJSON

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

type GetInstanceResponse

type GetInstanceResponse struct {
	Instance             Instance `json:"instance"`
	Message              *string  `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetInstanceResponse struct for GetInstanceResponse

func NewGetInstanceResponse

func NewGetInstanceResponse(instance Instance) *GetInstanceResponse

NewGetInstanceResponse instantiates a new GetInstanceResponse 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 NewGetInstanceResponseWithDefaults

func NewGetInstanceResponseWithDefaults() *GetInstanceResponse

NewGetInstanceResponseWithDefaults instantiates a new GetInstanceResponse 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 (*GetInstanceResponse) GetInstance

func (o *GetInstanceResponse) GetInstance() Instance

GetInstance returns the Instance field value

func (*GetInstanceResponse) GetInstanceOk

func (o *GetInstanceResponse) GetInstanceOk() (*Instance, bool)

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

func (*GetInstanceResponse) GetMessage

func (o *GetInstanceResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetInstanceResponse) GetMessageOk

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

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

func (*GetInstanceResponse) HasMessage

func (o *GetInstanceResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetInstanceResponse) MarshalJSON

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

func (*GetInstanceResponse) SetInstance

func (o *GetInstanceResponse) SetInstance(v Instance)

SetInstance sets field value

func (*GetInstanceResponse) SetMessage

func (o *GetInstanceResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetInstanceResponse) ToMap

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

func (*GetInstanceResponse) UnmarshalJSON

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

type GetInstanceTokenResponse

type GetInstanceTokenResponse struct {
	Message              *string       `json:"message,omitempty"`
	Token                TokenMetadata `json:"token"`
	AdditionalProperties map[string]interface{}
}

GetInstanceTokenResponse struct for GetInstanceTokenResponse

func NewGetInstanceTokenResponse

func NewGetInstanceTokenResponse(token TokenMetadata) *GetInstanceTokenResponse

NewGetInstanceTokenResponse instantiates a new GetInstanceTokenResponse 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 NewGetInstanceTokenResponseWithDefaults

func NewGetInstanceTokenResponseWithDefaults() *GetInstanceTokenResponse

NewGetInstanceTokenResponseWithDefaults instantiates a new GetInstanceTokenResponse 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 (*GetInstanceTokenResponse) GetMessage

func (o *GetInstanceTokenResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetInstanceTokenResponse) GetMessageOk

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

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

func (*GetInstanceTokenResponse) GetToken

GetToken returns the Token field value

func (*GetInstanceTokenResponse) GetTokenOk

func (o *GetInstanceTokenResponse) GetTokenOk() (*TokenMetadata, bool)

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

func (*GetInstanceTokenResponse) HasMessage

func (o *GetInstanceTokenResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetInstanceTokenResponse) MarshalJSON

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

func (*GetInstanceTokenResponse) SetMessage

func (o *GetInstanceTokenResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*GetInstanceTokenResponse) SetToken

func (o *GetInstanceTokenResponse) SetToken(v TokenMetadata)

SetToken sets field value

func (GetInstanceTokenResponse) ToMap

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

func (*GetInstanceTokenResponse) UnmarshalJSON

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

type Instance

type Instance struct {
	BucketName *string `json:"bucketName,omitempty" validate:"regexp=^model-experiments-[a-zA-Z0-9]+$"`
	// The duration to retain experiments marked for deletion before they are permanently purged. Min: 1d, Max: 90d.
	DeletedExperimentRetention *string `` /* 160-byte string literal not displayed */
	Description                *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]+$"`
	ErrorMessage               *string `json:"errorMessage,omitempty"`
	Id                         string  `json:"id"`
	// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels               *map[string]string `json:"labels,omitempty"`
	Name                 string             `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
	Region               *string            `json:"region,omitempty"`
	State                InstanceState      `json:"state"`
	Url                  string             `json:"url" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]+$"`
	AdditionalProperties map[string]interface{}
}

Instance struct for Instance

func NewInstance

func NewInstance(id string, name string, state InstanceState, url 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) GetBucketName

func (o *Instance) GetBucketName() string

GetBucketName returns the BucketName field value if set, zero value otherwise.

func (*Instance) GetBucketNameOk

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

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

func (*Instance) GetDeletedExperimentRetention

func (o *Instance) GetDeletedExperimentRetention() string

GetDeletedExperimentRetention returns the DeletedExperimentRetention field value if set, zero value otherwise.

func (*Instance) GetDeletedExperimentRetentionOk

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

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

func (*Instance) GetDescription

func (o *Instance) GetDescription() string

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

func (*Instance) GetDescriptionOk

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

func (o *Instance) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*Instance) GetErrorMessageOk

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

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise 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) GetLabels

func (o *Instance) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Instance) GetLabelsOk

func (o *Instance) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels 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) GetRegion

func (o *Instance) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*Instance) GetRegionOk

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

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

func (*Instance) GetState

func (o *Instance) GetState() InstanceState

GetState returns the State field value

func (*Instance) GetStateOk

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

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

func (*Instance) GetUrl

func (o *Instance) GetUrl() string

GetUrl returns the Url field value

func (*Instance) GetUrlOk

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

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

func (*Instance) HasBucketName

func (o *Instance) HasBucketName() bool

HasBucketName returns a boolean if a field has been set.

func (*Instance) HasDeletedExperimentRetention

func (o *Instance) HasDeletedExperimentRetention() bool

HasDeletedExperimentRetention returns a boolean if a field has been set.

func (*Instance) HasDescription

func (o *Instance) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Instance) HasErrorMessage

func (o *Instance) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*Instance) HasLabels

func (o *Instance) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Instance) HasRegion

func (o *Instance) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (Instance) MarshalJSON

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

func (*Instance) SetBucketName

func (o *Instance) SetBucketName(v string)

SetBucketName gets a reference to the given string and assigns it to the BucketName field.

func (*Instance) SetDeletedExperimentRetention

func (o *Instance) SetDeletedExperimentRetention(v string)

SetDeletedExperimentRetention gets a reference to the given string and assigns it to the DeletedExperimentRetention field.

func (*Instance) SetDescription

func (o *Instance) SetDescription(v string)

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

func (*Instance) SetErrorMessage

func (o *Instance) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*Instance) SetId

func (o *Instance) SetId(v string)

SetId sets field value

func (*Instance) SetLabels

func (o *Instance) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*Instance) SetName

func (o *Instance) SetName(v string)

SetName sets field value

func (*Instance) SetRegion

func (o *Instance) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*Instance) SetState

func (o *Instance) SetState(v InstanceState)

SetState sets field value

func (*Instance) SetUrl

func (o *Instance) SetUrl(v string)

SetUrl sets field value

func (Instance) ToMap

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

func (*Instance) UnmarshalJSON

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

type InstanceState

type InstanceState string

InstanceState the model 'InstanceState'

const (
	INSTANCESTATE_PENDING                  InstanceState = "pending"
	INSTANCESTATE_CREATING                 InstanceState = "creating"
	INSTANCESTATE_UPDATING                 InstanceState = "updating"
	INSTANCESTATE_ACTIVE                   InstanceState = "active"
	INSTANCESTATE_DELETING                 InstanceState = "deleting"
	INSTANCESTATE_IMPAIRED                 InstanceState = "impaired"
	INSTANCESTATE_RECONCILING              InstanceState = "reconciling"
	INSTANCESTATE_UNKNOWN_DEFAULT_OPEN_API InstanceState = "unknown_default_open_api"
)

List of Instance_state

func NewInstanceStateFromValue

func NewInstanceStateFromValue(v string) (*InstanceState, error)

NewInstanceStateFromValue returns a pointer to a valid InstanceState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InstanceState) IsValid

func (v InstanceState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InstanceState) Ptr

func (v InstanceState) Ptr() *InstanceState

Ptr returns reference to Instance_state value

func (*InstanceState) UnmarshalJSON

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

type ListInstanceTokensResponse

type ListInstanceTokensResponse struct {
	Message              *string         `json:"message,omitempty"`
	Tokens               []TokenMetadata `json:"tokens"`
	AdditionalProperties map[string]interface{}
}

ListInstanceTokensResponse struct for ListInstanceTokensResponse

func NewListInstanceTokensResponse

func NewListInstanceTokensResponse(tokens []TokenMetadata) *ListInstanceTokensResponse

NewListInstanceTokensResponse instantiates a new ListInstanceTokensResponse 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 NewListInstanceTokensResponseWithDefaults

func NewListInstanceTokensResponseWithDefaults() *ListInstanceTokensResponse

NewListInstanceTokensResponseWithDefaults instantiates a new ListInstanceTokensResponse 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 (*ListInstanceTokensResponse) GetMessage

func (o *ListInstanceTokensResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListInstanceTokensResponse) GetMessageOk

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

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

func (*ListInstanceTokensResponse) GetTokens

func (o *ListInstanceTokensResponse) GetTokens() []TokenMetadata

GetTokens returns the Tokens field value

func (*ListInstanceTokensResponse) GetTokensOk

func (o *ListInstanceTokensResponse) GetTokensOk() ([]TokenMetadata, bool)

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

func (*ListInstanceTokensResponse) HasMessage

func (o *ListInstanceTokensResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListInstanceTokensResponse) MarshalJSON

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

func (*ListInstanceTokensResponse) SetMessage

func (o *ListInstanceTokensResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListInstanceTokensResponse) SetTokens

func (o *ListInstanceTokensResponse) SetTokens(v []TokenMetadata)

SetTokens sets field value

func (ListInstanceTokensResponse) ToMap

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

func (*ListInstanceTokensResponse) UnmarshalJSON

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

type ListInstancesResponse

type ListInstancesResponse struct {
	Instances            []Instance `json:"instances"`
	Message              *string    `json:"message,omitempty"`
	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) GetMessage

func (o *ListInstancesResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListInstancesResponse) GetMessageOk

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

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

func (*ListInstancesResponse) HasMessage

func (o *ListInstancesResponse) HasMessage() bool

HasMessage returns a boolean if a field 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) SetMessage

func (o *ListInstancesResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListInstancesResponse) ToMap

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

func (*ListInstancesResponse) UnmarshalJSON

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

type MappedNullable

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

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 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 NullableCreateInstanceResponse

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

func (NullableCreateInstanceResponse) Get

func (NullableCreateInstanceResponse) IsSet

func (NullableCreateInstanceResponse) MarshalJSON

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

func (*NullableCreateInstanceResponse) Set

func (*NullableCreateInstanceResponse) UnmarshalJSON

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

func (*NullableCreateInstanceResponse) Unset

func (v *NullableCreateInstanceResponse) Unset()

type NullableCreateInstanceTokenPayload

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

func (NullableCreateInstanceTokenPayload) Get

func (NullableCreateInstanceTokenPayload) IsSet

func (NullableCreateInstanceTokenPayload) MarshalJSON

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

func (*NullableCreateInstanceTokenPayload) Set

func (*NullableCreateInstanceTokenPayload) UnmarshalJSON

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

func (*NullableCreateInstanceTokenPayload) Unset

type NullableCreateInstanceTokenResponse

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

func (NullableCreateInstanceTokenResponse) Get

func (NullableCreateInstanceTokenResponse) IsSet

func (NullableCreateInstanceTokenResponse) MarshalJSON

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

func (*NullableCreateInstanceTokenResponse) Set

func (*NullableCreateInstanceTokenResponse) UnmarshalJSON

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

func (*NullableCreateInstanceTokenResponse) Unset

type NullableDeleteInstanceResponse

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

func (NullableDeleteInstanceResponse) Get

func (NullableDeleteInstanceResponse) IsSet

func (NullableDeleteInstanceResponse) MarshalJSON

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

func (*NullableDeleteInstanceResponse) Set

func (*NullableDeleteInstanceResponse) UnmarshalJSON

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

func (*NullableDeleteInstanceResponse) Unset

func (v *NullableDeleteInstanceResponse) Unset()

type NullableDeleteInstanceTokenResponse

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

func (NullableDeleteInstanceTokenResponse) Get

func (NullableDeleteInstanceTokenResponse) IsSet

func (NullableDeleteInstanceTokenResponse) MarshalJSON

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

func (*NullableDeleteInstanceTokenResponse) Set

func (*NullableDeleteInstanceTokenResponse) UnmarshalJSON

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

func (*NullableDeleteInstanceTokenResponse) 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 NullableGetInstanceResponse

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

func NewNullableGetInstanceResponse

func NewNullableGetInstanceResponse(val *GetInstanceResponse) *NullableGetInstanceResponse

func (NullableGetInstanceResponse) Get

func (NullableGetInstanceResponse) IsSet

func (NullableGetInstanceResponse) MarshalJSON

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

func (*NullableGetInstanceResponse) Set

func (*NullableGetInstanceResponse) UnmarshalJSON

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

func (*NullableGetInstanceResponse) Unset

func (v *NullableGetInstanceResponse) Unset()

type NullableGetInstanceTokenResponse

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

func (NullableGetInstanceTokenResponse) Get

func (NullableGetInstanceTokenResponse) IsSet

func (NullableGetInstanceTokenResponse) MarshalJSON

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

func (*NullableGetInstanceTokenResponse) Set

func (*NullableGetInstanceTokenResponse) UnmarshalJSON

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

func (*NullableGetInstanceTokenResponse) 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 NullableInstanceState

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

func NewNullableInstanceState

func NewNullableInstanceState(val *InstanceState) *NullableInstanceState

func (NullableInstanceState) Get

func (NullableInstanceState) IsSet

func (v NullableInstanceState) IsSet() bool

func (NullableInstanceState) MarshalJSON

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

func (*NullableInstanceState) Set

func (v *NullableInstanceState) Set(val *InstanceState)

func (*NullableInstanceState) UnmarshalJSON

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

func (*NullableInstanceState) Unset

func (v *NullableInstanceState) 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 NullableListInstanceTokensResponse

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

func (NullableListInstanceTokensResponse) Get

func (NullableListInstanceTokensResponse) IsSet

func (NullableListInstanceTokensResponse) MarshalJSON

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

func (*NullableListInstanceTokensResponse) Set

func (*NullableListInstanceTokensResponse) UnmarshalJSON

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

func (*NullableListInstanceTokensResponse) 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 NullablePartialUpdateInstancePayload

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

func (NullablePartialUpdateInstancePayload) Get

func (NullablePartialUpdateInstancePayload) IsSet

func (NullablePartialUpdateInstancePayload) MarshalJSON

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

func (*NullablePartialUpdateInstancePayload) Set

func (*NullablePartialUpdateInstancePayload) UnmarshalJSON

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

func (*NullablePartialUpdateInstancePayload) Unset

type NullablePartialUpdateInstanceResponse

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

func (NullablePartialUpdateInstanceResponse) Get

func (NullablePartialUpdateInstanceResponse) IsSet

func (NullablePartialUpdateInstanceResponse) MarshalJSON

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

func (*NullablePartialUpdateInstanceResponse) Set

func (*NullablePartialUpdateInstanceResponse) UnmarshalJSON

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

func (*NullablePartialUpdateInstanceResponse) Unset

type NullablePartialUpdateInstanceTokenPayload

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

func (NullablePartialUpdateInstanceTokenPayload) Get

func (NullablePartialUpdateInstanceTokenPayload) IsSet

func (NullablePartialUpdateInstanceTokenPayload) MarshalJSON

func (*NullablePartialUpdateInstanceTokenPayload) Set

func (*NullablePartialUpdateInstanceTokenPayload) UnmarshalJSON

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

func (*NullablePartialUpdateInstanceTokenPayload) Unset

type NullablePartialUpdateInstanceTokenResponse

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

func (NullablePartialUpdateInstanceTokenResponse) Get

func (NullablePartialUpdateInstanceTokenResponse) IsSet

func (NullablePartialUpdateInstanceTokenResponse) MarshalJSON

func (*NullablePartialUpdateInstanceTokenResponse) Set

func (*NullablePartialUpdateInstanceTokenResponse) UnmarshalJSON

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

func (*NullablePartialUpdateInstanceTokenResponse) 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 NullableToken

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

func NewNullableToken

func NewNullableToken(val *Token) *NullableToken

func (NullableToken) Get

func (v NullableToken) Get() *Token

func (NullableToken) IsSet

func (v NullableToken) IsSet() bool

func (NullableToken) MarshalJSON

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

func (*NullableToken) Set

func (v *NullableToken) Set(val *Token)

func (*NullableToken) UnmarshalJSON

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

func (*NullableToken) Unset

func (v *NullableToken) Unset()

type NullableTokenMetadata

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

func NewNullableTokenMetadata

func NewNullableTokenMetadata(val *TokenMetadata) *NullableTokenMetadata

func (NullableTokenMetadata) Get

func (NullableTokenMetadata) IsSet

func (v NullableTokenMetadata) IsSet() bool

func (NullableTokenMetadata) MarshalJSON

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

func (*NullableTokenMetadata) Set

func (v *NullableTokenMetadata) Set(val *TokenMetadata)

func (*NullableTokenMetadata) UnmarshalJSON

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

func (*NullableTokenMetadata) Unset

func (v *NullableTokenMetadata) Unset()

type NullableTokenState

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

func NewNullableTokenState

func NewNullableTokenState(val *TokenState) *NullableTokenState

func (NullableTokenState) Get

func (v NullableTokenState) Get() *TokenState

func (NullableTokenState) IsSet

func (v NullableTokenState) IsSet() bool

func (NullableTokenState) MarshalJSON

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

func (*NullableTokenState) Set

func (v *NullableTokenState) Set(val *TokenState)

func (*NullableTokenState) UnmarshalJSON

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

func (*NullableTokenState) Unset

func (v *NullableTokenState) Unset()

type PartialUpdateInstancePayload

type PartialUpdateInstancePayload struct {
	// The duration to retain experiments marked for deletion before they are permanently purged. Min: 1d, Max: 90d.
	DeletedExperimentRetention *string `` /* 160-byte string literal not displayed */
	Description                *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]*$"`
	// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels               *map[string]string `json:"labels,omitempty"`
	Name                 *string            `json:"name,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s_-]*$"`
	AdditionalProperties map[string]interface{}
}

PartialUpdateInstancePayload struct for PartialUpdateInstancePayload

func NewPartialUpdateInstancePayload

func NewPartialUpdateInstancePayload() *PartialUpdateInstancePayload

NewPartialUpdateInstancePayload instantiates a new PartialUpdateInstancePayload 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 NewPartialUpdateInstancePayloadWithDefaults

func NewPartialUpdateInstancePayloadWithDefaults() *PartialUpdateInstancePayload

NewPartialUpdateInstancePayloadWithDefaults instantiates a new PartialUpdateInstancePayload 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 (*PartialUpdateInstancePayload) GetDeletedExperimentRetention

func (o *PartialUpdateInstancePayload) GetDeletedExperimentRetention() string

GetDeletedExperimentRetention returns the DeletedExperimentRetention field value if set, zero value otherwise.

func (*PartialUpdateInstancePayload) GetDeletedExperimentRetentionOk

func (o *PartialUpdateInstancePayload) GetDeletedExperimentRetentionOk() (*string, bool)

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

func (*PartialUpdateInstancePayload) GetDescription

func (o *PartialUpdateInstancePayload) GetDescription() string

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

func (*PartialUpdateInstancePayload) GetDescriptionOk

func (o *PartialUpdateInstancePayload) 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 (*PartialUpdateInstancePayload) GetLabels

func (o *PartialUpdateInstancePayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PartialUpdateInstancePayload) GetLabelsOk

func (o *PartialUpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)

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

func (*PartialUpdateInstancePayload) GetName

func (o *PartialUpdateInstancePayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PartialUpdateInstancePayload) GetNameOk

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

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

func (*PartialUpdateInstancePayload) HasDeletedExperimentRetention

func (o *PartialUpdateInstancePayload) HasDeletedExperimentRetention() bool

HasDeletedExperimentRetention returns a boolean if a field has been set.

func (*PartialUpdateInstancePayload) HasDescription

func (o *PartialUpdateInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PartialUpdateInstancePayload) HasLabels

func (o *PartialUpdateInstancePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PartialUpdateInstancePayload) HasName

func (o *PartialUpdateInstancePayload) HasName() bool

HasName returns a boolean if a field has been set.

func (PartialUpdateInstancePayload) MarshalJSON

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

func (*PartialUpdateInstancePayload) SetDeletedExperimentRetention

func (o *PartialUpdateInstancePayload) SetDeletedExperimentRetention(v string)

SetDeletedExperimentRetention gets a reference to the given string and assigns it to the DeletedExperimentRetention field.

func (*PartialUpdateInstancePayload) SetDescription

func (o *PartialUpdateInstancePayload) SetDescription(v string)

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

func (*PartialUpdateInstancePayload) SetLabels

func (o *PartialUpdateInstancePayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*PartialUpdateInstancePayload) SetName

func (o *PartialUpdateInstancePayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (PartialUpdateInstancePayload) ToMap

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

func (*PartialUpdateInstancePayload) UnmarshalJSON

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

type PartialUpdateInstanceResponse

type PartialUpdateInstanceResponse struct {
	Instance             Instance `json:"instance"`
	Message              *string  `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

PartialUpdateInstanceResponse struct for PartialUpdateInstanceResponse

func NewPartialUpdateInstanceResponse

func NewPartialUpdateInstanceResponse(instance Instance) *PartialUpdateInstanceResponse

NewPartialUpdateInstanceResponse instantiates a new PartialUpdateInstanceResponse 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 NewPartialUpdateInstanceResponseWithDefaults

func NewPartialUpdateInstanceResponseWithDefaults() *PartialUpdateInstanceResponse

NewPartialUpdateInstanceResponseWithDefaults instantiates a new PartialUpdateInstanceResponse 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 (*PartialUpdateInstanceResponse) GetInstance

func (o *PartialUpdateInstanceResponse) GetInstance() Instance

GetInstance returns the Instance field value

func (*PartialUpdateInstanceResponse) GetInstanceOk

func (o *PartialUpdateInstanceResponse) GetInstanceOk() (*Instance, bool)

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

func (*PartialUpdateInstanceResponse) GetMessage

func (o *PartialUpdateInstanceResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*PartialUpdateInstanceResponse) GetMessageOk

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

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

func (*PartialUpdateInstanceResponse) HasMessage

func (o *PartialUpdateInstanceResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (PartialUpdateInstanceResponse) MarshalJSON

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

func (*PartialUpdateInstanceResponse) SetInstance

func (o *PartialUpdateInstanceResponse) SetInstance(v Instance)

SetInstance sets field value

func (*PartialUpdateInstanceResponse) SetMessage

func (o *PartialUpdateInstanceResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (PartialUpdateInstanceResponse) ToMap

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

func (*PartialUpdateInstanceResponse) UnmarshalJSON

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

type PartialUpdateInstanceTokenPayload

type PartialUpdateInstanceTokenPayload struct {
	Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]*$"`
	// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels               *map[string]string `json:"labels,omitempty"`
	Name                 *string            `json:"name,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s_-]*$"`
	AdditionalProperties map[string]interface{}
}

PartialUpdateInstanceTokenPayload struct for PartialUpdateInstanceTokenPayload

func NewPartialUpdateInstanceTokenPayload

func NewPartialUpdateInstanceTokenPayload() *PartialUpdateInstanceTokenPayload

NewPartialUpdateInstanceTokenPayload instantiates a new PartialUpdateInstanceTokenPayload 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 NewPartialUpdateInstanceTokenPayloadWithDefaults

func NewPartialUpdateInstanceTokenPayloadWithDefaults() *PartialUpdateInstanceTokenPayload

NewPartialUpdateInstanceTokenPayloadWithDefaults instantiates a new PartialUpdateInstanceTokenPayload 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 (*PartialUpdateInstanceTokenPayload) GetDescription

func (o *PartialUpdateInstanceTokenPayload) GetDescription() string

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

func (*PartialUpdateInstanceTokenPayload) GetDescriptionOk

func (o *PartialUpdateInstanceTokenPayload) 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 (*PartialUpdateInstanceTokenPayload) GetLabels

func (o *PartialUpdateInstanceTokenPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PartialUpdateInstanceTokenPayload) GetLabelsOk

func (o *PartialUpdateInstanceTokenPayload) GetLabelsOk() (*map[string]string, bool)

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

func (*PartialUpdateInstanceTokenPayload) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*PartialUpdateInstanceTokenPayload) GetNameOk

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

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

func (*PartialUpdateInstanceTokenPayload) HasDescription

func (o *PartialUpdateInstanceTokenPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PartialUpdateInstanceTokenPayload) HasLabels

func (o *PartialUpdateInstanceTokenPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PartialUpdateInstanceTokenPayload) HasName

HasName returns a boolean if a field has been set.

func (PartialUpdateInstanceTokenPayload) MarshalJSON

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

func (*PartialUpdateInstanceTokenPayload) SetDescription

func (o *PartialUpdateInstanceTokenPayload) SetDescription(v string)

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

func (*PartialUpdateInstanceTokenPayload) SetLabels

func (o *PartialUpdateInstanceTokenPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*PartialUpdateInstanceTokenPayload) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (PartialUpdateInstanceTokenPayload) ToMap

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

func (*PartialUpdateInstanceTokenPayload) UnmarshalJSON

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

type PartialUpdateInstanceTokenResponse

type PartialUpdateInstanceTokenResponse struct {
	Message              *string       `json:"message,omitempty"`
	Token                TokenMetadata `json:"token"`
	AdditionalProperties map[string]interface{}
}

PartialUpdateInstanceTokenResponse struct for PartialUpdateInstanceTokenResponse

func NewPartialUpdateInstanceTokenResponse

func NewPartialUpdateInstanceTokenResponse(token TokenMetadata) *PartialUpdateInstanceTokenResponse

NewPartialUpdateInstanceTokenResponse instantiates a new PartialUpdateInstanceTokenResponse 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 NewPartialUpdateInstanceTokenResponseWithDefaults

func NewPartialUpdateInstanceTokenResponseWithDefaults() *PartialUpdateInstanceTokenResponse

NewPartialUpdateInstanceTokenResponseWithDefaults instantiates a new PartialUpdateInstanceTokenResponse 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 (*PartialUpdateInstanceTokenResponse) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*PartialUpdateInstanceTokenResponse) GetMessageOk

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

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

func (*PartialUpdateInstanceTokenResponse) GetToken

GetToken returns the Token field value

func (*PartialUpdateInstanceTokenResponse) GetTokenOk

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

func (*PartialUpdateInstanceTokenResponse) HasMessage

func (o *PartialUpdateInstanceTokenResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (PartialUpdateInstanceTokenResponse) MarshalJSON

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

func (*PartialUpdateInstanceTokenResponse) SetMessage

func (o *PartialUpdateInstanceTokenResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*PartialUpdateInstanceTokenResponse) SetToken

SetToken sets field value

func (PartialUpdateInstanceTokenResponse) ToMap

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

func (*PartialUpdateInstanceTokenResponse) UnmarshalJSON

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

type Token

type Token struct {
	Content     string  `json:"content" validate:"regexp=^[A-Za-z0-9-_]+\\\\.[A-Za-z0-9-_]+\\\\.[A-Za-z0-9-_]+$"`
	Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]+$"`
	Id          string  `json:"id"`
	// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels               *map[string]string `json:"labels,omitempty"`
	Name                 string             `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
	Region               string             `json:"region"`
	State                TokenState         `json:"state"`
	ValidUntil           time.Time          `json:"validUntil"`
	AdditionalProperties map[string]interface{}
}

Token struct for Token

func NewToken

func NewToken(content string, id string, name string, region string, state TokenState, validUntil time.Time) *Token

NewToken instantiates a new Token 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 NewTokenWithDefaults

func NewTokenWithDefaults() *Token

NewTokenWithDefaults instantiates a new Token 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 (*Token) GetContent

func (o *Token) GetContent() string

GetContent returns the Content field value

func (*Token) GetContentOk

func (o *Token) GetContentOk() (*string, bool)

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

func (*Token) GetDescription

func (o *Token) GetDescription() string

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

func (*Token) GetDescriptionOk

func (o *Token) 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 (*Token) GetId

func (o *Token) GetId() string

GetId returns the Id field value

func (*Token) GetIdOk

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

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

func (*Token) GetLabels

func (o *Token) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Token) GetLabelsOk

func (o *Token) GetLabelsOk() (*map[string]string, bool)

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

func (*Token) GetName

func (o *Token) GetName() string

GetName returns the Name field value

func (*Token) GetNameOk

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

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

func (*Token) GetRegion

func (o *Token) GetRegion() string

GetRegion returns the Region field value

func (*Token) GetRegionOk

func (o *Token) GetRegionOk() (*string, bool)

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

func (*Token) GetState

func (o *Token) GetState() TokenState

GetState returns the State field value

func (*Token) GetStateOk

func (o *Token) GetStateOk() (*TokenState, bool)

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

func (*Token) GetValidUntil

func (o *Token) GetValidUntil() time.Time

GetValidUntil returns the ValidUntil field value

func (*Token) GetValidUntilOk

func (o *Token) GetValidUntilOk() (*time.Time, bool)

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

func (*Token) HasDescription

func (o *Token) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Token) HasLabels

func (o *Token) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (Token) MarshalJSON

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

func (*Token) SetContent

func (o *Token) SetContent(v string)

SetContent sets field value

func (*Token) SetDescription

func (o *Token) SetDescription(v string)

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

func (*Token) SetId

func (o *Token) SetId(v string)

SetId sets field value

func (*Token) SetLabels

func (o *Token) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*Token) SetName

func (o *Token) SetName(v string)

SetName sets field value

func (*Token) SetRegion

func (o *Token) SetRegion(v string)

SetRegion sets field value

func (*Token) SetState

func (o *Token) SetState(v TokenState)

SetState sets field value

func (*Token) SetValidUntil

func (o *Token) SetValidUntil(v time.Time)

SetValidUntil sets field value

func (Token) ToMap

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

func (*Token) UnmarshalJSON

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

type TokenMetadata

type TokenMetadata struct {
	Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]+$"`
	Id          string  `json:"id"`
	// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels               *map[string]string `json:"labels,omitempty"`
	Name                 string             `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
	Region               string             `json:"region"`
	State                TokenState         `json:"state"`
	ValidUntil           time.Time          `json:"validUntil"`
	AdditionalProperties map[string]interface{}
}

TokenMetadata struct for TokenMetadata

func NewTokenMetadata

func NewTokenMetadata(id string, name string, region string, state TokenState, validUntil time.Time) *TokenMetadata

NewTokenMetadata instantiates a new TokenMetadata 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 NewTokenMetadataWithDefaults

func NewTokenMetadataWithDefaults() *TokenMetadata

NewTokenMetadataWithDefaults instantiates a new TokenMetadata 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 (*TokenMetadata) GetDescription

func (o *TokenMetadata) GetDescription() string

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

func (*TokenMetadata) GetDescriptionOk

func (o *TokenMetadata) 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 (*TokenMetadata) GetId

func (o *TokenMetadata) GetId() string

GetId returns the Id field value

func (*TokenMetadata) GetIdOk

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

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

func (*TokenMetadata) GetLabels

func (o *TokenMetadata) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*TokenMetadata) GetLabelsOk

func (o *TokenMetadata) GetLabelsOk() (*map[string]string, bool)

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

func (*TokenMetadata) GetName

func (o *TokenMetadata) GetName() string

GetName returns the Name field value

func (*TokenMetadata) GetNameOk

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

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

func (*TokenMetadata) GetRegion

func (o *TokenMetadata) GetRegion() string

GetRegion returns the Region field value

func (*TokenMetadata) GetRegionOk

func (o *TokenMetadata) GetRegionOk() (*string, bool)

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

func (*TokenMetadata) GetState

func (o *TokenMetadata) GetState() TokenState

GetState returns the State field value

func (*TokenMetadata) GetStateOk

func (o *TokenMetadata) GetStateOk() (*TokenState, bool)

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

func (*TokenMetadata) GetValidUntil

func (o *TokenMetadata) GetValidUntil() time.Time

GetValidUntil returns the ValidUntil field value

func (*TokenMetadata) GetValidUntilOk

func (o *TokenMetadata) GetValidUntilOk() (*time.Time, bool)

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

func (*TokenMetadata) HasDescription

func (o *TokenMetadata) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TokenMetadata) HasLabels

func (o *TokenMetadata) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (TokenMetadata) MarshalJSON

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

func (*TokenMetadata) SetDescription

func (o *TokenMetadata) SetDescription(v string)

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

func (*TokenMetadata) SetId

func (o *TokenMetadata) SetId(v string)

SetId sets field value

func (*TokenMetadata) SetLabels

func (o *TokenMetadata) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*TokenMetadata) SetName

func (o *TokenMetadata) SetName(v string)

SetName sets field value

func (*TokenMetadata) SetRegion

func (o *TokenMetadata) SetRegion(v string)

SetRegion sets field value

func (*TokenMetadata) SetState

func (o *TokenMetadata) SetState(v TokenState)

SetState sets field value

func (*TokenMetadata) SetValidUntil

func (o *TokenMetadata) SetValidUntil(v time.Time)

SetValidUntil sets field value

func (TokenMetadata) ToMap

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

func (*TokenMetadata) UnmarshalJSON

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

type TokenState

type TokenState string

TokenState The lifecycle state of the token.

const (
	TOKENSTATE_CREATING                 TokenState = "creating"
	TOKENSTATE_ACTIVE                   TokenState = "active"
	TOKENSTATE_DELETING                 TokenState = "deleting"
	TOKENSTATE_INACTIVE                 TokenState = "inactive"
	TOKENSTATE_UNKNOWN_DEFAULT_OPEN_API TokenState = "unknown_default_open_api"
)

List of TokenState

func NewTokenStateFromValue

func NewTokenStateFromValue(v string) (*TokenState, error)

NewTokenStateFromValue returns a pointer to a valid TokenState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TokenState) IsValid

func (v TokenState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TokenState) Ptr

func (v TokenState) Ptr() *TokenState

Ptr returns reference to TokenState value

func (*TokenState) UnmarshalJSON

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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