Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- func (a *APIClient) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
- func (a *APIClient) CreateInstanceExecute(ctx context.Context, projectId string) (*Instance, error)
- func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a *APIClient) DeleteInstanceExecute(ctx context.Context, projectId string, instanceId string) error
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a *APIClient) GetInstanceExecute(ctx context.Context, projectId string, instanceId string) (*Instance, error)
- func (a *APIClient) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
- func (a *APIClient) ListFlavorsExecute(ctx context.Context, projectId string) (*ListFlavors, error)
- func (a *APIClient) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a *APIClient) ListInstancesExecute(ctx context.Context, projectId string) (*ListInstances, error)
- type ApiCreateInstanceRequest
- type ApiDeleteInstanceRequest
- type ApiGetInstanceRequest
- type ApiListFlavorsRequest
- type ApiListInstancesRequest
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetAcl() (res CreateInstancePayloadGetAclRetType)
- func (o *CreateInstancePayload) GetAclOk() (ret CreateInstancePayloadGetAclRetType, ok bool)
- func (o *CreateInstancePayload) GetFlavor() (res CreateInstancePayloadGetFlavorRetType)
- func (o *CreateInstancePayload) GetFlavorOk() (ret CreateInstancePayloadGetFlavorRetType, ok bool)
- func (o *CreateInstancePayload) GetName() (ret CreateInstancePayloadGetNameRetType)
- func (o *CreateInstancePayload) GetNameOk() (ret CreateInstancePayloadGetNameRetType, ok bool)
- func (o *CreateInstancePayload) HasAcl() bool
- func (o *CreateInstancePayload) HasFlavor() bool
- func (o *CreateInstancePayload) SetAcl(v CreateInstancePayloadGetAclRetType)
- func (o *CreateInstancePayload) SetFlavor(v CreateInstancePayloadGetFlavorRetType)
- func (o *CreateInstancePayload) SetName(v CreateInstancePayloadGetNameRetType)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- type CreateInstancePayloadFlavor
- type CreateInstancePayloadGetAclArgType
- type CreateInstancePayloadGetAclAttributeType
- type CreateInstancePayloadGetAclRetType
- type CreateInstancePayloadGetFlavorArgType
- type CreateInstancePayloadGetFlavorAttributeType
- type CreateInstancePayloadGetFlavorRetType
- type CreateInstancePayloadGetNameArgType
- type CreateInstancePayloadGetNameAttributeType
- type CreateInstancePayloadGetNameRetType
- type CreateInstanceRequest
- type DefaultApi
- type DefaultApiService
- type DeleteInstanceRequest
- type Flavor
- func (o *Flavor) GetAvailability() (ret FlavorGetAvailabilityRetType)
- func (o *Flavor) GetAvailabilityOk() (ret FlavorGetAvailabilityRetType, ok bool)
- func (o *Flavor) GetDescription() (ret FlavorGetDescriptionRetType)
- func (o *Flavor) GetDescriptionOk() (ret FlavorGetDescriptionRetType, ok bool)
- func (o *Flavor) GetDisplayName() (ret FlavorGetDisplayNameRetType)
- func (o *Flavor) GetDisplayNameOk() (ret FlavorGetDisplayNameRetType, ok bool)
- func (o *Flavor) GetId() (ret FlavorGetIdRetType)
- func (o *Flavor) GetIdOk() (ret FlavorGetIdRetType, ok bool)
- func (o *Flavor) GetSku() (ret FlavorGetSkuRetType)
- func (o *Flavor) GetSkuOk() (ret FlavorGetSkuRetType, ok bool)
- func (o *Flavor) SetAvailability(v FlavorGetAvailabilityRetType)
- func (o *Flavor) SetDescription(v FlavorGetDescriptionRetType)
- func (o *Flavor) SetDisplayName(v FlavorGetDisplayNameRetType)
- func (o *Flavor) SetId(v FlavorGetIdRetType)
- func (o *Flavor) SetSku(v FlavorGetSkuRetType)
- func (o Flavor) ToMap() (map[string]interface{}, error)
- type FlavorAvailability
- type FlavorGetAvailabilityArgType
- type FlavorGetAvailabilityAttributeType
- type FlavorGetAvailabilityRetType
- type FlavorGetDescriptionArgType
- type FlavorGetDescriptionAttributeType
- type FlavorGetDescriptionRetType
- type FlavorGetDisplayNameArgType
- type FlavorGetDisplayNameAttributeType
- type FlavorGetDisplayNameRetType
- type FlavorGetIdArgType
- type FlavorGetIdAttributeType
- type FlavorGetIdRetType
- type FlavorGetSkuArgType
- type FlavorGetSkuAttributeType
- type FlavorGetSkuRetType
- type GenericErrorResponse
- func (o *GenericErrorResponse) GetDetails() (res GenericErrorResponseGetDetailsRetType)
- func (o *GenericErrorResponse) GetDetailsOk() (ret GenericErrorResponseGetDetailsRetType, ok bool)
- func (o *GenericErrorResponse) GetMessage() (ret GenericErrorResponseGetMessageRetType)
- func (o *GenericErrorResponse) GetMessageOk() (ret GenericErrorResponseGetMessageRetType, ok bool)
- func (o *GenericErrorResponse) HasDetails() bool
- func (o *GenericErrorResponse) SetDetails(v GenericErrorResponseGetDetailsRetType)
- func (o *GenericErrorResponse) SetMessage(v GenericErrorResponseGetMessageRetType)
- func (o GenericErrorResponse) ToMap() (map[string]interface{}, error)
- type GenericErrorResponseGetDetailsArgType
- type GenericErrorResponseGetDetailsAttributeType
- type GenericErrorResponseGetDetailsRetType
- type GenericErrorResponseGetMessageArgType
- type GenericErrorResponseGetMessageAttributeType
- type GenericErrorResponseGetMessageRetType
- type GetInstanceRequest
- type Instance
- func (o *Instance) GetAcl() (ret InstanceGetAclRetType)
- func (o *Instance) GetAclOk() (ret InstanceGetAclRetType, ok bool)
- func (o *Instance) GetConsumedDisk() (ret InstanceGetConsumedDiskRetType)
- func (o *Instance) GetConsumedDiskOk() (ret InstanceGetConsumedDiskRetType, ok bool)
- func (o *Instance) GetConsumedObjectStorage() (ret InstanceGetConsumedObjectStorageRetType)
- func (o *Instance) GetConsumedObjectStorageOk() (ret InstanceGetConsumedObjectStorageRetType, ok bool)
- func (o *Instance) GetCreated() (ret InstanceGetCreatedRetType)
- func (o *Instance) GetCreatedOk() (ret InstanceGetCreatedRetType, ok bool)
- func (o *Instance) GetFlavor() (ret InstanceGetFlavorRetType)
- func (o *Instance) GetFlavorOk() (ret InstanceGetFlavorRetType, ok bool)
- func (o *Instance) GetId() (ret InstanceGetIdRetType)
- func (o *Instance) GetIdOk() (ret InstanceGetIdRetType, ok bool)
- func (o *Instance) GetName() (ret InstanceGetNameRetType)
- func (o *Instance) GetNameOk() (ret InstanceGetNameRetType, ok bool)
- func (o *Instance) GetState() (ret InstanceGetStateRetType)
- func (o *Instance) GetStateOk() (ret InstanceGetStateRetType, ok bool)
- func (o *Instance) GetUrl() (ret InstanceGetUrlRetType)
- func (o *Instance) GetUrlOk() (ret InstanceGetUrlRetType, ok bool)
- func (o *Instance) GetVersion() (ret InstanceGetVersionRetType)
- func (o *Instance) GetVersionOk() (ret InstanceGetVersionRetType, ok bool)
- func (o *Instance) SetAcl(v InstanceGetAclRetType)
- func (o *Instance) SetConsumedDisk(v InstanceGetConsumedDiskRetType)
- func (o *Instance) SetConsumedObjectStorage(v InstanceGetConsumedObjectStorageRetType)
- func (o *Instance) SetCreated(v InstanceGetCreatedRetType)
- func (o *Instance) SetFlavor(v InstanceGetFlavorRetType)
- func (o *Instance) SetId(v InstanceGetIdRetType)
- func (o *Instance) SetName(v InstanceGetNameRetType)
- func (o *Instance) SetState(v InstanceGetStateRetType)
- func (o *Instance) SetUrl(v InstanceGetUrlRetType)
- func (o *Instance) SetVersion(v InstanceGetVersionRetType)
- func (o Instance) ToMap() (map[string]interface{}, error)
- type InstanceGetAclArgType
- type InstanceGetAclAttributeType
- type InstanceGetAclRetType
- type InstanceGetConsumedDiskArgType
- type InstanceGetConsumedDiskAttributeType
- type InstanceGetConsumedDiskRetType
- type InstanceGetConsumedObjectStorageArgType
- type InstanceGetConsumedObjectStorageAttributeType
- type InstanceGetConsumedObjectStorageRetType
- type InstanceGetCreatedArgType
- type InstanceGetCreatedAttributeType
- type InstanceGetCreatedRetType
- type InstanceGetFlavorArgType
- type InstanceGetFlavorAttributeType
- type InstanceGetFlavorRetType
- type InstanceGetIdArgType
- type InstanceGetIdAttributeType
- type InstanceGetIdRetType
- type InstanceGetNameArgType
- type InstanceGetNameAttributeType
- type InstanceGetNameRetType
- type InstanceGetStateArgType
- type InstanceGetStateAttributeType
- type InstanceGetStateRetType
- type InstanceGetUrlArgType
- type InstanceGetUrlAttributeType
- type InstanceGetUrlRetType
- type InstanceGetVersionArgType
- type InstanceGetVersionAttributeType
- type InstanceGetVersionRetType
- type InstanceState
- type InternalServerErrorResponse
- func (o *InternalServerErrorResponse) GetError() (res InternalServerErrorResponseGetErrorRetType)
- func (o *InternalServerErrorResponse) GetErrorOk() (ret InternalServerErrorResponseGetErrorRetType, ok bool)
- func (o *InternalServerErrorResponse) HasError() bool
- func (o *InternalServerErrorResponse) SetError(v InternalServerErrorResponseGetErrorRetType)
- func (o InternalServerErrorResponse) ToMap() (map[string]interface{}, error)
- type InternalServerErrorResponseGetErrorArgType
- type InternalServerErrorResponseGetErrorAttributeType
- type InternalServerErrorResponseGetErrorRetType
- type ListFlavors
- type ListFlavorsGetFlavorsArgType
- type ListFlavorsGetFlavorsAttributeType
- type ListFlavorsGetFlavorsRetType
- type ListFlavorsRequest
- type ListInstances
- func (o *ListInstances) GetInstances() (ret ListInstancesGetInstancesRetType)
- func (o *ListInstances) GetInstancesOk() (ret ListInstancesGetInstancesRetType, ok bool)
- func (o *ListInstances) SetInstances(v ListInstancesGetInstancesRetType)
- func (o ListInstances) ToMap() (map[string]interface{}, error)
- type ListInstancesGetInstancesArgType
- type ListInstancesGetInstancesAttributeType
- type ListInstancesGetInstancesRetType
- type ListInstancesRequest
- type MappedNullable
- type NullableBool
- type NullableCreateInstancePayload
- func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
- func (v NullableCreateInstancePayload) IsSet() bool
- func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
- func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayload) Unset()
- type NullableCreateInstancePayloadFlavor
- func (v NullableCreateInstancePayloadFlavor) Get() *CreateInstancePayloadFlavor
- func (v NullableCreateInstancePayloadFlavor) IsSet() bool
- func (v NullableCreateInstancePayloadFlavor) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayloadFlavor) Set(val *CreateInstancePayloadFlavor)
- func (v *NullableCreateInstancePayloadFlavor) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayloadFlavor) Unset()
- type NullableFlavor
- type NullableFlavorAvailability
- func (v NullableFlavorAvailability) Get() *FlavorAvailability
- func (v NullableFlavorAvailability) IsSet() bool
- func (v NullableFlavorAvailability) MarshalJSON() ([]byte, error)
- func (v *NullableFlavorAvailability) Set(val *FlavorAvailability)
- func (v *NullableFlavorAvailability) UnmarshalJSON(src []byte) error
- func (v *NullableFlavorAvailability) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGenericErrorResponse
- func (v NullableGenericErrorResponse) Get() *GenericErrorResponse
- func (v NullableGenericErrorResponse) IsSet() bool
- func (v NullableGenericErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGenericErrorResponse) Set(val *GenericErrorResponse)
- func (v *NullableGenericErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGenericErrorResponse) Unset()
- type NullableInstance
- type NullableInstanceState
- func (v NullableInstanceState) Get() *InstanceState
- func (v NullableInstanceState) IsSet() bool
- func (v NullableInstanceState) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceState) Set(val *InstanceState)
- func (v *NullableInstanceState) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceState) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInternalServerErrorResponse
- func (v NullableInternalServerErrorResponse) Get() *InternalServerErrorResponse
- func (v NullableInternalServerErrorResponse) IsSet() bool
- func (v NullableInternalServerErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInternalServerErrorResponse) Set(val *InternalServerErrorResponse)
- func (v *NullableInternalServerErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInternalServerErrorResponse) Unset()
- type NullableListFlavors
- func (v NullableListFlavors) Get() *ListFlavors
- func (v NullableListFlavors) IsSet() bool
- func (v NullableListFlavors) MarshalJSON() ([]byte, error)
- func (v *NullableListFlavors) Set(val *ListFlavors)
- func (v *NullableListFlavors) UnmarshalJSON(src []byte) error
- func (v *NullableListFlavors) Unset()
- type NullableListInstances
- func (v NullableListInstances) Get() *ListInstances
- func (v NullableListInstances) IsSet() bool
- func (v NullableListInstances) MarshalJSON() ([]byte, error)
- func (v *NullableListInstances) Set(val *ListInstances)
- func (v *NullableListInstances) UnmarshalJSON(src []byte) error
- func (v *NullableListInstances) Unset()
- type NullableString
- type NullableTime
- type NullableUnauthorizedResponse
- func (v NullableUnauthorizedResponse) Get() *UnauthorizedResponse
- func (v NullableUnauthorizedResponse) IsSet() bool
- func (v NullableUnauthorizedResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUnauthorizedResponse) Set(val *UnauthorizedResponse)
- func (v *NullableUnauthorizedResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUnauthorizedResponse) Unset()
- type NullableValue
- type UnauthorizedResponse
- func (o *UnauthorizedResponse) GetError() (res UnauthorizedResponseGetErrorRetType)
- func (o *UnauthorizedResponse) GetErrorOk() (ret UnauthorizedResponseGetErrorRetType, ok bool)
- func (o *UnauthorizedResponse) HasError() bool
- func (o *UnauthorizedResponse) SetError(v UnauthorizedResponseGetErrorRetType)
- func (o UnauthorizedResponse) ToMap() (map[string]interface{}, error)
- type UnauthorizedResponseGetErrorArgType
- type UnauthorizedResponseGetErrorAttributeType
- type UnauthorizedResponseGetErrorRetType
Constants ¶
This section is empty.
Variables ¶
var AllowedCreateInstancePayloadFlavorEnumValues = []CreateInstancePayloadFlavor{
"git-10",
"git-100",
}
All allowed values of CreateInstancePayload enum
var AllowedFlavorAvailabilityEnumValues = []FlavorAvailability{
"available",
"unavailable",
"internal",
"deprecated",
}
All allowed values of Flavor enum
var AllowedInstanceStateEnumValues = []InstanceState{
"Creating",
"WaitingForResources",
"Updating",
"Deleting",
"Ready",
"Error",
}
All allowed values of Instance enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 (*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 (*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 (*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 (*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 ¶
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 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
func (o *CreateInstancePayload) GetAcl() (res CreateInstancePayloadGetAclRetType)
GetAcl returns the Acl field value if set, zero value otherwise.
func (*CreateInstancePayload) GetAclOk ¶ added in v0.6.0
func (o *CreateInstancePayload) GetAclOk() (ret CreateInstancePayloadGetAclRetType, ok bool)
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
func (o *CreateInstancePayload) GetFlavor() (res CreateInstancePayloadGetFlavorRetType)
GetFlavor returns the Flavor field value if set, zero value otherwise.
func (*CreateInstancePayload) GetFlavorOk ¶ added in v0.6.0
func (o *CreateInstancePayload) GetFlavorOk() (ret CreateInstancePayloadGetFlavorRetType, ok bool)
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
func (o *CreateInstancePayload) GetName() (ret CreateInstancePayloadGetNameRetType)
GetName returns the Name field value
func (*CreateInstancePayload) GetNameOk ¶ added in v0.2.0
func (o *CreateInstancePayload) GetNameOk() (ret CreateInstancePayloadGetNameRetType, ok bool)
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
func (o *CreateInstancePayload) SetAcl(v CreateInstancePayloadGetAclRetType)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (*CreateInstancePayload) SetFlavor ¶ added in v0.6.0
func (o *CreateInstancePayload) SetFlavor(v CreateInstancePayloadGetFlavorRetType)
SetFlavor gets a reference to the given string and assigns it to the Flavor field.
func (*CreateInstancePayload) SetName ¶ added in v0.2.0
func (o *CreateInstancePayload) SetName(v CreateInstancePayloadGetNameRetType)
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
func (v CreateInstancePayloadFlavor) Ptr() *CreateInstancePayloadFlavor
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 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
func NewFlavor(availability FlavorGetAvailabilityArgType, description FlavorGetDescriptionArgType, displayName FlavorGetDisplayNameArgType, id FlavorGetIdArgType, sku FlavorGetSkuArgType) *Flavor
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
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
func (v FlavorAvailability) Ptr() *FlavorAvailability
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
func (o *GenericErrorResponse) GetDetails() (res GenericErrorResponseGetDetailsRetType)
GetDetails returns the Details field value if set, zero value otherwise.
func (*GenericErrorResponse) GetDetailsOk ¶ added in v0.6.0
func (o *GenericErrorResponse) GetDetailsOk() (ret GenericErrorResponseGetDetailsRetType, ok bool)
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
func (o *GenericErrorResponse) GetMessage() (ret GenericErrorResponseGetMessageRetType)
GetMessage returns the Message field value
func (*GenericErrorResponse) GetMessageOk ¶ added in v0.6.0
func (o *GenericErrorResponse) GetMessageOk() (ret GenericErrorResponseGetMessageRetType, ok bool)
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
func (o *GenericErrorResponse) SetDetails(v GenericErrorResponseGetDetailsRetType)
SetDetails gets a reference to the given []string and assigns it to the Details field.
func (*GenericErrorResponse) SetMessage ¶ added in v0.6.0
func (o *GenericErrorResponse) SetMessage(v GenericErrorResponseGetMessageRetType)
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 ¶
func NewInstance(acl InstanceGetAclArgType, consumedDisk InstanceGetConsumedDiskArgType, consumedObjectStorage InstanceGetConsumedObjectStorageArgType, created InstanceGetCreatedArgType, flavor InstanceGetFlavorArgType, id InstanceGetIdArgType, name InstanceGetNameArgType, state InstanceGetStateArgType, url InstanceGetUrlArgType, version InstanceGetVersionArgType) *Instance
NewInstance instantiates a new Instance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceWithDefaults ¶
func NewInstanceWithDefaults() *Instance
NewInstanceWithDefaults instantiates a new Instance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Instance) 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) 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
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 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 InstanceGetIdRetType ¶
type InstanceGetIdRetType = string
type InstanceGetNameArgType ¶
type InstanceGetNameArgType = string
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 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 ¶
func (o *InternalServerErrorResponse) GetError() (res InternalServerErrorResponseGetErrorRetType)
GetError returns the Error field value if set, zero value otherwise.
func (*InternalServerErrorResponse) GetErrorOk ¶
func (o *InternalServerErrorResponse) GetErrorOk() (ret InternalServerErrorResponseGetErrorRetType, ok bool)
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 ¶
func (o *InternalServerErrorResponse) SetError(v InternalServerErrorResponseGetErrorRetType)
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 ¶
func (o *ListInstances) SetInstances(v ListInstancesGetInstancesRetType)
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 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 (v NullableCreateInstancePayload) Get() *CreateInstancePayload
func (NullableCreateInstancePayload) IsSet ¶ added in v0.2.0
func (v NullableCreateInstancePayload) IsSet() bool
func (NullableCreateInstancePayload) MarshalJSON ¶ added in v0.2.0
func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayload) Set ¶ added in v0.2.0
func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
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 (v NullableCreateInstancePayloadFlavor) Get() *CreateInstancePayloadFlavor
func (NullableCreateInstancePayloadFlavor) IsSet ¶ added in v0.7.0
func (v NullableCreateInstancePayloadFlavor) IsSet() bool
func (NullableCreateInstancePayloadFlavor) MarshalJSON ¶ added in v0.7.0
func (v NullableCreateInstancePayloadFlavor) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayloadFlavor) Set ¶ added in v0.7.0
func (v *NullableCreateInstancePayloadFlavor) Set(val *CreateInstancePayloadFlavor)
func (*NullableCreateInstancePayloadFlavor) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableCreateInstancePayloadFlavor) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayloadFlavor) Unset ¶ added in v0.7.0
func (v *NullableCreateInstancePayloadFlavor) Unset()
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 (v NullableFlavorAvailability) Get() *FlavorAvailability
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 (v *NullableFlavorAvailability) Set(val *FlavorAvailability)
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 (v NullableGenericErrorResponse) Get() *GenericErrorResponse
func (NullableGenericErrorResponse) IsSet ¶ added in v0.6.0
func (v NullableGenericErrorResponse) IsSet() bool
func (NullableGenericErrorResponse) MarshalJSON ¶ added in v0.6.0
func (v NullableGenericErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableGenericErrorResponse) Set ¶ added in v0.6.0
func (v *NullableGenericErrorResponse) Set(val *GenericErrorResponse)
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 (v NullableInstanceState) Get() *InstanceState
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 NewNullableInternalServerErrorResponse ¶
func NewNullableInternalServerErrorResponse(val *InternalServerErrorResponse) *NullableInternalServerErrorResponse
func (NullableInternalServerErrorResponse) Get ¶
func (v NullableInternalServerErrorResponse) Get() *InternalServerErrorResponse
func (NullableInternalServerErrorResponse) IsSet ¶
func (v NullableInternalServerErrorResponse) IsSet() bool
func (NullableInternalServerErrorResponse) MarshalJSON ¶
func (v NullableInternalServerErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableInternalServerErrorResponse) Set ¶
func (v *NullableInternalServerErrorResponse) Set(val *InternalServerErrorResponse)
func (*NullableInternalServerErrorResponse) UnmarshalJSON ¶
func (v *NullableInternalServerErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableInternalServerErrorResponse) Unset ¶
func (v *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 (v NullableListFlavors) Get() *ListFlavors
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 (v NullableListInstances) Get() *ListInstances
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 (v NullableUnauthorizedResponse) Get() *UnauthorizedResponse
func (NullableUnauthorizedResponse) IsSet ¶
func (v NullableUnauthorizedResponse) IsSet() bool
func (NullableUnauthorizedResponse) MarshalJSON ¶
func (v NullableUnauthorizedResponse) MarshalJSON() ([]byte, error)
func (*NullableUnauthorizedResponse) Set ¶
func (v *NullableUnauthorizedResponse) Set(val *UnauthorizedResponse)
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 {
}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 ¶
func (o *UnauthorizedResponse) GetError() (res UnauthorizedResponseGetErrorRetType)
GetError returns the Error field value if set, zero value otherwise.
func (*UnauthorizedResponse) GetErrorOk ¶
func (o *UnauthorizedResponse) GetErrorOk() (ret UnauthorizedResponseGetErrorRetType, ok bool)
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 ¶
func (o *UnauthorizedResponse) SetError(v UnauthorizedResponseGetErrorRetType)
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