git

package module
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedCreateInstancePayloadFlavorEnumValues = []CreateInstancePayloadFlavor{
	"git-10",
	"git-100",
}

All allowed values of CreateInstancePayload enum

View Source
var AllowedFlavorAvailabilityEnumValues = []FlavorAvailability{
	"available",
	"unavailable",
	"internal",
	"deprecated",
}

All allowed values of Flavor enum

View Source
var AllowedInstanceStateEnumValues = []InstanceState{
	"Creating",
	"WaitingForResources",
	"Updating",
	"Deleting",
	"Ready",
	"Error",
}

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 Git API API v1beta.0.4 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) CreateInstance added in v0.2.0

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

CreateInstance: Create an Instance.

Creates a new STACKIT Git instance as a project resource.

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

func (*APIClient) CreateInstanceExecute added in v0.2.0

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

func (*APIClient) DeleteInstance added in v0.2.0

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

DeleteInstance: Delete Instance.

Deletes a STACKIT Git instance and destroys all associated data.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param instanceId Instance identifier.
@return ApiDeleteInstanceRequest

func (*APIClient) DeleteInstanceExecute added in v0.2.0

func (a *APIClient) DeleteInstanceExecute(ctx context.Context, projectId 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 added in v0.2.0

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

GetInstance: Get Instance information.

Retrieves information about a STACKIT Git instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param instanceId Instance identifier.
@return ApiGetInstanceRequest

func (*APIClient) GetInstanceExecute added in v0.2.0

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

func (*APIClient) ListFlavors added in v0.6.0

func (a *APIClient) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest

ListFlavors: Returns the details for the given STACKIT Git flavors.

Provides detailed information about possible Git Flavors.

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

func (*APIClient) ListFlavorsExecute added in v0.6.0

func (a *APIClient) ListFlavorsExecute(ctx context.Context, projectId string) (*ListFlavors, error)

func (*APIClient) ListInstances

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

ListInstances: List Instances.

Lists all STACKIT Git instances within a project.

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

func (*APIClient) ListInstancesExecute

func (a *APIClient) ListInstancesExecute(ctx context.Context, projectId string) (*ListInstances, error)

type ApiCreateInstanceRequest added in v0.2.0

type ApiCreateInstanceRequest interface {
	// Instance configuration options.
	CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
	Execute() (*Instance, error)
}

type ApiDeleteInstanceRequest added in v0.2.0

type ApiDeleteInstanceRequest interface {
	Execute() error
}

type ApiGetInstanceRequest added in v0.2.0

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

type ApiListFlavorsRequest added in v0.6.0

type ApiListFlavorsRequest interface {
	Execute() (*ListFlavors, error)
}

type ApiListInstancesRequest

type ApiListInstancesRequest interface {
	Execute() (*ListInstances, error)
}

type CreateInstancePayload added in v0.2.0

type CreateInstancePayload struct {
	// Restricted ACL for instance access.
	Acl CreateInstancePayloadGetAclAttributeType `json:"acl,omitempty"`
	// Desired instance flavor. Must be one of the defined enum values
	Flavor CreateInstancePayloadGetFlavorAttributeType `json:"flavor,omitempty"`
	// A user chosen name to distinguish multiple STACKIT Git instances.
	// REQUIRED
	Name CreateInstancePayloadGetNameAttributeType `json:"name" required:"true"`
}

CreateInstancePayload Request a STACKIT Git instance to be created with these properties.

func NewCreateInstancePayload added in v0.2.0

func NewCreateInstancePayload(name CreateInstancePayloadGetNameArgType) *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 added in v0.2.0

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) GetAcl added in v0.6.0

GetAcl returns the Acl field value if set, zero value otherwise.

func (*CreateInstancePayload) GetAclOk added in v0.6.0

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

func (*CreateInstancePayload) GetFlavor added in v0.6.0

GetFlavor returns the Flavor field value if set, zero value otherwise.

func (*CreateInstancePayload) GetFlavorOk added in v0.6.0

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

func (*CreateInstancePayload) GetName added in v0.2.0

GetName returns the Name field value

func (*CreateInstancePayload) GetNameOk added in v0.2.0

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

func (*CreateInstancePayload) HasAcl added in v0.6.0

func (o *CreateInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*CreateInstancePayload) HasFlavor added in v0.6.0

func (o *CreateInstancePayload) HasFlavor() bool

HasFlavor returns a boolean if a field has been set.

func (*CreateInstancePayload) SetAcl added in v0.6.0

SetAcl gets a reference to the given []string and assigns it to the Acl field.

func (*CreateInstancePayload) SetFlavor added in v0.6.0

SetFlavor gets a reference to the given string and assigns it to the Flavor field.

func (*CreateInstancePayload) SetName added in v0.2.0

SetName sets field value

func (CreateInstancePayload) ToMap added in v0.2.0

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

type CreateInstancePayloadFlavor added in v0.7.0

type CreateInstancePayloadFlavor string

CreateInstancePayloadFlavor Desired instance flavor. Must be one of the defined enum values value type for enums

const (
	CREATEINSTANCEPAYLOADFLAVOR__10  CreateInstancePayloadFlavor = "git-10"
	CREATEINSTANCEPAYLOADFLAVOR__100 CreateInstancePayloadFlavor = "git-100"
)

List of Flavor

func NewCreateInstancePayloadFlavorFromValue added in v0.7.0

func NewCreateInstancePayloadFlavorFromValue(v CreateInstancePayloadFlavor) (*CreateInstancePayloadFlavor, error)

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

func (CreateInstancePayloadFlavor) IsValid added in v0.7.0

func (v CreateInstancePayloadFlavor) IsValid() bool

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

func (CreateInstancePayloadFlavor) Ptr added in v0.7.0

Ptr returns reference to FlavorFlavor value

func (*CreateInstancePayloadFlavor) UnmarshalJSON added in v0.7.0

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

type CreateInstancePayloadGetAclArgType added in v0.6.0

type CreateInstancePayloadGetAclArgType = []string

type CreateInstancePayloadGetAclAttributeType added in v0.6.0

type CreateInstancePayloadGetAclAttributeType = *[]string

isArray

type CreateInstancePayloadGetAclRetType added in v0.6.0

type CreateInstancePayloadGetAclRetType = []string

type CreateInstancePayloadGetFlavorArgType added in v0.6.0

type CreateInstancePayloadGetFlavorArgType = CreateInstancePayloadFlavor

type CreateInstancePayloadGetFlavorAttributeType added in v0.6.0

type CreateInstancePayloadGetFlavorAttributeType = *CreateInstancePayloadFlavor

type CreateInstancePayloadGetFlavorRetType added in v0.6.0

type CreateInstancePayloadGetFlavorRetType = CreateInstancePayloadFlavor

type CreateInstancePayloadGetNameArgType added in v0.2.0

type CreateInstancePayloadGetNameArgType = string

type CreateInstancePayloadGetNameAttributeType added in v0.2.0

type CreateInstancePayloadGetNameAttributeType = *string

isNotNullableString

type CreateInstancePayloadGetNameRetType added in v0.2.0

type CreateInstancePayloadGetNameRetType = string

type CreateInstanceRequest added in v0.5.0

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

func (CreateInstanceRequest) CreateInstancePayload added in v0.5.0

func (r CreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest

func (CreateInstanceRequest) Execute added in v0.5.0

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

type DefaultApi added in v0.5.0

type DefaultApi interface {
	/*
		CreateInstance Create an Instance.
		Creates a new STACKIT Git instance as a project resource.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@return ApiCreateInstanceRequest
	*/
	CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
	/*
		CreateInstanceExecute executes the request

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

	*/
	CreateInstanceExecute(ctx context.Context, projectId string) (*Instance, error)
	/*
		DeleteInstance Delete Instance.
		Deletes a STACKIT Git instance and destroys all associated data.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@param instanceId Instance identifier.
		@return ApiDeleteInstanceRequest
	*/
	DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
	/*
		DeleteInstanceExecute executes the request

	*/
	DeleteInstanceExecute(ctx context.Context, projectId string, instanceId string) error
	/*
		GetInstance Get Instance information.
		Retrieves information about a STACKIT Git instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@param instanceId Instance identifier.
		@return ApiGetInstanceRequest
	*/
	GetInstance(ctx context.Context, projectId 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 Project identifier.
		@param instanceId Instance identifier.
		@return Instance

	*/
	GetInstanceExecute(ctx context.Context, projectId string, instanceId string) (*Instance, error)
	/*
		ListFlavors Returns the details for the given STACKIT Git flavors.
		Provides detailed information about possible Git Flavors.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@return ApiListFlavorsRequest
	*/
	ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
	/*
		ListFlavorsExecute executes the request

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

	*/
	ListFlavorsExecute(ctx context.Context, projectId string) (*ListFlavors, error)
	/*
		ListInstances List Instances.
		Lists all STACKIT Git instances within a project.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@return ApiListInstancesRequest
	*/
	ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
	/*
		ListInstancesExecute executes the request

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

	*/
	ListInstancesExecute(ctx context.Context, projectId string) (*ListInstances, error)
}

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type DeleteInstanceRequest added in v0.5.0

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

func (DeleteInstanceRequest) Execute added in v0.5.0

func (r DeleteInstanceRequest) Execute() error

type Flavor added in v0.6.0

type Flavor struct {
	// Defines the flavor availability.
	// REQUIRED
	Availability FlavorGetAvailabilityAttributeType `json:"availability" required:"true"`
	// Flavor description.
	// REQUIRED
	Description FlavorGetDescriptionAttributeType `json:"description" required:"true"`
	// The display name that will be shown in the Portal.
	// REQUIRED
	DisplayName FlavorGetDisplayNameAttributeType `json:"display_name" required:"true"`
	// Flavor id.
	// REQUIRED
	Id FlavorGetIdAttributeType `json:"id" required:"true"`
	// SAP article number.
	// REQUIRED
	Sku FlavorGetSkuAttributeType `json:"sku" required:"true"`
}

Flavor Describes a STACKIT Git Flavor.

func NewFlavor added in v0.6.0

NewFlavor instantiates a new Flavor 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 NewFlavorWithDefaults added in v0.6.0

func NewFlavorWithDefaults() *Flavor

NewFlavorWithDefaults instantiates a new Flavor 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 (*Flavor) GetAvailability added in v0.6.0

func (o *Flavor) GetAvailability() (ret FlavorGetAvailabilityRetType)

GetAvailability returns the Availability field value

func (*Flavor) GetAvailabilityOk added in v0.6.0

func (o *Flavor) GetAvailabilityOk() (ret FlavorGetAvailabilityRetType, ok bool)

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

func (*Flavor) GetDescription added in v0.6.0

func (o *Flavor) GetDescription() (ret FlavorGetDescriptionRetType)

GetDescription returns the Description field value

func (*Flavor) GetDescriptionOk added in v0.6.0

func (o *Flavor) GetDescriptionOk() (ret FlavorGetDescriptionRetType, ok bool)

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

func (*Flavor) GetDisplayName added in v0.6.0

func (o *Flavor) GetDisplayName() (ret FlavorGetDisplayNameRetType)

GetDisplayName returns the DisplayName field value

func (*Flavor) GetDisplayNameOk added in v0.6.0

func (o *Flavor) GetDisplayNameOk() (ret FlavorGetDisplayNameRetType, ok bool)

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

func (*Flavor) GetId added in v0.6.0

func (o *Flavor) GetId() (ret FlavorGetIdRetType)

GetId returns the Id field value

func (*Flavor) GetIdOk added in v0.6.0

func (o *Flavor) GetIdOk() (ret FlavorGetIdRetType, ok bool)

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

func (*Flavor) GetSku added in v0.7.0

func (o *Flavor) GetSku() (ret FlavorGetSkuRetType)

GetSku returns the Sku field value

func (*Flavor) GetSkuOk added in v0.7.0

func (o *Flavor) GetSkuOk() (ret FlavorGetSkuRetType, ok bool)

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

func (*Flavor) SetAvailability added in v0.6.0

func (o *Flavor) SetAvailability(v FlavorGetAvailabilityRetType)

SetAvailability sets field value

func (*Flavor) SetDescription added in v0.6.0

func (o *Flavor) SetDescription(v FlavorGetDescriptionRetType)

SetDescription sets field value

func (*Flavor) SetDisplayName added in v0.6.0

func (o *Flavor) SetDisplayName(v FlavorGetDisplayNameRetType)

SetDisplayName sets field value

func (*Flavor) SetId added in v0.6.0

func (o *Flavor) SetId(v FlavorGetIdRetType)

SetId sets field value

func (*Flavor) SetSku added in v0.7.0

func (o *Flavor) SetSku(v FlavorGetSkuRetType)

SetSku sets field value

func (Flavor) ToMap added in v0.6.0

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

type FlavorAvailability added in v0.6.0

type FlavorAvailability string

FlavorAvailability Defines the flavor availability. value type for enums

const (
	FLAVORAVAILABILITY_AVAILABLE   FlavorAvailability = "available"
	FLAVORAVAILABILITY_UNAVAILABLE FlavorAvailability = "unavailable"
	FLAVORAVAILABILITY_INTERNAL    FlavorAvailability = "internal"
	FLAVORAVAILABILITY_DEPRECATED  FlavorAvailability = "deprecated"
)

List of Availability

func NewFlavorAvailabilityFromValue added in v0.6.0

func NewFlavorAvailabilityFromValue(v FlavorAvailability) (*FlavorAvailability, error)

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

func (FlavorAvailability) IsValid added in v0.6.0

func (v FlavorAvailability) IsValid() bool

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

func (FlavorAvailability) Ptr added in v0.6.0

Ptr returns reference to AvailabilityAvailability value

func (*FlavorAvailability) UnmarshalJSON added in v0.6.0

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

type FlavorGetAvailabilityArgType added in v0.6.0

type FlavorGetAvailabilityArgType = FlavorAvailability

type FlavorGetAvailabilityAttributeType added in v0.6.0

type FlavorGetAvailabilityAttributeType = *FlavorAvailability

type FlavorGetAvailabilityRetType added in v0.6.0

type FlavorGetAvailabilityRetType = FlavorAvailability

type FlavorGetDescriptionArgType added in v0.6.0

type FlavorGetDescriptionArgType = string

type FlavorGetDescriptionAttributeType added in v0.6.0

type FlavorGetDescriptionAttributeType = *string

isNotNullableString

type FlavorGetDescriptionRetType added in v0.6.0

type FlavorGetDescriptionRetType = string

type FlavorGetDisplayNameArgType added in v0.6.0

type FlavorGetDisplayNameArgType = string

type FlavorGetDisplayNameAttributeType added in v0.6.0

type FlavorGetDisplayNameAttributeType = *string

isNotNullableString

type FlavorGetDisplayNameRetType added in v0.6.0

type FlavorGetDisplayNameRetType = string

type FlavorGetIdArgType added in v0.6.0

type FlavorGetIdArgType = string

type FlavorGetIdAttributeType added in v0.6.0

type FlavorGetIdAttributeType = *string

isNotNullableString

type FlavorGetIdRetType added in v0.6.0

type FlavorGetIdRetType = string

type FlavorGetSkuArgType added in v0.7.0

type FlavorGetSkuArgType = string

type FlavorGetSkuAttributeType added in v0.7.0

type FlavorGetSkuAttributeType = *string

isNotNullableString

type FlavorGetSkuRetType added in v0.7.0

type FlavorGetSkuRetType = string

type GenericErrorResponse added in v0.6.0

type GenericErrorResponse struct {
	Details GenericErrorResponseGetDetailsAttributeType `json:"details,omitempty"`
	// REQUIRED
	Message GenericErrorResponseGetMessageAttributeType `json:"message" required:"true"`
}

GenericErrorResponse Generic Error Response.

func NewGenericErrorResponse added in v0.6.0

func NewGenericErrorResponse(message GenericErrorResponseGetMessageArgType) *GenericErrorResponse

NewGenericErrorResponse instantiates a new GenericErrorResponse 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 NewGenericErrorResponseWithDefaults added in v0.6.0

func NewGenericErrorResponseWithDefaults() *GenericErrorResponse

NewGenericErrorResponseWithDefaults instantiates a new GenericErrorResponse 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 (*GenericErrorResponse) GetDetails added in v0.6.0

GetDetails returns the Details field value if set, zero value otherwise.

func (*GenericErrorResponse) GetDetailsOk added in v0.6.0

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

func (*GenericErrorResponse) GetMessage added in v0.6.0

GetMessage returns the Message field value

func (*GenericErrorResponse) GetMessageOk added in v0.6.0

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

func (*GenericErrorResponse) HasDetails added in v0.6.0

func (o *GenericErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*GenericErrorResponse) SetDetails added in v0.6.0

SetDetails gets a reference to the given []string and assigns it to the Details field.

func (*GenericErrorResponse) SetMessage added in v0.6.0

SetMessage sets field value

func (GenericErrorResponse) ToMap added in v0.6.0

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

type GenericErrorResponseGetDetailsArgType added in v0.6.0

type GenericErrorResponseGetDetailsArgType = []string

type GenericErrorResponseGetDetailsAttributeType added in v0.6.0

type GenericErrorResponseGetDetailsAttributeType = *[]string

isArray

type GenericErrorResponseGetDetailsRetType added in v0.6.0

type GenericErrorResponseGetDetailsRetType = []string

type GenericErrorResponseGetMessageArgType added in v0.6.0

type GenericErrorResponseGetMessageArgType = string

type GenericErrorResponseGetMessageAttributeType added in v0.6.0

type GenericErrorResponseGetMessageAttributeType = *string

isNotNullableString

type GenericErrorResponseGetMessageRetType added in v0.6.0

type GenericErrorResponseGetMessageRetType = string

type GetInstanceRequest added in v0.5.0

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

func (GetInstanceRequest) Execute added in v0.5.0

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

type Instance

type Instance struct {
	// Restricted ACL for instance access.
	// REQUIRED
	Acl InstanceGetAclAttributeType `json:"acl" required:"true"`
	// How many bytes of disk space is consumed. Read Only.
	// REQUIRED
	ConsumedDisk InstanceGetConsumedDiskAttributeType `json:"consumed_disk" required:"true"`
	// How many bytes of Object Storage is consumed. Read Only.
	// REQUIRED
	ConsumedObjectStorage InstanceGetConsumedObjectStorageAttributeType `json:"consumed_object_storage" required:"true"`
	// The date and time the creation of the STACKIT Git instance was triggered.
	// REQUIRED
	Created InstanceGetCreatedAttributeType `json:"created" required:"true"`
	// Desired instance flavor. Must be one of the defined enum values
	// REQUIRED
	Flavor InstanceGetFlavorAttributeType `json:"flavor" required:"true"`
	// A auto generated unique id which identifies the STACKIT Git instances.
	// REQUIRED
	Id InstanceGetIdAttributeType `json:"id" required:"true"`
	// A user chosen name to distinguish multiple STACKIT Git instances.
	// REQUIRED
	Name InstanceGetNameAttributeType `json:"name" required:"true"`
	// The current state of the STACKIT Git instance.
	// REQUIRED
	State InstanceGetStateAttributeType `json:"state" required:"true"`
	// The URL for reaching the STACKIT Git instance.
	// REQUIRED
	Url InstanceGetUrlAttributeType `json:"url" required:"true"`
	// The current version of STACKIT Git deployed to the instance.
	// REQUIRED
	Version InstanceGetVersionAttributeType `json:"version" required:"true"`
}

Instance Describes a STACKIT Git 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) GetAcl added in v0.6.0

func (o *Instance) GetAcl() (ret InstanceGetAclRetType)

GetAcl returns the Acl field value

func (*Instance) GetAclOk added in v0.6.0

func (o *Instance) GetAclOk() (ret InstanceGetAclRetType, ok bool)

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

func (*Instance) GetConsumedDisk added in v0.6.0

func (o *Instance) GetConsumedDisk() (ret InstanceGetConsumedDiskRetType)

GetConsumedDisk returns the ConsumedDisk field value

func (*Instance) GetConsumedDiskOk added in v0.6.0

func (o *Instance) GetConsumedDiskOk() (ret InstanceGetConsumedDiskRetType, ok bool)

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

func (*Instance) GetConsumedObjectStorage added in v0.6.0

func (o *Instance) GetConsumedObjectStorage() (ret InstanceGetConsumedObjectStorageRetType)

GetConsumedObjectStorage returns the ConsumedObjectStorage field value

func (*Instance) GetConsumedObjectStorageOk added in v0.6.0

func (o *Instance) GetConsumedObjectStorageOk() (ret InstanceGetConsumedObjectStorageRetType, ok bool)

GetConsumedObjectStorageOk returns a tuple with the ConsumedObjectStorage field value and a boolean to check if the value has been 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) GetFlavor added in v0.6.0

func (o *Instance) GetFlavor() (ret InstanceGetFlavorRetType)

GetFlavor returns the Flavor field value

func (*Instance) GetFlavorOk added in v0.6.0

func (o *Instance) GetFlavorOk() (ret InstanceGetFlavorRetType, ok bool)

GetFlavorOk returns a tuple with the Flavor 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) GetName

func (o *Instance) GetName() (ret InstanceGetNameRetType)

GetName returns the Name field value

func (*Instance) GetNameOk

func (o *Instance) GetNameOk() (ret InstanceGetNameRetType, ok bool)

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

func (*Instance) GetState

func (o *Instance) GetState() (ret InstanceGetStateRetType)

GetState returns the State field value

func (*Instance) GetStateOk

func (o *Instance) GetStateOk() (ret InstanceGetStateRetType, ok 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() (ret InstanceGetUrlRetType)

GetUrl returns the Url field value

func (*Instance) GetUrlOk

func (o *Instance) GetUrlOk() (ret InstanceGetUrlRetType, ok bool)

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

func (*Instance) GetVersion

func (o *Instance) GetVersion() (ret InstanceGetVersionRetType)

GetVersion returns the Version field value

func (*Instance) GetVersionOk

func (o *Instance) GetVersionOk() (ret InstanceGetVersionRetType, ok bool)

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

func (*Instance) SetAcl added in v0.6.0

func (o *Instance) SetAcl(v InstanceGetAclRetType)

SetAcl sets field value

func (*Instance) SetConsumedDisk added in v0.6.0

func (o *Instance) SetConsumedDisk(v InstanceGetConsumedDiskRetType)

SetConsumedDisk sets field value

func (*Instance) SetConsumedObjectStorage added in v0.6.0

func (o *Instance) SetConsumedObjectStorage(v InstanceGetConsumedObjectStorageRetType)

SetConsumedObjectStorage sets field value

func (*Instance) SetCreated

func (o *Instance) SetCreated(v InstanceGetCreatedRetType)

SetCreated sets field value

func (*Instance) SetFlavor added in v0.6.0

func (o *Instance) SetFlavor(v InstanceGetFlavorRetType)

SetFlavor sets field value

func (*Instance) SetId

func (o *Instance) SetId(v InstanceGetIdRetType)

SetId sets field value

func (*Instance) SetName

func (o *Instance) SetName(v InstanceGetNameRetType)

SetName sets field value

func (*Instance) SetState

func (o *Instance) SetState(v InstanceGetStateRetType)

SetState sets field value

func (*Instance) SetUrl

func (o *Instance) SetUrl(v InstanceGetUrlRetType)

SetUrl sets field value

func (*Instance) SetVersion

func (o *Instance) SetVersion(v InstanceGetVersionRetType)

SetVersion sets field value

func (Instance) ToMap

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

type InstanceGetAclArgType added in v0.6.0

type InstanceGetAclArgType = []string

type InstanceGetAclAttributeType added in v0.6.0

type InstanceGetAclAttributeType = *[]string

isArray

type InstanceGetAclRetType added in v0.6.0

type InstanceGetAclRetType = []string

type InstanceGetConsumedDiskArgType added in v0.6.0

type InstanceGetConsumedDiskArgType = string

type InstanceGetConsumedDiskAttributeType added in v0.6.0

type InstanceGetConsumedDiskAttributeType = *string

isNotNullableString

type InstanceGetConsumedDiskRetType added in v0.6.0

type InstanceGetConsumedDiskRetType = string

type InstanceGetConsumedObjectStorageArgType added in v0.6.0

type InstanceGetConsumedObjectStorageArgType = string

type InstanceGetConsumedObjectStorageAttributeType added in v0.6.0

type InstanceGetConsumedObjectStorageAttributeType = *string

isNotNullableString

type InstanceGetConsumedObjectStorageRetType added in v0.6.0

type InstanceGetConsumedObjectStorageRetType = string

type InstanceGetCreatedArgType

type InstanceGetCreatedArgType = time.Time

type InstanceGetCreatedAttributeType

type InstanceGetCreatedAttributeType = *time.Time

isDateTime

type InstanceGetCreatedRetType

type InstanceGetCreatedRetType = time.Time

type InstanceGetFlavorArgType added in v0.6.0

type InstanceGetFlavorArgType = string

type InstanceGetFlavorAttributeType added in v0.6.0

type InstanceGetFlavorAttributeType = *string

isNotNullableString

type InstanceGetFlavorRetType added in v0.6.0

type InstanceGetFlavorRetType = string

type InstanceGetIdArgType

type InstanceGetIdArgType = string

type InstanceGetIdAttributeType

type InstanceGetIdAttributeType = *string

isNotNullableString

type InstanceGetIdRetType

type InstanceGetIdRetType = string

type InstanceGetNameArgType

type InstanceGetNameArgType = string

type InstanceGetNameAttributeType

type InstanceGetNameAttributeType = *string

isNotNullableString

type InstanceGetNameRetType

type InstanceGetNameRetType = string

type InstanceGetStateArgType

type InstanceGetStateArgType = InstanceState

type InstanceGetStateAttributeType

type InstanceGetStateAttributeType = *InstanceState

type InstanceGetStateRetType

type InstanceGetStateRetType = InstanceState

type InstanceGetUrlArgType

type InstanceGetUrlArgType = string

type InstanceGetUrlAttributeType

type InstanceGetUrlAttributeType = *string

isNotNullableString

type InstanceGetUrlRetType

type InstanceGetUrlRetType = string

type InstanceGetVersionArgType

type InstanceGetVersionArgType = string

type InstanceGetVersionAttributeType

type InstanceGetVersionAttributeType = *string

isNotNullableString

type InstanceGetVersionRetType

type InstanceGetVersionRetType = string

type InstanceState added in v0.5.0

type InstanceState string

InstanceState The current state of the STACKIT Git instance. value type for enums

const (
	INSTANCESTATE_CREATING              InstanceState = "Creating"
	INSTANCESTATE_WAITING_FOR_RESOURCES InstanceState = "WaitingForResources"
	INSTANCESTATE_UPDATING              InstanceState = "Updating"
	INSTANCESTATE_DELETING              InstanceState = "Deleting"
	INSTANCESTATE_READY                 InstanceState = "Ready"
	INSTANCESTATE_ERROR                 InstanceState = "Error"
)

List of State

func NewInstanceStateFromValue added in v0.5.0

func NewInstanceStateFromValue(v InstanceState) (*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 added in v0.5.0

func (v InstanceState) IsValid() bool

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

func (InstanceState) Ptr added in v0.5.0

func (v InstanceState) Ptr() *InstanceState

Ptr returns reference to StateState value

func (*InstanceState) UnmarshalJSON added in v0.5.0

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

type InternalServerErrorResponse

type InternalServerErrorResponse struct {
	Error InternalServerErrorResponseGetErrorAttributeType `json:"error,omitempty"`
}

InternalServerErrorResponse Internal server error.

func NewInternalServerErrorResponse

func NewInternalServerErrorResponse() *InternalServerErrorResponse

NewInternalServerErrorResponse instantiates a new InternalServerErrorResponse 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 NewInternalServerErrorResponseWithDefaults

func NewInternalServerErrorResponseWithDefaults() *InternalServerErrorResponse

NewInternalServerErrorResponseWithDefaults instantiates a new InternalServerErrorResponse 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 (*InternalServerErrorResponse) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*InternalServerErrorResponse) GetErrorOk

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

func (*InternalServerErrorResponse) HasError

func (o *InternalServerErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*InternalServerErrorResponse) SetError

SetError gets a reference to the given string and assigns it to the Error field.

func (InternalServerErrorResponse) ToMap

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

type InternalServerErrorResponseGetErrorArgType

type InternalServerErrorResponseGetErrorArgType = string

type InternalServerErrorResponseGetErrorAttributeType

type InternalServerErrorResponseGetErrorAttributeType = *string

isNotNullableString

type InternalServerErrorResponseGetErrorRetType

type InternalServerErrorResponseGetErrorRetType = string

type ListFlavors added in v0.6.0

type ListFlavors struct {
	// REQUIRED
	Flavors ListFlavorsGetFlavorsAttributeType `json:"flavors" required:"true"`
}

ListFlavors A list of STACKIT Git flavors.

func NewListFlavors added in v0.6.0

func NewListFlavors(flavors ListFlavorsGetFlavorsArgType) *ListFlavors

NewListFlavors instantiates a new ListFlavors 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 NewListFlavorsWithDefaults added in v0.6.0

func NewListFlavorsWithDefaults() *ListFlavors

NewListFlavorsWithDefaults instantiates a new ListFlavors 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 (*ListFlavors) GetFlavors added in v0.6.0

func (o *ListFlavors) GetFlavors() (ret ListFlavorsGetFlavorsRetType)

GetFlavors returns the Flavors field value

func (*ListFlavors) GetFlavorsOk added in v0.6.0

func (o *ListFlavors) GetFlavorsOk() (ret ListFlavorsGetFlavorsRetType, ok bool)

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

func (*ListFlavors) SetFlavors added in v0.6.0

func (o *ListFlavors) SetFlavors(v ListFlavorsGetFlavorsRetType)

SetFlavors sets field value

func (ListFlavors) ToMap added in v0.6.0

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

type ListFlavorsGetFlavorsArgType added in v0.6.0

type ListFlavorsGetFlavorsArgType = []Flavor

type ListFlavorsGetFlavorsAttributeType added in v0.6.0

type ListFlavorsGetFlavorsAttributeType = *[]Flavor

isArray

type ListFlavorsGetFlavorsRetType added in v0.6.0

type ListFlavorsGetFlavorsRetType = []Flavor

type ListFlavorsRequest added in v0.6.0

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

func (ListFlavorsRequest) Execute added in v0.6.0

func (r ListFlavorsRequest) Execute() (*ListFlavors, error)

type ListInstances

type ListInstances struct {
	// REQUIRED
	Instances ListInstancesGetInstancesAttributeType `json:"instances" required:"true"`
}

ListInstances A list of STACKIT Git instances.

func NewListInstances

func NewListInstances(instances ListInstancesGetInstancesArgType) *ListInstances

NewListInstances instantiates a new ListInstances 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 NewListInstancesWithDefaults

func NewListInstancesWithDefaults() *ListInstances

NewListInstancesWithDefaults instantiates a new ListInstances 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 (*ListInstances) GetInstances

func (o *ListInstances) GetInstances() (ret ListInstancesGetInstancesRetType)

GetInstances returns the Instances field value

func (*ListInstances) GetInstancesOk

func (o *ListInstances) GetInstancesOk() (ret ListInstancesGetInstancesRetType, ok bool)

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

func (*ListInstances) SetInstances

SetInstances sets field value

func (ListInstances) ToMap

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

type ListInstancesGetInstancesArgType

type ListInstancesGetInstancesArgType = []Instance

type ListInstancesGetInstancesAttributeType

type ListInstancesGetInstancesAttributeType = *[]Instance

isArray

type ListInstancesGetInstancesRetType

type ListInstancesGetInstancesRetType = []Instance

type ListInstancesRequest added in v0.5.0

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

func (ListInstancesRequest) Execute added in v0.5.0

func (r ListInstancesRequest) Execute() (*ListInstances, 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 added in v0.2.0

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

func NewNullableCreateInstancePayload added in v0.2.0

func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload

func (NullableCreateInstancePayload) Get added in v0.2.0

func (NullableCreateInstancePayload) IsSet added in v0.2.0

func (NullableCreateInstancePayload) MarshalJSON added in v0.2.0

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

func (*NullableCreateInstancePayload) Set added in v0.2.0

func (*NullableCreateInstancePayload) UnmarshalJSON added in v0.2.0

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

func (*NullableCreateInstancePayload) Unset added in v0.2.0

func (v *NullableCreateInstancePayload) Unset()

type NullableCreateInstancePayloadFlavor added in v0.7.0

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

func NewNullableCreateInstancePayloadFlavor added in v0.7.0

func NewNullableCreateInstancePayloadFlavor(val *CreateInstancePayloadFlavor) *NullableCreateInstancePayloadFlavor

func (NullableCreateInstancePayloadFlavor) Get added in v0.7.0

func (NullableCreateInstancePayloadFlavor) IsSet added in v0.7.0

func (NullableCreateInstancePayloadFlavor) MarshalJSON added in v0.7.0

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

func (*NullableCreateInstancePayloadFlavor) Set added in v0.7.0

func (*NullableCreateInstancePayloadFlavor) UnmarshalJSON added in v0.7.0

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

func (*NullableCreateInstancePayloadFlavor) Unset added in v0.7.0

type NullableFlavor added in v0.6.0

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

func NewNullableFlavor added in v0.6.0

func NewNullableFlavor(val *Flavor) *NullableFlavor

func (NullableFlavor) Get added in v0.6.0

func (v NullableFlavor) Get() *Flavor

func (NullableFlavor) IsSet added in v0.6.0

func (v NullableFlavor) IsSet() bool

func (NullableFlavor) MarshalJSON added in v0.6.0

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

func (*NullableFlavor) Set added in v0.6.0

func (v *NullableFlavor) Set(val *Flavor)

func (*NullableFlavor) UnmarshalJSON added in v0.6.0

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

func (*NullableFlavor) Unset added in v0.6.0

func (v *NullableFlavor) Unset()

type NullableFlavorAvailability added in v0.6.0

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

func NewNullableFlavorAvailability added in v0.6.0

func NewNullableFlavorAvailability(val *FlavorAvailability) *NullableFlavorAvailability

func (NullableFlavorAvailability) Get added in v0.6.0

func (NullableFlavorAvailability) IsSet added in v0.6.0

func (v NullableFlavorAvailability) IsSet() bool

func (NullableFlavorAvailability) MarshalJSON added in v0.6.0

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

func (*NullableFlavorAvailability) Set added in v0.6.0

func (*NullableFlavorAvailability) UnmarshalJSON added in v0.6.0

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

func (*NullableFlavorAvailability) Unset added in v0.6.0

func (v *NullableFlavorAvailability) 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 NullableGenericErrorResponse added in v0.6.0

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

func NewNullableGenericErrorResponse added in v0.6.0

func NewNullableGenericErrorResponse(val *GenericErrorResponse) *NullableGenericErrorResponse

func (NullableGenericErrorResponse) Get added in v0.6.0

func (NullableGenericErrorResponse) IsSet added in v0.6.0

func (NullableGenericErrorResponse) MarshalJSON added in v0.6.0

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

func (*NullableGenericErrorResponse) Set added in v0.6.0

func (*NullableGenericErrorResponse) UnmarshalJSON added in v0.6.0

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

func (*NullableGenericErrorResponse) Unset added in v0.6.0

func (v *NullableGenericErrorResponse) 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 added in v0.5.0

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

func NewNullableInstanceState added in v0.5.0

func NewNullableInstanceState(val *InstanceState) *NullableInstanceState

func (NullableInstanceState) Get added in v0.5.0

func (NullableInstanceState) IsSet added in v0.5.0

func (v NullableInstanceState) IsSet() bool

func (NullableInstanceState) MarshalJSON added in v0.5.0

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

func (*NullableInstanceState) Set added in v0.5.0

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

func (*NullableInstanceState) UnmarshalJSON added in v0.5.0

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

func (*NullableInstanceState) Unset added in v0.5.0

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 NullableInternalServerErrorResponse

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

func (NullableInternalServerErrorResponse) Get

func (NullableInternalServerErrorResponse) IsSet

func (NullableInternalServerErrorResponse) MarshalJSON

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

func (*NullableInternalServerErrorResponse) Set

func (*NullableInternalServerErrorResponse) UnmarshalJSON

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

func (*NullableInternalServerErrorResponse) Unset

type NullableListFlavors added in v0.6.0

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

func NewNullableListFlavors added in v0.6.0

func NewNullableListFlavors(val *ListFlavors) *NullableListFlavors

func (NullableListFlavors) Get added in v0.6.0

func (NullableListFlavors) IsSet added in v0.6.0

func (v NullableListFlavors) IsSet() bool

func (NullableListFlavors) MarshalJSON added in v0.6.0

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

func (*NullableListFlavors) Set added in v0.6.0

func (v *NullableListFlavors) Set(val *ListFlavors)

func (*NullableListFlavors) UnmarshalJSON added in v0.6.0

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

func (*NullableListFlavors) Unset added in v0.6.0

func (v *NullableListFlavors) Unset()

type NullableListInstances

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

func NewNullableListInstances

func NewNullableListInstances(val *ListInstances) *NullableListInstances

func (NullableListInstances) Get

func (NullableListInstances) IsSet

func (v NullableListInstances) IsSet() bool

func (NullableListInstances) MarshalJSON

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

func (*NullableListInstances) Set

func (v *NullableListInstances) Set(val *ListInstances)

func (*NullableListInstances) UnmarshalJSON

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

func (*NullableListInstances) Unset

func (v *NullableListInstances) 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 NullableUnauthorizedResponse

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

func NewNullableUnauthorizedResponse

func NewNullableUnauthorizedResponse(val *UnauthorizedResponse) *NullableUnauthorizedResponse

func (NullableUnauthorizedResponse) Get

func (NullableUnauthorizedResponse) IsSet

func (NullableUnauthorizedResponse) MarshalJSON

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

func (*NullableUnauthorizedResponse) Set

func (*NullableUnauthorizedResponse) UnmarshalJSON

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

func (*NullableUnauthorizedResponse) Unset

func (v *NullableUnauthorizedResponse) 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 UnauthorizedResponse

type UnauthorizedResponse struct {
	Error UnauthorizedResponseGetErrorAttributeType `json:"error,omitempty"`
}

UnauthorizedResponse The request could not be authorized.

func NewUnauthorizedResponse

func NewUnauthorizedResponse() *UnauthorizedResponse

NewUnauthorizedResponse instantiates a new UnauthorizedResponse 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 NewUnauthorizedResponseWithDefaults

func NewUnauthorizedResponseWithDefaults() *UnauthorizedResponse

NewUnauthorizedResponseWithDefaults instantiates a new UnauthorizedResponse 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 (*UnauthorizedResponse) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*UnauthorizedResponse) GetErrorOk

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

func (*UnauthorizedResponse) HasError

func (o *UnauthorizedResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*UnauthorizedResponse) SetError

SetError gets a reference to the given string and assigns it to the Error field.

func (UnauthorizedResponse) ToMap

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

type UnauthorizedResponseGetErrorArgType

type UnauthorizedResponseGetErrorArgType = string

type UnauthorizedResponseGetErrorAttributeType

type UnauthorizedResponseGetErrorAttributeType = *string

isNotNullableString

type UnauthorizedResponseGetErrorRetType

type UnauthorizedResponseGetErrorRetType = string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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