edge

package module
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedInstanceStatusEnumValues = []InstanceStatus{
	"error",
	"reconciling",
	"active",
	"deleting",
}

All allowed values of Instance 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 ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

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 {
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Edge Cloud API API v1beta1 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. Optionally receives configuration options

func (*APIClient) DeleteInstance

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

DeleteInstance: Method for DeleteInstance

Deletes the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiDeleteInstanceRequest

func (*APIClient) DeleteInstanceByName

func (a *APIClient) DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest

DeleteInstanceByName: Method for DeleteInstanceByName

Deletes the given instance by name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiDeleteInstanceByNameRequest

func (*APIClient) DeleteInstanceByNameExecute

func (a *APIClient) DeleteInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) error

func (*APIClient) DeleteInstanceExecute

func (a *APIClient) DeleteInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error

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

func (*APIClient) GetInstance

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

GetInstance: Method for GetInstance

Returns the details for the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiGetInstanceRequest

func (*APIClient) GetInstanceByName

func (a *APIClient) GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest

GetInstanceByName: Method for GetInstanceByName

Returns the details for the given instance by name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetInstanceByNameRequest

func (*APIClient) GetInstanceByNameExecute

func (a *APIClient) GetInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Instance, error)

func (*APIClient) GetInstanceExecute

func (a *APIClient) GetInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Instance, error)

func (*APIClient) GetInstances

func (a *APIClient) GetInstances(ctx context.Context, projectId string, regionId string) ApiGetInstancesRequest

GetInstances: Method for GetInstances

Returns a list of all instances within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@return ApiGetInstancesRequest

func (*APIClient) GetInstancesExecute

func (a *APIClient) GetInstancesExecute(ctx context.Context, projectId string, regionId string) (*InstanceList, error)

func (*APIClient) GetKubeconfigByInstanceId

func (a *APIClient) GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest

GetKubeconfigByInstanceId: Method for GetKubeconfigByInstanceId

Returns the kubeconfig for the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiGetKubeconfigByInstanceIdRequest

func (*APIClient) GetKubeconfigByInstanceIdExecute

func (a *APIClient) GetKubeconfigByInstanceIdExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Kubeconfig, error)

func (*APIClient) GetKubeconfigByInstanceName

func (a *APIClient) GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest

GetKubeconfigByInstanceName: Method for GetKubeconfigByInstanceName

Returns the kubeconfig for the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetKubeconfigByInstanceNameRequest

func (*APIClient) GetKubeconfigByInstanceNameExecute

func (a *APIClient) GetKubeconfigByInstanceNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Kubeconfig, error)

func (*APIClient) GetTokenByInstanceId

func (a *APIClient) GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest

GetTokenByInstanceId: Method for GetTokenByInstanceId

Returns an ServiceAccount token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The instance UUID.
@return ApiGetTokenByInstanceIdRequest

func (*APIClient) GetTokenByInstanceIdExecute

func (a *APIClient) GetTokenByInstanceIdExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Token, error)

func (*APIClient) GetTokenByInstanceName

func (a *APIClient) GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest

GetTokenByInstanceName: Method for GetTokenByInstanceName

Returns an ServiceAccount token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetTokenByInstanceNameRequest

func (*APIClient) GetTokenByInstanceNameExecute

func (a *APIClient) GetTokenByInstanceNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Token, error)

func (*APIClient) ListPlansGlobal

func (a *APIClient) ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest

ListPlansGlobal: Method for ListPlansGlobal

List all global plans.

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

func (*APIClient) ListPlansGlobalExecute

func (a *APIClient) ListPlansGlobalExecute(ctx context.Context) (*PlanList, error)

func (*APIClient) ListPlansProject

func (a *APIClient) ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest

ListPlansProject: Method for ListPlansProject

List all possible plans for the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the plan is part of.
@return ApiListPlansProjectRequest

func (*APIClient) ListPlansProjectExecute

func (a *APIClient) ListPlansProjectExecute(ctx context.Context, projectId string) (*PlanList, error)

func (*APIClient) PostInstances

func (a *APIClient) PostInstances(ctx context.Context, projectId string, regionId string) ApiPostInstancesRequest

PostInstances: Method for PostInstances

Creates a new instance within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@return ApiPostInstancesRequest

func (*APIClient) PostInstancesExecute

func (a *APIClient) PostInstancesExecute(ctx context.Context, projectId string, regionId string) (*Instance, error)

func (*APIClient) UpdateInstance

func (a *APIClient) UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest

UpdateInstance: Method for UpdateInstance

Updates the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiUpdateInstanceRequest

func (*APIClient) UpdateInstanceByName

func (a *APIClient) UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest

UpdateInstanceByName: Method for UpdateInstanceByName

Updates the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiUpdateInstanceByNameRequest

func (*APIClient) UpdateInstanceByNameExecute

func (a *APIClient) UpdateInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) error

func (*APIClient) UpdateInstanceExecute

func (a *APIClient) UpdateInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error

type ApiDeleteInstanceByNameRequest

type ApiDeleteInstanceByNameRequest interface {
	Execute() error
}

type ApiDeleteInstanceRequest

type ApiDeleteInstanceRequest interface {
	Execute() error
}

type ApiGetInstanceByNameRequest

type ApiGetInstanceByNameRequest interface {
	Execute() (*Instance, error)
}

type ApiGetInstanceRequest

type ApiGetInstanceRequest interface {
	Execute() (*Instance, error)
}

type ApiGetInstancesRequest

type ApiGetInstancesRequest interface {
	Execute() (*InstanceList, error)
}

type ApiGetKubeconfigByInstanceIdRequest

type ApiGetKubeconfigByInstanceIdRequest interface {
	// Expiration of the included token in seconds
	ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceIdRequest
	Execute() (*Kubeconfig, error)
}

type ApiGetKubeconfigByInstanceNameRequest

type ApiGetKubeconfigByInstanceNameRequest interface {
	// Expiration of the included token in seconds
	ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceNameRequest
	Execute() (*Kubeconfig, error)
}

type ApiGetTokenByInstanceIdRequest

type ApiGetTokenByInstanceIdRequest interface {
	// Expiration of the token in seconds
	ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceIdRequest
	Execute() (*Token, error)
}

type ApiGetTokenByInstanceNameRequest

type ApiGetTokenByInstanceNameRequest interface {
	// Expiration of the included token in seconds
	ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceNameRequest
	Execute() (*Token, error)
}

type ApiListPlansGlobalRequest

type ApiListPlansGlobalRequest interface {
	Execute() (*PlanList, error)
}

type ApiListPlansProjectRequest

type ApiListPlansProjectRequest interface {
	Execute() (*PlanList, error)
}

type ApiPostInstancesRequest

type ApiPostInstancesRequest interface {
	PostInstancesPayload(postInstancesPayload PostInstancesPayload) ApiPostInstancesRequest
	Execute() (*Instance, error)
}

type ApiUpdateInstanceByNameRequest

type ApiUpdateInstanceByNameRequest interface {
	UpdateInstanceByNamePayload(updateInstanceByNamePayload UpdateInstanceByNamePayload) ApiUpdateInstanceByNameRequest
	Execute() error
}

type ApiUpdateInstanceRequest

type ApiUpdateInstanceRequest interface {
	UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
	Execute() error
}

type BadRequest

type BadRequest struct {
	Code    BadRequestGetCodeAttributeType    `json:"code,omitempty"`
	Message BadRequestGetMessageAttributeType `json:"message,omitempty"`
}

BadRequest struct for BadRequest

func NewBadRequest

func NewBadRequest() *BadRequest

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

func NewBadRequestWithDefaults

func NewBadRequestWithDefaults() *BadRequest

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

func (*BadRequest) GetCode

func (o *BadRequest) GetCode() (res BadRequestGetCodeRetType)

GetCode returns the Code field value if set, zero value otherwise.

func (*BadRequest) GetCodeOk

func (o *BadRequest) GetCodeOk() (ret BadRequestGetCodeRetType, ok bool)

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

func (*BadRequest) GetMessage

func (o *BadRequest) GetMessage() (res BadRequestGetMessageRetType)

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

func (*BadRequest) GetMessageOk

func (o *BadRequest) GetMessageOk() (ret BadRequestGetMessageRetType, ok 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 (*BadRequest) HasCode

func (o *BadRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*BadRequest) HasMessage

func (o *BadRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*BadRequest) SetCode

func (o *BadRequest) SetCode(v BadRequestGetCodeRetType)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*BadRequest) SetMessage

func (o *BadRequest) SetMessage(v BadRequestGetMessageRetType)

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

func (BadRequest) ToMap

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

type BadRequestGetCodeArgType

type BadRequestGetCodeArgType = string

type BadRequestGetCodeAttributeType

type BadRequestGetCodeAttributeType = *string

isNotNullableString

type BadRequestGetCodeRetType

type BadRequestGetCodeRetType = string

type BadRequestGetMessageArgType

type BadRequestGetMessageArgType = string

type BadRequestGetMessageAttributeType

type BadRequestGetMessageAttributeType = *string

isNotNullableString

type BadRequestGetMessageRetType

type BadRequestGetMessageRetType = string

type DefaultApi

type DefaultApi interface {
	/*
		DeleteInstance Method for DeleteInstance
		Deletes the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return ApiDeleteInstanceRequest
	*/
	DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
	/*
		DeleteInstanceExecute executes the request

	*/
	DeleteInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error
	/*
		DeleteInstanceByName Method for DeleteInstanceByName
		Deletes the given instance by name.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiDeleteInstanceByNameRequest
	*/
	DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest
	/*
		DeleteInstanceByNameExecute executes the request

	*/
	DeleteInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) error
	/*
		GetInstance Method for GetInstance
		Returns the details for the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return ApiGetInstanceRequest
	*/
	GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
	/*
		GetInstanceExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return Instance

	*/
	GetInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Instance, error)
	/*
		GetInstanceByName Method for GetInstanceByName
		Returns the details for the given instance by name.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiGetInstanceByNameRequest
	*/
	GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest
	/*
		GetInstanceByNameExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return Instance

	*/
	GetInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Instance, error)
	/*
		GetInstances Method for GetInstances
		Returns a list of all instances within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@return ApiGetInstancesRequest
	*/
	GetInstances(ctx context.Context, projectId string, regionId string) ApiGetInstancesRequest
	/*
		GetInstancesExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@return InstanceList

	*/
	GetInstancesExecute(ctx context.Context, projectId string, regionId string) (*InstanceList, error)
	/*
		GetKubeconfigByInstanceId Method for GetKubeconfigByInstanceId
		Returns the kubeconfig for the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return ApiGetKubeconfigByInstanceIdRequest
	*/
	GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest
	/*
		GetKubeconfigByInstanceIdExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return Kubeconfig

	*/
	GetKubeconfigByInstanceIdExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Kubeconfig, error)
	/*
		GetKubeconfigByInstanceName Method for GetKubeconfigByInstanceName
		Returns the kubeconfig for the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiGetKubeconfigByInstanceNameRequest
	*/
	GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest
	/*
		GetKubeconfigByInstanceNameExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return Kubeconfig

	*/
	GetKubeconfigByInstanceNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Kubeconfig, error)
	/*
		GetTokenByInstanceId Method for GetTokenByInstanceId
		Returns an ServiceAccount token.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The instance UUID.
		@return ApiGetTokenByInstanceIdRequest
	*/
	GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest
	/*
		GetTokenByInstanceIdExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The instance UUID.
		@return Token

	*/
	GetTokenByInstanceIdExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Token, error)
	/*
		GetTokenByInstanceName Method for GetTokenByInstanceName
		Returns an ServiceAccount token.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiGetTokenByInstanceNameRequest
	*/
	GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest
	/*
		GetTokenByInstanceNameExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return Token

	*/
	GetTokenByInstanceNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Token, error)
	/*
		ListPlansGlobal Method for ListPlansGlobal
		List all global plans.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListPlansGlobalRequest
	*/
	ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest
	/*
		ListPlansGlobalExecute executes the request

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

	*/
	ListPlansGlobalExecute(ctx context.Context) (*PlanList, error)
	/*
		ListPlansProject Method for ListPlansProject
		List all possible plans for the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the plan is part of.
		@return ApiListPlansProjectRequest
	*/
	ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest
	/*
		ListPlansProjectExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the plan is part of.
		@return PlanList

	*/
	ListPlansProjectExecute(ctx context.Context, projectId string) (*PlanList, error)
	/*
		PostInstances Method for PostInstances
		Creates a new instance within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@return ApiPostInstancesRequest
	*/
	PostInstances(ctx context.Context, projectId string, regionId string) ApiPostInstancesRequest
	/*
		PostInstancesExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@return Instance

	*/
	PostInstancesExecute(ctx context.Context, projectId string, regionId string) (*Instance, error)
	/*
		UpdateInstance Method for UpdateInstance
		Updates the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return ApiUpdateInstanceRequest
	*/
	UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest
	/*
		UpdateInstanceExecute executes the request

	*/
	UpdateInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error
	/*
		UpdateInstanceByName Method for UpdateInstanceByName
		Updates the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiUpdateInstanceByNameRequest
	*/
	UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest
	/*
		UpdateInstanceByNameExecute executes the request

	*/
	UpdateInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) error
}

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type DeleteInstanceByNameRequest

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

func (DeleteInstanceByNameRequest) Execute

func (r DeleteInstanceByNameRequest) Execute() error

type DeleteInstanceRequest

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

func (DeleteInstanceRequest) Execute

func (r DeleteInstanceRequest) Execute() error

type GetInstanceByNameRequest

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

func (GetInstanceByNameRequest) Execute

func (r GetInstanceByNameRequest) Execute() (*Instance, error)

type GetInstanceRequest

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

func (GetInstanceRequest) Execute

func (r GetInstanceRequest) Execute() (*Instance, error)

type GetInstancesRequest

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

func (GetInstancesRequest) Execute

func (r GetInstancesRequest) Execute() (*InstanceList, error)

type GetKubeconfigByInstanceIdRequest

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

func (GetKubeconfigByInstanceIdRequest) Execute

func (GetKubeconfigByInstanceIdRequest) ExpirationSeconds

func (r GetKubeconfigByInstanceIdRequest) ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceIdRequest

type GetKubeconfigByInstanceNameRequest

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

func (GetKubeconfigByInstanceNameRequest) Execute

func (GetKubeconfigByInstanceNameRequest) ExpirationSeconds

type GetTokenByInstanceIdRequest

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

func (GetTokenByInstanceIdRequest) Execute

func (r GetTokenByInstanceIdRequest) Execute() (*Token, error)

func (GetTokenByInstanceIdRequest) ExpirationSeconds

func (r GetTokenByInstanceIdRequest) ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceIdRequest

type GetTokenByInstanceNameRequest

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

func (GetTokenByInstanceNameRequest) Execute

func (r GetTokenByInstanceNameRequest) Execute() (*Token, error)

func (GetTokenByInstanceNameRequest) ExpirationSeconds

func (r GetTokenByInstanceNameRequest) ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceNameRequest

type Instance

type Instance struct {
	// The date and time the creation of the instance was triggered.
	// REQUIRED
	Created InstanceGetCreatedAttributeType `json:"created" required:"true"`
	// A user chosen description to distinguish multiple instances.
	Description InstanceGetDescriptionAttributeType `json:"description,omitempty"`
	// The displayed name of the instance.
	// REQUIRED
	DisplayName InstanceGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// URL to the Management UI of the Instance.
	// REQUIRED
	FrontendUrl InstanceGetFrontendUrlAttributeType `json:"frontendUrl" required:"true"`
	// A auto generated unique id which identifies the instance.
	// REQUIRED
	Id InstanceGetIdAttributeType `json:"id" required:"true"`
	// Service Plan configures the size of the Instance.
	// REQUIRED
	PlanId InstanceGetPlanIdAttributeType `json:"planId" required:"true"`
	// The current status of the instance.
	// REQUIRED
	Status InstanceGetStatusAttributeType `json:"status" required:"true"`
}

Instance struct for Instance

func NewInstance

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

func (o *Instance) GetCreated() (ret InstanceGetCreatedRetType)

GetCreated returns the Created field value

func (*Instance) GetCreatedOk

func (o *Instance) GetCreatedOk() (ret InstanceGetCreatedRetType, ok bool)

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

func (*Instance) GetDescription

func (o *Instance) GetDescription() (res InstanceGetDescriptionRetType)

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

func (*Instance) GetDescriptionOk

func (o *Instance) GetDescriptionOk() (ret InstanceGetDescriptionRetType, ok 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) GetDisplayName

func (o *Instance) GetDisplayName() (ret InstanceGetDisplayNameRetType)

GetDisplayName returns the DisplayName field value

func (*Instance) GetDisplayNameOk

func (o *Instance) GetDisplayNameOk() (ret InstanceGetDisplayNameRetType, ok bool)

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

func (*Instance) GetFrontendUrl

func (o *Instance) GetFrontendUrl() (ret InstanceGetFrontendUrlRetType)

GetFrontendUrl returns the FrontendUrl field value

func (*Instance) GetFrontendUrlOk

func (o *Instance) GetFrontendUrlOk() (ret InstanceGetFrontendUrlRetType, ok bool)

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

func (*Instance) GetId

func (o *Instance) GetId() (ret InstanceGetIdRetType)

GetId returns the Id field value

func (*Instance) GetIdOk

func (o *Instance) GetIdOk() (ret InstanceGetIdRetType, ok bool)

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

func (*Instance) GetPlanId

func (o *Instance) GetPlanId() (ret InstanceGetPlanIdRetType)

GetPlanId returns the PlanId field value

func (*Instance) GetPlanIdOk

func (o *Instance) GetPlanIdOk() (ret InstanceGetPlanIdRetType, ok bool)

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

func (*Instance) GetStatus

func (o *Instance) GetStatus() (ret InstanceGetStatusRetType)

GetStatus returns the Status field value

func (*Instance) GetStatusOk

func (o *Instance) GetStatusOk() (ret InstanceGetStatusRetType, ok bool)

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

func (*Instance) HasDescription

func (o *Instance) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Instance) SetCreated

func (o *Instance) SetCreated(v InstanceGetCreatedRetType)

SetCreated sets field value

func (*Instance) SetDescription

func (o *Instance) SetDescription(v InstanceGetDescriptionRetType)

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

func (*Instance) SetDisplayName

func (o *Instance) SetDisplayName(v InstanceGetDisplayNameRetType)

SetDisplayName sets field value

func (*Instance) SetFrontendUrl

func (o *Instance) SetFrontendUrl(v InstanceGetFrontendUrlRetType)

SetFrontendUrl sets field value

func (*Instance) SetId

func (o *Instance) SetId(v InstanceGetIdRetType)

SetId sets field value

func (*Instance) SetPlanId

func (o *Instance) SetPlanId(v InstanceGetPlanIdRetType)

SetPlanId sets field value

func (*Instance) SetStatus

func (o *Instance) SetStatus(v InstanceGetStatusRetType)

SetStatus sets field value

func (Instance) ToMap

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

type InstanceGetCreatedArgType

type InstanceGetCreatedArgType = time.Time

type InstanceGetCreatedAttributeType

type InstanceGetCreatedAttributeType = *time.Time

isDateTime

type InstanceGetCreatedRetType

type InstanceGetCreatedRetType = time.Time

type InstanceGetDescriptionArgType

type InstanceGetDescriptionArgType = string

type InstanceGetDescriptionAttributeType

type InstanceGetDescriptionAttributeType = *string

isNotNullableString

type InstanceGetDescriptionRetType

type InstanceGetDescriptionRetType = string

type InstanceGetDisplayNameArgType

type InstanceGetDisplayNameArgType = string

type InstanceGetDisplayNameAttributeType

type InstanceGetDisplayNameAttributeType = *string

isNotNullableString

type InstanceGetDisplayNameRetType

type InstanceGetDisplayNameRetType = string

type InstanceGetFrontendUrlArgType

type InstanceGetFrontendUrlArgType = string

type InstanceGetFrontendUrlAttributeType

type InstanceGetFrontendUrlAttributeType = *string

isNotNullableString

type InstanceGetFrontendUrlRetType

type InstanceGetFrontendUrlRetType = string

type InstanceGetIdArgType

type InstanceGetIdArgType = string

type InstanceGetIdAttributeType

type InstanceGetIdAttributeType = *string

isNotNullableString

type InstanceGetIdRetType

type InstanceGetIdRetType = string

type InstanceGetPlanIdArgType

type InstanceGetPlanIdArgType = string

type InstanceGetPlanIdAttributeType

type InstanceGetPlanIdAttributeType = *string

isNotNullableString

type InstanceGetPlanIdRetType

type InstanceGetPlanIdRetType = string

type InstanceGetStatusArgType

type InstanceGetStatusArgType = InstanceStatus

type InstanceGetStatusAttributeType

type InstanceGetStatusAttributeType = *InstanceStatus

type InstanceGetStatusRetType

type InstanceGetStatusRetType = InstanceStatus

type InstanceList

type InstanceList struct {
	// REQUIRED
	Instances InstanceListGetInstancesAttributeType `json:"instances" required:"true"`
}

InstanceList struct for InstanceList

func NewInstanceList

func NewInstanceList(instances InstanceListGetInstancesArgType) *InstanceList

NewInstanceList instantiates a new InstanceList 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 NewInstanceListWithDefaults

func NewInstanceListWithDefaults() *InstanceList

NewInstanceListWithDefaults instantiates a new InstanceList 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 (*InstanceList) GetInstances

func (o *InstanceList) GetInstances() (ret InstanceListGetInstancesRetType)

GetInstances returns the Instances field value

func (*InstanceList) GetInstancesOk

func (o *InstanceList) GetInstancesOk() (ret InstanceListGetInstancesRetType, ok bool)

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

func (*InstanceList) SetInstances

func (o *InstanceList) SetInstances(v InstanceListGetInstancesRetType)

SetInstances sets field value

func (InstanceList) ToMap

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

type InstanceListGetInstancesArgType

type InstanceListGetInstancesArgType = []Instance

type InstanceListGetInstancesAttributeType

type InstanceListGetInstancesAttributeType = *[]Instance

isArray

type InstanceListGetInstancesRetType

type InstanceListGetInstancesRetType = []Instance

type InstanceStatus

type InstanceStatus string

InstanceStatus The current status of the instance. value type for enums

const (
	INSTANCESTATUS_ERROR       InstanceStatus = "error"
	INSTANCESTATUS_RECONCILING InstanceStatus = "reconciling"
	INSTANCESTATUS_ACTIVE      InstanceStatus = "active"
	INSTANCESTATUS_DELETING    InstanceStatus = "deleting"
)

List of Status

func NewInstanceStatusFromValue

func NewInstanceStatusFromValue(v InstanceStatus) (*InstanceStatus, error)

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

func (InstanceStatus) IsValid

func (v InstanceStatus) IsValid() bool

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

func (InstanceStatus) Ptr

func (v InstanceStatus) Ptr() *InstanceStatus

Ptr returns reference to StatusStatus value

func (*InstanceStatus) UnmarshalJSON

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

type Kubeconfig

type Kubeconfig struct {
	// The kubeconfig for the instance.
	// REQUIRED
	Kubeconfig KubeconfigGetKubeconfigAttributeType `json:"kubeconfig" required:"true"`
}

Kubeconfig struct for Kubeconfig

func NewKubeconfig

func NewKubeconfig(kubeconfig KubeconfigGetKubeconfigArgType) *Kubeconfig

NewKubeconfig instantiates a new Kubeconfig 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 NewKubeconfigWithDefaults

func NewKubeconfigWithDefaults() *Kubeconfig

NewKubeconfigWithDefaults instantiates a new Kubeconfig 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 (*Kubeconfig) GetKubeconfig

func (o *Kubeconfig) GetKubeconfig() (ret KubeconfigGetKubeconfigRetType)

GetKubeconfig returns the Kubeconfig field value

func (*Kubeconfig) GetKubeconfigOk

func (o *Kubeconfig) GetKubeconfigOk() (ret KubeconfigGetKubeconfigRetType, ok bool)

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

func (*Kubeconfig) SetKubeconfig

func (o *Kubeconfig) SetKubeconfig(v KubeconfigGetKubeconfigRetType)

SetKubeconfig sets field value

func (Kubeconfig) ToMap

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

type KubeconfigGetKubeconfigArgType

type KubeconfigGetKubeconfigArgType = map[string]interface{}

type KubeconfigGetKubeconfigAttributeType

type KubeconfigGetKubeconfigAttributeType = *map[string]interface{}

isFreeform

type KubeconfigGetKubeconfigRetType

type KubeconfigGetKubeconfigRetType = map[string]interface{}

type ListPlansGlobalRequest

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

func (ListPlansGlobalRequest) Execute

func (r ListPlansGlobalRequest) Execute() (*PlanList, error)

type ListPlansProjectRequest

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

func (ListPlansProjectRequest) Execute

func (r ListPlansProjectRequest) Execute() (*PlanList, error)

type MappedNullable

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

type NullableBadRequest

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

func NewNullableBadRequest

func NewNullableBadRequest(val *BadRequest) *NullableBadRequest

func (NullableBadRequest) Get

func (v NullableBadRequest) Get() *BadRequest

func (NullableBadRequest) IsSet

func (v NullableBadRequest) IsSet() bool

func (NullableBadRequest) MarshalJSON

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

func (*NullableBadRequest) Set

func (v *NullableBadRequest) Set(val *BadRequest)

func (*NullableBadRequest) UnmarshalJSON

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

func (*NullableBadRequest) Unset

func (v *NullableBadRequest) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInstance

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

func NewNullableInstance

func NewNullableInstance(val *Instance) *NullableInstance

func (NullableInstance) Get

func (v NullableInstance) Get() *Instance

func (NullableInstance) IsSet

func (v NullableInstance) IsSet() bool

func (NullableInstance) MarshalJSON

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

func (*NullableInstance) Set

func (v *NullableInstance) Set(val *Instance)

func (*NullableInstance) UnmarshalJSON

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

func (*NullableInstance) Unset

func (v *NullableInstance) Unset()

type NullableInstanceList

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

func NewNullableInstanceList

func NewNullableInstanceList(val *InstanceList) *NullableInstanceList

func (NullableInstanceList) Get

func (NullableInstanceList) IsSet

func (v NullableInstanceList) IsSet() bool

func (NullableInstanceList) MarshalJSON

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

func (*NullableInstanceList) Set

func (v *NullableInstanceList) Set(val *InstanceList)

func (*NullableInstanceList) UnmarshalJSON

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

func (*NullableInstanceList) Unset

func (v *NullableInstanceList) Unset()

type NullableInstanceStatus

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

func NewNullableInstanceStatus

func NewNullableInstanceStatus(val *InstanceStatus) *NullableInstanceStatus

func (NullableInstanceStatus) Get

func (NullableInstanceStatus) IsSet

func (v NullableInstanceStatus) IsSet() bool

func (NullableInstanceStatus) MarshalJSON

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

func (*NullableInstanceStatus) Set

func (*NullableInstanceStatus) UnmarshalJSON

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

func (*NullableInstanceStatus) Unset

func (v *NullableInstanceStatus) 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 NullableKubeconfig

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

func NewNullableKubeconfig

func NewNullableKubeconfig(val *Kubeconfig) *NullableKubeconfig

func (NullableKubeconfig) Get

func (v NullableKubeconfig) Get() *Kubeconfig

func (NullableKubeconfig) IsSet

func (v NullableKubeconfig) IsSet() bool

func (NullableKubeconfig) MarshalJSON

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

func (*NullableKubeconfig) Set

func (v *NullableKubeconfig) Set(val *Kubeconfig)

func (*NullableKubeconfig) UnmarshalJSON

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

func (*NullableKubeconfig) Unset

func (v *NullableKubeconfig) Unset()

type NullablePlan

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

func NewNullablePlan

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON

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

func (*NullablePlan) Set

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON

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

func (*NullablePlan) Unset

func (v *NullablePlan) Unset()

type NullablePlanList

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

func NewNullablePlanList

func NewNullablePlanList(val *PlanList) *NullablePlanList

func (NullablePlanList) Get

func (v NullablePlanList) Get() *PlanList

func (NullablePlanList) IsSet

func (v NullablePlanList) IsSet() bool

func (NullablePlanList) MarshalJSON

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

func (*NullablePlanList) Set

func (v *NullablePlanList) Set(val *PlanList)

func (*NullablePlanList) UnmarshalJSON

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

func (*NullablePlanList) Unset

func (v *NullablePlanList) Unset()

type NullablePostInstancesPayload

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

func NewNullablePostInstancesPayload

func NewNullablePostInstancesPayload(val *PostInstancesPayload) *NullablePostInstancesPayload

func (NullablePostInstancesPayload) Get

func (NullablePostInstancesPayload) IsSet

func (NullablePostInstancesPayload) MarshalJSON

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

func (*NullablePostInstancesPayload) Set

func (*NullablePostInstancesPayload) UnmarshalJSON

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

func (*NullablePostInstancesPayload) Unset

func (v *NullablePostInstancesPayload) 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 NullableUnauthorizedRequest

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

func NewNullableUnauthorizedRequest

func NewNullableUnauthorizedRequest(val *UnauthorizedRequest) *NullableUnauthorizedRequest

func (NullableUnauthorizedRequest) Get

func (NullableUnauthorizedRequest) IsSet

func (NullableUnauthorizedRequest) MarshalJSON

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

func (*NullableUnauthorizedRequest) Set

func (*NullableUnauthorizedRequest) UnmarshalJSON

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

func (*NullableUnauthorizedRequest) Unset

func (v *NullableUnauthorizedRequest) Unset()

type NullableUpdateInstanceByNamePayload

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

func (NullableUpdateInstanceByNamePayload) Get

func (NullableUpdateInstanceByNamePayload) IsSet

func (NullableUpdateInstanceByNamePayload) MarshalJSON

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

func (*NullableUpdateInstanceByNamePayload) Set

func (*NullableUpdateInstanceByNamePayload) UnmarshalJSON

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

func (*NullableUpdateInstanceByNamePayload) Unset

type NullableUpdateInstancePayload

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

func (NullableUpdateInstancePayload) Get

func (NullableUpdateInstancePayload) IsSet

func (NullableUpdateInstancePayload) MarshalJSON

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

func (*NullableUpdateInstancePayload) Set

func (*NullableUpdateInstancePayload) UnmarshalJSON

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

func (*NullableUpdateInstancePayload) Unset

func (v *NullableUpdateInstancePayload) Unset()

type NullableUser

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

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

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

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

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

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableValue

type NullableValue[T any] struct {
	// contains filtered or unexported fields
}

func (NullableValue[T]) Get

func (v NullableValue[T]) Get() *T

func (NullableValue[T]) IsSet

func (v NullableValue[T]) IsSet() bool

func (*NullableValue[T]) Set

func (v *NullableValue[T]) Set(val *T)

func (*NullableValue[T]) Unset

func (v *NullableValue[T]) Unset()

type Plan

type Plan struct {
	// Description
	Description PlanGetDescriptionAttributeType `json:"description,omitempty"`
	// Service Plan Identifier
	Id PlanGetIdAttributeType `json:"id,omitempty"`
	// Maximum number of EdgeHosts
	// Can be cast to int32 without loss of precision.
	MaxEdgeHosts PlanGetMaxEdgeHostsAttributeType `json:"maxEdgeHosts,omitempty"`
	// Service Plan Name
	Name PlanGetNameAttributeType `json:"name,omitempty"`
}

Plan struct for Plan

func NewPlan

func NewPlan() *Plan

NewPlan instantiates a new Plan 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 NewPlanWithDefaults

func NewPlanWithDefaults() *Plan

NewPlanWithDefaults instantiates a new Plan 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 (*Plan) GetDescription

func (o *Plan) GetDescription() (res PlanGetDescriptionRetType)

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

func (*Plan) GetDescriptionOk

func (o *Plan) GetDescriptionOk() (ret PlanGetDescriptionRetType, ok 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 (*Plan) GetId

func (o *Plan) GetId() (res PlanGetIdRetType)

GetId returns the Id field value if set, zero value otherwise.

func (*Plan) GetIdOk

func (o *Plan) GetIdOk() (ret PlanGetIdRetType, ok bool)

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

func (*Plan) GetMaxEdgeHosts

func (o *Plan) GetMaxEdgeHosts() (res PlanGetMaxEdgeHostsRetType)

GetMaxEdgeHosts returns the MaxEdgeHosts field value if set, zero value otherwise.

func (*Plan) GetMaxEdgeHostsOk

func (o *Plan) GetMaxEdgeHostsOk() (ret PlanGetMaxEdgeHostsRetType, ok bool)

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

func (*Plan) GetName

func (o *Plan) GetName() (res PlanGetNameRetType)

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

func (*Plan) GetNameOk

func (o *Plan) GetNameOk() (ret PlanGetNameRetType, ok 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 (*Plan) HasDescription

func (o *Plan) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Plan) HasId

func (o *Plan) HasId() bool

HasId returns a boolean if a field has been set.

func (*Plan) HasMaxEdgeHosts

func (o *Plan) HasMaxEdgeHosts() bool

HasMaxEdgeHosts returns a boolean if a field has been set.

func (*Plan) HasName

func (o *Plan) HasName() bool

HasName returns a boolean if a field has been set.

func (*Plan) SetDescription

func (o *Plan) SetDescription(v PlanGetDescriptionRetType)

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

func (*Plan) SetId

func (o *Plan) SetId(v PlanGetIdRetType)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Plan) SetMaxEdgeHosts

func (o *Plan) SetMaxEdgeHosts(v PlanGetMaxEdgeHostsRetType)

SetMaxEdgeHosts gets a reference to the given int64 and assigns it to the MaxEdgeHosts field.

func (*Plan) SetName

func (o *Plan) SetName(v PlanGetNameRetType)

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

func (Plan) ToMap

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

type PlanGetDescriptionArgType

type PlanGetDescriptionArgType = string

type PlanGetDescriptionAttributeType

type PlanGetDescriptionAttributeType = *string

isNotNullableString

type PlanGetDescriptionRetType

type PlanGetDescriptionRetType = string

type PlanGetIdArgType

type PlanGetIdArgType = string

type PlanGetIdAttributeType

type PlanGetIdAttributeType = *string

isNotNullableString

type PlanGetIdRetType

type PlanGetIdRetType = string

type PlanGetMaxEdgeHostsArgType

type PlanGetMaxEdgeHostsArgType = int64

type PlanGetMaxEdgeHostsAttributeType

type PlanGetMaxEdgeHostsAttributeType = *int64

isInteger

type PlanGetMaxEdgeHostsRetType

type PlanGetMaxEdgeHostsRetType = int64

type PlanGetNameArgType

type PlanGetNameArgType = string

type PlanGetNameAttributeType

type PlanGetNameAttributeType = *string

isNotNullableString

type PlanGetNameRetType

type PlanGetNameRetType = string

type PlanList

type PlanList struct {
	ValidPlans PlanListGetValidPlansAttributeType `json:"validPlans,omitempty"`
}

PlanList struct for PlanList

func NewPlanList

func NewPlanList() *PlanList

NewPlanList instantiates a new PlanList 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 NewPlanListWithDefaults

func NewPlanListWithDefaults() *PlanList

NewPlanListWithDefaults instantiates a new PlanList 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 (*PlanList) GetValidPlans

func (o *PlanList) GetValidPlans() (res PlanListGetValidPlansRetType)

GetValidPlans returns the ValidPlans field value if set, zero value otherwise.

func (*PlanList) GetValidPlansOk

func (o *PlanList) GetValidPlansOk() (ret PlanListGetValidPlansRetType, ok bool)

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

func (*PlanList) HasValidPlans

func (o *PlanList) HasValidPlans() bool

HasValidPlans returns a boolean if a field has been set.

func (*PlanList) SetValidPlans

func (o *PlanList) SetValidPlans(v PlanListGetValidPlansRetType)

SetValidPlans gets a reference to the given []Plan and assigns it to the ValidPlans field.

func (PlanList) ToMap

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

type PlanListGetValidPlansArgType

type PlanListGetValidPlansArgType = []Plan

type PlanListGetValidPlansAttributeType

type PlanListGetValidPlansAttributeType = *[]Plan

isArray

type PlanListGetValidPlansRetType

type PlanListGetValidPlansRetType = []Plan

type PostInstancesPayload

type PostInstancesPayload struct {
	// A user chosen description to distinguish multiple instances.
	Description PostInstancesPayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// The displayed name to distinguish multiple instances.
	// REQUIRED
	DisplayName PostInstancesPayloadGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// Service Plan configures the size of the Instance.
	// REQUIRED
	PlanId PostInstancesPayloadGetPlanIdAttributeType `json:"planId" required:"true"`
}

PostInstancesPayload struct for PostInstancesPayload

func NewPostInstancesPayload

NewPostInstancesPayload instantiates a new PostInstancesPayload 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 NewPostInstancesPayloadWithDefaults

func NewPostInstancesPayloadWithDefaults() *PostInstancesPayload

NewPostInstancesPayloadWithDefaults instantiates a new PostInstancesPayload 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 (*PostInstancesPayload) GetDescription

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

func (*PostInstancesPayload) GetDescriptionOk

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 (*PostInstancesPayload) GetDisplayName

GetDisplayName returns the DisplayName field value

func (*PostInstancesPayload) GetDisplayNameOk

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

func (*PostInstancesPayload) GetPlanId

GetPlanId returns the PlanId field value

func (*PostInstancesPayload) GetPlanIdOk

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

func (*PostInstancesPayload) HasDescription

func (o *PostInstancesPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PostInstancesPayload) SetDescription

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

func (*PostInstancesPayload) SetDisplayName

SetDisplayName sets field value

func (*PostInstancesPayload) SetPlanId

SetPlanId sets field value

func (PostInstancesPayload) ToMap

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

type PostInstancesPayloadGetDescriptionArgType

type PostInstancesPayloadGetDescriptionArgType = string

type PostInstancesPayloadGetDescriptionAttributeType

type PostInstancesPayloadGetDescriptionAttributeType = *string

isNotNullableString

type PostInstancesPayloadGetDescriptionRetType

type PostInstancesPayloadGetDescriptionRetType = string

type PostInstancesPayloadGetDisplayNameArgType

type PostInstancesPayloadGetDisplayNameArgType = string

type PostInstancesPayloadGetDisplayNameAttributeType

type PostInstancesPayloadGetDisplayNameAttributeType = *string

isNotNullableString

type PostInstancesPayloadGetDisplayNameRetType

type PostInstancesPayloadGetDisplayNameRetType = string

type PostInstancesPayloadGetPlanIdArgType

type PostInstancesPayloadGetPlanIdArgType = string

type PostInstancesPayloadGetPlanIdAttributeType

type PostInstancesPayloadGetPlanIdAttributeType = *string

isNotNullableString

type PostInstancesPayloadGetPlanIdRetType

type PostInstancesPayloadGetPlanIdRetType = string

type PostInstancesRequest

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

func (PostInstancesRequest) Execute

func (r PostInstancesRequest) Execute() (*Instance, error)

func (PostInstancesRequest) PostInstancesPayload

func (r PostInstancesRequest) PostInstancesPayload(postInstancesPayload PostInstancesPayload) ApiPostInstancesRequest

type Token

type Token struct {
	// The token for the instance.
	// REQUIRED
	Token TokenGetTokenAttributeType `json:"token" required:"true"`
}

Token struct for Token

func NewToken

func NewToken(token TokenGetTokenArgType) *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) GetToken

func (o *Token) GetToken() (ret TokenGetTokenRetType)

GetToken returns the Token field value

func (*Token) GetTokenOk

func (o *Token) GetTokenOk() (ret TokenGetTokenRetType, ok bool)

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

func (*Token) SetToken

func (o *Token) SetToken(v TokenGetTokenRetType)

SetToken sets field value

func (Token) ToMap

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

type TokenGetTokenArgType

type TokenGetTokenArgType = string

type TokenGetTokenAttributeType

type TokenGetTokenAttributeType = *string

isNotNullableString

type TokenGetTokenRetType

type TokenGetTokenRetType = string

type UnauthorizedRequest

type UnauthorizedRequest struct {
	Code    UnauthorizedRequestGetCodeAttributeType    `json:"code,omitempty"`
	Message UnauthorizedRequestGetMessageAttributeType `json:"message,omitempty"`
}

UnauthorizedRequest struct for UnauthorizedRequest

func NewUnauthorizedRequest

func NewUnauthorizedRequest() *UnauthorizedRequest

NewUnauthorizedRequest instantiates a new UnauthorizedRequest 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 NewUnauthorizedRequestWithDefaults

func NewUnauthorizedRequestWithDefaults() *UnauthorizedRequest

NewUnauthorizedRequestWithDefaults instantiates a new UnauthorizedRequest 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 (*UnauthorizedRequest) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*UnauthorizedRequest) GetCodeOk

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

func (*UnauthorizedRequest) GetMessage

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

func (*UnauthorizedRequest) GetMessageOk

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 (*UnauthorizedRequest) HasCode

func (o *UnauthorizedRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*UnauthorizedRequest) HasMessage

func (o *UnauthorizedRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*UnauthorizedRequest) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UnauthorizedRequest) SetMessage

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

func (UnauthorizedRequest) ToMap

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

type UnauthorizedRequestGetCodeArgType

type UnauthorizedRequestGetCodeArgType = string

type UnauthorizedRequestGetCodeAttributeType

type UnauthorizedRequestGetCodeAttributeType = *string

isNotNullableString

type UnauthorizedRequestGetCodeRetType

type UnauthorizedRequestGetCodeRetType = string

type UnauthorizedRequestGetMessageArgType

type UnauthorizedRequestGetMessageArgType = string

type UnauthorizedRequestGetMessageAttributeType

type UnauthorizedRequestGetMessageAttributeType = *string

isNotNullableString

type UnauthorizedRequestGetMessageRetType

type UnauthorizedRequestGetMessageRetType = string

type UpdateInstanceByNamePayload

type UpdateInstanceByNamePayload struct {
	// A user chosen description to distinguish multiple instances.
	Description UpdateInstanceByNamePayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// Service Plan configures the size of the Instance.
	PlanId UpdateInstanceByNamePayloadGetPlanIdAttributeType `json:"planId,omitempty"`
}

UpdateInstanceByNamePayload struct for UpdateInstanceByNamePayload

func NewUpdateInstanceByNamePayload

func NewUpdateInstanceByNamePayload() *UpdateInstanceByNamePayload

NewUpdateInstanceByNamePayload instantiates a new UpdateInstanceByNamePayload 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 NewUpdateInstanceByNamePayloadWithDefaults

func NewUpdateInstanceByNamePayloadWithDefaults() *UpdateInstanceByNamePayload

NewUpdateInstanceByNamePayloadWithDefaults instantiates a new UpdateInstanceByNamePayload 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 (*UpdateInstanceByNamePayload) GetDescription

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

func (*UpdateInstanceByNamePayload) GetDescriptionOk

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 (*UpdateInstanceByNamePayload) GetPlanId

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*UpdateInstanceByNamePayload) GetPlanIdOk

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

func (*UpdateInstanceByNamePayload) HasDescription

func (o *UpdateInstanceByNamePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateInstanceByNamePayload) HasPlanId

func (o *UpdateInstanceByNamePayload) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (*UpdateInstanceByNamePayload) SetDescription

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

func (*UpdateInstanceByNamePayload) SetPlanId

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (UpdateInstanceByNamePayload) ToMap

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

type UpdateInstanceByNamePayloadGetDescriptionArgType

type UpdateInstanceByNamePayloadGetDescriptionArgType = string

type UpdateInstanceByNamePayloadGetDescriptionAttributeType

type UpdateInstanceByNamePayloadGetDescriptionAttributeType = *string

isNotNullableString

type UpdateInstanceByNamePayloadGetDescriptionRetType

type UpdateInstanceByNamePayloadGetDescriptionRetType = string

type UpdateInstanceByNamePayloadGetPlanIdArgType

type UpdateInstanceByNamePayloadGetPlanIdArgType = string

type UpdateInstanceByNamePayloadGetPlanIdAttributeType

type UpdateInstanceByNamePayloadGetPlanIdAttributeType = *string

isNotNullableString

type UpdateInstanceByNamePayloadGetPlanIdRetType

type UpdateInstanceByNamePayloadGetPlanIdRetType = string

type UpdateInstanceByNameRequest

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

func (UpdateInstanceByNameRequest) Execute

func (r UpdateInstanceByNameRequest) Execute() error

func (UpdateInstanceByNameRequest) UpdateInstanceByNamePayload

func (r UpdateInstanceByNameRequest) UpdateInstanceByNamePayload(updateInstanceByNamePayload UpdateInstanceByNamePayload) ApiUpdateInstanceByNameRequest

type UpdateInstancePayload

type UpdateInstancePayload struct {
	// A user chosen description to distinguish multiple instances.
	Description UpdateInstancePayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// Service Plan configures the size of the Instance.
	PlanId UpdateInstancePayloadGetPlanIdAttributeType `json:"planId,omitempty"`
}

UpdateInstancePayload struct for UpdateInstancePayload

func NewUpdateInstancePayload

func NewUpdateInstancePayload() *UpdateInstancePayload

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

func NewUpdateInstancePayloadWithDefaults

func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload

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

func (*UpdateInstancePayload) GetDescription

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

func (*UpdateInstancePayload) GetDescriptionOk

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 (*UpdateInstancePayload) GetPlanId

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*UpdateInstancePayload) GetPlanIdOk

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

func (*UpdateInstancePayload) HasDescription

func (o *UpdateInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateInstancePayload) HasPlanId

func (o *UpdateInstancePayload) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (*UpdateInstancePayload) SetDescription

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

func (*UpdateInstancePayload) SetPlanId

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (UpdateInstancePayload) ToMap

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

type UpdateInstancePayloadGetDescriptionArgType

type UpdateInstancePayloadGetDescriptionArgType = string

type UpdateInstancePayloadGetDescriptionAttributeType

type UpdateInstancePayloadGetDescriptionAttributeType = *string

isNotNullableString

type UpdateInstancePayloadGetDescriptionRetType

type UpdateInstancePayloadGetDescriptionRetType = string

type UpdateInstancePayloadGetPlanIdArgType

type UpdateInstancePayloadGetPlanIdArgType = string

type UpdateInstancePayloadGetPlanIdAttributeType

type UpdateInstancePayloadGetPlanIdAttributeType = *string

isNotNullableString

type UpdateInstancePayloadGetPlanIdRetType

type UpdateInstancePayloadGetPlanIdRetType = string

type UpdateInstanceRequest

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

func (UpdateInstanceRequest) Execute

func (r UpdateInstanceRequest) Execute() error

func (UpdateInstanceRequest) UpdateInstancePayload

func (r UpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest

type User

type User struct {
	// The email of the user.
	// REQUIRED
	Email UserGetEmailAttributeType `json:"email" required:"true"`
	// The UUID of the user.
	// REQUIRED
	InternalId UserGetInternalIdAttributeType `json:"internalId" required:"true"`
}

User struct for User

func NewUser

func NewUser(email UserGetEmailArgType, internalId UserGetInternalIdArgType) *User

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

func NewUserWithDefaults

func NewUserWithDefaults() *User

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

func (*User) GetEmail

func (o *User) GetEmail() (ret UserGetEmailRetType)

GetEmail returns the Email field value

func (*User) GetEmailOk

func (o *User) GetEmailOk() (ret UserGetEmailRetType, ok bool)

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

func (*User) GetInternalId

func (o *User) GetInternalId() (ret UserGetInternalIdRetType)

GetInternalId returns the InternalId field value

func (*User) GetInternalIdOk

func (o *User) GetInternalIdOk() (ret UserGetInternalIdRetType, ok bool)

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

func (*User) SetEmail

func (o *User) SetEmail(v UserGetEmailRetType)

SetEmail sets field value

func (*User) SetInternalId

func (o *User) SetInternalId(v UserGetInternalIdRetType)

SetInternalId sets field value

func (User) ToMap

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

type UserGetEmailArgType

type UserGetEmailArgType = string

type UserGetEmailAttributeType

type UserGetEmailAttributeType = *string

isNotNullableString

type UserGetEmailRetType

type UserGetEmailRetType = string

type UserGetInternalIdArgType

type UserGetInternalIdArgType = string

type UserGetInternalIdAttributeType

type UserGetInternalIdAttributeType = *string

isNotNullableString

type UserGetInternalIdRetType

type UserGetInternalIdRetType = string

Jump to

Keyboard shortcuts

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