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 ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateCommandRequest
- type ApiGetCommandRequest
- type ApiGetCommandTemplateRequest
- type ApiListCommandTemplatesRequest
- type ApiListCommandsRequest
- type CommandDetails
- func (o *CommandDetails) GetCommandTemplateName() string
- func (o *CommandDetails) GetCommandTemplateNameOk() (*string, bool)
- func (o *CommandDetails) GetCommandTemplateTitle() string
- func (o *CommandDetails) GetCommandTemplateTitleOk() (*string, bool)
- func (o *CommandDetails) GetExitCode() int32
- func (o *CommandDetails) GetExitCodeOk() (*int32, bool)
- func (o *CommandDetails) GetFinishedAt() string
- func (o *CommandDetails) GetFinishedAtOk() (*string, bool)
- func (o *CommandDetails) GetId() int32
- func (o *CommandDetails) GetIdOk() (*int32, bool)
- func (o *CommandDetails) GetOutput() string
- func (o *CommandDetails) GetOutputOk() (*string, bool)
- func (o *CommandDetails) GetScript() string
- func (o *CommandDetails) GetScriptOk() (*string, bool)
- func (o *CommandDetails) GetStartedAt() string
- func (o *CommandDetails) GetStartedAtOk() (*string, bool)
- func (o *CommandDetails) GetStatus() string
- func (o *CommandDetails) GetStatusOk() (*string, bool)
- func (o *CommandDetails) HasCommandTemplateName() bool
- func (o *CommandDetails) HasCommandTemplateTitle() bool
- func (o *CommandDetails) HasExitCode() bool
- func (o *CommandDetails) HasFinishedAt() bool
- func (o *CommandDetails) HasId() bool
- func (o *CommandDetails) HasOutput() bool
- func (o *CommandDetails) HasScript() bool
- func (o *CommandDetails) HasStartedAt() bool
- func (o *CommandDetails) HasStatus() bool
- func (o CommandDetails) MarshalJSON() ([]byte, error)
- func (o *CommandDetails) SetCommandTemplateName(v string)
- func (o *CommandDetails) SetCommandTemplateTitle(v string)
- func (o *CommandDetails) SetExitCode(v int32)
- func (o *CommandDetails) SetFinishedAt(v string)
- func (o *CommandDetails) SetId(v int32)
- func (o *CommandDetails) SetOutput(v string)
- func (o *CommandDetails) SetScript(v string)
- func (o *CommandDetails) SetStartedAt(v string)
- func (o *CommandDetails) SetStatus(v string)
- func (o CommandDetails) ToMap() (map[string]interface{}, error)
- type CommandTemplate
- func (o *CommandTemplate) GetName() string
- func (o *CommandTemplate) GetNameOk() (*string, bool)
- func (o *CommandTemplate) GetOsType() []string
- func (o *CommandTemplate) GetOsTypeOk() ([]string, bool)
- func (o *CommandTemplate) GetTitle() string
- func (o *CommandTemplate) GetTitleOk() (*string, bool)
- func (o *CommandTemplate) HasName() bool
- func (o *CommandTemplate) HasOsType() bool
- func (o *CommandTemplate) HasTitle() bool
- func (o CommandTemplate) MarshalJSON() ([]byte, error)
- func (o *CommandTemplate) SetName(v string)
- func (o *CommandTemplate) SetOsType(v []string)
- func (o *CommandTemplate) SetTitle(v string)
- func (o CommandTemplate) ToMap() (map[string]interface{}, error)
- type CommandTemplateResponse
- func (o *CommandTemplateResponse) GetItems() []CommandTemplate
- func (o *CommandTemplateResponse) GetItemsOk() ([]CommandTemplate, bool)
- func (o *CommandTemplateResponse) HasItems() bool
- func (o CommandTemplateResponse) MarshalJSON() ([]byte, error)
- func (o *CommandTemplateResponse) SetItems(v []CommandTemplate)
- func (o CommandTemplateResponse) ToMap() (map[string]interface{}, error)
- type CommandTemplateSchema
- func (o *CommandTemplateSchema) GetDescription() string
- func (o *CommandTemplateSchema) GetDescriptionOk() (*string, bool)
- func (o *CommandTemplateSchema) GetName() string
- func (o *CommandTemplateSchema) GetNameOk() (*string, bool)
- func (o *CommandTemplateSchema) GetOsType() []string
- func (o *CommandTemplateSchema) GetOsTypeOk() ([]string, bool)
- func (o *CommandTemplateSchema) GetParameterSchema() ParametersSchema
- func (o *CommandTemplateSchema) GetParameterSchemaOk() (*ParametersSchema, bool)
- func (o *CommandTemplateSchema) GetTitle() string
- func (o *CommandTemplateSchema) GetTitleOk() (*string, bool)
- func (o *CommandTemplateSchema) HasDescription() bool
- func (o *CommandTemplateSchema) HasName() bool
- func (o *CommandTemplateSchema) HasOsType() bool
- func (o *CommandTemplateSchema) HasParameterSchema() bool
- func (o *CommandTemplateSchema) HasTitle() bool
- func (o CommandTemplateSchema) MarshalJSON() ([]byte, error)
- func (o *CommandTemplateSchema) SetDescription(v string)
- func (o *CommandTemplateSchema) SetName(v string)
- func (o *CommandTemplateSchema) SetOsType(v []string)
- func (o *CommandTemplateSchema) SetParameterSchema(v ParametersSchema)
- func (o *CommandTemplateSchema) SetTitle(v string)
- func (o CommandTemplateSchema) ToMap() (map[string]interface{}, error)
- type Commands
- func (o *Commands) GetCommandTemplateName() string
- func (o *Commands) GetCommandTemplateNameOk() (*string, bool)
- func (o *Commands) GetCommandTemplateTitle() string
- func (o *Commands) GetCommandTemplateTitleOk() (*string, bool)
- func (o *Commands) GetFinishedAt() string
- func (o *Commands) GetFinishedAtOk() (*string, bool)
- func (o *Commands) GetId() int32
- func (o *Commands) GetIdOk() (*int32, bool)
- func (o *Commands) GetStartedAt() string
- func (o *Commands) GetStartedAtOk() (*string, bool)
- func (o *Commands) GetStatus() string
- func (o *Commands) GetStatusOk() (*string, bool)
- func (o *Commands) HasCommandTemplateName() bool
- func (o *Commands) HasCommandTemplateTitle() bool
- func (o *Commands) HasFinishedAt() bool
- func (o *Commands) HasId() bool
- func (o *Commands) HasStartedAt() bool
- func (o *Commands) HasStatus() bool
- func (o Commands) MarshalJSON() ([]byte, error)
- func (o *Commands) SetCommandTemplateName(v string)
- func (o *Commands) SetCommandTemplateTitle(v string)
- func (o *Commands) SetFinishedAt(v string)
- func (o *Commands) SetId(v int32)
- func (o *Commands) SetStartedAt(v string)
- func (o *Commands) SetStatus(v string)
- func (o Commands) ToMap() (map[string]interface{}, error)
- type CreateCommandPayload
- func (o *CreateCommandPayload) GetCommandTemplateName() string
- func (o *CreateCommandPayload) GetCommandTemplateNameOk() (*string, bool)
- func (o *CreateCommandPayload) GetParameters() map[string]string
- func (o *CreateCommandPayload) GetParametersOk() (*map[string]string, bool)
- func (o *CreateCommandPayload) HasParameters() bool
- func (o CreateCommandPayload) MarshalJSON() ([]byte, error)
- func (o *CreateCommandPayload) SetCommandTemplateName(v string)
- func (o *CreateCommandPayload) SetParameters(v map[string]string)
- func (o CreateCommandPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateCommandPayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateCommand(ctx context.Context, projectId string, serverId string) ApiCreateCommandRequest
- func (a *DefaultAPIService) CreateCommandExecute(r ApiCreateCommandRequest) (*NewCommandResponse, error)
- func (a *DefaultAPIService) GetCommand(ctx context.Context, projectId string, serverId string, commandId string) ApiGetCommandRequest
- func (a *DefaultAPIService) GetCommandExecute(r ApiGetCommandRequest) (*CommandDetails, error)
- func (a *DefaultAPIService) GetCommandTemplate(ctx context.Context, projectId string, serverId string, ...) ApiGetCommandTemplateRequest
- func (a *DefaultAPIService) GetCommandTemplateExecute(r ApiGetCommandTemplateRequest) (*CommandTemplateSchema, error)
- func (a *DefaultAPIService) ListCommandTemplates(ctx context.Context) ApiListCommandTemplatesRequest
- func (a *DefaultAPIService) ListCommandTemplatesExecute(r ApiListCommandTemplatesRequest) (*CommandTemplateResponse, error)
- func (a *DefaultAPIService) ListCommands(ctx context.Context, projectId string, serverId string) ApiListCommandsRequest
- func (a *DefaultAPIService) ListCommandsExecute(r ApiListCommandsRequest) (*GetCommandsResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateCommand(ctx context.Context, projectId string, serverId string) ApiCreateCommandRequest
- func (a DefaultAPIServiceMock) CreateCommandExecute(r ApiCreateCommandRequest) (*NewCommandResponse, error)
- func (a DefaultAPIServiceMock) GetCommand(ctx context.Context, projectId string, serverId string, commandId string) ApiGetCommandRequest
- func (a DefaultAPIServiceMock) GetCommandExecute(r ApiGetCommandRequest) (*CommandDetails, error)
- func (a DefaultAPIServiceMock) GetCommandTemplate(ctx context.Context, projectId string, serverId string, ...) ApiGetCommandTemplateRequest
- func (a DefaultAPIServiceMock) GetCommandTemplateExecute(r ApiGetCommandTemplateRequest) (*CommandTemplateSchema, error)
- func (a DefaultAPIServiceMock) ListCommandTemplates(ctx context.Context) ApiListCommandTemplatesRequest
- func (a DefaultAPIServiceMock) ListCommandTemplatesExecute(r ApiListCommandTemplatesRequest) (*CommandTemplateResponse, error)
- func (a DefaultAPIServiceMock) ListCommands(ctx context.Context, projectId string, serverId string) ApiListCommandsRequest
- func (a DefaultAPIServiceMock) ListCommandsExecute(r ApiListCommandsRequest) (*GetCommandsResponse, error)
- type ErrorResponse
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) GetStatus() string
- func (o *ErrorResponse) GetStatusOk() (*string, bool)
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetMessage(v string)
- func (o *ErrorResponse) SetStatus(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type Field
- func (o *Field) GetDefault() string
- func (o *Field) GetDefaultOk() (*string, bool)
- func (o *Field) GetDescription() string
- func (o *Field) GetDescriptionOk() (*string, bool)
- func (o *Field) GetMaxLen() int32
- func (o *Field) GetMaxLenOk() (*int32, bool)
- func (o *Field) GetMinLen() int32
- func (o *Field) GetMinLenOk() (*int32, bool)
- func (o *Field) GetReadOnly() bool
- func (o *Field) GetReadOnlyOk() (*bool, bool)
- func (o *Field) GetTitle() string
- func (o *Field) GetTitleOk() (*string, bool)
- func (o *Field) GetType() string
- func (o *Field) GetTypeOk() (*string, bool)
- func (o *Field) HasDefault() bool
- func (o *Field) HasDescription() bool
- func (o *Field) HasMaxLen() bool
- func (o *Field) HasMinLen() bool
- func (o *Field) HasReadOnly() bool
- func (o *Field) HasTitle() bool
- func (o *Field) HasType() bool
- func (o Field) MarshalJSON() ([]byte, error)
- func (o *Field) SetDefault(v string)
- func (o *Field) SetDescription(v string)
- func (o *Field) SetMaxLen(v int32)
- func (o *Field) SetMinLen(v int32)
- func (o *Field) SetReadOnly(v bool)
- func (o *Field) SetTitle(v string)
- func (o *Field) SetType(v string)
- func (o Field) ToMap() (map[string]interface{}, error)
- type GetCommandsResponse
- func (o *GetCommandsResponse) GetItems() []Commands
- func (o *GetCommandsResponse) GetItemsOk() ([]Commands, bool)
- func (o *GetCommandsResponse) HasItems() bool
- func (o GetCommandsResponse) MarshalJSON() ([]byte, error)
- func (o *GetCommandsResponse) SetItems(v []Commands)
- func (o GetCommandsResponse) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NewCommandResponse
- func (o *NewCommandResponse) GetId() int32
- func (o *NewCommandResponse) GetIdOk() (*int32, bool)
- func (o *NewCommandResponse) HasId() bool
- func (o NewCommandResponse) MarshalJSON() ([]byte, error)
- func (o *NewCommandResponse) SetId(v int32)
- func (o NewCommandResponse) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableCommandDetails
- func (v NullableCommandDetails) Get() *CommandDetails
- func (v NullableCommandDetails) IsSet() bool
- func (v NullableCommandDetails) MarshalJSON() ([]byte, error)
- func (v *NullableCommandDetails) Set(val *CommandDetails)
- func (v *NullableCommandDetails) UnmarshalJSON(src []byte) error
- func (v *NullableCommandDetails) Unset()
- type NullableCommandTemplate
- func (v NullableCommandTemplate) Get() *CommandTemplate
- func (v NullableCommandTemplate) IsSet() bool
- func (v NullableCommandTemplate) MarshalJSON() ([]byte, error)
- func (v *NullableCommandTemplate) Set(val *CommandTemplate)
- func (v *NullableCommandTemplate) UnmarshalJSON(src []byte) error
- func (v *NullableCommandTemplate) Unset()
- type NullableCommandTemplateResponse
- func (v NullableCommandTemplateResponse) Get() *CommandTemplateResponse
- func (v NullableCommandTemplateResponse) IsSet() bool
- func (v NullableCommandTemplateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCommandTemplateResponse) Set(val *CommandTemplateResponse)
- func (v *NullableCommandTemplateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCommandTemplateResponse) Unset()
- type NullableCommandTemplateSchema
- func (v NullableCommandTemplateSchema) Get() *CommandTemplateSchema
- func (v NullableCommandTemplateSchema) IsSet() bool
- func (v NullableCommandTemplateSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCommandTemplateSchema) Set(val *CommandTemplateSchema)
- func (v *NullableCommandTemplateSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCommandTemplateSchema) Unset()
- type NullableCommands
- type NullableCreateCommandPayload
- func (v NullableCreateCommandPayload) Get() *CreateCommandPayload
- func (v NullableCreateCommandPayload) IsSet() bool
- func (v NullableCreateCommandPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCommandPayload) Set(val *CreateCommandPayload)
- func (v *NullableCreateCommandPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCommandPayload) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableField
- type NullableFloat32
- type NullableFloat64
- type NullableGetCommandsResponse
- func (v NullableGetCommandsResponse) Get() *GetCommandsResponse
- func (v NullableGetCommandsResponse) IsSet() bool
- func (v NullableGetCommandsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCommandsResponse) Set(val *GetCommandsResponse)
- func (v *NullableGetCommandsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCommandsResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableNewCommandResponse
- func (v NullableNewCommandResponse) Get() *NewCommandResponse
- func (v NullableNewCommandResponse) IsSet() bool
- func (v NullableNewCommandResponse) MarshalJSON() ([]byte, error)
- func (v *NullableNewCommandResponse) Set(val *NewCommandResponse)
- func (v *NullableNewCommandResponse) UnmarshalJSON(src []byte) error
- func (v *NullableNewCommandResponse) Unset()
- type NullableParametersSchema
- func (v NullableParametersSchema) Get() *ParametersSchema
- func (v NullableParametersSchema) IsSet() bool
- func (v NullableParametersSchema) MarshalJSON() ([]byte, error)
- func (v *NullableParametersSchema) Set(val *ParametersSchema)
- func (v *NullableParametersSchema) UnmarshalJSON(src []byte) error
- func (v *NullableParametersSchema) Unset()
- type NullableProperties
- type NullableString
- type NullableTime
- type ParametersSchema
- func (o *ParametersSchema) GetProperties() Properties
- func (o *ParametersSchema) GetPropertiesOk() (*Properties, bool)
- func (o *ParametersSchema) HasProperties() bool
- func (o ParametersSchema) MarshalJSON() ([]byte, error)
- func (o *ParametersSchema) SetProperties(v Properties)
- func (o ParametersSchema) ToMap() (map[string]interface{}, error)
- type Properties
- func (o *Properties) GetConfirmPassword() Field
- func (o *Properties) GetConfirmPasswordOk() (*Field, bool)
- func (o *Properties) GetPassword() Field
- func (o *Properties) GetPasswordOk() (*Field, bool)
- func (o *Properties) GetRequired() []string
- func (o *Properties) GetRequiredOk() ([]string, bool)
- func (o *Properties) GetScript() Field
- func (o *Properties) GetScriptOk() (*Field, bool)
- func (o *Properties) GetType() string
- func (o *Properties) GetTypeOk() (*string, bool)
- func (o *Properties) GetUsername() Field
- func (o *Properties) GetUsernameOk() (*Field, bool)
- func (o *Properties) HasConfirmPassword() bool
- func (o *Properties) HasPassword() bool
- func (o *Properties) HasRequired() bool
- func (o *Properties) HasScript() bool
- func (o *Properties) HasType() bool
- func (o *Properties) HasUsername() bool
- func (o Properties) MarshalJSON() ([]byte, error)
- func (o *Properties) SetConfirmPassword(v Field)
- func (o *Properties) SetPassword(v Field)
- func (o *Properties) SetRequired(v []string)
- func (o *Properties) SetScript(v Field)
- func (o *Properties) SetType(v string)
- func (o *Properties) SetUsername(v Field)
- func (o Properties) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Run Commands Service API API v1beta.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 ¶
func (r ApiCreateCommandRequest) Execute() (*NewCommandResponse, error)
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 ¶
func (r ApiGetCommandTemplateRequest) Execute() (*CommandTemplateSchema, error)
type ApiListCommandTemplatesRequest ¶
type ApiListCommandTemplatesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCommandTemplatesRequest) Execute ¶
func (r ApiListCommandTemplatesRequest) Execute() (*CommandTemplateResponse, error)
func (ApiListCommandTemplatesRequest) OsType ¶
func (r ApiListCommandTemplatesRequest) OsType(osType string) ApiListCommandTemplatesRequest
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 ¶
func (r ApiListCommandsRequest) Execute() (*GetCommandsResponse, error)
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"`
ParameterSchema *ParametersSchema `json:"parameterSchema,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) GetParameterSchema ¶
func (o *CommandTemplateSchema) GetParameterSchema() ParametersSchema
GetParameterSchema returns the ParameterSchema field value if set, zero value otherwise.
func (*CommandTemplateSchema) GetParameterSchemaOk ¶
func (o *CommandTemplateSchema) GetParameterSchemaOk() (*ParametersSchema, bool)
GetParameterSchemaOk returns a tuple with the ParameterSchema 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) HasParameterSchema ¶
func (o *CommandTemplateSchema) HasParameterSchema() bool
HasParameterSchema 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) SetParameterSchema ¶
func (o *CommandTemplateSchema) SetParameterSchema(v ParametersSchema)
SetParameterSchema gets a reference to the given ParametersSchema and assigns it to the ParameterSchema 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 ¶
GetCommandTemplateName returns the CommandTemplateName field value if set, zero value otherwise.
func (*Commands) GetCommandTemplateNameOk ¶
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 ¶
GetCommandTemplateTitle returns the CommandTemplateTitle field value if set, zero value otherwise.
func (*Commands) GetCommandTemplateTitleOk ¶
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 ¶
GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.
func (*Commands) GetFinishedAtOk ¶
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) GetIdOk ¶
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 ¶
GetStartedAt returns the StartedAt field value if set, zero value otherwise.
func (*Commands) GetStartedAtOk ¶
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) GetStatusOk ¶
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 ¶
HasCommandTemplateName returns a boolean if a field has been set.
func (*Commands) HasCommandTemplateTitle ¶
HasCommandTemplateTitle returns a boolean if a field has been set.
func (*Commands) HasFinishedAt ¶
HasFinishedAt returns a boolean if a field has been set.
func (*Commands) HasStartedAt ¶
HasStartedAt returns a boolean if a field has been set.
func (Commands) MarshalJSON ¶
func (*Commands) SetCommandTemplateName ¶
SetCommandTemplateName gets a reference to the given string and assigns it to the CommandTemplateName field.
func (*Commands) SetCommandTemplateTitle ¶
SetCommandTemplateTitle gets a reference to the given string and assigns it to the CommandTemplateTitle field.
func (*Commands) SetFinishedAt ¶
SetFinishedAt gets a reference to the given string and assigns it to the FinishedAt field.
func (*Commands) SetStartedAt ¶
SetStartedAt gets a reference to the given string and assigns it to the StartedAt field.
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
@return ApiCreateCommandRequest
*/
CreateCommand(ctx context.Context, projectId string, serverId 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 serverId Server ID of the machine
@param commandId ID of the command
@return ApiGetCommandRequest
*/
GetCommand(ctx context.Context, projectId 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
@return ApiGetCommandTemplateRequest
*/
GetCommandTemplate(ctx context.Context, projectId string, serverId string, commandTemplateName 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
@return ApiListCommandsRequest
*/
ListCommands(ctx context.Context, projectId string, serverId 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) 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 @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, 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 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) 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 @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) 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 @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) ApiCreateCommandRequest
func (DefaultAPIServiceMock) CreateCommandExecute ¶
func (a DefaultAPIServiceMock) CreateCommandExecute(r ApiCreateCommandRequest) (*NewCommandResponse, error)
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, serverId string, commandId string) ApiGetCommandRequest
func (DefaultAPIServiceMock) GetCommandExecute ¶
func (a DefaultAPIServiceMock) GetCommandExecute(r ApiGetCommandRequest) (*CommandDetails, error)
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) ApiGetCommandTemplateRequest
func (DefaultAPIServiceMock) GetCommandTemplateExecute ¶
func (a DefaultAPIServiceMock) GetCommandTemplateExecute(r ApiGetCommandTemplateRequest) (*CommandTemplateSchema, error)
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 (a DefaultAPIServiceMock) ListCommandTemplates(ctx context.Context) ApiListCommandTemplatesRequest
func (DefaultAPIServiceMock) ListCommandTemplatesExecute ¶
func (a DefaultAPIServiceMock) ListCommandTemplatesExecute(r ApiListCommandTemplatesRequest) (*CommandTemplateResponse, error)
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) ApiListCommandsRequest
func (DefaultAPIServiceMock) ListCommandsExecute ¶
func (a DefaultAPIServiceMock) ListCommandsExecute(r ApiListCommandsRequest) (*GetCommandsResponse, error)
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 ¶
GetDefault returns the Default field value if set, zero value otherwise.
func (*Field) GetDefaultOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Field) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Field) GetMaxLenOk ¶
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) GetMinLenOk ¶
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 ¶
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*Field) GetReadOnlyOk ¶
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) GetTitleOk ¶
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) GetTypeOk ¶
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 ¶
HasDefault returns a boolean if a field has been set.
func (*Field) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Field) HasReadOnly ¶
HasReadOnly returns a boolean if a field has been set.
func (Field) MarshalJSON ¶
func (*Field) SetDefault ¶
SetDefault gets a reference to the given string and assigns it to the Default field.
func (*Field) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Field) SetMaxLen ¶
SetMaxLen gets a reference to the given int32 and assigns it to the MaxLen field.
func (*Field) SetMinLen ¶
SetMinLen gets a reference to the given int32 and assigns it to the MinLen field.
func (*Field) SetReadOnly ¶
SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.
func (*Field) SetTitle ¶
SetTitle gets a reference to the given string and assigns it to the Title field.
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 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 (v NullableCommandDetails) Get() *CommandDetails
func (NullableCommandDetails) IsSet ¶
func (v NullableCommandDetails) IsSet() bool
func (NullableCommandDetails) MarshalJSON ¶
func (v NullableCommandDetails) MarshalJSON() ([]byte, error)
func (*NullableCommandDetails) Set ¶
func (v *NullableCommandDetails) Set(val *CommandDetails)
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 (v NullableCommandTemplate) Get() *CommandTemplate
func (NullableCommandTemplate) IsSet ¶
func (v NullableCommandTemplate) IsSet() bool
func (NullableCommandTemplate) MarshalJSON ¶
func (v NullableCommandTemplate) MarshalJSON() ([]byte, error)
func (*NullableCommandTemplate) Set ¶
func (v *NullableCommandTemplate) Set(val *CommandTemplate)
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 NewNullableCommandTemplateResponse ¶
func NewNullableCommandTemplateResponse(val *CommandTemplateResponse) *NullableCommandTemplateResponse
func (NullableCommandTemplateResponse) Get ¶
func (v NullableCommandTemplateResponse) Get() *CommandTemplateResponse
func (NullableCommandTemplateResponse) IsSet ¶
func (v NullableCommandTemplateResponse) IsSet() bool
func (NullableCommandTemplateResponse) MarshalJSON ¶
func (v NullableCommandTemplateResponse) MarshalJSON() ([]byte, error)
func (*NullableCommandTemplateResponse) Set ¶
func (v *NullableCommandTemplateResponse) Set(val *CommandTemplateResponse)
func (*NullableCommandTemplateResponse) UnmarshalJSON ¶
func (v *NullableCommandTemplateResponse) UnmarshalJSON(src []byte) error
func (*NullableCommandTemplateResponse) Unset ¶
func (v *NullableCommandTemplateResponse) Unset()
type NullableCommandTemplateSchema ¶
type NullableCommandTemplateSchema struct {
// contains filtered or unexported fields
}
func NewNullableCommandTemplateSchema ¶
func NewNullableCommandTemplateSchema(val *CommandTemplateSchema) *NullableCommandTemplateSchema
func (NullableCommandTemplateSchema) Get ¶
func (v NullableCommandTemplateSchema) Get() *CommandTemplateSchema
func (NullableCommandTemplateSchema) IsSet ¶
func (v NullableCommandTemplateSchema) IsSet() bool
func (NullableCommandTemplateSchema) MarshalJSON ¶
func (v NullableCommandTemplateSchema) MarshalJSON() ([]byte, error)
func (*NullableCommandTemplateSchema) Set ¶
func (v *NullableCommandTemplateSchema) Set(val *CommandTemplateSchema)
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 (v NullableCreateCommandPayload) Get() *CreateCommandPayload
func (NullableCreateCommandPayload) IsSet ¶
func (v NullableCreateCommandPayload) IsSet() bool
func (NullableCreateCommandPayload) MarshalJSON ¶
func (v NullableCreateCommandPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateCommandPayload) Set ¶
func (v *NullableCreateCommandPayload) Set(val *CreateCommandPayload)
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 (v NullableErrorResponse) Get() *ErrorResponse
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 (v NullableGetCommandsResponse) Get() *GetCommandsResponse
func (NullableGetCommandsResponse) IsSet ¶
func (v NullableGetCommandsResponse) IsSet() bool
func (NullableGetCommandsResponse) MarshalJSON ¶
func (v NullableGetCommandsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCommandsResponse) Set ¶
func (v *NullableGetCommandsResponse) Set(val *GetCommandsResponse)
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 (v NullableNewCommandResponse) Get() *NewCommandResponse
func (NullableNewCommandResponse) IsSet ¶
func (v NullableNewCommandResponse) IsSet() bool
func (NullableNewCommandResponse) MarshalJSON ¶
func (v NullableNewCommandResponse) MarshalJSON() ([]byte, error)
func (*NullableNewCommandResponse) Set ¶
func (v *NullableNewCommandResponse) Set(val *NewCommandResponse)
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 (v NullableParametersSchema) Get() *ParametersSchema
func (NullableParametersSchema) IsSet ¶
func (v NullableParametersSchema) IsSet() bool
func (NullableParametersSchema) MarshalJSON ¶
func (v NullableParametersSchema) MarshalJSON() ([]byte, error)
func (*NullableParametersSchema) Set ¶
func (v *NullableParametersSchema) Set(val *ParametersSchema)
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)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_command_details.go
- model_command_template.go
- model_command_template_response.go
- model_command_template_schema.go
- model_commands.go
- model_create_command_payload.go
- model_error_response.go
- model_field.go
- model_get_commands_response.go
- model_new_command_response.go
- model_parameters_schema.go
- model_properties.go
- response.go
- utils.go