v2api

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 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 Run Commands Service API API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

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

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

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

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiCreateCommandRequest

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

func (ApiCreateCommandRequest) CreateCommandPayload

func (r ApiCreateCommandRequest) CreateCommandPayload(createCommandPayload CreateCommandPayload) ApiCreateCommandRequest

Command to post

func (ApiCreateCommandRequest) Execute

type ApiGetCommandRequest

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

func (ApiGetCommandRequest) Execute

func (r ApiGetCommandRequest) Execute() (*CommandDetails, error)

type ApiGetCommandTemplateRequest

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

func (ApiGetCommandTemplateRequest) Execute

type ApiListCommandTemplatesRequest

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

func (ApiListCommandTemplatesRequest) Execute

func (ApiListCommandTemplatesRequest) OsType

The type of the Operating System (windows or linux). If not provided will return data for all OS types.

type ApiListCommandsRequest

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

func (ApiListCommandsRequest) Execute

type CommandDetails

type CommandDetails struct {
	CommandTemplateName  *string `json:"commandTemplateName,omitempty"`
	CommandTemplateTitle *string `json:"commandTemplateTitle,omitempty"`
	ExitCode             *int32  `json:"exitCode,omitempty"`
	FinishedAt           *string `json:"finishedAt,omitempty"`
	Id                   *int32  `json:"id,omitempty"`
	Output               *string `json:"output,omitempty"`
	Script               *string `json:"script,omitempty"`
	StartedAt            *string `json:"startedAt,omitempty"`
	Status               *string `json:"status,omitempty"`
}

CommandDetails struct for CommandDetails

func NewCommandDetails

func NewCommandDetails() *CommandDetails

NewCommandDetails instantiates a new CommandDetails 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 NewCommandDetailsWithDefaults

func NewCommandDetailsWithDefaults() *CommandDetails

NewCommandDetailsWithDefaults instantiates a new CommandDetails 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 (*CommandDetails) GetCommandTemplateName

func (o *CommandDetails) GetCommandTemplateName() string

GetCommandTemplateName returns the CommandTemplateName field value if set, zero value otherwise.

func (*CommandDetails) GetCommandTemplateNameOk

func (o *CommandDetails) GetCommandTemplateNameOk() (*string, bool)

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

func (*CommandDetails) GetCommandTemplateTitle

func (o *CommandDetails) GetCommandTemplateTitle() string

GetCommandTemplateTitle returns the CommandTemplateTitle field value if set, zero value otherwise.

func (*CommandDetails) GetCommandTemplateTitleOk

func (o *CommandDetails) GetCommandTemplateTitleOk() (*string, bool)

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

func (*CommandDetails) GetExitCode

func (o *CommandDetails) GetExitCode() int32

GetExitCode returns the ExitCode field value if set, zero value otherwise.

func (*CommandDetails) GetExitCodeOk

func (o *CommandDetails) GetExitCodeOk() (*int32, bool)

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

func (*CommandDetails) GetFinishedAt

func (o *CommandDetails) GetFinishedAt() string

GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.

func (*CommandDetails) GetFinishedAtOk

func (o *CommandDetails) GetFinishedAtOk() (*string, bool)

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

func (*CommandDetails) GetId

func (o *CommandDetails) GetId() int32

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

func (*CommandDetails) GetIdOk

func (o *CommandDetails) GetIdOk() (*int32, bool)

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

func (*CommandDetails) GetOutput

func (o *CommandDetails) GetOutput() string

GetOutput returns the Output field value if set, zero value otherwise.

func (*CommandDetails) GetOutputOk

func (o *CommandDetails) GetOutputOk() (*string, bool)

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

func (*CommandDetails) GetScript

func (o *CommandDetails) GetScript() string

GetScript returns the Script field value if set, zero value otherwise.

func (*CommandDetails) GetScriptOk

func (o *CommandDetails) GetScriptOk() (*string, bool)

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

func (*CommandDetails) GetStartedAt

func (o *CommandDetails) GetStartedAt() string

GetStartedAt returns the StartedAt field value if set, zero value otherwise.

func (*CommandDetails) GetStartedAtOk

func (o *CommandDetails) GetStartedAtOk() (*string, bool)

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

func (*CommandDetails) GetStatus

func (o *CommandDetails) GetStatus() string

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

func (*CommandDetails) GetStatusOk

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

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

func (*CommandDetails) HasCommandTemplateName

func (o *CommandDetails) HasCommandTemplateName() bool

HasCommandTemplateName returns a boolean if a field has been set.

func (*CommandDetails) HasCommandTemplateTitle

func (o *CommandDetails) HasCommandTemplateTitle() bool

HasCommandTemplateTitle returns a boolean if a field has been set.

func (*CommandDetails) HasExitCode

func (o *CommandDetails) HasExitCode() bool

HasExitCode returns a boolean if a field has been set.

func (*CommandDetails) HasFinishedAt

func (o *CommandDetails) HasFinishedAt() bool

HasFinishedAt returns a boolean if a field has been set.

func (*CommandDetails) HasId

func (o *CommandDetails) HasId() bool

HasId returns a boolean if a field has been set.

func (*CommandDetails) HasOutput

func (o *CommandDetails) HasOutput() bool

HasOutput returns a boolean if a field has been set.

func (*CommandDetails) HasScript

func (o *CommandDetails) HasScript() bool

HasScript returns a boolean if a field has been set.

func (*CommandDetails) HasStartedAt

func (o *CommandDetails) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

func (*CommandDetails) HasStatus

func (o *CommandDetails) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (CommandDetails) MarshalJSON

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

func (*CommandDetails) SetCommandTemplateName

func (o *CommandDetails) SetCommandTemplateName(v string)

SetCommandTemplateName gets a reference to the given string and assigns it to the CommandTemplateName field.

func (*CommandDetails) SetCommandTemplateTitle

func (o *CommandDetails) SetCommandTemplateTitle(v string)

SetCommandTemplateTitle gets a reference to the given string and assigns it to the CommandTemplateTitle field.

func (*CommandDetails) SetExitCode

func (o *CommandDetails) SetExitCode(v int32)

SetExitCode gets a reference to the given int32 and assigns it to the ExitCode field.

func (*CommandDetails) SetFinishedAt

func (o *CommandDetails) SetFinishedAt(v string)

SetFinishedAt gets a reference to the given string and assigns it to the FinishedAt field.

func (*CommandDetails) SetId

func (o *CommandDetails) SetId(v int32)

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

func (*CommandDetails) SetOutput

func (o *CommandDetails) SetOutput(v string)

SetOutput gets a reference to the given string and assigns it to the Output field.

func (*CommandDetails) SetScript

func (o *CommandDetails) SetScript(v string)

SetScript gets a reference to the given string and assigns it to the Script field.

func (*CommandDetails) SetStartedAt

func (o *CommandDetails) SetStartedAt(v string)

SetStartedAt gets a reference to the given string and assigns it to the StartedAt field.

func (*CommandDetails) SetStatus

func (o *CommandDetails) SetStatus(v string)

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

func (CommandDetails) ToMap

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

type CommandTemplate

type CommandTemplate struct {
	Name   *string  `json:"name,omitempty"`
	OsType []string `json:"osType,omitempty"`
	Title  *string  `json:"title,omitempty"`
}

CommandTemplate struct for CommandTemplate

func NewCommandTemplate

func NewCommandTemplate() *CommandTemplate

NewCommandTemplate instantiates a new CommandTemplate 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 NewCommandTemplateWithDefaults

func NewCommandTemplateWithDefaults() *CommandTemplate

NewCommandTemplateWithDefaults instantiates a new CommandTemplate 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 (*CommandTemplate) GetName

func (o *CommandTemplate) GetName() string

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

func (*CommandTemplate) GetNameOk

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

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

func (*CommandTemplate) GetOsType

func (o *CommandTemplate) GetOsType() []string

GetOsType returns the OsType field value if set, zero value otherwise.

func (*CommandTemplate) GetOsTypeOk

func (o *CommandTemplate) GetOsTypeOk() ([]string, bool)

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

func (*CommandTemplate) GetTitle

func (o *CommandTemplate) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*CommandTemplate) GetTitleOk

func (o *CommandTemplate) GetTitleOk() (*string, bool)

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

func (*CommandTemplate) HasName

func (o *CommandTemplate) HasName() bool

HasName returns a boolean if a field has been set.

func (*CommandTemplate) HasOsType

func (o *CommandTemplate) HasOsType() bool

HasOsType returns a boolean if a field has been set.

func (*CommandTemplate) HasTitle

func (o *CommandTemplate) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (CommandTemplate) MarshalJSON

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

func (*CommandTemplate) SetName

func (o *CommandTemplate) SetName(v string)

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

func (*CommandTemplate) SetOsType

func (o *CommandTemplate) SetOsType(v []string)

SetOsType gets a reference to the given []string and assigns it to the OsType field.

func (*CommandTemplate) SetTitle

func (o *CommandTemplate) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (CommandTemplate) ToMap

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

type CommandTemplateResponse

type CommandTemplateResponse struct {
	Items []CommandTemplate `json:"items,omitempty"`
}

CommandTemplateResponse struct for CommandTemplateResponse

func NewCommandTemplateResponse

func NewCommandTemplateResponse() *CommandTemplateResponse

NewCommandTemplateResponse instantiates a new CommandTemplateResponse 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 NewCommandTemplateResponseWithDefaults

func NewCommandTemplateResponseWithDefaults() *CommandTemplateResponse

NewCommandTemplateResponseWithDefaults instantiates a new CommandTemplateResponse 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 (*CommandTemplateResponse) GetItems

func (o *CommandTemplateResponse) GetItems() []CommandTemplate

GetItems returns the Items field value if set, zero value otherwise.

func (*CommandTemplateResponse) GetItemsOk

func (o *CommandTemplateResponse) GetItemsOk() ([]CommandTemplate, bool)

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

func (*CommandTemplateResponse) HasItems

func (o *CommandTemplateResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (CommandTemplateResponse) MarshalJSON

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

func (*CommandTemplateResponse) SetItems

func (o *CommandTemplateResponse) SetItems(v []CommandTemplate)

SetItems gets a reference to the given []CommandTemplate and assigns it to the Items field.

func (CommandTemplateResponse) ToMap

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

type CommandTemplateSchema

type CommandTemplateSchema struct {
	Description      *string           `json:"description,omitempty"`
	Name             *string           `json:"name,omitempty"`
	OsType           []string          `json:"osType,omitempty"`
	ParametersSchema *ParametersSchema `json:"parametersSchema,omitempty"`
	Title            *string           `json:"title,omitempty"`
}

CommandTemplateSchema struct for CommandTemplateSchema

func NewCommandTemplateSchema

func NewCommandTemplateSchema() *CommandTemplateSchema

NewCommandTemplateSchema instantiates a new CommandTemplateSchema 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 NewCommandTemplateSchemaWithDefaults

func NewCommandTemplateSchemaWithDefaults() *CommandTemplateSchema

NewCommandTemplateSchemaWithDefaults instantiates a new CommandTemplateSchema 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 (*CommandTemplateSchema) GetDescription

func (o *CommandTemplateSchema) GetDescription() string

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

func (*CommandTemplateSchema) GetDescriptionOk

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

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

func (*CommandTemplateSchema) GetName

func (o *CommandTemplateSchema) GetName() string

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

func (*CommandTemplateSchema) GetNameOk

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

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

func (*CommandTemplateSchema) GetOsType

func (o *CommandTemplateSchema) GetOsType() []string

GetOsType returns the OsType field value if set, zero value otherwise.

func (*CommandTemplateSchema) GetOsTypeOk

func (o *CommandTemplateSchema) GetOsTypeOk() ([]string, bool)

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

func (*CommandTemplateSchema) GetParametersSchema

func (o *CommandTemplateSchema) GetParametersSchema() ParametersSchema

GetParametersSchema returns the ParametersSchema field value if set, zero value otherwise.

func (*CommandTemplateSchema) GetParametersSchemaOk

func (o *CommandTemplateSchema) GetParametersSchemaOk() (*ParametersSchema, bool)

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

func (*CommandTemplateSchema) GetTitle

func (o *CommandTemplateSchema) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*CommandTemplateSchema) GetTitleOk

func (o *CommandTemplateSchema) GetTitleOk() (*string, bool)

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

func (*CommandTemplateSchema) HasDescription

func (o *CommandTemplateSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CommandTemplateSchema) HasName

func (o *CommandTemplateSchema) HasName() bool

HasName returns a boolean if a field has been set.

func (*CommandTemplateSchema) HasOsType

func (o *CommandTemplateSchema) HasOsType() bool

HasOsType returns a boolean if a field has been set.

func (*CommandTemplateSchema) HasParametersSchema

func (o *CommandTemplateSchema) HasParametersSchema() bool

HasParametersSchema returns a boolean if a field has been set.

func (*CommandTemplateSchema) HasTitle

func (o *CommandTemplateSchema) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (CommandTemplateSchema) MarshalJSON

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

func (*CommandTemplateSchema) SetDescription

func (o *CommandTemplateSchema) SetDescription(v string)

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

func (*CommandTemplateSchema) SetName

func (o *CommandTemplateSchema) SetName(v string)

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

func (*CommandTemplateSchema) SetOsType

func (o *CommandTemplateSchema) SetOsType(v []string)

SetOsType gets a reference to the given []string and assigns it to the OsType field.

func (*CommandTemplateSchema) SetParametersSchema

func (o *CommandTemplateSchema) SetParametersSchema(v ParametersSchema)

SetParametersSchema gets a reference to the given ParametersSchema and assigns it to the ParametersSchema field.

func (*CommandTemplateSchema) SetTitle

func (o *CommandTemplateSchema) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (CommandTemplateSchema) ToMap

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

type Commands

type Commands struct {
	CommandTemplateName  *string `json:"commandTemplateName,omitempty"`
	CommandTemplateTitle *string `json:"commandTemplateTitle,omitempty"`
	FinishedAt           *string `json:"finishedAt,omitempty"`
	Id                   *int32  `json:"id,omitempty"`
	StartedAt            *string `json:"startedAt,omitempty"`
	Status               *string `json:"status,omitempty"`
}

Commands struct for Commands

func NewCommands

func NewCommands() *Commands

NewCommands instantiates a new Commands 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 NewCommandsWithDefaults

func NewCommandsWithDefaults() *Commands

NewCommandsWithDefaults instantiates a new Commands 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 (*Commands) GetCommandTemplateName

func (o *Commands) GetCommandTemplateName() string

GetCommandTemplateName returns the CommandTemplateName field value if set, zero value otherwise.

func (*Commands) GetCommandTemplateNameOk

func (o *Commands) GetCommandTemplateNameOk() (*string, bool)

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

func (*Commands) GetCommandTemplateTitle

func (o *Commands) GetCommandTemplateTitle() string

GetCommandTemplateTitle returns the CommandTemplateTitle field value if set, zero value otherwise.

func (*Commands) GetCommandTemplateTitleOk

func (o *Commands) GetCommandTemplateTitleOk() (*string, bool)

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

func (*Commands) GetFinishedAt

func (o *Commands) GetFinishedAt() string

GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.

func (*Commands) GetFinishedAtOk

func (o *Commands) GetFinishedAtOk() (*string, bool)

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

func (*Commands) GetId

func (o *Commands) GetId() int32

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

func (*Commands) GetIdOk

func (o *Commands) GetIdOk() (*int32, bool)

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

func (*Commands) GetStartedAt

func (o *Commands) GetStartedAt() string

GetStartedAt returns the StartedAt field value if set, zero value otherwise.

func (*Commands) GetStartedAtOk

func (o *Commands) GetStartedAtOk() (*string, bool)

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

func (*Commands) GetStatus

func (o *Commands) GetStatus() string

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

func (*Commands) GetStatusOk

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

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

func (*Commands) HasCommandTemplateName

func (o *Commands) HasCommandTemplateName() bool

HasCommandTemplateName returns a boolean if a field has been set.

func (*Commands) HasCommandTemplateTitle

func (o *Commands) HasCommandTemplateTitle() bool

HasCommandTemplateTitle returns a boolean if a field has been set.

func (*Commands) HasFinishedAt

func (o *Commands) HasFinishedAt() bool

HasFinishedAt returns a boolean if a field has been set.

func (*Commands) HasId

func (o *Commands) HasId() bool

HasId returns a boolean if a field has been set.

func (*Commands) HasStartedAt

func (o *Commands) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

func (*Commands) HasStatus

func (o *Commands) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Commands) MarshalJSON

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

func (*Commands) SetCommandTemplateName

func (o *Commands) SetCommandTemplateName(v string)

SetCommandTemplateName gets a reference to the given string and assigns it to the CommandTemplateName field.

func (*Commands) SetCommandTemplateTitle

func (o *Commands) SetCommandTemplateTitle(v string)

SetCommandTemplateTitle gets a reference to the given string and assigns it to the CommandTemplateTitle field.

func (*Commands) SetFinishedAt

func (o *Commands) SetFinishedAt(v string)

SetFinishedAt gets a reference to the given string and assigns it to the FinishedAt field.

func (*Commands) SetId

func (o *Commands) SetId(v int32)

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

func (*Commands) SetStartedAt

func (o *Commands) SetStartedAt(v string)

SetStartedAt gets a reference to the given string and assigns it to the StartedAt field.

func (*Commands) SetStatus

func (o *Commands) SetStatus(v string)

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

func (Commands) ToMap

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

type CreateCommandPayload

type CreateCommandPayload struct {
	CommandTemplateName string             `json:"commandTemplateName"`
	Parameters          *map[string]string `json:"parameters,omitempty"`
}

CreateCommandPayload struct for CreateCommandPayload

func NewCreateCommandPayload

func NewCreateCommandPayload(commandTemplateName string) *CreateCommandPayload

NewCreateCommandPayload instantiates a new CreateCommandPayload 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 NewCreateCommandPayloadWithDefaults

func NewCreateCommandPayloadWithDefaults() *CreateCommandPayload

NewCreateCommandPayloadWithDefaults instantiates a new CreateCommandPayload 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 (*CreateCommandPayload) GetCommandTemplateName

func (o *CreateCommandPayload) GetCommandTemplateName() string

GetCommandTemplateName returns the CommandTemplateName field value

func (*CreateCommandPayload) GetCommandTemplateNameOk

func (o *CreateCommandPayload) GetCommandTemplateNameOk() (*string, bool)

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

func (*CreateCommandPayload) GetParameters

func (o *CreateCommandPayload) GetParameters() map[string]string

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*CreateCommandPayload) GetParametersOk

func (o *CreateCommandPayload) GetParametersOk() (*map[string]string, bool)

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

func (*CreateCommandPayload) HasParameters

func (o *CreateCommandPayload) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (CreateCommandPayload) MarshalJSON

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

func (*CreateCommandPayload) SetCommandTemplateName

func (o *CreateCommandPayload) SetCommandTemplateName(v string)

SetCommandTemplateName sets field value

func (*CreateCommandPayload) SetParameters

func (o *CreateCommandPayload) SetParameters(v map[string]string)

SetParameters gets a reference to the given map[string]string and assigns it to the Parameters field.

func (CreateCommandPayload) ToMap

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

func (*CreateCommandPayload) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateCommand Method for CreateCommand

		Creates a new command for execution

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId ID of the project
		@param serverId Server ID of the machine
		@param region region
		@return ApiCreateCommandRequest
	*/
	CreateCommand(ctx context.Context, projectId string, serverId string, region string) ApiCreateCommandRequest

	// CreateCommandExecute executes the request
	//  @return NewCommandResponse
	CreateCommandExecute(r ApiCreateCommandRequest) (*NewCommandResponse, error)

	/*
		GetCommand Method for GetCommand

		Returns details about a command

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId ID of the project
		@param region region
		@param serverId Server ID of the machine
		@param commandId ID of the command
		@return ApiGetCommandRequest
	*/
	GetCommand(ctx context.Context, projectId string, region string, serverId string, commandId string) ApiGetCommandRequest

	// GetCommandExecute executes the request
	//  @return CommandDetails
	GetCommandExecute(r ApiGetCommandRequest) (*CommandDetails, error)

	/*
		GetCommandTemplate Method for GetCommandTemplate

		Returns details about a command template

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId ID of the project
		@param serverId Server ID of the machine
		@param commandTemplateName Name of the template
		@param region region
		@return ApiGetCommandTemplateRequest
	*/
	GetCommandTemplate(ctx context.Context, projectId string, serverId string, commandTemplateName string, region string) ApiGetCommandTemplateRequest

	// GetCommandTemplateExecute executes the request
	//  @return CommandTemplateSchema
	GetCommandTemplateExecute(r ApiGetCommandTemplateRequest) (*CommandTemplateSchema, error)

	/*
		ListCommandTemplates Method for ListCommandTemplates

		Returns a list of command templates

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

	// ListCommandTemplatesExecute executes the request
	//  @return CommandTemplateResponse
	ListCommandTemplatesExecute(r ApiListCommandTemplatesRequest) (*CommandTemplateResponse, error)

	/*
		ListCommands Method for ListCommands

		Returns a list of commands

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId ID of the project
		@param serverId Server ID of the machine
		@param region region
		@return ApiListCommandsRequest
	*/
	ListCommands(ctx context.Context, projectId string, serverId string, region string) ApiListCommandsRequest

	// ListCommandsExecute executes the request
	//  @return GetCommandsResponse
	ListCommandsExecute(r ApiListCommandsRequest) (*GetCommandsResponse, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateCommand

func (a *DefaultAPIService) CreateCommand(ctx context.Context, projectId string, serverId string, region string) ApiCreateCommandRequest

CreateCommand Method for CreateCommand

Creates a new command for execution

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId ID of the project
@param serverId Server ID of the machine
@param region region
@return ApiCreateCommandRequest

func (*DefaultAPIService) CreateCommandExecute

func (a *DefaultAPIService) CreateCommandExecute(r ApiCreateCommandRequest) (*NewCommandResponse, error)

Execute executes the request

@return NewCommandResponse

func (*DefaultAPIService) GetCommand

func (a *DefaultAPIService) GetCommand(ctx context.Context, projectId string, region string, serverId string, commandId string) ApiGetCommandRequest

GetCommand Method for GetCommand

Returns details about a command

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId ID of the project
@param region region
@param serverId Server ID of the machine
@param commandId ID of the command
@return ApiGetCommandRequest

func (*DefaultAPIService) GetCommandExecute

func (a *DefaultAPIService) GetCommandExecute(r ApiGetCommandRequest) (*CommandDetails, error)

Execute executes the request

@return CommandDetails

func (*DefaultAPIService) GetCommandTemplate

func (a *DefaultAPIService) GetCommandTemplate(ctx context.Context, projectId string, serverId string, commandTemplateName string, region string) ApiGetCommandTemplateRequest

GetCommandTemplate Method for GetCommandTemplate

Returns details about a command template

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId ID of the project
@param serverId Server ID of the machine
@param commandTemplateName Name of the template
@param region region
@return ApiGetCommandTemplateRequest

func (*DefaultAPIService) GetCommandTemplateExecute

func (a *DefaultAPIService) GetCommandTemplateExecute(r ApiGetCommandTemplateRequest) (*CommandTemplateSchema, error)

Execute executes the request

@return CommandTemplateSchema

func (*DefaultAPIService) ListCommandTemplates

func (a *DefaultAPIService) ListCommandTemplates(ctx context.Context) ApiListCommandTemplatesRequest

ListCommandTemplates Method for ListCommandTemplates

Returns a list of command templates

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

func (*DefaultAPIService) ListCommandTemplatesExecute

func (a *DefaultAPIService) ListCommandTemplatesExecute(r ApiListCommandTemplatesRequest) (*CommandTemplateResponse, error)

Execute executes the request

@return CommandTemplateResponse

func (*DefaultAPIService) ListCommands

func (a *DefaultAPIService) ListCommands(ctx context.Context, projectId string, serverId string, region string) ApiListCommandsRequest

ListCommands Method for ListCommands

Returns a list of commands

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId ID of the project
@param serverId Server ID of the machine
@param region region
@return ApiListCommandsRequest

func (*DefaultAPIService) ListCommandsExecute

func (a *DefaultAPIService) ListCommandsExecute(r ApiListCommandsRequest) (*GetCommandsResponse, error)

Execute executes the request

@return GetCommandsResponse

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateCommandExecuteMock can be populated to implement the behavior of the CreateCommandExecute function of this mock
	CreateCommandExecuteMock *func(r ApiCreateCommandRequest) (*NewCommandResponse, error)
	// GetCommandExecuteMock can be populated to implement the behavior of the GetCommandExecute function of this mock
	GetCommandExecuteMock *func(r ApiGetCommandRequest) (*CommandDetails, error)
	// GetCommandTemplateExecuteMock can be populated to implement the behavior of the GetCommandTemplateExecute function of this mock
	GetCommandTemplateExecuteMock *func(r ApiGetCommandTemplateRequest) (*CommandTemplateSchema, error)
	// ListCommandTemplatesExecuteMock can be populated to implement the behavior of the ListCommandTemplatesExecute function of this mock
	ListCommandTemplatesExecuteMock *func(r ApiListCommandTemplatesRequest) (*CommandTemplateResponse, error)
	// ListCommandsExecuteMock can be populated to implement the behavior of the ListCommandsExecute function of this mock
	ListCommandsExecuteMock *func(r ApiListCommandsRequest) (*GetCommandsResponse, 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) CreateCommand

func (a DefaultAPIServiceMock) CreateCommand(ctx context.Context, projectId string, serverId string, region string) ApiCreateCommandRequest

func (DefaultAPIServiceMock) CreateCommandExecute

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

func (DefaultAPIServiceMock) GetCommand

func (a DefaultAPIServiceMock) GetCommand(ctx context.Context, projectId string, region string, serverId string, commandId string) ApiGetCommandRequest

func (DefaultAPIServiceMock) GetCommandExecute

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

func (DefaultAPIServiceMock) GetCommandTemplate

func (a DefaultAPIServiceMock) GetCommandTemplate(ctx context.Context, projectId string, serverId string, commandTemplateName string, region string) ApiGetCommandTemplateRequest

func (DefaultAPIServiceMock) GetCommandTemplateExecute

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

func (DefaultAPIServiceMock) ListCommandTemplates

func (DefaultAPIServiceMock) ListCommandTemplatesExecute

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

func (DefaultAPIServiceMock) ListCommands

func (a DefaultAPIServiceMock) ListCommands(ctx context.Context, projectId string, serverId string, region string) ApiListCommandsRequest

func (DefaultAPIServiceMock) ListCommandsExecute

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

type ErrorResponse

type ErrorResponse struct {
	// Details about the error
	Message string `json:"message"`
	// The string representation of the http status code (i.e. Not Found, Bad Request, etc)
	Status string `json:"status"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse(message string, status string) *ErrorResponse

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

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

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

func (*ErrorResponse) GetMessage

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*ErrorResponse) GetMessageOk

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

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

func (*ErrorResponse) GetStatus

func (o *ErrorResponse) GetStatus() string

GetStatus returns the Status field value

func (*ErrorResponse) GetStatusOk

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

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

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage sets field value

func (*ErrorResponse) SetStatus

func (o *ErrorResponse) SetStatus(v string)

SetStatus sets field value

func (ErrorResponse) ToMap

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

func (*ErrorResponse) UnmarshalJSON

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

type Field

type Field struct {
	Default     *string `json:"default,omitempty"`
	Description *string `json:"description,omitempty"`
	MaxLen      *int32  `json:"maxLen,omitempty"`
	MinLen      *int32  `json:"minLen,omitempty"`
	ReadOnly    *bool   `json:"readOnly,omitempty"`
	Title       *string `json:"title,omitempty"`
	Type        *string `json:"type,omitempty"`
}

Field struct for Field

func NewField

func NewField() *Field

NewField instantiates a new Field 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 NewFieldWithDefaults

func NewFieldWithDefaults() *Field

NewFieldWithDefaults instantiates a new Field 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 (*Field) GetDefault

func (o *Field) GetDefault() string

GetDefault returns the Default field value if set, zero value otherwise.

func (*Field) GetDefaultOk

func (o *Field) GetDefaultOk() (*string, bool)

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

func (*Field) GetDescription

func (o *Field) GetDescription() string

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

func (*Field) GetDescriptionOk

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

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

func (*Field) GetMaxLen

func (o *Field) GetMaxLen() int32

GetMaxLen returns the MaxLen field value if set, zero value otherwise.

func (*Field) GetMaxLenOk

func (o *Field) GetMaxLenOk() (*int32, bool)

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

func (*Field) GetMinLen

func (o *Field) GetMinLen() int32

GetMinLen returns the MinLen field value if set, zero value otherwise.

func (*Field) GetMinLenOk

func (o *Field) GetMinLenOk() (*int32, bool)

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

func (*Field) GetReadOnly

func (o *Field) GetReadOnly() bool

GetReadOnly returns the ReadOnly field value if set, zero value otherwise.

func (*Field) GetReadOnlyOk

func (o *Field) GetReadOnlyOk() (*bool, bool)

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

func (*Field) GetTitle

func (o *Field) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Field) GetTitleOk

func (o *Field) GetTitleOk() (*string, bool)

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

func (*Field) GetType

func (o *Field) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Field) GetTypeOk

func (o *Field) GetTypeOk() (*string, bool)

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

func (*Field) HasDefault

func (o *Field) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*Field) HasDescription

func (o *Field) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Field) HasMaxLen

func (o *Field) HasMaxLen() bool

HasMaxLen returns a boolean if a field has been set.

func (*Field) HasMinLen

func (o *Field) HasMinLen() bool

HasMinLen returns a boolean if a field has been set.

func (*Field) HasReadOnly

func (o *Field) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (*Field) HasTitle

func (o *Field) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Field) HasType

func (o *Field) HasType() bool

HasType returns a boolean if a field has been set.

func (Field) MarshalJSON

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

func (*Field) SetDefault

func (o *Field) SetDefault(v string)

SetDefault gets a reference to the given string and assigns it to the Default field.

func (*Field) SetDescription

func (o *Field) SetDescription(v string)

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

func (*Field) SetMaxLen

func (o *Field) SetMaxLen(v int32)

SetMaxLen gets a reference to the given int32 and assigns it to the MaxLen field.

func (*Field) SetMinLen

func (o *Field) SetMinLen(v int32)

SetMinLen gets a reference to the given int32 and assigns it to the MinLen field.

func (*Field) SetReadOnly

func (o *Field) SetReadOnly(v bool)

SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.

func (*Field) SetTitle

func (o *Field) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*Field) SetType

func (o *Field) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Field) ToMap

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

type GetCommandsResponse

type GetCommandsResponse struct {
	Items []Commands `json:"items,omitempty"`
}

GetCommandsResponse struct for GetCommandsResponse

func NewGetCommandsResponse

func NewGetCommandsResponse() *GetCommandsResponse

NewGetCommandsResponse instantiates a new GetCommandsResponse 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 NewGetCommandsResponseWithDefaults

func NewGetCommandsResponseWithDefaults() *GetCommandsResponse

NewGetCommandsResponseWithDefaults instantiates a new GetCommandsResponse 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 (*GetCommandsResponse) GetItems

func (o *GetCommandsResponse) GetItems() []Commands

GetItems returns the Items field value if set, zero value otherwise.

func (*GetCommandsResponse) GetItemsOk

func (o *GetCommandsResponse) GetItemsOk() ([]Commands, bool)

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

func (*GetCommandsResponse) HasItems

func (o *GetCommandsResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GetCommandsResponse) MarshalJSON

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

func (*GetCommandsResponse) SetItems

func (o *GetCommandsResponse) SetItems(v []Commands)

SetItems gets a reference to the given []Commands and assigns it to the Items field.

func (GetCommandsResponse) ToMap

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

type MappedNullable

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

type NewCommandResponse

type NewCommandResponse struct {
	Id *int32 `json:"id,omitempty"`
}

NewCommandResponse struct for NewCommandResponse

func NewNewCommandResponse

func NewNewCommandResponse() *NewCommandResponse

NewNewCommandResponse instantiates a new NewCommandResponse 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 NewNewCommandResponseWithDefaults

func NewNewCommandResponseWithDefaults() *NewCommandResponse

NewNewCommandResponseWithDefaults instantiates a new NewCommandResponse 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 (*NewCommandResponse) GetId

func (o *NewCommandResponse) GetId() int32

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

func (*NewCommandResponse) GetIdOk

func (o *NewCommandResponse) GetIdOk() (*int32, bool)

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

func (*NewCommandResponse) HasId

func (o *NewCommandResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (NewCommandResponse) MarshalJSON

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

func (*NewCommandResponse) SetId

func (o *NewCommandResponse) SetId(v int32)

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

func (NewCommandResponse) ToMap

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

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCommandDetails

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

func NewNullableCommandDetails

func NewNullableCommandDetails(val *CommandDetails) *NullableCommandDetails

func (NullableCommandDetails) Get

func (NullableCommandDetails) IsSet

func (v NullableCommandDetails) IsSet() bool

func (NullableCommandDetails) MarshalJSON

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

func (*NullableCommandDetails) Set

func (*NullableCommandDetails) UnmarshalJSON

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

func (*NullableCommandDetails) Unset

func (v *NullableCommandDetails) Unset()

type NullableCommandTemplate

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

func NewNullableCommandTemplate

func NewNullableCommandTemplate(val *CommandTemplate) *NullableCommandTemplate

func (NullableCommandTemplate) Get

func (NullableCommandTemplate) IsSet

func (v NullableCommandTemplate) IsSet() bool

func (NullableCommandTemplate) MarshalJSON

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

func (*NullableCommandTemplate) Set

func (*NullableCommandTemplate) UnmarshalJSON

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

func (*NullableCommandTemplate) Unset

func (v *NullableCommandTemplate) Unset()

type NullableCommandTemplateResponse

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

func (NullableCommandTemplateResponse) Get

func (NullableCommandTemplateResponse) IsSet

func (NullableCommandTemplateResponse) MarshalJSON

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

func (*NullableCommandTemplateResponse) Set

func (*NullableCommandTemplateResponse) UnmarshalJSON

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

func (*NullableCommandTemplateResponse) Unset

type NullableCommandTemplateSchema

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

func (NullableCommandTemplateSchema) Get

func (NullableCommandTemplateSchema) IsSet

func (NullableCommandTemplateSchema) MarshalJSON

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

func (*NullableCommandTemplateSchema) Set

func (*NullableCommandTemplateSchema) UnmarshalJSON

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

func (*NullableCommandTemplateSchema) Unset

func (v *NullableCommandTemplateSchema) Unset()

type NullableCommands

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

func NewNullableCommands

func NewNullableCommands(val *Commands) *NullableCommands

func (NullableCommands) Get

func (v NullableCommands) Get() *Commands

func (NullableCommands) IsSet

func (v NullableCommands) IsSet() bool

func (NullableCommands) MarshalJSON

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

func (*NullableCommands) Set

func (v *NullableCommands) Set(val *Commands)

func (*NullableCommands) UnmarshalJSON

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

func (*NullableCommands) Unset

func (v *NullableCommands) Unset()

type NullableCreateCommandPayload

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

func NewNullableCreateCommandPayload

func NewNullableCreateCommandPayload(val *CreateCommandPayload) *NullableCreateCommandPayload

func (NullableCreateCommandPayload) Get

func (NullableCreateCommandPayload) IsSet

func (NullableCreateCommandPayload) MarshalJSON

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

func (*NullableCreateCommandPayload) Set

func (*NullableCreateCommandPayload) UnmarshalJSON

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

func (*NullableCreateCommandPayload) Unset

func (v *NullableCreateCommandPayload) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableField

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

func NewNullableField

func NewNullableField(val *Field) *NullableField

func (NullableField) Get

func (v NullableField) Get() *Field

func (NullableField) IsSet

func (v NullableField) IsSet() bool

func (NullableField) MarshalJSON

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

func (*NullableField) Set

func (v *NullableField) Set(val *Field)

func (*NullableField) UnmarshalJSON

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

func (*NullableField) Unset

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

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

func NewNullableGetCommandsResponse

func NewNullableGetCommandsResponse(val *GetCommandsResponse) *NullableGetCommandsResponse

func (NullableGetCommandsResponse) Get

func (NullableGetCommandsResponse) IsSet

func (NullableGetCommandsResponse) MarshalJSON

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

func (*NullableGetCommandsResponse) Set

func (*NullableGetCommandsResponse) UnmarshalJSON

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

func (*NullableGetCommandsResponse) Unset

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

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

func NewNullableNewCommandResponse

func NewNullableNewCommandResponse(val *NewCommandResponse) *NullableNewCommandResponse

func (NullableNewCommandResponse) Get

func (NullableNewCommandResponse) IsSet

func (v NullableNewCommandResponse) IsSet() bool

func (NullableNewCommandResponse) MarshalJSON

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

func (*NullableNewCommandResponse) Set

func (*NullableNewCommandResponse) UnmarshalJSON

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

func (*NullableNewCommandResponse) Unset

func (v *NullableNewCommandResponse) Unset()

type NullableParametersSchema

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

func NewNullableParametersSchema

func NewNullableParametersSchema(val *ParametersSchema) *NullableParametersSchema

func (NullableParametersSchema) Get

func (NullableParametersSchema) IsSet

func (v NullableParametersSchema) IsSet() bool

func (NullableParametersSchema) MarshalJSON

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

func (*NullableParametersSchema) Set

func (*NullableParametersSchema) UnmarshalJSON

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

func (*NullableParametersSchema) Unset

func (v *NullableParametersSchema) Unset()

type NullableProperties

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

func NewNullableProperties

func NewNullableProperties(val *Properties) *NullableProperties

func (NullableProperties) Get

func (v NullableProperties) Get() *Properties

func (NullableProperties) IsSet

func (v NullableProperties) IsSet() bool

func (NullableProperties) MarshalJSON

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

func (*NullableProperties) Set

func (v *NullableProperties) Set(val *Properties)

func (*NullableProperties) UnmarshalJSON

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

func (*NullableProperties) Unset

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

type ParametersSchema struct {
	Properties *Properties `json:"properties,omitempty"`
}

ParametersSchema struct for ParametersSchema

func NewParametersSchema

func NewParametersSchema() *ParametersSchema

NewParametersSchema instantiates a new ParametersSchema 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 NewParametersSchemaWithDefaults

func NewParametersSchemaWithDefaults() *ParametersSchema

NewParametersSchemaWithDefaults instantiates a new ParametersSchema 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 (*ParametersSchema) GetProperties

func (o *ParametersSchema) GetProperties() Properties

GetProperties returns the Properties field value if set, zero value otherwise.

func (*ParametersSchema) GetPropertiesOk

func (o *ParametersSchema) GetPropertiesOk() (*Properties, bool)

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

func (*ParametersSchema) HasProperties

func (o *ParametersSchema) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ParametersSchema) MarshalJSON

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

func (*ParametersSchema) SetProperties

func (o *ParametersSchema) SetProperties(v Properties)

SetProperties gets a reference to the given Properties and assigns it to the Properties field.

func (ParametersSchema) ToMap

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

type Properties

type Properties struct {
	ConfirmPassword *Field   `json:"ConfirmPassword,omitempty"`
	Password        *Field   `json:"Password,omitempty"`
	Script          *Field   `json:"Script,omitempty"`
	Username        *Field   `json:"Username,omitempty"`
	Required        []string `json:"required,omitempty"`
	Type            *string  `json:"type,omitempty"`
}

Properties struct for Properties

func NewProperties

func NewProperties() *Properties

NewProperties instantiates a new Properties 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 NewPropertiesWithDefaults

func NewPropertiesWithDefaults() *Properties

NewPropertiesWithDefaults instantiates a new Properties 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 (*Properties) GetConfirmPassword

func (o *Properties) GetConfirmPassword() Field

GetConfirmPassword returns the ConfirmPassword field value if set, zero value otherwise.

func (*Properties) GetConfirmPasswordOk

func (o *Properties) GetConfirmPasswordOk() (*Field, bool)

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

func (*Properties) GetPassword

func (o *Properties) GetPassword() Field

GetPassword returns the Password field value if set, zero value otherwise.

func (*Properties) GetPasswordOk

func (o *Properties) GetPasswordOk() (*Field, bool)

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

func (*Properties) GetRequired

func (o *Properties) GetRequired() []string

GetRequired returns the Required field value if set, zero value otherwise.

func (*Properties) GetRequiredOk

func (o *Properties) GetRequiredOk() ([]string, bool)

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

func (*Properties) GetScript

func (o *Properties) GetScript() Field

GetScript returns the Script field value if set, zero value otherwise.

func (*Properties) GetScriptOk

func (o *Properties) GetScriptOk() (*Field, bool)

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

func (*Properties) GetType

func (o *Properties) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Properties) GetTypeOk

func (o *Properties) GetTypeOk() (*string, bool)

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

func (*Properties) GetUsername

func (o *Properties) GetUsername() Field

GetUsername returns the Username field value if set, zero value otherwise.

func (*Properties) GetUsernameOk

func (o *Properties) GetUsernameOk() (*Field, bool)

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

func (*Properties) HasConfirmPassword

func (o *Properties) HasConfirmPassword() bool

HasConfirmPassword returns a boolean if a field has been set.

func (*Properties) HasPassword

func (o *Properties) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*Properties) HasRequired

func (o *Properties) HasRequired() bool

HasRequired returns a boolean if a field has been set.

func (*Properties) HasScript

func (o *Properties) HasScript() bool

HasScript returns a boolean if a field has been set.

func (*Properties) HasType

func (o *Properties) HasType() bool

HasType returns a boolean if a field has been set.

func (*Properties) HasUsername

func (o *Properties) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (Properties) MarshalJSON

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

func (*Properties) SetConfirmPassword

func (o *Properties) SetConfirmPassword(v Field)

SetConfirmPassword gets a reference to the given Field and assigns it to the ConfirmPassword field.

func (*Properties) SetPassword

func (o *Properties) SetPassword(v Field)

SetPassword gets a reference to the given Field and assigns it to the Password field.

func (*Properties) SetRequired

func (o *Properties) SetRequired(v []string)

SetRequired gets a reference to the given []string and assigns it to the Required field.

func (*Properties) SetScript

func (o *Properties) SetScript(v Field)

SetScript gets a reference to the given Field and assigns it to the Script field.

func (*Properties) SetType

func (o *Properties) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Properties) SetUsername

func (o *Properties) SetUsername(v Field)

SetUsername gets a reference to the given Field and assigns it to the Username field.

func (Properties) ToMap

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

Jump to

Keyboard shortcuts

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