v1betaapi

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

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

APIClient manages communication with the STACKIT 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. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AlreadyExistsError

type AlreadyExistsError struct {
	Message              string `json:"message"`
	AdditionalProperties map[string]interface{}
}

AlreadyExistsError Error response when a resource already exists.

func NewAlreadyExistsError

func NewAlreadyExistsError(message string) *AlreadyExistsError

NewAlreadyExistsError instantiates a new AlreadyExistsError 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 NewAlreadyExistsErrorWithDefaults

func NewAlreadyExistsErrorWithDefaults() *AlreadyExistsError

NewAlreadyExistsErrorWithDefaults instantiates a new AlreadyExistsError 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 (*AlreadyExistsError) GetMessage

func (o *AlreadyExistsError) GetMessage() string

GetMessage returns the Message field value

func (*AlreadyExistsError) GetMessageOk

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

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

func (AlreadyExistsError) MarshalJSON

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

func (*AlreadyExistsError) SetMessage

func (o *AlreadyExistsError) SetMessage(v string)

SetMessage sets field value

func (AlreadyExistsError) ToMap

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

func (*AlreadyExistsError) UnmarshalJSON

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

type ApiCreateAuthenticationRequest

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

func (ApiCreateAuthenticationRequest) CreateAuthenticationPayload

func (r ApiCreateAuthenticationRequest) CreateAuthenticationPayload(createAuthenticationPayload CreateAuthenticationPayload) ApiCreateAuthenticationRequest

Authentication Definition configuration data.

func (ApiCreateAuthenticationRequest) Execute

type ApiCreateInstanceRequest

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

func (ApiCreateInstanceRequest) CreateInstancePayload

func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest

Instance configuration options.

func (ApiCreateInstanceRequest) Execute

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

type ApiCreateRunnerRequest

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

func (ApiCreateRunnerRequest) CreateRunnerPayload

func (r ApiCreateRunnerRequest) CreateRunnerPayload(createRunnerPayload CreateRunnerPayload) ApiCreateRunnerRequest

Runner configuration options.

func (ApiCreateRunnerRequest) Execute

func (r ApiCreateRunnerRequest) Execute() (*Runner, error)

type ApiDeleteAuthenticationRequest

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

func (ApiDeleteAuthenticationRequest) Execute

type ApiDeleteInstanceRequest

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

func (ApiDeleteInstanceRequest) Execute

func (r ApiDeleteInstanceRequest) Execute() error

type ApiDeleteRunnerRequest

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

func (ApiDeleteRunnerRequest) Execute

func (r ApiDeleteRunnerRequest) Execute() error

type ApiGetAuthenticationRequest

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

func (ApiGetAuthenticationRequest) Execute

type ApiGetInstanceRequest

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

func (ApiGetInstanceRequest) Execute

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

type ApiGetRunnerRequest

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

func (ApiGetRunnerRequest) Execute

func (r ApiGetRunnerRequest) Execute() (*Runner, error)

type ApiListAuthenticationRequest

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

func (ApiListAuthenticationRequest) Execute

type ApiListFlavorsRequest

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

func (ApiListFlavorsRequest) Execute

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

type ApiListInstancesRequest

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

func (ApiListInstancesRequest) Execute

type ApiListRunnerRuntimesRequest

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

func (ApiListRunnerRuntimesRequest) Execute

type ApiPatchAuthenticationRequest

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

func (ApiPatchAuthenticationRequest) Execute

func (ApiPatchAuthenticationRequest) PatchAuthenticationPayload

func (r ApiPatchAuthenticationRequest) PatchAuthenticationPayload(patchAuthenticationPayload PatchAuthenticationPayload) ApiPatchAuthenticationRequest

Authentication Definition configuration data.

type ApiPatchInstanceRequest

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

func (ApiPatchInstanceRequest) Execute

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

func (ApiPatchInstanceRequest) PatchInstancePayload

func (r ApiPatchInstanceRequest) PatchInstancePayload(patchInstancePayload PatchInstancePayload) ApiPatchInstanceRequest

type Authentication

type Authentication struct {
	// The well-known configuration url to use for this authentication definition.
	AutoDiscoverUrl string `json:"auto_discover_url" validate:"regexp=^https:\\/\\/[a-zA-Z0-9\\\\-\\\\.]+(\\\\.[a-zA-Z]{2,})+(\\/.*)?$"`
	// The IDP client id to use.
	ClientId string `json:"client_id"`
	// The date and time the creation of the authentication definition was triggered.
	CreatedAt time.Time `json:"created_at"`
	// The url of the icon to use for this authentication definition.
	IconUrl string `json:"icon_url" validate:"regexp=^https:\\/\\/[a-zA-Z0-9\\\\-\\\\.]+(\\\\.[a-zA-Z]{2,})+(\\/.*)?$"`
	// An auto generated unique uuid which identifies the authentication definition in STACKIT Git instances.
	Id string `json:"id"`
	// The name to identify an authentication definition associated with a STACKIT Git instance.
	Name string `json:"name"`
	// The Oauth2 provider to use.
	Provider string `json:"provider"`
	// Scopes defines the OIDC scopes to request.
	Scopes string `json:"scopes"`
	// The current status of the authentication definition.
	Status               string `json:"status"`
	AdditionalProperties map[string]interface{}
}

Authentication Describes an authentication definition associated to a STACKIT Git instance. The provider type will be an openidConnect type.

func NewAuthentication

func NewAuthentication(autoDiscoverUrl string, clientId string, createdAt time.Time, iconUrl string, id string, name string, provider string, scopes string, status string) *Authentication

NewAuthentication instantiates a new Authentication 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 NewAuthenticationWithDefaults

func NewAuthenticationWithDefaults() *Authentication

NewAuthenticationWithDefaults instantiates a new Authentication 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 (*Authentication) GetAutoDiscoverUrl

func (o *Authentication) GetAutoDiscoverUrl() string

GetAutoDiscoverUrl returns the AutoDiscoverUrl field value

func (*Authentication) GetAutoDiscoverUrlOk

func (o *Authentication) GetAutoDiscoverUrlOk() (*string, bool)

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

func (*Authentication) GetClientId

func (o *Authentication) GetClientId() string

GetClientId returns the ClientId field value

func (*Authentication) GetClientIdOk

func (o *Authentication) GetClientIdOk() (*string, bool)

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

func (*Authentication) GetCreatedAt

func (o *Authentication) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Authentication) GetCreatedAtOk

func (o *Authentication) GetCreatedAtOk() (*time.Time, bool)

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

func (*Authentication) GetIconUrl

func (o *Authentication) GetIconUrl() string

GetIconUrl returns the IconUrl field value

func (*Authentication) GetIconUrlOk

func (o *Authentication) GetIconUrlOk() (*string, bool)

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

func (*Authentication) GetId

func (o *Authentication) GetId() string

GetId returns the Id field value

func (*Authentication) GetIdOk

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

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

func (*Authentication) GetName

func (o *Authentication) GetName() string

GetName returns the Name field value

func (*Authentication) GetNameOk

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

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

func (*Authentication) GetProvider

func (o *Authentication) GetProvider() string

GetProvider returns the Provider field value

func (*Authentication) GetProviderOk

func (o *Authentication) GetProviderOk() (*string, bool)

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

func (*Authentication) GetScopes

func (o *Authentication) GetScopes() string

GetScopes returns the Scopes field value

func (*Authentication) GetScopesOk

func (o *Authentication) GetScopesOk() (*string, bool)

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

func (*Authentication) GetStatus

func (o *Authentication) GetStatus() string

GetStatus returns the Status field value

func (*Authentication) GetStatusOk

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

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

func (Authentication) MarshalJSON

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

func (*Authentication) SetAutoDiscoverUrl

func (o *Authentication) SetAutoDiscoverUrl(v string)

SetAutoDiscoverUrl sets field value

func (*Authentication) SetClientId

func (o *Authentication) SetClientId(v string)

SetClientId sets field value

func (*Authentication) SetCreatedAt

func (o *Authentication) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Authentication) SetIconUrl

func (o *Authentication) SetIconUrl(v string)

SetIconUrl sets field value

func (*Authentication) SetId

func (o *Authentication) SetId(v string)

SetId sets field value

func (*Authentication) SetName

func (o *Authentication) SetName(v string)

SetName sets field value

func (*Authentication) SetProvider

func (o *Authentication) SetProvider(v string)

SetProvider sets field value

func (*Authentication) SetScopes

func (o *Authentication) SetScopes(v string)

SetScopes sets field value

func (*Authentication) SetStatus

func (o *Authentication) SetStatus(v string)

SetStatus sets field value

func (Authentication) ToMap

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

func (*Authentication) UnmarshalJSON

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

type AuthenticationList

type AuthenticationList struct {
	Authentication       []Authentication `json:"authentication"`
	AdditionalProperties map[string]interface{}
}

AuthenticationList A list of authentications belonging to an Instance.

func NewAuthenticationList

func NewAuthenticationList(authentication []Authentication) *AuthenticationList

NewAuthenticationList instantiates a new AuthenticationList 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 NewAuthenticationListWithDefaults

func NewAuthenticationListWithDefaults() *AuthenticationList

NewAuthenticationListWithDefaults instantiates a new AuthenticationList 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 (*AuthenticationList) GetAuthentication

func (o *AuthenticationList) GetAuthentication() []Authentication

GetAuthentication returns the Authentication field value

func (*AuthenticationList) GetAuthenticationOk

func (o *AuthenticationList) GetAuthenticationOk() ([]Authentication, bool)

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

func (AuthenticationList) MarshalJSON

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

func (*AuthenticationList) SetAuthentication

func (o *AuthenticationList) SetAuthentication(v []Authentication)

SetAuthentication sets field value

func (AuthenticationList) ToMap

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

func (*AuthenticationList) UnmarshalJSON

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

type BadErrorResponse

type BadErrorResponse struct {
	Details              *string `json:"details,omitempty"`
	Error                *string `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

BadErrorResponse 400 Error Response.

func NewBadErrorResponse

func NewBadErrorResponse() *BadErrorResponse

NewBadErrorResponse instantiates a new BadErrorResponse 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 NewBadErrorResponseWithDefaults

func NewBadErrorResponseWithDefaults() *BadErrorResponse

NewBadErrorResponseWithDefaults instantiates a new BadErrorResponse 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 (*BadErrorResponse) GetDetails

func (o *BadErrorResponse) GetDetails() string

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

func (*BadErrorResponse) GetDetailsOk

func (o *BadErrorResponse) GetDetailsOk() (*string, 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 (*BadErrorResponse) GetError

func (o *BadErrorResponse) GetError() string

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

func (*BadErrorResponse) GetErrorOk

func (o *BadErrorResponse) GetErrorOk() (*string, 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 (*BadErrorResponse) HasDetails

func (o *BadErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*BadErrorResponse) HasError

func (o *BadErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (BadErrorResponse) MarshalJSON

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

func (*BadErrorResponse) SetDetails

func (o *BadErrorResponse) SetDetails(v string)

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

func (*BadErrorResponse) SetError

func (o *BadErrorResponse) SetError(v string)

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

func (BadErrorResponse) ToMap

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

func (*BadErrorResponse) UnmarshalJSON

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

type ConflictErrorResponse

type ConflictErrorResponse struct {
	Details              *string `json:"details,omitempty"`
	Error                *string `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

ConflictErrorResponse 409 Error Response.

func NewConflictErrorResponse

func NewConflictErrorResponse() *ConflictErrorResponse

NewConflictErrorResponse instantiates a new ConflictErrorResponse 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 NewConflictErrorResponseWithDefaults

func NewConflictErrorResponseWithDefaults() *ConflictErrorResponse

NewConflictErrorResponseWithDefaults instantiates a new ConflictErrorResponse 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 (*ConflictErrorResponse) GetDetails

func (o *ConflictErrorResponse) GetDetails() string

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

func (*ConflictErrorResponse) GetDetailsOk

func (o *ConflictErrorResponse) GetDetailsOk() (*string, 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 (*ConflictErrorResponse) GetError

func (o *ConflictErrorResponse) GetError() string

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

func (*ConflictErrorResponse) GetErrorOk

func (o *ConflictErrorResponse) GetErrorOk() (*string, 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 (*ConflictErrorResponse) HasDetails

func (o *ConflictErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*ConflictErrorResponse) HasError

func (o *ConflictErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (ConflictErrorResponse) MarshalJSON

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

func (*ConflictErrorResponse) SetDetails

func (o *ConflictErrorResponse) SetDetails(v string)

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

func (*ConflictErrorResponse) SetError

func (o *ConflictErrorResponse) SetError(v string)

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

func (ConflictErrorResponse) ToMap

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

func (*ConflictErrorResponse) UnmarshalJSON

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

type CreateAuthenticationPayload

type CreateAuthenticationPayload struct {
	// The well-known configuration url to use for this authentication definition.
	AutoDiscoverUrl string `json:"auto_discover_url" validate:"regexp=^https:\\/\\/[a-zA-Z0-9\\\\-\\\\.]+(\\\\.[a-zA-Z]{2,})+(\\/.*)?$"`
	// The IDP client id to use.
	ClientId string `json:"client_id"`
	// The IDP client secret to use.
	ClientSecret string `json:"client_secret"`
	// The url of the icon to use for this authentication definition.
	IconUrl *string `json:"icon_url,omitempty" validate:"regexp=^https:\\/\\/[a-zA-Z0-9\\\\-\\\\.]+(\\\\.[a-zA-Z]{2,})+(\\/.*)?$"`
	// The name to identify an authentication definition associated with a STACKIT Git instance.
	Name string `json:"name"`
	// The Oauth2 provider to use.
	Provider *string `json:"provider,omitempty"`
	// Scopes defines the OIDC scopes to request.
	Scopes               *string `json:"scopes,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateAuthenticationPayload Properties to patch on an authentication. All fields are optional.

func NewCreateAuthenticationPayload

func NewCreateAuthenticationPayload(autoDiscoverUrl string, clientId string, clientSecret string, name string) *CreateAuthenticationPayload

NewCreateAuthenticationPayload instantiates a new CreateAuthenticationPayload 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 NewCreateAuthenticationPayloadWithDefaults

func NewCreateAuthenticationPayloadWithDefaults() *CreateAuthenticationPayload

NewCreateAuthenticationPayloadWithDefaults instantiates a new CreateAuthenticationPayload 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 (*CreateAuthenticationPayload) GetAutoDiscoverUrl

func (o *CreateAuthenticationPayload) GetAutoDiscoverUrl() string

GetAutoDiscoverUrl returns the AutoDiscoverUrl field value

func (*CreateAuthenticationPayload) GetAutoDiscoverUrlOk

func (o *CreateAuthenticationPayload) GetAutoDiscoverUrlOk() (*string, bool)

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

func (*CreateAuthenticationPayload) GetClientId

func (o *CreateAuthenticationPayload) GetClientId() string

GetClientId returns the ClientId field value

func (*CreateAuthenticationPayload) GetClientIdOk

func (o *CreateAuthenticationPayload) GetClientIdOk() (*string, bool)

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

func (*CreateAuthenticationPayload) GetClientSecret

func (o *CreateAuthenticationPayload) GetClientSecret() string

GetClientSecret returns the ClientSecret field value

func (*CreateAuthenticationPayload) GetClientSecretOk

func (o *CreateAuthenticationPayload) GetClientSecretOk() (*string, bool)

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

func (*CreateAuthenticationPayload) GetIconUrl

func (o *CreateAuthenticationPayload) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*CreateAuthenticationPayload) GetIconUrlOk

func (o *CreateAuthenticationPayload) GetIconUrlOk() (*string, bool)

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

func (*CreateAuthenticationPayload) GetName

func (o *CreateAuthenticationPayload) GetName() string

GetName returns the Name field value

func (*CreateAuthenticationPayload) GetNameOk

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

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

func (*CreateAuthenticationPayload) GetProvider

func (o *CreateAuthenticationPayload) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*CreateAuthenticationPayload) GetProviderOk

func (o *CreateAuthenticationPayload) GetProviderOk() (*string, bool)

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

func (*CreateAuthenticationPayload) GetScopes

func (o *CreateAuthenticationPayload) GetScopes() string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*CreateAuthenticationPayload) GetScopesOk

func (o *CreateAuthenticationPayload) GetScopesOk() (*string, bool)

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

func (*CreateAuthenticationPayload) HasIconUrl

func (o *CreateAuthenticationPayload) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*CreateAuthenticationPayload) HasProvider

func (o *CreateAuthenticationPayload) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*CreateAuthenticationPayload) HasScopes

func (o *CreateAuthenticationPayload) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (CreateAuthenticationPayload) MarshalJSON

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

func (*CreateAuthenticationPayload) SetAutoDiscoverUrl

func (o *CreateAuthenticationPayload) SetAutoDiscoverUrl(v string)

SetAutoDiscoverUrl sets field value

func (*CreateAuthenticationPayload) SetClientId

func (o *CreateAuthenticationPayload) SetClientId(v string)

SetClientId sets field value

func (*CreateAuthenticationPayload) SetClientSecret

func (o *CreateAuthenticationPayload) SetClientSecret(v string)

SetClientSecret sets field value

func (*CreateAuthenticationPayload) SetIconUrl

func (o *CreateAuthenticationPayload) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*CreateAuthenticationPayload) SetName

func (o *CreateAuthenticationPayload) SetName(v string)

SetName sets field value

func (*CreateAuthenticationPayload) SetProvider

func (o *CreateAuthenticationPayload) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*CreateAuthenticationPayload) SetScopes

func (o *CreateAuthenticationPayload) SetScopes(v string)

SetScopes gets a reference to the given string and assigns it to the Scopes field.

func (CreateAuthenticationPayload) ToMap

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

func (*CreateAuthenticationPayload) UnmarshalJSON

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

type CreateInstancePayload

type CreateInstancePayload struct {
	// A list of CIDR network addresses that are allowed to access the instance.
	Acl    []string `json:"acl,omitempty"`
	Flavor *string  `json:"flavor,omitempty"`
	// A user chosen name to distinguish multiple STACKIT Git instances.
	Name                 string `json:"name" validate:"regexp=^[a-z]([a-z0-9\\\\-]){0,30}[a-z0-9]+$"`
	AdditionalProperties map[string]interface{}
}

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

func NewCreateInstancePayload

func NewCreateInstancePayload(name string) *CreateInstancePayload

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

func NewCreateInstancePayloadWithDefaults

func NewCreateInstancePayloadWithDefaults() *CreateInstancePayload

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

func (*CreateInstancePayload) GetAcl

func (o *CreateInstancePayload) GetAcl() []string

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

func (*CreateInstancePayload) GetAclOk

func (o *CreateInstancePayload) GetAclOk() ([]string, 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

func (o *CreateInstancePayload) GetFlavor() string

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

func (*CreateInstancePayload) GetFlavorOk

func (o *CreateInstancePayload) GetFlavorOk() (*string, 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

func (o *CreateInstancePayload) GetName() string

GetName returns the Name field value

func (*CreateInstancePayload) GetNameOk

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

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

func (*CreateInstancePayload) HasAcl

func (o *CreateInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*CreateInstancePayload) HasFlavor

func (o *CreateInstancePayload) HasFlavor() bool

HasFlavor returns a boolean if a field has been set.

func (CreateInstancePayload) MarshalJSON

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

func (*CreateInstancePayload) SetAcl

func (o *CreateInstancePayload) SetAcl(v []string)

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

func (*CreateInstancePayload) SetFlavor

func (o *CreateInstancePayload) SetFlavor(v string)

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

func (*CreateInstancePayload) SetName

func (o *CreateInstancePayload) SetName(v string)

SetName sets field value

func (CreateInstancePayload) ToMap

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

func (*CreateInstancePayload) UnmarshalJSON

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

type CreateRunnerPayload

type CreateRunnerPayload struct {
	Labels               []string `json:"labels"`
	AdditionalProperties map[string]interface{}
}

CreateRunnerPayload Request a runner to be created supporting the requested list of runtime labels.

func NewCreateRunnerPayload

func NewCreateRunnerPayload(labels []string) *CreateRunnerPayload

NewCreateRunnerPayload instantiates a new CreateRunnerPayload 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 NewCreateRunnerPayloadWithDefaults

func NewCreateRunnerPayloadWithDefaults() *CreateRunnerPayload

NewCreateRunnerPayloadWithDefaults instantiates a new CreateRunnerPayload 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 (*CreateRunnerPayload) GetLabels

func (o *CreateRunnerPayload) GetLabels() []string

GetLabels returns the Labels field value

func (*CreateRunnerPayload) GetLabelsOk

func (o *CreateRunnerPayload) GetLabelsOk() ([]string, bool)

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

func (CreateRunnerPayload) MarshalJSON

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

func (*CreateRunnerPayload) SetLabels

func (o *CreateRunnerPayload) SetLabels(v []string)

SetLabels sets field value

func (CreateRunnerPayload) ToMap

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

func (*CreateRunnerPayload) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateAuthentication Creates an authentication source

		Creates an authentication source for the corresponding 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 ApiCreateAuthenticationRequest
	*/
	CreateAuthentication(ctx context.Context, projectId string, instanceId string) ApiCreateAuthenticationRequest

	// CreateAuthenticationExecute executes the request
	//  @return Authentication
	CreateAuthenticationExecute(r ApiCreateAuthenticationRequest) (*Authentication, error)

	/*
		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
	//  @return Instance
	CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)

	/*
		CreateRunner Create the runner associated to this instance.

		Creates the runner associated to this 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 ApiCreateRunnerRequest
	*/
	CreateRunner(ctx context.Context, projectId string, instanceId string) ApiCreateRunnerRequest

	// CreateRunnerExecute executes the request
	//  @return Runner
	CreateRunnerExecute(r ApiCreateRunnerRequest) (*Runner, error)

	/*
		DeleteAuthentication Delete Authentication Source

		Deletes the authentication source associated to this 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.
		@param authenticationId Authentication Source identifier.
		@return ApiDeleteAuthenticationRequest
	*/
	DeleteAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiDeleteAuthenticationRequest

	// DeleteAuthenticationExecute executes the request
	DeleteAuthenticationExecute(r ApiDeleteAuthenticationRequest) 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(r ApiDeleteInstanceRequest) error

	/*
		DeleteRunner Delete Runner.

		Deletes the runner associated to this 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 ApiDeleteRunnerRequest
	*/
	DeleteRunner(ctx context.Context, projectId string, instanceId string) ApiDeleteRunnerRequest

	// DeleteRunnerExecute executes the request
	DeleteRunnerExecute(r ApiDeleteRunnerRequest) error

	/*
		GetAuthentication Get authentication provider

		Get authentication provider


		@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.
		@param authenticationId Authentication Source identifier.
		@return ApiGetAuthenticationRequest
	*/
	GetAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiGetAuthenticationRequest

	// GetAuthenticationExecute executes the request
	//  @return Authentication
	GetAuthenticationExecute(r ApiGetAuthenticationRequest) (*Authentication, 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
	//  @return Instance
	GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)

	/*
		GetRunner Get Runner information.

		Retrieves information about a runner in 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 ApiGetRunnerRequest
	*/
	GetRunner(ctx context.Context, projectId string, instanceId string) ApiGetRunnerRequest

	// GetRunnerExecute executes the request
	//  @return Runner
	GetRunnerExecute(r ApiGetRunnerRequest) (*Runner, error)

	/*
		ListAuthentication List authentication sources

		Lists all authentication sources belonging to a specific 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 ApiListAuthenticationRequest
	*/
	ListAuthentication(ctx context.Context, projectId string, instanceId string) ApiListAuthenticationRequest

	// ListAuthenticationExecute executes the request
	//  @return AuthenticationList
	ListAuthenticationExecute(r ApiListAuthenticationRequest) (*AuthenticationList, 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
	//  @return ListFlavors
	ListFlavorsExecute(r ApiListFlavorsRequest) (*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
	//  @return ListInstances
	ListInstancesExecute(r ApiListInstancesRequest) (*ListInstances, error)

	/*
		ListRunnerRuntimes Method for ListRunnerRuntimes

		A list of runner runtimes that are available to be enabled for the project.

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

	// ListRunnerRuntimesExecute executes the request
	//  @return RunnerRuntimeList
	ListRunnerRuntimesExecute(r ApiListRunnerRuntimesRequest) (*RunnerRuntimeList, error)

	/*
		PatchAuthentication Patch Authentication.

		Patches the Authentication Provider.


		@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.
		@param authenticationId Authentication Source identifier.
		@return ApiPatchAuthenticationRequest
	*/
	PatchAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiPatchAuthenticationRequest

	// PatchAuthenticationExecute executes the request
	//  @return Authentication
	PatchAuthenticationExecute(r ApiPatchAuthenticationRequest) (*Authentication, error)

	/*
		PatchInstance Patch Instance.

		Patches the 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 ApiPatchInstanceRequest
	*/
	PatchInstance(ctx context.Context, projectId string, instanceId string) ApiPatchInstanceRequest

	// PatchInstanceExecute executes the request
	//  @return Instance
	PatchInstanceExecute(r ApiPatchInstanceRequest) (*Instance, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateAuthentication

func (a *DefaultAPIService) CreateAuthentication(ctx context.Context, projectId string, instanceId string) ApiCreateAuthenticationRequest

CreateAuthentication Creates an authentication source

Creates an authentication source for the corresponding 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 ApiCreateAuthenticationRequest

func (*DefaultAPIService) CreateAuthenticationExecute

func (a *DefaultAPIService) CreateAuthenticationExecute(r ApiCreateAuthenticationRequest) (*Authentication, error)

Execute executes the request

@return Authentication

func (*DefaultAPIService) CreateInstance

func (a *DefaultAPIService) 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 (*DefaultAPIService) CreateInstanceExecute

func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)

Execute executes the request

@return Instance

func (*DefaultAPIService) CreateRunner

func (a *DefaultAPIService) CreateRunner(ctx context.Context, projectId string, instanceId string) ApiCreateRunnerRequest

CreateRunner Create the runner associated to this instance.

Creates the runner associated to this 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 ApiCreateRunnerRequest

func (*DefaultAPIService) CreateRunnerExecute

func (a *DefaultAPIService) CreateRunnerExecute(r ApiCreateRunnerRequest) (*Runner, error)

Execute executes the request

@return Runner

func (*DefaultAPIService) DeleteAuthentication

func (a *DefaultAPIService) DeleteAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiDeleteAuthenticationRequest

DeleteAuthentication Delete Authentication Source

Deletes the authentication source associated to this 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.
@param authenticationId Authentication Source identifier.
@return ApiDeleteAuthenticationRequest

func (*DefaultAPIService) DeleteAuthenticationExecute

func (a *DefaultAPIService) DeleteAuthenticationExecute(r ApiDeleteAuthenticationRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteInstance

func (a *DefaultAPIService) 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 (*DefaultAPIService) DeleteInstanceExecute

func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteRunner

func (a *DefaultAPIService) DeleteRunner(ctx context.Context, projectId string, instanceId string) ApiDeleteRunnerRequest

DeleteRunner Delete Runner.

Deletes the runner associated to this 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 ApiDeleteRunnerRequest

func (*DefaultAPIService) DeleteRunnerExecute

func (a *DefaultAPIService) DeleteRunnerExecute(r ApiDeleteRunnerRequest) error

Execute executes the request

func (*DefaultAPIService) GetAuthentication

func (a *DefaultAPIService) GetAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiGetAuthenticationRequest

GetAuthentication Get authentication provider

Get authentication provider

@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.
@param authenticationId Authentication Source identifier.
@return ApiGetAuthenticationRequest

func (*DefaultAPIService) GetAuthenticationExecute

func (a *DefaultAPIService) GetAuthenticationExecute(r ApiGetAuthenticationRequest) (*Authentication, error)

Execute executes the request

@return Authentication

func (*DefaultAPIService) GetInstance

func (a *DefaultAPIService) 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 (*DefaultAPIService) GetInstanceExecute

func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)

Execute executes the request

@return Instance

func (*DefaultAPIService) GetRunner

func (a *DefaultAPIService) GetRunner(ctx context.Context, projectId string, instanceId string) ApiGetRunnerRequest

GetRunner Get Runner information.

Retrieves information about a runner in 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 ApiGetRunnerRequest

func (*DefaultAPIService) GetRunnerExecute

func (a *DefaultAPIService) GetRunnerExecute(r ApiGetRunnerRequest) (*Runner, error)

Execute executes the request

@return Runner

func (*DefaultAPIService) ListAuthentication

func (a *DefaultAPIService) ListAuthentication(ctx context.Context, projectId string, instanceId string) ApiListAuthenticationRequest

ListAuthentication List authentication sources

Lists all authentication sources belonging to a specific 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 ApiListAuthenticationRequest

func (*DefaultAPIService) ListAuthenticationExecute

func (a *DefaultAPIService) ListAuthenticationExecute(r ApiListAuthenticationRequest) (*AuthenticationList, error)

Execute executes the request

@return AuthenticationList

func (*DefaultAPIService) ListFlavors

func (a *DefaultAPIService) 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 (*DefaultAPIService) ListFlavorsExecute

func (a *DefaultAPIService) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavors, error)

Execute executes the request

@return ListFlavors

func (*DefaultAPIService) ListInstances

func (a *DefaultAPIService) 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 (*DefaultAPIService) ListInstancesExecute

func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstances, error)

Execute executes the request

@return ListInstances

func (*DefaultAPIService) ListRunnerRuntimes

func (a *DefaultAPIService) ListRunnerRuntimes(ctx context.Context, projectId string) ApiListRunnerRuntimesRequest

ListRunnerRuntimes Method for ListRunnerRuntimes

A list of runner runtimes that are available to be enabled for the project.

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

func (*DefaultAPIService) ListRunnerRuntimesExecute

func (a *DefaultAPIService) ListRunnerRuntimesExecute(r ApiListRunnerRuntimesRequest) (*RunnerRuntimeList, error)

Execute executes the request

@return RunnerRuntimeList

func (*DefaultAPIService) PatchAuthentication

func (a *DefaultAPIService) PatchAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiPatchAuthenticationRequest

PatchAuthentication Patch Authentication.

Patches the Authentication Provider.

@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.
@param authenticationId Authentication Source identifier.
@return ApiPatchAuthenticationRequest

func (*DefaultAPIService) PatchAuthenticationExecute

func (a *DefaultAPIService) PatchAuthenticationExecute(r ApiPatchAuthenticationRequest) (*Authentication, error)

Execute executes the request

@return Authentication

func (*DefaultAPIService) PatchInstance

func (a *DefaultAPIService) PatchInstance(ctx context.Context, projectId string, instanceId string) ApiPatchInstanceRequest

PatchInstance Patch Instance.

Patches the 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 ApiPatchInstanceRequest

func (*DefaultAPIService) PatchInstanceExecute

func (a *DefaultAPIService) PatchInstanceExecute(r ApiPatchInstanceRequest) (*Instance, error)

Execute executes the request

@return Instance

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateAuthenticationExecuteMock can be populated to implement the behavior of the CreateAuthenticationExecute function of this mock
	CreateAuthenticationExecuteMock *func(r ApiCreateAuthenticationRequest) (*Authentication, error)
	// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
	CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*Instance, error)
	// CreateRunnerExecuteMock can be populated to implement the behavior of the CreateRunnerExecute function of this mock
	CreateRunnerExecuteMock *func(r ApiCreateRunnerRequest) (*Runner, error)
	// DeleteAuthenticationExecuteMock can be populated to implement the behavior of the DeleteAuthenticationExecute function of this mock
	DeleteAuthenticationExecuteMock *func(r ApiDeleteAuthenticationRequest) error
	// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
	DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) error
	// DeleteRunnerExecuteMock can be populated to implement the behavior of the DeleteRunnerExecute function of this mock
	DeleteRunnerExecuteMock *func(r ApiDeleteRunnerRequest) error
	// GetAuthenticationExecuteMock can be populated to implement the behavior of the GetAuthenticationExecute function of this mock
	GetAuthenticationExecuteMock *func(r ApiGetAuthenticationRequest) (*Authentication, error)
	// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
	GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*Instance, error)
	// GetRunnerExecuteMock can be populated to implement the behavior of the GetRunnerExecute function of this mock
	GetRunnerExecuteMock *func(r ApiGetRunnerRequest) (*Runner, error)
	// ListAuthenticationExecuteMock can be populated to implement the behavior of the ListAuthenticationExecute function of this mock
	ListAuthenticationExecuteMock *func(r ApiListAuthenticationRequest) (*AuthenticationList, error)
	// ListFlavorsExecuteMock can be populated to implement the behavior of the ListFlavorsExecute function of this mock
	ListFlavorsExecuteMock *func(r ApiListFlavorsRequest) (*ListFlavors, error)
	// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
	ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstances, error)
	// ListRunnerRuntimesExecuteMock can be populated to implement the behavior of the ListRunnerRuntimesExecute function of this mock
	ListRunnerRuntimesExecuteMock *func(r ApiListRunnerRuntimesRequest) (*RunnerRuntimeList, error)
	// PatchAuthenticationExecuteMock can be populated to implement the behavior of the PatchAuthenticationExecute function of this mock
	PatchAuthenticationExecuteMock *func(r ApiPatchAuthenticationRequest) (*Authentication, error)
	// PatchInstanceExecuteMock can be populated to implement the behavior of the PatchInstanceExecute function of this mock
	PatchInstanceExecuteMock *func(r ApiPatchInstanceRequest) (*Instance, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateAuthentication

func (a DefaultAPIServiceMock) CreateAuthentication(ctx context.Context, projectId string, instanceId string) ApiCreateAuthenticationRequest

func (DefaultAPIServiceMock) CreateAuthenticationExecute

func (a DefaultAPIServiceMock) CreateAuthenticationExecute(r ApiCreateAuthenticationRequest) (*Authentication, error)

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

func (DefaultAPIServiceMock) CreateInstance

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

func (DefaultAPIServiceMock) CreateInstanceExecute

func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)

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

func (DefaultAPIServiceMock) CreateRunner

func (a DefaultAPIServiceMock) CreateRunner(ctx context.Context, projectId string, instanceId string) ApiCreateRunnerRequest

func (DefaultAPIServiceMock) CreateRunnerExecute

func (a DefaultAPIServiceMock) CreateRunnerExecute(r ApiCreateRunnerRequest) (*Runner, error)

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

func (DefaultAPIServiceMock) DeleteAuthentication

func (a DefaultAPIServiceMock) DeleteAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiDeleteAuthenticationRequest

func (DefaultAPIServiceMock) DeleteAuthenticationExecute

func (a DefaultAPIServiceMock) DeleteAuthenticationExecute(r ApiDeleteAuthenticationRequest) error

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

func (DefaultAPIServiceMock) DeleteInstance

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

func (DefaultAPIServiceMock) DeleteInstanceExecute

func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error

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

func (DefaultAPIServiceMock) DeleteRunner

func (a DefaultAPIServiceMock) DeleteRunner(ctx context.Context, projectId string, instanceId string) ApiDeleteRunnerRequest

func (DefaultAPIServiceMock) DeleteRunnerExecute

func (a DefaultAPIServiceMock) DeleteRunnerExecute(r ApiDeleteRunnerRequest) error

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

func (DefaultAPIServiceMock) GetAuthentication

func (a DefaultAPIServiceMock) GetAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiGetAuthenticationRequest

func (DefaultAPIServiceMock) GetAuthenticationExecute

func (a DefaultAPIServiceMock) GetAuthenticationExecute(r ApiGetAuthenticationRequest) (*Authentication, error)

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

func (DefaultAPIServiceMock) GetInstance

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

func (DefaultAPIServiceMock) GetInstanceExecute

func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)

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

func (DefaultAPIServiceMock) GetRunner

func (a DefaultAPIServiceMock) GetRunner(ctx context.Context, projectId string, instanceId string) ApiGetRunnerRequest

func (DefaultAPIServiceMock) GetRunnerExecute

func (a DefaultAPIServiceMock) GetRunnerExecute(r ApiGetRunnerRequest) (*Runner, error)

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

func (DefaultAPIServiceMock) ListAuthentication

func (a DefaultAPIServiceMock) ListAuthentication(ctx context.Context, projectId string, instanceId string) ApiListAuthenticationRequest

func (DefaultAPIServiceMock) ListAuthenticationExecute

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

func (DefaultAPIServiceMock) ListFlavors

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

func (DefaultAPIServiceMock) ListFlavorsExecute

func (a DefaultAPIServiceMock) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavors, error)

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

func (DefaultAPIServiceMock) ListInstances

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

func (DefaultAPIServiceMock) ListInstancesExecute

func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstances, error)

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

func (DefaultAPIServiceMock) ListRunnerRuntimes

func (a DefaultAPIServiceMock) ListRunnerRuntimes(ctx context.Context, projectId string) ApiListRunnerRuntimesRequest

func (DefaultAPIServiceMock) ListRunnerRuntimesExecute

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

func (DefaultAPIServiceMock) PatchAuthentication

func (a DefaultAPIServiceMock) PatchAuthentication(ctx context.Context, projectId string, instanceId string, authenticationId string) ApiPatchAuthenticationRequest

func (DefaultAPIServiceMock) PatchAuthenticationExecute

func (a DefaultAPIServiceMock) PatchAuthenticationExecute(r ApiPatchAuthenticationRequest) (*Authentication, error)

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

func (DefaultAPIServiceMock) PatchInstance

func (a DefaultAPIServiceMock) PatchInstance(ctx context.Context, projectId string, instanceId string) ApiPatchInstanceRequest

func (DefaultAPIServiceMock) PatchInstanceExecute

func (a DefaultAPIServiceMock) PatchInstanceExecute(r ApiPatchInstanceRequest) (*Instance, error)

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

type FeatureToggle

type FeatureToggle struct {
	// Default email notifications.
	DefaultEmailNotifications NullableString `json:"default_email_notifications,omitempty"`
	// Enable commit signatures.
	EnableCommitSignatures NullableBool `json:"enable_commit_signatures,omitempty"`
	// Enable local login.
	EnableLocalLogin     NullableBool `json:"enable_local_login,omitempty"`
	AdditionalProperties map[string]interface{}
}

FeatureToggle Feature toggles for the instance.

func NewFeatureToggle

func NewFeatureToggle() *FeatureToggle

NewFeatureToggle instantiates a new FeatureToggle 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 NewFeatureToggleWithDefaults

func NewFeatureToggleWithDefaults() *FeatureToggle

NewFeatureToggleWithDefaults instantiates a new FeatureToggle 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 (*FeatureToggle) GetDefaultEmailNotifications

func (o *FeatureToggle) GetDefaultEmailNotifications() string

GetDefaultEmailNotifications returns the DefaultEmailNotifications field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FeatureToggle) GetDefaultEmailNotificationsOk

func (o *FeatureToggle) GetDefaultEmailNotificationsOk() (*string, bool)

GetDefaultEmailNotificationsOk returns a tuple with the DefaultEmailNotifications field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FeatureToggle) GetEnableCommitSignatures

func (o *FeatureToggle) GetEnableCommitSignatures() bool

GetEnableCommitSignatures returns the EnableCommitSignatures field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FeatureToggle) GetEnableCommitSignaturesOk

func (o *FeatureToggle) GetEnableCommitSignaturesOk() (*bool, bool)

GetEnableCommitSignaturesOk returns a tuple with the EnableCommitSignatures field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FeatureToggle) GetEnableLocalLogin

func (o *FeatureToggle) GetEnableLocalLogin() bool

GetEnableLocalLogin returns the EnableLocalLogin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FeatureToggle) GetEnableLocalLoginOk

func (o *FeatureToggle) GetEnableLocalLoginOk() (*bool, bool)

GetEnableLocalLoginOk returns a tuple with the EnableLocalLogin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FeatureToggle) HasDefaultEmailNotifications

func (o *FeatureToggle) HasDefaultEmailNotifications() bool

HasDefaultEmailNotifications returns a boolean if a field has been set.

func (*FeatureToggle) HasEnableCommitSignatures

func (o *FeatureToggle) HasEnableCommitSignatures() bool

HasEnableCommitSignatures returns a boolean if a field has been set.

func (*FeatureToggle) HasEnableLocalLogin

func (o *FeatureToggle) HasEnableLocalLogin() bool

HasEnableLocalLogin returns a boolean if a field has been set.

func (FeatureToggle) MarshalJSON

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

func (*FeatureToggle) SetDefaultEmailNotifications

func (o *FeatureToggle) SetDefaultEmailNotifications(v string)

SetDefaultEmailNotifications gets a reference to the given NullableString and assigns it to the DefaultEmailNotifications field.

func (*FeatureToggle) SetDefaultEmailNotificationsNil

func (o *FeatureToggle) SetDefaultEmailNotificationsNil()

SetDefaultEmailNotificationsNil sets the value for DefaultEmailNotifications to be an explicit nil

func (*FeatureToggle) SetEnableCommitSignatures

func (o *FeatureToggle) SetEnableCommitSignatures(v bool)

SetEnableCommitSignatures gets a reference to the given NullableBool and assigns it to the EnableCommitSignatures field.

func (*FeatureToggle) SetEnableCommitSignaturesNil

func (o *FeatureToggle) SetEnableCommitSignaturesNil()

SetEnableCommitSignaturesNil sets the value for EnableCommitSignatures to be an explicit nil

func (*FeatureToggle) SetEnableLocalLogin

func (o *FeatureToggle) SetEnableLocalLogin(v bool)

SetEnableLocalLogin gets a reference to the given NullableBool and assigns it to the EnableLocalLogin field.

func (*FeatureToggle) SetEnableLocalLoginNil

func (o *FeatureToggle) SetEnableLocalLoginNil()

SetEnableLocalLoginNil sets the value for EnableLocalLogin to be an explicit nil

func (FeatureToggle) ToMap

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

func (*FeatureToggle) UnmarshalJSON

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

func (*FeatureToggle) UnsetDefaultEmailNotifications

func (o *FeatureToggle) UnsetDefaultEmailNotifications()

UnsetDefaultEmailNotifications ensures that no value is present for DefaultEmailNotifications, not even an explicit nil

func (*FeatureToggle) UnsetEnableCommitSignatures

func (o *FeatureToggle) UnsetEnableCommitSignatures()

UnsetEnableCommitSignatures ensures that no value is present for EnableCommitSignatures, not even an explicit nil

func (*FeatureToggle) UnsetEnableLocalLogin

func (o *FeatureToggle) UnsetEnableLocalLogin()

UnsetEnableLocalLogin ensures that no value is present for EnableLocalLogin, not even an explicit nil

type Flavor

type Flavor struct {
	// Defines the flavor availability.
	Availability string `json:"availability"`
	// Flavor description.
	Description string `json:"description"`
	// The display name that will be shown in the Portal.
	DisplayName string `json:"display_name"`
	// Flavor id.
	Id string `json:"id"`
	// SAP article number.
	Sku                  string `json:"sku"`
	AdditionalProperties map[string]interface{}
}

Flavor Describes a STACKIT Git Flavor.

func NewFlavor

func NewFlavor(availability string, description string, displayName string, id string, sku string) *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

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

func (o *Flavor) GetAvailability() string

GetAvailability returns the Availability field value

func (*Flavor) GetAvailabilityOk

func (o *Flavor) GetAvailabilityOk() (*string, bool)

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

func (*Flavor) GetDescription

func (o *Flavor) GetDescription() string

GetDescription returns the Description field value

func (*Flavor) GetDescriptionOk

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

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

func (*Flavor) GetDisplayName

func (o *Flavor) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Flavor) GetDisplayNameOk

func (o *Flavor) GetDisplayNameOk() (*string, bool)

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

func (*Flavor) GetId

func (o *Flavor) GetId() string

GetId returns the Id field value

func (*Flavor) GetIdOk

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

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

func (*Flavor) GetSku

func (o *Flavor) GetSku() string

GetSku returns the Sku field value

func (*Flavor) GetSkuOk

func (o *Flavor) GetSkuOk() (*string, bool)

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

func (Flavor) MarshalJSON

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

func (*Flavor) SetAvailability

func (o *Flavor) SetAvailability(v string)

SetAvailability sets field value

func (*Flavor) SetDescription

func (o *Flavor) SetDescription(v string)

SetDescription sets field value

func (*Flavor) SetDisplayName

func (o *Flavor) SetDisplayName(v string)

SetDisplayName sets field value

func (*Flavor) SetId

func (o *Flavor) SetId(v string)

SetId sets field value

func (*Flavor) SetSku

func (o *Flavor) SetSku(v string)

SetSku sets field value

func (Flavor) ToMap

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

func (*Flavor) UnmarshalJSON

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

type GenericErrorResponse

type GenericErrorResponse struct {
	Details              []string `json:"details,omitempty"`
	Message              string   `json:"message"`
	AdditionalProperties map[string]interface{}
}

GenericErrorResponse Generic Error Response.

func NewGenericErrorResponse

func NewGenericErrorResponse(message string) *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

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

func (o *GenericErrorResponse) GetDetails() []string

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

func (*GenericErrorResponse) GetDetailsOk

func (o *GenericErrorResponse) GetDetailsOk() ([]string, 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

func (o *GenericErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*GenericErrorResponse) GetMessageOk

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

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

func (*GenericErrorResponse) HasDetails

func (o *GenericErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (GenericErrorResponse) MarshalJSON

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

func (*GenericErrorResponse) SetDetails

func (o *GenericErrorResponse) SetDetails(v []string)

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

func (*GenericErrorResponse) SetMessage

func (o *GenericErrorResponse) SetMessage(v string)

SetMessage sets field value

func (GenericErrorResponse) ToMap

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

func (*GenericErrorResponse) UnmarshalJSON

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

type Instance

type Instance struct {
	// Restricted ACL for instance access.
	Acl []string `json:"acl"`
	// How many bytes of disk space is consumed. Read Only.
	ConsumedDisk string `json:"consumed_disk"`
	// How many bytes of Object Storage is consumed. Read Only.
	ConsumedObjectStorage string `json:"consumed_object_storage"`
	// The date and time the creation of the STACKIT Git instance was triggered.
	Created       time.Time     `json:"created"`
	FeatureToggle FeatureToggle `json:"feature_toggle"`
	// Instance flavor.
	Flavor string `json:"flavor"`
	// A auto generated unique id which identifies the STACKIT Git instances.
	Id string `json:"id"`
	// A user chosen name to distinguish multiple STACKIT Git instances.
	Name string `json:"name"`
	// The current state of the STACKIT Git instance.
	State string `json:"state"`
	// The URL for reaching the STACKIT Git instance.
	Url string `json:"url"`
	// The current version of STACKIT Git deployed to the instance.
	Version              string `json:"version"`
	AdditionalProperties map[string]interface{}
}

Instance Describes a STACKIT Git instance.

func NewInstance

func NewInstance(acl []string, consumedDisk string, consumedObjectStorage string, created time.Time, featureToggle FeatureToggle, flavor string, id string, name string, state string, url string, version string) *Instance

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

func NewInstanceWithDefaults

func NewInstanceWithDefaults() *Instance

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

func (*Instance) GetAcl

func (o *Instance) GetAcl() []string

GetAcl returns the Acl field value

func (*Instance) GetAclOk

func (o *Instance) GetAclOk() ([]string, bool)

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

func (*Instance) GetConsumedDisk

func (o *Instance) GetConsumedDisk() string

GetConsumedDisk returns the ConsumedDisk field value

func (*Instance) GetConsumedDiskOk

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

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

func (*Instance) GetConsumedObjectStorage

func (o *Instance) GetConsumedObjectStorage() string

GetConsumedObjectStorage returns the ConsumedObjectStorage field value

func (*Instance) GetConsumedObjectStorageOk

func (o *Instance) GetConsumedObjectStorageOk() (*string, 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() time.Time

GetCreated returns the Created field value

func (*Instance) GetCreatedOk

func (o *Instance) GetCreatedOk() (*time.Time, bool)

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

func (*Instance) GetFeatureToggle

func (o *Instance) GetFeatureToggle() FeatureToggle

GetFeatureToggle returns the FeatureToggle field value

func (*Instance) GetFeatureToggleOk

func (o *Instance) GetFeatureToggleOk() (*FeatureToggle, bool)

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

func (*Instance) GetFlavor

func (o *Instance) GetFlavor() string

GetFlavor returns the Flavor field value

func (*Instance) GetFlavorOk

func (o *Instance) GetFlavorOk() (*string, 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() string

GetId returns the Id field value

func (*Instance) GetIdOk

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

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

func (*Instance) GetName

func (o *Instance) GetName() string

GetName returns the Name field value

func (*Instance) GetNameOk

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

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

func (*Instance) GetState

func (o *Instance) GetState() string

GetState returns the State field value

func (*Instance) GetStateOk

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

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

func (*Instance) GetUrl

func (o *Instance) GetUrl() string

GetUrl returns the Url field value

func (*Instance) GetUrlOk

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

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

func (*Instance) GetVersion

func (o *Instance) GetVersion() string

GetVersion returns the Version field value

func (*Instance) GetVersionOk

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

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

func (Instance) MarshalJSON

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

func (*Instance) SetAcl

func (o *Instance) SetAcl(v []string)

SetAcl sets field value

func (*Instance) SetConsumedDisk

func (o *Instance) SetConsumedDisk(v string)

SetConsumedDisk sets field value

func (*Instance) SetConsumedObjectStorage

func (o *Instance) SetConsumedObjectStorage(v string)

SetConsumedObjectStorage sets field value

func (*Instance) SetCreated

func (o *Instance) SetCreated(v time.Time)

SetCreated sets field value

func (*Instance) SetFeatureToggle

func (o *Instance) SetFeatureToggle(v FeatureToggle)

SetFeatureToggle sets field value

func (*Instance) SetFlavor

func (o *Instance) SetFlavor(v string)

SetFlavor sets field value

func (*Instance) SetId

func (o *Instance) SetId(v string)

SetId sets field value

func (*Instance) SetName

func (o *Instance) SetName(v string)

SetName sets field value

func (*Instance) SetState

func (o *Instance) SetState(v string)

SetState sets field value

func (*Instance) SetUrl

func (o *Instance) SetUrl(v string)

SetUrl sets field value

func (*Instance) SetVersion

func (o *Instance) SetVersion(v string)

SetVersion sets field value

func (Instance) ToMap

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

func (*Instance) UnmarshalJSON

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

type InternalServerErrorResponse

type InternalServerErrorResponse struct {
	Details              *string `json:"details,omitempty"`
	Error                *string `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

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

func (o *InternalServerErrorResponse) GetDetails() string

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

func (*InternalServerErrorResponse) GetDetailsOk

func (o *InternalServerErrorResponse) GetDetailsOk() (*string, 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 (*InternalServerErrorResponse) GetError

func (o *InternalServerErrorResponse) GetError() string

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

func (*InternalServerErrorResponse) GetErrorOk

func (o *InternalServerErrorResponse) GetErrorOk() (*string, 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) HasDetails

func (o *InternalServerErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*InternalServerErrorResponse) HasError

func (o *InternalServerErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (InternalServerErrorResponse) MarshalJSON

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

func (*InternalServerErrorResponse) SetDetails

func (o *InternalServerErrorResponse) SetDetails(v string)

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

func (*InternalServerErrorResponse) SetError

func (o *InternalServerErrorResponse) SetError(v string)

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)

func (*InternalServerErrorResponse) UnmarshalJSON

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

type ListFlavors

type ListFlavors struct {
	Flavors              []Flavor `json:"flavors"`
	AdditionalProperties map[string]interface{}
}

ListFlavors A list of STACKIT Git Flavors.

func NewListFlavors

func NewListFlavors(flavors []Flavor) *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

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

func (o *ListFlavors) GetFlavors() []Flavor

GetFlavors returns the Flavors field value

func (*ListFlavors) GetFlavorsOk

func (o *ListFlavors) GetFlavorsOk() ([]Flavor, bool)

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

func (ListFlavors) MarshalJSON

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

func (*ListFlavors) SetFlavors

func (o *ListFlavors) SetFlavors(v []Flavor)

SetFlavors sets field value

func (ListFlavors) ToMap

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

func (*ListFlavors) UnmarshalJSON

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

type ListInstances

type ListInstances struct {
	Instances            []Instance `json:"instances"`
	AdditionalProperties map[string]interface{}
}

ListInstances A list of STACKIT Git instances.

func NewListInstances

func NewListInstances(instances []Instance) *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() []Instance

GetInstances returns the Instances field value

func (*ListInstances) GetInstancesOk

func (o *ListInstances) GetInstancesOk() ([]Instance, bool)

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

func (ListInstances) MarshalJSON

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

func (*ListInstances) SetInstances

func (o *ListInstances) SetInstances(v []Instance)

SetInstances sets field value

func (ListInstances) ToMap

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

func (*ListInstances) UnmarshalJSON

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

type MappedNullable

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

type NotFoundErrorResponse

type NotFoundErrorResponse struct {
	Details              *string `json:"details,omitempty"`
	Error                *string `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

NotFoundErrorResponse 404 Error Response.

func NewNotFoundErrorResponse

func NewNotFoundErrorResponse() *NotFoundErrorResponse

NewNotFoundErrorResponse instantiates a new NotFoundErrorResponse 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 NewNotFoundErrorResponseWithDefaults

func NewNotFoundErrorResponseWithDefaults() *NotFoundErrorResponse

NewNotFoundErrorResponseWithDefaults instantiates a new NotFoundErrorResponse 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 (*NotFoundErrorResponse) GetDetails

func (o *NotFoundErrorResponse) GetDetails() string

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

func (*NotFoundErrorResponse) GetDetailsOk

func (o *NotFoundErrorResponse) GetDetailsOk() (*string, 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 (*NotFoundErrorResponse) GetError

func (o *NotFoundErrorResponse) GetError() string

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

func (*NotFoundErrorResponse) GetErrorOk

func (o *NotFoundErrorResponse) GetErrorOk() (*string, 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 (*NotFoundErrorResponse) HasDetails

func (o *NotFoundErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*NotFoundErrorResponse) HasError

func (o *NotFoundErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (NotFoundErrorResponse) MarshalJSON

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

func (*NotFoundErrorResponse) SetDetails

func (o *NotFoundErrorResponse) SetDetails(v string)

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

func (*NotFoundErrorResponse) SetError

func (o *NotFoundErrorResponse) SetError(v string)

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

func (NotFoundErrorResponse) ToMap

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

func (*NotFoundErrorResponse) UnmarshalJSON

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

type NullableAlreadyExistsError

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

func NewNullableAlreadyExistsError

func NewNullableAlreadyExistsError(val *AlreadyExistsError) *NullableAlreadyExistsError

func (NullableAlreadyExistsError) Get

func (NullableAlreadyExistsError) IsSet

func (v NullableAlreadyExistsError) IsSet() bool

func (NullableAlreadyExistsError) MarshalJSON

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

func (*NullableAlreadyExistsError) Set

func (*NullableAlreadyExistsError) UnmarshalJSON

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

func (*NullableAlreadyExistsError) Unset

func (v *NullableAlreadyExistsError) Unset()

type NullableAuthentication

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

func NewNullableAuthentication

func NewNullableAuthentication(val *Authentication) *NullableAuthentication

func (NullableAuthentication) Get

func (NullableAuthentication) IsSet

func (v NullableAuthentication) IsSet() bool

func (NullableAuthentication) MarshalJSON

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

func (*NullableAuthentication) Set

func (*NullableAuthentication) UnmarshalJSON

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

func (*NullableAuthentication) Unset

func (v *NullableAuthentication) Unset()

type NullableAuthenticationList

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

func NewNullableAuthenticationList

func NewNullableAuthenticationList(val *AuthenticationList) *NullableAuthenticationList

func (NullableAuthenticationList) Get

func (NullableAuthenticationList) IsSet

func (v NullableAuthenticationList) IsSet() bool

func (NullableAuthenticationList) MarshalJSON

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

func (*NullableAuthenticationList) Set

func (*NullableAuthenticationList) UnmarshalJSON

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

func (*NullableAuthenticationList) Unset

func (v *NullableAuthenticationList) Unset()

type NullableBadErrorResponse

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

func NewNullableBadErrorResponse

func NewNullableBadErrorResponse(val *BadErrorResponse) *NullableBadErrorResponse

func (NullableBadErrorResponse) Get

func (NullableBadErrorResponse) IsSet

func (v NullableBadErrorResponse) IsSet() bool

func (NullableBadErrorResponse) MarshalJSON

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

func (*NullableBadErrorResponse) Set

func (*NullableBadErrorResponse) UnmarshalJSON

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

func (*NullableBadErrorResponse) Unset

func (v *NullableBadErrorResponse) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableConflictErrorResponse

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

func (NullableConflictErrorResponse) Get

func (NullableConflictErrorResponse) IsSet

func (NullableConflictErrorResponse) MarshalJSON

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

func (*NullableConflictErrorResponse) Set

func (*NullableConflictErrorResponse) UnmarshalJSON

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

func (*NullableConflictErrorResponse) Unset

func (v *NullableConflictErrorResponse) Unset()

type NullableCreateAuthenticationPayload

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

func (NullableCreateAuthenticationPayload) Get

func (NullableCreateAuthenticationPayload) IsSet

func (NullableCreateAuthenticationPayload) MarshalJSON

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

func (*NullableCreateAuthenticationPayload) Set

func (*NullableCreateAuthenticationPayload) UnmarshalJSON

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

func (*NullableCreateAuthenticationPayload) Unset

type NullableCreateInstancePayload

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

func (NullableCreateInstancePayload) Get

func (NullableCreateInstancePayload) IsSet

func (NullableCreateInstancePayload) MarshalJSON

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

func (*NullableCreateInstancePayload) Set

func (*NullableCreateInstancePayload) UnmarshalJSON

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

func (*NullableCreateInstancePayload) Unset

func (v *NullableCreateInstancePayload) Unset()

type NullableCreateRunnerPayload

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

func NewNullableCreateRunnerPayload

func NewNullableCreateRunnerPayload(val *CreateRunnerPayload) *NullableCreateRunnerPayload

func (NullableCreateRunnerPayload) Get

func (NullableCreateRunnerPayload) IsSet

func (NullableCreateRunnerPayload) MarshalJSON

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

func (*NullableCreateRunnerPayload) Set

func (*NullableCreateRunnerPayload) UnmarshalJSON

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

func (*NullableCreateRunnerPayload) Unset

func (v *NullableCreateRunnerPayload) Unset()

type NullableFeatureToggle

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

func NewNullableFeatureToggle

func NewNullableFeatureToggle(val *FeatureToggle) *NullableFeatureToggle

func (NullableFeatureToggle) Get

func (NullableFeatureToggle) IsSet

func (v NullableFeatureToggle) IsSet() bool

func (NullableFeatureToggle) MarshalJSON

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

func (*NullableFeatureToggle) Set

func (v *NullableFeatureToggle) Set(val *FeatureToggle)

func (*NullableFeatureToggle) UnmarshalJSON

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

func (*NullableFeatureToggle) Unset

func (v *NullableFeatureToggle) Unset()

type NullableFlavor

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

func NewNullableFlavor

func NewNullableFlavor(val *Flavor) *NullableFlavor

func (NullableFlavor) Get

func (v NullableFlavor) Get() *Flavor

func (NullableFlavor) IsSet

func (v NullableFlavor) IsSet() bool

func (NullableFlavor) MarshalJSON

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

func (*NullableFlavor) Set

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

func (*NullableFlavor) UnmarshalJSON

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

func (*NullableFlavor) Unset

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

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

func NewNullableGenericErrorResponse

func NewNullableGenericErrorResponse(val *GenericErrorResponse) *NullableGenericErrorResponse

func (NullableGenericErrorResponse) Get

func (NullableGenericErrorResponse) IsSet

func (NullableGenericErrorResponse) MarshalJSON

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

func (*NullableGenericErrorResponse) Set

func (*NullableGenericErrorResponse) UnmarshalJSON

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

func (*NullableGenericErrorResponse) Unset

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

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

func NewNullableListFlavors

func NewNullableListFlavors(val *ListFlavors) *NullableListFlavors

func (NullableListFlavors) Get

func (NullableListFlavors) IsSet

func (v NullableListFlavors) IsSet() bool

func (NullableListFlavors) MarshalJSON

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

func (*NullableListFlavors) Set

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

func (*NullableListFlavors) UnmarshalJSON

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

func (*NullableListFlavors) Unset

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 NullableNotFoundErrorResponse

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

func (NullableNotFoundErrorResponse) Get

func (NullableNotFoundErrorResponse) IsSet

func (NullableNotFoundErrorResponse) MarshalJSON

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

func (*NullableNotFoundErrorResponse) Set

func (*NullableNotFoundErrorResponse) UnmarshalJSON

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

func (*NullableNotFoundErrorResponse) Unset

func (v *NullableNotFoundErrorResponse) Unset()

type NullablePatchAuthenticationPayload

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

func (NullablePatchAuthenticationPayload) Get

func (NullablePatchAuthenticationPayload) IsSet

func (NullablePatchAuthenticationPayload) MarshalJSON

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

func (*NullablePatchAuthenticationPayload) Set

func (*NullablePatchAuthenticationPayload) UnmarshalJSON

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

func (*NullablePatchAuthenticationPayload) Unset

type NullablePatchInstancePayload

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

func NewNullablePatchInstancePayload

func NewNullablePatchInstancePayload(val *PatchInstancePayload) *NullablePatchInstancePayload

func (NullablePatchInstancePayload) Get

func (NullablePatchInstancePayload) IsSet

func (NullablePatchInstancePayload) MarshalJSON

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

func (*NullablePatchInstancePayload) Set

func (*NullablePatchInstancePayload) UnmarshalJSON

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

func (*NullablePatchInstancePayload) Unset

func (v *NullablePatchInstancePayload) Unset()

type NullablePatchOperation

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

func NewNullablePatchOperation

func NewNullablePatchOperation(val *PatchOperation) *NullablePatchOperation

func (NullablePatchOperation) Get

func (NullablePatchOperation) IsSet

func (v NullablePatchOperation) IsSet() bool

func (NullablePatchOperation) MarshalJSON

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

func (*NullablePatchOperation) Set

func (*NullablePatchOperation) UnmarshalJSON

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

func (*NullablePatchOperation) Unset

func (v *NullablePatchOperation) Unset()

type NullableRunner

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

func NewNullableRunner

func NewNullableRunner(val *Runner) *NullableRunner

func (NullableRunner) Get

func (v NullableRunner) Get() *Runner

func (NullableRunner) IsSet

func (v NullableRunner) IsSet() bool

func (NullableRunner) MarshalJSON

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

func (*NullableRunner) Set

func (v *NullableRunner) Set(val *Runner)

func (*NullableRunner) UnmarshalJSON

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

func (*NullableRunner) Unset

func (v *NullableRunner) Unset()

type NullableRunnerRuntime

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

func NewNullableRunnerRuntime

func NewNullableRunnerRuntime(val *RunnerRuntime) *NullableRunnerRuntime

func (NullableRunnerRuntime) Get

func (NullableRunnerRuntime) IsSet

func (v NullableRunnerRuntime) IsSet() bool

func (NullableRunnerRuntime) MarshalJSON

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

func (*NullableRunnerRuntime) Set

func (v *NullableRunnerRuntime) Set(val *RunnerRuntime)

func (*NullableRunnerRuntime) UnmarshalJSON

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

func (*NullableRunnerRuntime) Unset

func (v *NullableRunnerRuntime) Unset()

type NullableRunnerRuntimeList

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

func NewNullableRunnerRuntimeList

func NewNullableRunnerRuntimeList(val *RunnerRuntimeList) *NullableRunnerRuntimeList

func (NullableRunnerRuntimeList) Get

func (NullableRunnerRuntimeList) IsSet

func (v NullableRunnerRuntimeList) IsSet() bool

func (NullableRunnerRuntimeList) MarshalJSON

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

func (*NullableRunnerRuntimeList) Set

func (*NullableRunnerRuntimeList) UnmarshalJSON

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

func (*NullableRunnerRuntimeList) Unset

func (v *NullableRunnerRuntimeList) 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 NullableUnauthorizedErrorResponse

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

func (NullableUnauthorizedErrorResponse) Get

func (NullableUnauthorizedErrorResponse) IsSet

func (NullableUnauthorizedErrorResponse) MarshalJSON

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

func (*NullableUnauthorizedErrorResponse) Set

func (*NullableUnauthorizedErrorResponse) UnmarshalJSON

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

func (*NullableUnauthorizedErrorResponse) Unset

type PatchAuthenticationPayload

type PatchAuthenticationPayload struct {
	// The well-known configuration url to use for this authentication definition.
	AutoDiscoverUrl *string `json:"auto_discover_url,omitempty" validate:"regexp=^https:\\/\\/[a-zA-Z0-9\\\\-\\\\.]+(\\\\.[a-zA-Z]{2,})+(\\/.*)?$"`
	// The IDP client id to use.
	ClientId *string `json:"client_id,omitempty"`
	// The IDP client secret to use.
	ClientSecret *string `json:"client_secret,omitempty"`
	// The url of the icon to use for this authentication definition.
	IconUrl *string `json:"icon_url,omitempty" validate:"regexp=^https:\\/\\/[a-zA-Z0-9\\\\-\\\\.]+(\\\\.[a-zA-Z]{2,})+(\\/.*)?$"`
	// The Oauth2 provider to use.
	Provider *string `json:"provider,omitempty"`
	// Scopes defines the OIDC scopes to request.
	Scopes               *string `json:"scopes,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchAuthenticationPayload Properties to patch on an authentication. All fields are optional.

func NewPatchAuthenticationPayload

func NewPatchAuthenticationPayload() *PatchAuthenticationPayload

NewPatchAuthenticationPayload instantiates a new PatchAuthenticationPayload 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 NewPatchAuthenticationPayloadWithDefaults

func NewPatchAuthenticationPayloadWithDefaults() *PatchAuthenticationPayload

NewPatchAuthenticationPayloadWithDefaults instantiates a new PatchAuthenticationPayload 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 (*PatchAuthenticationPayload) GetAutoDiscoverUrl

func (o *PatchAuthenticationPayload) GetAutoDiscoverUrl() string

GetAutoDiscoverUrl returns the AutoDiscoverUrl field value if set, zero value otherwise.

func (*PatchAuthenticationPayload) GetAutoDiscoverUrlOk

func (o *PatchAuthenticationPayload) GetAutoDiscoverUrlOk() (*string, bool)

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

func (*PatchAuthenticationPayload) GetClientId

func (o *PatchAuthenticationPayload) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*PatchAuthenticationPayload) GetClientIdOk

func (o *PatchAuthenticationPayload) GetClientIdOk() (*string, bool)

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

func (*PatchAuthenticationPayload) GetClientSecret

func (o *PatchAuthenticationPayload) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*PatchAuthenticationPayload) GetClientSecretOk

func (o *PatchAuthenticationPayload) GetClientSecretOk() (*string, bool)

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

func (*PatchAuthenticationPayload) GetIconUrl

func (o *PatchAuthenticationPayload) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*PatchAuthenticationPayload) GetIconUrlOk

func (o *PatchAuthenticationPayload) GetIconUrlOk() (*string, bool)

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

func (*PatchAuthenticationPayload) GetProvider

func (o *PatchAuthenticationPayload) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*PatchAuthenticationPayload) GetProviderOk

func (o *PatchAuthenticationPayload) GetProviderOk() (*string, bool)

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

func (*PatchAuthenticationPayload) GetScopes

func (o *PatchAuthenticationPayload) GetScopes() string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*PatchAuthenticationPayload) GetScopesOk

func (o *PatchAuthenticationPayload) GetScopesOk() (*string, bool)

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

func (*PatchAuthenticationPayload) HasAutoDiscoverUrl

func (o *PatchAuthenticationPayload) HasAutoDiscoverUrl() bool

HasAutoDiscoverUrl returns a boolean if a field has been set.

func (*PatchAuthenticationPayload) HasClientId

func (o *PatchAuthenticationPayload) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*PatchAuthenticationPayload) HasClientSecret

func (o *PatchAuthenticationPayload) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*PatchAuthenticationPayload) HasIconUrl

func (o *PatchAuthenticationPayload) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*PatchAuthenticationPayload) HasProvider

func (o *PatchAuthenticationPayload) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*PatchAuthenticationPayload) HasScopes

func (o *PatchAuthenticationPayload) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (PatchAuthenticationPayload) MarshalJSON

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

func (*PatchAuthenticationPayload) SetAutoDiscoverUrl

func (o *PatchAuthenticationPayload) SetAutoDiscoverUrl(v string)

SetAutoDiscoverUrl gets a reference to the given string and assigns it to the AutoDiscoverUrl field.

func (*PatchAuthenticationPayload) SetClientId

func (o *PatchAuthenticationPayload) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*PatchAuthenticationPayload) SetClientSecret

func (o *PatchAuthenticationPayload) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*PatchAuthenticationPayload) SetIconUrl

func (o *PatchAuthenticationPayload) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*PatchAuthenticationPayload) SetProvider

func (o *PatchAuthenticationPayload) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*PatchAuthenticationPayload) SetScopes

func (o *PatchAuthenticationPayload) SetScopes(v string)

SetScopes gets a reference to the given string and assigns it to the Scopes field.

func (PatchAuthenticationPayload) ToMap

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

func (*PatchAuthenticationPayload) UnmarshalJSON

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

type PatchInstancePayload

type PatchInstancePayload struct {
	// A list of CIDR network addresses that are allowed to access the instance.
	Acl                  []string       `json:"acl,omitempty"`
	FeatureToggle        *FeatureToggle `json:"feature_toggle,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchInstancePayload Properties to patch on an instance. All fields are optional.

func NewPatchInstancePayload

func NewPatchInstancePayload() *PatchInstancePayload

NewPatchInstancePayload instantiates a new PatchInstancePayload 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 NewPatchInstancePayloadWithDefaults

func NewPatchInstancePayloadWithDefaults() *PatchInstancePayload

NewPatchInstancePayloadWithDefaults instantiates a new PatchInstancePayload 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 (*PatchInstancePayload) GetAcl

func (o *PatchInstancePayload) GetAcl() []string

GetAcl returns the Acl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchInstancePayload) GetAclOk

func (o *PatchInstancePayload) GetAclOk() ([]string, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchInstancePayload) GetFeatureToggle

func (o *PatchInstancePayload) GetFeatureToggle() FeatureToggle

GetFeatureToggle returns the FeatureToggle field value if set, zero value otherwise.

func (*PatchInstancePayload) GetFeatureToggleOk

func (o *PatchInstancePayload) GetFeatureToggleOk() (*FeatureToggle, bool)

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

func (*PatchInstancePayload) HasAcl

func (o *PatchInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*PatchInstancePayload) HasFeatureToggle

func (o *PatchInstancePayload) HasFeatureToggle() bool

HasFeatureToggle returns a boolean if a field has been set.

func (PatchInstancePayload) MarshalJSON

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

func (*PatchInstancePayload) SetAcl

func (o *PatchInstancePayload) SetAcl(v []string)

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

func (*PatchInstancePayload) SetFeatureToggle

func (o *PatchInstancePayload) SetFeatureToggle(v FeatureToggle)

SetFeatureToggle gets a reference to the given FeatureToggle and assigns it to the FeatureToggle field.

func (PatchInstancePayload) ToMap

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

func (*PatchInstancePayload) UnmarshalJSON

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

type PatchOperation

type PatchOperation struct {
	// The patch operation to perform.
	Op string `json:"op"`
	// An RFC6901 JSON Pointer to the target location.
	Path string `json:"path"`
	// The value to be used for 'add' and 'remove' operations.
	Value                *string `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchOperation Request a STACKIT Git instance to be patch with these properties.

func NewPatchOperation

func NewPatchOperation(op string, path string) *PatchOperation

NewPatchOperation instantiates a new PatchOperation 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 NewPatchOperationWithDefaults

func NewPatchOperationWithDefaults() *PatchOperation

NewPatchOperationWithDefaults instantiates a new PatchOperation 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 (*PatchOperation) GetOp

func (o *PatchOperation) GetOp() string

GetOp returns the Op field value

func (*PatchOperation) GetOpOk

func (o *PatchOperation) GetOpOk() (*string, bool)

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

func (*PatchOperation) GetPath

func (o *PatchOperation) GetPath() string

GetPath returns the Path field value

func (*PatchOperation) GetPathOk

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

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

func (*PatchOperation) GetValue

func (o *PatchOperation) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*PatchOperation) GetValueOk

func (o *PatchOperation) GetValueOk() (*string, bool)

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

func (*PatchOperation) HasValue

func (o *PatchOperation) HasValue() bool

HasValue returns a boolean if a field has been set.

func (PatchOperation) MarshalJSON

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

func (*PatchOperation) SetOp

func (o *PatchOperation) SetOp(v string)

SetOp sets field value

func (*PatchOperation) SetPath

func (o *PatchOperation) SetPath(v string)

SetPath sets field value

func (*PatchOperation) SetValue

func (o *PatchOperation) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (PatchOperation) ToMap

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

func (*PatchOperation) UnmarshalJSON

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

type Runner

type Runner struct {
	CreatedAt time.Time `json:"created_at"`
	Id        string    `json:"id"`
	Labels    []string  `json:"labels"`
	// The current status of the runner.
	Status               string `json:"status"`
	AdditionalProperties map[string]interface{}
}

Runner Describes a runner associated to a STACKIT Git instance.

func NewRunner

func NewRunner(createdAt time.Time, id string, labels []string, status string) *Runner

NewRunner instantiates a new Runner 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 NewRunnerWithDefaults

func NewRunnerWithDefaults() *Runner

NewRunnerWithDefaults instantiates a new Runner 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 (*Runner) GetCreatedAt

func (o *Runner) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Runner) GetCreatedAtOk

func (o *Runner) GetCreatedAtOk() (*time.Time, bool)

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

func (*Runner) GetId

func (o *Runner) GetId() string

GetId returns the Id field value

func (*Runner) GetIdOk

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

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

func (*Runner) GetLabels

func (o *Runner) GetLabels() []string

GetLabels returns the Labels field value

func (*Runner) GetLabelsOk

func (o *Runner) GetLabelsOk() ([]string, bool)

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

func (*Runner) GetStatus

func (o *Runner) GetStatus() string

GetStatus returns the Status field value

func (*Runner) GetStatusOk

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

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

func (Runner) MarshalJSON

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

func (*Runner) SetCreatedAt

func (o *Runner) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Runner) SetId

func (o *Runner) SetId(v string)

SetId sets field value

func (*Runner) SetLabels

func (o *Runner) SetLabels(v []string)

SetLabels sets field value

func (*Runner) SetStatus

func (o *Runner) SetStatus(v string)

SetStatus sets field value

func (Runner) ToMap

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

func (*Runner) UnmarshalJSON

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

type RunnerRuntime

type RunnerRuntime struct {
	// Indicates the availability of the runner label
	Availability string `json:"availability"`
	// Human-friendly description of the runtime and it's capabilities.
	Description string `json:"description"`
	// Human-friendly name of the runtime.
	DisplayName string `json:"display_name"`
	// Runtime identifier.
	Id string `json:"id"`
	// Runtime label.
	Label                string `json:"label"`
	AdditionalProperties map[string]interface{}
}

RunnerRuntime Describes a STACKIT Git Runner runtime.

func NewRunnerRuntime

func NewRunnerRuntime(availability string, description string, displayName string, id string, label string) *RunnerRuntime

NewRunnerRuntime instantiates a new RunnerRuntime 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 NewRunnerRuntimeWithDefaults

func NewRunnerRuntimeWithDefaults() *RunnerRuntime

NewRunnerRuntimeWithDefaults instantiates a new RunnerRuntime 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 (*RunnerRuntime) GetAvailability

func (o *RunnerRuntime) GetAvailability() string

GetAvailability returns the Availability field value

func (*RunnerRuntime) GetAvailabilityOk

func (o *RunnerRuntime) GetAvailabilityOk() (*string, bool)

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

func (*RunnerRuntime) GetDescription

func (o *RunnerRuntime) GetDescription() string

GetDescription returns the Description field value

func (*RunnerRuntime) GetDescriptionOk

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

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

func (*RunnerRuntime) GetDisplayName

func (o *RunnerRuntime) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*RunnerRuntime) GetDisplayNameOk

func (o *RunnerRuntime) GetDisplayNameOk() (*string, bool)

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

func (*RunnerRuntime) GetId

func (o *RunnerRuntime) GetId() string

GetId returns the Id field value

func (*RunnerRuntime) GetIdOk

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

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

func (*RunnerRuntime) GetLabel

func (o *RunnerRuntime) GetLabel() string

GetLabel returns the Label field value

func (*RunnerRuntime) GetLabelOk

func (o *RunnerRuntime) GetLabelOk() (*string, bool)

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

func (RunnerRuntime) MarshalJSON

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

func (*RunnerRuntime) SetAvailability

func (o *RunnerRuntime) SetAvailability(v string)

SetAvailability sets field value

func (*RunnerRuntime) SetDescription

func (o *RunnerRuntime) SetDescription(v string)

SetDescription sets field value

func (*RunnerRuntime) SetDisplayName

func (o *RunnerRuntime) SetDisplayName(v string)

SetDisplayName sets field value

func (*RunnerRuntime) SetId

func (o *RunnerRuntime) SetId(v string)

SetId sets field value

func (*RunnerRuntime) SetLabel

func (o *RunnerRuntime) SetLabel(v string)

SetLabel sets field value

func (RunnerRuntime) ToMap

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

func (*RunnerRuntime) UnmarshalJSON

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

type RunnerRuntimeList

type RunnerRuntimeList struct {
	Items                []RunnerRuntime `json:"items"`
	AdditionalProperties map[string]interface{}
}

RunnerRuntimeList A list of STACKIT Git RunnerLabels.

func NewRunnerRuntimeList

func NewRunnerRuntimeList(items []RunnerRuntime) *RunnerRuntimeList

NewRunnerRuntimeList instantiates a new RunnerRuntimeList 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 NewRunnerRuntimeListWithDefaults

func NewRunnerRuntimeListWithDefaults() *RunnerRuntimeList

NewRunnerRuntimeListWithDefaults instantiates a new RunnerRuntimeList 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 (*RunnerRuntimeList) GetItems

func (o *RunnerRuntimeList) GetItems() []RunnerRuntime

GetItems returns the Items field value

func (*RunnerRuntimeList) GetItemsOk

func (o *RunnerRuntimeList) GetItemsOk() ([]RunnerRuntime, bool)

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

func (RunnerRuntimeList) MarshalJSON

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

func (*RunnerRuntimeList) SetItems

func (o *RunnerRuntimeList) SetItems(v []RunnerRuntime)

SetItems sets field value

func (RunnerRuntimeList) ToMap

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

func (*RunnerRuntimeList) UnmarshalJSON

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

type UnauthorizedErrorResponse

type UnauthorizedErrorResponse struct {
	Error                *string    `json:"error,omitempty"`
	Message              string     `json:"message"`
	Path                 *string    `json:"path,omitempty"`
	Status               *int32     `json:"status,omitempty"`
	Timestamp            *time.Time `json:"timestamp,omitempty"`
	AdditionalProperties map[string]interface{}
}

UnauthorizedErrorResponse Unauthorized Error Response.

func NewUnauthorizedErrorResponse

func NewUnauthorizedErrorResponse(message string) *UnauthorizedErrorResponse

NewUnauthorizedErrorResponse instantiates a new UnauthorizedErrorResponse 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 NewUnauthorizedErrorResponseWithDefaults

func NewUnauthorizedErrorResponseWithDefaults() *UnauthorizedErrorResponse

NewUnauthorizedErrorResponseWithDefaults instantiates a new UnauthorizedErrorResponse 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 (*UnauthorizedErrorResponse) GetError

func (o *UnauthorizedErrorResponse) GetError() string

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

func (*UnauthorizedErrorResponse) GetErrorOk

func (o *UnauthorizedErrorResponse) GetErrorOk() (*string, 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 (*UnauthorizedErrorResponse) GetMessage

func (o *UnauthorizedErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*UnauthorizedErrorResponse) GetMessageOk

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

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

func (*UnauthorizedErrorResponse) GetPath

func (o *UnauthorizedErrorResponse) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*UnauthorizedErrorResponse) GetPathOk

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

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

func (*UnauthorizedErrorResponse) GetStatus

func (o *UnauthorizedErrorResponse) GetStatus() int32

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

func (*UnauthorizedErrorResponse) GetStatusOk

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

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

func (*UnauthorizedErrorResponse) GetTimestamp

func (o *UnauthorizedErrorResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UnauthorizedErrorResponse) GetTimestampOk

func (o *UnauthorizedErrorResponse) GetTimestampOk() (*time.Time, bool)

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

func (*UnauthorizedErrorResponse) HasError

func (o *UnauthorizedErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*UnauthorizedErrorResponse) HasPath

func (o *UnauthorizedErrorResponse) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*UnauthorizedErrorResponse) HasStatus

func (o *UnauthorizedErrorResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UnauthorizedErrorResponse) HasTimestamp

func (o *UnauthorizedErrorResponse) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (UnauthorizedErrorResponse) MarshalJSON

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

func (*UnauthorizedErrorResponse) SetError

func (o *UnauthorizedErrorResponse) SetError(v string)

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

func (*UnauthorizedErrorResponse) SetMessage

func (o *UnauthorizedErrorResponse) SetMessage(v string)

SetMessage sets field value

func (*UnauthorizedErrorResponse) SetPath

func (o *UnauthorizedErrorResponse) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*UnauthorizedErrorResponse) SetStatus

func (o *UnauthorizedErrorResponse) SetStatus(v int32)

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

func (*UnauthorizedErrorResponse) SetTimestamp

func (o *UnauthorizedErrorResponse) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (UnauthorizedErrorResponse) ToMap

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

func (*UnauthorizedErrorResponse) UnmarshalJSON

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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