wisp

package module
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: BSD-3-Clause Imports: 21 Imported by: 0

README

Go API client for wisp

Wisp API

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.13.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import wisp "github.com/wispcompute/wisp-go-sdk"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value wisp.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), wisp.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value wisp.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), wisp.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using wisp.ContextOperationServerIndices and wisp.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), wisp.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), wisp.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AnalyzeAPI AnalyzeCreate Post /api/analyze
ClustersAPI ClusterActionCreate Post /api/clusters/{cluster_name}/{action}/
ClustersAPI ClustersCreate Post /api/clusters/
ClustersAPI ClustersRetrieve Get /api/clusters/
ClustersAPI ClustersStatusRetrieve Get /api/clusters/{cluster_name}/status/
ConstraintsAPI ConstraintsCreate Post /api/constraints/
ConstraintsAPI ConstraintsPartialUpdate Patch /api/constraints/
DownloadAPI DownloadRetrieve Get /api/download/
JobsAPI JobsCreate Post /api/jobs/
JobsAPI JobsDestroy Delete /api/jobs/{job_id}/
JobsAPI JobsPartialUpdate Patch /api/jobs/{job_id}/
JobsAPI JobsRetrieve Get /api/jobs/{job_id}/
ProjectsAPI CreateProject Post /api/projects/
ProjectsAPI DeleteProject Delete /api/projects/{project_id}/
ProjectsAPI ListProjects Get /api/projects/
ProjectsAPI ProjectsJobsRetrieve Get /api/projects/{project_id}/jobs/
ProjectsAPI RetrieveProject Get /api/projects/{project_id}/
ProvisionAPI ProvisionRetrieve Get /api/provision/{provision_id}
UsersAPI UsersMePublicKeyCreate Post /api/users/me/public-key/
UsersAPI UsersMePublicKeyRetrieve Get /api/users/me/public-key/
UsersAPI UsersMeRetrieve Get /api/users/me/

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauth2
  • Type: OAuth
  • Flow: password
  • Authorization URL:
  • Scopes:
  • read: Read access
  • write: Write access

Example

auth := context.WithValue(context.Background(), wisp.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, wisp.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)
oauth2
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • read: Read access
  • write: Write access

Example

auth := context.WithValue(context.Background(), wisp.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, wisp.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)
oauth2
  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: /accounts/o/authorize/
  • Scopes:
  • read: Read access
  • write: Write access

Example

auth := context.WithValue(context.Background(), wisp.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, wisp.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)
tokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: tokenAuth and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		wisp.ContextAPIKeys,
		map[string]wisp.APIKey{
			"tokenAuth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedActionEnumEnumValues = []ActionEnum{
	"start",
	"stop",
	"delete",
}

All allowed values of ActionEnum enum

View Source
var AllowedClusterStatusEnumEnumValues = []ClusterStatusEnum{
	"INIT",
	"UP",
	"STOPPED",
	"ERROR",
}

All allowed values of ClusterStatusEnum enum

View Source
var AllowedLatestClusterLogStatusEnumEnumValues = []LatestClusterLogStatusEnum{
	"UPDATING",
	"DONE",
	"CLUSTER_ERROR",
}

All allowed values of LatestClusterLogStatusEnum enum

View Source
var AllowedProvisionLogStatusEnumEnumValues = []ProvisionLogStatusEnum{
	"PENDING",
	"IN_PROGRESS",
	"TRANSFER_SSH",
	"SETUP_BUCKETS",
	"SYNC_FILE_MOUNTS",
	"COMPLETED",
	"FAILED",
}

All allowed values of ProvisionLogStatusEnum enum

View Source
var AllowedTypeEnumEnumValues = []TypeEnum{
	"local",
	"git",
	"docker",
}

All allowed values of TypeEnum enum

View Source
var AllowedWorkloadTypeEnumEnumValues = []WorkloadTypeEnum{
	"batch",
	"serving",
}

All allowed values of WorkloadTypeEnum enum

Functions

func CacheExpires

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

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

func IsNil added in v0.0.5

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	AnalyzeAPI *AnalyzeAPIService

	ClustersAPI *ClustersAPIService

	ConstraintsAPI *ConstraintsAPIService

	DownloadAPI *DownloadAPIService

	JobsAPI *JobsAPIService

	ProjectsAPI *ProjectsAPIService

	ProvisionAPI *ProvisionAPIService

	UsersAPI *UsersAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Wisp API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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() *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 APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

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 ActionEnum added in v0.0.6

type ActionEnum string

ActionEnum * `start` - start * `stop` - stop * `delete` - delete

const (
	START  ActionEnum = "start"
	STOP   ActionEnum = "stop"
	DELETE ActionEnum = "delete"
)

List of ActionEnum

func NewActionEnumFromValue added in v0.0.6

func NewActionEnumFromValue(v string) (*ActionEnum, error)

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

func (ActionEnum) IsValid added in v0.0.6

func (v ActionEnum) IsValid() bool

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

func (ActionEnum) Ptr added in v0.0.6

func (v ActionEnum) Ptr() *ActionEnum

Ptr returns reference to ActionEnum value

func (*ActionEnum) UnmarshalJSON added in v0.0.6

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

type AnalyzeAPIService added in v0.0.11

type AnalyzeAPIService service

AnalyzeAPIService AnalyzeAPI service

func (*AnalyzeAPIService) AnalyzeCreate added in v0.0.11

AnalyzeCreate Method for AnalyzeCreate

Estimate optimal cloud resources based on workload metadata

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

func (*AnalyzeAPIService) AnalyzeCreateExecute added in v0.0.11

Execute executes the request

@return AnalyzeGetResponse

type AnalyzeGetRequest added in v0.0.11

type AnalyzeGetRequest struct {
	Workload         Workload     `json:"workload"`
	CurrentResources ClusterOffer `json:"current_resources"`
	Constraints      Resources    `json:"constraints"`
}

AnalyzeGetRequest struct for AnalyzeGetRequest

func NewAnalyzeGetRequest added in v0.0.11

func NewAnalyzeGetRequest(workload Workload, currentResources ClusterOffer, constraints Resources) *AnalyzeGetRequest

NewAnalyzeGetRequest instantiates a new AnalyzeGetRequest 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 NewAnalyzeGetRequestWithDefaults added in v0.0.11

func NewAnalyzeGetRequestWithDefaults() *AnalyzeGetRequest

NewAnalyzeGetRequestWithDefaults instantiates a new AnalyzeGetRequest 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 (*AnalyzeGetRequest) GetConstraints added in v0.0.11

func (o *AnalyzeGetRequest) GetConstraints() Resources

GetConstraints returns the Constraints field value

func (*AnalyzeGetRequest) GetConstraintsOk added in v0.0.11

func (o *AnalyzeGetRequest) GetConstraintsOk() (*Resources, bool)

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

func (*AnalyzeGetRequest) GetCurrentResources added in v0.0.11

func (o *AnalyzeGetRequest) GetCurrentResources() ClusterOffer

GetCurrentResources returns the CurrentResources field value

func (*AnalyzeGetRequest) GetCurrentResourcesOk added in v0.0.11

func (o *AnalyzeGetRequest) GetCurrentResourcesOk() (*ClusterOffer, bool)

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

func (*AnalyzeGetRequest) GetWorkload added in v0.0.11

func (o *AnalyzeGetRequest) GetWorkload() Workload

GetWorkload returns the Workload field value

func (*AnalyzeGetRequest) GetWorkloadOk added in v0.0.11

func (o *AnalyzeGetRequest) GetWorkloadOk() (*Workload, bool)

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

func (AnalyzeGetRequest) MarshalJSON added in v0.0.11

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

func (*AnalyzeGetRequest) SetConstraints added in v0.0.11

func (o *AnalyzeGetRequest) SetConstraints(v Resources)

SetConstraints sets field value

func (*AnalyzeGetRequest) SetCurrentResources added in v0.0.11

func (o *AnalyzeGetRequest) SetCurrentResources(v ClusterOffer)

SetCurrentResources sets field value

func (*AnalyzeGetRequest) SetWorkload added in v0.0.11

func (o *AnalyzeGetRequest) SetWorkload(v Workload)

SetWorkload sets field value

func (AnalyzeGetRequest) ToMap added in v0.0.11

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

func (*AnalyzeGetRequest) UnmarshalJSON added in v0.0.11

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

type AnalyzeGetResponse added in v0.0.11

type AnalyzeGetResponse struct {
	Results []AnalyzerResult `json:"results"`
}

AnalyzeGetResponse Serializer for cluster analyzer response.

func NewAnalyzeGetResponse added in v0.0.11

func NewAnalyzeGetResponse(results []AnalyzerResult) *AnalyzeGetResponse

NewAnalyzeGetResponse instantiates a new AnalyzeGetResponse 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 NewAnalyzeGetResponseWithDefaults added in v0.0.11

func NewAnalyzeGetResponseWithDefaults() *AnalyzeGetResponse

NewAnalyzeGetResponseWithDefaults instantiates a new AnalyzeGetResponse 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 (*AnalyzeGetResponse) GetResults added in v0.0.11

func (o *AnalyzeGetResponse) GetResults() []AnalyzerResult

GetResults returns the Results field value

func (*AnalyzeGetResponse) GetResultsOk added in v0.0.11

func (o *AnalyzeGetResponse) GetResultsOk() ([]AnalyzerResult, bool)

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

func (AnalyzeGetResponse) MarshalJSON added in v0.0.11

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

func (*AnalyzeGetResponse) SetResults added in v0.0.11

func (o *AnalyzeGetResponse) SetResults(v []AnalyzerResult)

SetResults sets field value

func (AnalyzeGetResponse) ToMap added in v0.0.11

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

func (*AnalyzeGetResponse) UnmarshalJSON added in v0.0.11

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

type AnalyzerResult added in v0.0.11

type AnalyzerResult struct {
	Offer ClusterOffer `json:"offer"`
	Score Score        `json:"score"`
}

AnalyzerResult struct for AnalyzerResult

func NewAnalyzerResult added in v0.0.11

func NewAnalyzerResult(offer ClusterOffer, score Score) *AnalyzerResult

NewAnalyzerResult instantiates a new AnalyzerResult 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 NewAnalyzerResultWithDefaults added in v0.0.11

func NewAnalyzerResultWithDefaults() *AnalyzerResult

NewAnalyzerResultWithDefaults instantiates a new AnalyzerResult 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 (*AnalyzerResult) GetOffer added in v0.0.11

func (o *AnalyzerResult) GetOffer() ClusterOffer

GetOffer returns the Offer field value

func (*AnalyzerResult) GetOfferOk added in v0.0.11

func (o *AnalyzerResult) GetOfferOk() (*ClusterOffer, bool)

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

func (*AnalyzerResult) GetScore added in v0.0.11

func (o *AnalyzerResult) GetScore() Score

GetScore returns the Score field value

func (*AnalyzerResult) GetScoreOk added in v0.0.11

func (o *AnalyzerResult) GetScoreOk() (*Score, bool)

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

func (AnalyzerResult) MarshalJSON added in v0.0.11

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

func (*AnalyzerResult) SetOffer added in v0.0.11

func (o *AnalyzerResult) SetOffer(v ClusterOffer)

SetOffer sets field value

func (*AnalyzerResult) SetScore added in v0.0.11

func (o *AnalyzerResult) SetScore(v Score)

SetScore sets field value

func (AnalyzerResult) ToMap added in v0.0.11

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

func (*AnalyzerResult) UnmarshalJSON added in v0.0.11

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

type ApiAnalyzeCreateRequest added in v0.0.11

type ApiAnalyzeCreateRequest struct {
	ApiService *AnalyzeAPIService
	// contains filtered or unexported fields
}

func (ApiAnalyzeCreateRequest) AnalyzeGetRequest added in v0.0.11

func (r ApiAnalyzeCreateRequest) AnalyzeGetRequest(analyzeGetRequest AnalyzeGetRequest) ApiAnalyzeCreateRequest

func (ApiAnalyzeCreateRequest) Execute added in v0.0.11

type ApiClusterActionCreateRequest added in v0.0.8

type ApiClusterActionCreateRequest struct {
	ApiService *ClustersAPIService
	// contains filtered or unexported fields
}

func (ApiClusterActionCreateRequest) Execute added in v0.0.8

func (ApiClusterActionCreateRequest) Wait added in v0.0.8

type ApiClustersCreateRequest added in v0.0.6

type ApiClustersCreateRequest struct {
	ApiService *ClustersAPIService
	// contains filtered or unexported fields
}

func (ApiClustersCreateRequest) ClusterPostRequest added in v0.0.8

func (r ApiClustersCreateRequest) ClusterPostRequest(clusterPostRequest ClusterPostRequest) ApiClustersCreateRequest

func (ApiClustersCreateRequest) Execute added in v0.0.6

type ApiClustersRetrieveRequest added in v0.0.6

type ApiClustersRetrieveRequest struct {
	ApiService *ClustersAPIService
	// contains filtered or unexported fields
}

func (ApiClustersRetrieveRequest) Constraints added in v0.0.7

func (ApiClustersRetrieveRequest) Execute added in v0.0.6

type ApiClustersStatusRetrieveRequest added in v0.0.6

type ApiClustersStatusRetrieveRequest struct {
	ApiService *ClustersAPIService
	// contains filtered or unexported fields
}

func (ApiClustersStatusRetrieveRequest) Execute added in v0.0.6

type ApiConstraintsCreateRequest

type ApiConstraintsCreateRequest struct {
	ApiService *ConstraintsAPIService
	// contains filtered or unexported fields
}

func (ApiConstraintsCreateRequest) ConstrainRequest

func (r ApiConstraintsCreateRequest) ConstrainRequest(constrainRequest ConstrainRequest) ApiConstraintsCreateRequest

func (ApiConstraintsCreateRequest) Execute

type ApiConstraintsPartialUpdateRequest

type ApiConstraintsPartialUpdateRequest struct {
	ApiService *ConstraintsAPIService
	// contains filtered or unexported fields
}

func (ApiConstraintsPartialUpdateRequest) Execute

func (ApiConstraintsPartialUpdateRequest) PatchedConstrainPatchRequest

func (r ApiConstraintsPartialUpdateRequest) PatchedConstrainPatchRequest(patchedConstrainPatchRequest PatchedConstrainPatchRequest) ApiConstraintsPartialUpdateRequest

type ApiCreateJobWithoutClusterRequest added in v0.0.7

type ApiCreateJobWithoutClusterRequest struct {
	ApiService *JobAPIService
	// contains filtered or unexported fields
}

func (ApiCreateJobWithoutClusterRequest) Execute added in v0.0.7

func (ApiCreateJobWithoutClusterRequest) TempJobPostRequest added in v0.0.7

type ApiCreateProjectRequest

type ApiCreateProjectRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectRequest) Execute

func (ApiCreateProjectRequest) ProjectCreateRequest

func (r ApiCreateProjectRequest) ProjectCreateRequest(projectCreateRequest ProjectCreateRequest) ApiCreateProjectRequest

type ApiDeleteProjectRequest

type ApiDeleteProjectRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteProjectRequest) Execute

func (r ApiDeleteProjectRequest) Execute() (*http.Response, error)

type ApiDownloadRetrieveRequest

type ApiDownloadRetrieveRequest struct {
	ApiService *DownloadAPIService
	// contains filtered or unexported fields
}

func (ApiDownloadRetrieveRequest) Execute

func (ApiDownloadRetrieveRequest) Name

The name of the binary to download

type ApiJobsCreateRequest added in v0.0.8

type ApiJobsCreateRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsCreateRequest) Execute added in v0.0.8

func (ApiJobsCreateRequest) TempJobPostRequest added in v0.0.8

func (r ApiJobsCreateRequest) TempJobPostRequest(tempJobPostRequest TempJobPostRequest) ApiJobsCreateRequest

type ApiJobsDestroyRequest

type ApiJobsDestroyRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsDestroyRequest) Execute

func (r ApiJobsDestroyRequest) Execute() (*http.Response, error)

type ApiJobsPartialUpdateRequest added in v0.0.10

type ApiJobsPartialUpdateRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsPartialUpdateRequest) Execute added in v0.0.10

func (ApiJobsPartialUpdateRequest) PatchedJobUpdateRequest added in v0.0.10

func (r ApiJobsPartialUpdateRequest) PatchedJobUpdateRequest(patchedJobUpdateRequest PatchedJobUpdateRequest) ApiJobsPartialUpdateRequest

type ApiJobsRetrieveRequest

type ApiJobsRetrieveRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsRetrieveRequest) Execute

type ApiListProjectsRequest

type ApiListProjectsRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectsRequest) Execute

type ApiProjectsJobsRetrieveRequest

type ApiProjectsJobsRetrieveRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiProjectsJobsRetrieveRequest) Execute

type ApiProvisionRetrieveRequest added in v0.0.8

type ApiProvisionRetrieveRequest struct {
	ApiService *ProvisionAPIService
	// contains filtered or unexported fields
}

func (ApiProvisionRetrieveRequest) Execute added in v0.0.8

type ApiRetrieveProjectRequest

type ApiRetrieveProjectRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveProjectRequest) Execute

type ApiUsersMePublicKeyCreateRequest

type ApiUsersMePublicKeyCreateRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiUsersMePublicKeyCreateRequest) Execute

func (ApiUsersMePublicKeyCreateRequest) UserPublicKeyRequest

func (r ApiUsersMePublicKeyCreateRequest) UserPublicKeyRequest(userPublicKeyRequest UserPublicKeyRequest) ApiUsersMePublicKeyCreateRequest

type ApiUsersMePublicKeyRetrieveRequest

type ApiUsersMePublicKeyRetrieveRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiUsersMePublicKeyRetrieveRequest) Execute

type ApiUsersMeRetrieveRequest

type ApiUsersMeRetrieveRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiUsersMeRetrieveRequest) Execute

type AutoStop added in v0.0.9

type AutoStop struct {
	Id             int32  `json:"id"`
	Enabled        *bool  `json:"enabled,omitempty"`
	TimeoutMinutes *int32 `json:"timeout_minutes,omitempty"`
}

AutoStop struct for AutoStop

func NewAutoStop added in v0.0.9

func NewAutoStop(id int32) *AutoStop

NewAutoStop instantiates a new AutoStop 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 NewAutoStopWithDefaults added in v0.0.9

func NewAutoStopWithDefaults() *AutoStop

NewAutoStopWithDefaults instantiates a new AutoStop 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 (*AutoStop) GetEnabled added in v0.0.9

func (o *AutoStop) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*AutoStop) GetEnabledOk added in v0.0.9

func (o *AutoStop) GetEnabledOk() (*bool, bool)

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

func (*AutoStop) GetId added in v0.0.9

func (o *AutoStop) GetId() int32

GetId returns the Id field value

func (*AutoStop) GetIdOk added in v0.0.9

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

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

func (*AutoStop) GetTimeoutMinutes added in v0.0.9

func (o *AutoStop) GetTimeoutMinutes() int32

GetTimeoutMinutes returns the TimeoutMinutes field value if set, zero value otherwise.

func (*AutoStop) GetTimeoutMinutesOk added in v0.0.9

func (o *AutoStop) GetTimeoutMinutesOk() (*int32, bool)

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

func (*AutoStop) HasEnabled added in v0.0.9

func (o *AutoStop) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*AutoStop) HasTimeoutMinutes added in v0.0.9

func (o *AutoStop) HasTimeoutMinutes() bool

HasTimeoutMinutes returns a boolean if a field has been set.

func (AutoStop) MarshalJSON added in v0.0.9

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

func (*AutoStop) SetEnabled added in v0.0.9

func (o *AutoStop) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*AutoStop) SetId added in v0.0.9

func (o *AutoStop) SetId(v int32)

SetId sets field value

func (*AutoStop) SetTimeoutMinutes added in v0.0.9

func (o *AutoStop) SetTimeoutMinutes(v int32)

SetTimeoutMinutes gets a reference to the given int32 and assigns it to the TimeoutMinutes field.

func (AutoStop) ToMap added in v0.0.9

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

func (*AutoStop) UnmarshalJSON added in v0.0.9

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

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Bucket

type Bucket struct {
	Name          NullableString `json:"name"`
	Mode          NullableString `json:"mode"`
	MountLocation NullableString `json:"mount_location"`
}

Bucket Bucket configuration serializer.

func NewBucket

func NewBucket(name NullableString, mode NullableString, mountLocation NullableString) *Bucket

NewBucket instantiates a new Bucket 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 NewBucketWithDefaults

func NewBucketWithDefaults() *Bucket

NewBucketWithDefaults instantiates a new Bucket 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 (*Bucket) GetMode

func (o *Bucket) GetMode() string

GetMode returns the Mode field value If the value is explicit nil, the zero value for string will be returned

func (*Bucket) GetModeOk

func (o *Bucket) GetModeOk() (*string, bool)

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

func (*Bucket) GetMountLocation

func (o *Bucket) GetMountLocation() string

GetMountLocation returns the MountLocation field value If the value is explicit nil, the zero value for string will be returned

func (*Bucket) GetMountLocationOk

func (o *Bucket) GetMountLocationOk() (*string, bool)

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

func (*Bucket) GetName

func (o *Bucket) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Bucket) GetNameOk

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

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

func (Bucket) MarshalJSON

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

func (*Bucket) SetMode

func (o *Bucket) SetMode(v string)

SetMode sets field value

func (*Bucket) SetMountLocation

func (o *Bucket) SetMountLocation(v string)

SetMountLocation sets field value

func (*Bucket) SetName

func (o *Bucket) SetName(v string)

SetName sets field value

func (Bucket) ToMap added in v0.0.5

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

func (*Bucket) UnmarshalJSON added in v0.0.5

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

type Cluster

type Cluster struct {
	User        User                       `json:"user"`
	Name        string                     `json:"name"`
	LaunchedAt  NullableInt32              `json:"launched_at,omitempty"`
	LastUse     NullableString             `json:"last_use,omitempty"`
	Status      *ClusterStatusEnum         `json:"status,omitempty"`
	Autostop    *int32                     `json:"autostop,omitempty"`
	Metadata    *string                    `json:"metadata,omitempty"`
	ToDown      *bool                      `json:"to_down,omitempty"`
	ClusterHash NullableString             `json:"cluster_hash,omitempty"`
	Handle      NullablePickledHandleField `json:"handle"`
}

Cluster Cluster serializer.

func NewCluster

func NewCluster(user User, name string, handle NullablePickledHandleField) *Cluster

NewCluster instantiates a new Cluster 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 NewClusterWithDefaults

func NewClusterWithDefaults() *Cluster

NewClusterWithDefaults instantiates a new Cluster 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 (*Cluster) GetAutostop

func (o *Cluster) GetAutostop() int32

GetAutostop returns the Autostop field value if set, zero value otherwise.

func (*Cluster) GetAutostopOk

func (o *Cluster) GetAutostopOk() (*int32, bool)

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

func (*Cluster) GetClusterHash

func (o *Cluster) GetClusterHash() string

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

func (*Cluster) GetClusterHashOk

func (o *Cluster) GetClusterHashOk() (*string, bool)

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

func (*Cluster) GetHandle

func (o *Cluster) GetHandle() PickledHandleField

GetHandle returns the Handle field value If the value is explicit nil, the zero value for PickledHandleField will be returned

func (*Cluster) GetHandleOk

func (o *Cluster) GetHandleOk() (*PickledHandleField, bool)

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

func (*Cluster) GetLastUse

func (o *Cluster) GetLastUse() string

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

func (*Cluster) GetLastUseOk

func (o *Cluster) GetLastUseOk() (*string, bool)

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

func (*Cluster) GetLaunchedAt

func (o *Cluster) GetLaunchedAt() int32

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

func (*Cluster) GetLaunchedAtOk

func (o *Cluster) GetLaunchedAtOk() (*int32, bool)

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

func (*Cluster) GetMetadata

func (o *Cluster) GetMetadata() string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Cluster) GetMetadataOk

func (o *Cluster) GetMetadataOk() (*string, bool)

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

func (*Cluster) GetName

func (o *Cluster) GetName() string

GetName returns the Name field value

func (*Cluster) GetNameOk

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

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

func (*Cluster) GetStatus

func (o *Cluster) GetStatus() ClusterStatusEnum

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

func (*Cluster) GetStatusOk

func (o *Cluster) GetStatusOk() (*ClusterStatusEnum, 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 (*Cluster) GetToDown

func (o *Cluster) GetToDown() bool

GetToDown returns the ToDown field value if set, zero value otherwise.

func (*Cluster) GetToDownOk

func (o *Cluster) GetToDownOk() (*bool, bool)

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

func (*Cluster) GetUser

func (o *Cluster) GetUser() User

GetUser returns the User field value

func (*Cluster) GetUserOk

func (o *Cluster) GetUserOk() (*User, bool)

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

func (*Cluster) HasAutostop

func (o *Cluster) HasAutostop() bool

HasAutostop returns a boolean if a field has been set.

func (*Cluster) HasClusterHash

func (o *Cluster) HasClusterHash() bool

HasClusterHash returns a boolean if a field has been set.

func (*Cluster) HasLastUse

func (o *Cluster) HasLastUse() bool

HasLastUse returns a boolean if a field has been set.

func (*Cluster) HasLaunchedAt

func (o *Cluster) HasLaunchedAt() bool

HasLaunchedAt returns a boolean if a field has been set.

func (*Cluster) HasMetadata

func (o *Cluster) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Cluster) HasStatus

func (o *Cluster) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Cluster) HasToDown

func (o *Cluster) HasToDown() bool

HasToDown returns a boolean if a field has been set.

func (Cluster) MarshalJSON

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

func (*Cluster) SetAutostop

func (o *Cluster) SetAutostop(v int32)

SetAutostop gets a reference to the given int32 and assigns it to the Autostop field.

func (*Cluster) SetClusterHash

func (o *Cluster) SetClusterHash(v string)

SetClusterHash gets a reference to the given NullableString and assigns it to the ClusterHash field.

func (*Cluster) SetClusterHashNil

func (o *Cluster) SetClusterHashNil()

SetClusterHashNil sets the value for ClusterHash to be an explicit nil

func (*Cluster) SetHandle

func (o *Cluster) SetHandle(v PickledHandleField)

SetHandle sets field value

func (*Cluster) SetLastUse

func (o *Cluster) SetLastUse(v string)

SetLastUse gets a reference to the given NullableString and assigns it to the LastUse field.

func (*Cluster) SetLastUseNil

func (o *Cluster) SetLastUseNil()

SetLastUseNil sets the value for LastUse to be an explicit nil

func (*Cluster) SetLaunchedAt

func (o *Cluster) SetLaunchedAt(v int32)

SetLaunchedAt gets a reference to the given NullableInt32 and assigns it to the LaunchedAt field.

func (*Cluster) SetLaunchedAtNil

func (o *Cluster) SetLaunchedAtNil()

SetLaunchedAtNil sets the value for LaunchedAt to be an explicit nil

func (*Cluster) SetMetadata

func (o *Cluster) SetMetadata(v string)

SetMetadata gets a reference to the given string and assigns it to the Metadata field.

func (*Cluster) SetName

func (o *Cluster) SetName(v string)

SetName sets field value

func (*Cluster) SetStatus

func (o *Cluster) SetStatus(v ClusterStatusEnum)

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

func (*Cluster) SetToDown

func (o *Cluster) SetToDown(v bool)

SetToDown gets a reference to the given bool and assigns it to the ToDown field.

func (*Cluster) SetUser

func (o *Cluster) SetUser(v User)

SetUser sets field value

func (Cluster) ToMap added in v0.0.5

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

func (*Cluster) UnmarshalJSON added in v0.0.5

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

func (*Cluster) UnsetClusterHash

func (o *Cluster) UnsetClusterHash()

UnsetClusterHash ensures that no value is present for ClusterHash, not even an explicit nil

func (*Cluster) UnsetLastUse

func (o *Cluster) UnsetLastUse()

UnsetLastUse ensures that no value is present for LastUse, not even an explicit nil

func (*Cluster) UnsetLaunchedAt

func (o *Cluster) UnsetLaunchedAt()

UnsetLaunchedAt ensures that no value is present for LaunchedAt, not even an explicit nil

type ClusterActionRequest added in v0.0.6

type ClusterActionRequest struct {
	ClusterName string     `json:"cluster_name"`
	Action      ActionEnum `json:"action"`
	Wait        *bool      `json:"wait,omitempty"`
}

ClusterActionRequest Cluster action request serializer.

func NewClusterActionRequest added in v0.0.6

func NewClusterActionRequest(clusterName string, action ActionEnum) *ClusterActionRequest

NewClusterActionRequest instantiates a new ClusterActionRequest 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 NewClusterActionRequestWithDefaults added in v0.0.6

func NewClusterActionRequestWithDefaults() *ClusterActionRequest

NewClusterActionRequestWithDefaults instantiates a new ClusterActionRequest 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 (*ClusterActionRequest) GetAction added in v0.0.6

func (o *ClusterActionRequest) GetAction() ActionEnum

GetAction returns the Action field value

func (*ClusterActionRequest) GetActionOk added in v0.0.6

func (o *ClusterActionRequest) GetActionOk() (*ActionEnum, bool)

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

func (*ClusterActionRequest) GetClusterName added in v0.0.6

func (o *ClusterActionRequest) GetClusterName() string

GetClusterName returns the ClusterName field value

func (*ClusterActionRequest) GetClusterNameOk added in v0.0.6

func (o *ClusterActionRequest) GetClusterNameOk() (*string, bool)

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

func (*ClusterActionRequest) GetWait added in v0.0.6

func (o *ClusterActionRequest) GetWait() bool

GetWait returns the Wait field value if set, zero value otherwise.

func (*ClusterActionRequest) GetWaitOk added in v0.0.6

func (o *ClusterActionRequest) GetWaitOk() (*bool, bool)

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

func (*ClusterActionRequest) HasWait added in v0.0.6

func (o *ClusterActionRequest) HasWait() bool

HasWait returns a boolean if a field has been set.

func (ClusterActionRequest) MarshalJSON added in v0.0.6

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

func (*ClusterActionRequest) SetAction added in v0.0.6

func (o *ClusterActionRequest) SetAction(v ActionEnum)

SetAction sets field value

func (*ClusterActionRequest) SetClusterName added in v0.0.6

func (o *ClusterActionRequest) SetClusterName(v string)

SetClusterName sets field value

func (*ClusterActionRequest) SetWait added in v0.0.6

func (o *ClusterActionRequest) SetWait(v bool)

SetWait gets a reference to the given bool and assigns it to the Wait field.

func (ClusterActionRequest) ToMap added in v0.0.6

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

func (*ClusterActionRequest) UnmarshalJSON added in v0.0.6

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

type ClusterActionResponse added in v0.0.6

type ClusterActionResponse struct {
	ClusterName string `json:"cluster_name"`
	Status      string `json:"status"`
	Message     string `json:"message"`
}

ClusterActionResponse Cluster action response serializer.

func NewClusterActionResponse added in v0.0.6

func NewClusterActionResponse(clusterName string, status string, message string) *ClusterActionResponse

NewClusterActionResponse instantiates a new ClusterActionResponse 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 NewClusterActionResponseWithDefaults added in v0.0.6

func NewClusterActionResponseWithDefaults() *ClusterActionResponse

NewClusterActionResponseWithDefaults instantiates a new ClusterActionResponse 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 (*ClusterActionResponse) GetClusterName added in v0.0.6

func (o *ClusterActionResponse) GetClusterName() string

GetClusterName returns the ClusterName field value

func (*ClusterActionResponse) GetClusterNameOk added in v0.0.6

func (o *ClusterActionResponse) GetClusterNameOk() (*string, bool)

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

func (*ClusterActionResponse) GetMessage added in v0.0.6

func (o *ClusterActionResponse) GetMessage() string

GetMessage returns the Message field value

func (*ClusterActionResponse) GetMessageOk added in v0.0.6

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

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

func (*ClusterActionResponse) GetStatus added in v0.0.6

func (o *ClusterActionResponse) GetStatus() string

GetStatus returns the Status field value

func (*ClusterActionResponse) GetStatusOk added in v0.0.6

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

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

func (ClusterActionResponse) MarshalJSON added in v0.0.6

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

func (*ClusterActionResponse) SetClusterName added in v0.0.6

func (o *ClusterActionResponse) SetClusterName(v string)

SetClusterName sets field value

func (*ClusterActionResponse) SetMessage added in v0.0.6

func (o *ClusterActionResponse) SetMessage(v string)

SetMessage sets field value

func (*ClusterActionResponse) SetStatus added in v0.0.6

func (o *ClusterActionResponse) SetStatus(v string)

SetStatus sets field value

func (ClusterActionResponse) ToMap added in v0.0.6

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

func (*ClusterActionResponse) UnmarshalJSON added in v0.0.6

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

type ClusterListResponse added in v0.0.6

type ClusterListResponse struct {
	Clusters []Cluster `json:"clusters"`
}

ClusterListResponse Cluster list response serializer.

func NewClusterListResponse added in v0.0.6

func NewClusterListResponse(clusters []Cluster) *ClusterListResponse

NewClusterListResponse instantiates a new ClusterListResponse 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 NewClusterListResponseWithDefaults added in v0.0.6

func NewClusterListResponseWithDefaults() *ClusterListResponse

NewClusterListResponseWithDefaults instantiates a new ClusterListResponse 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 (*ClusterListResponse) GetClusters added in v0.0.6

func (o *ClusterListResponse) GetClusters() []Cluster

GetClusters returns the Clusters field value

func (*ClusterListResponse) GetClustersOk added in v0.0.6

func (o *ClusterListResponse) GetClustersOk() ([]Cluster, bool)

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

func (ClusterListResponse) MarshalJSON added in v0.0.6

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

func (*ClusterListResponse) SetClusters added in v0.0.6

func (o *ClusterListResponse) SetClusters(v []Cluster)

SetClusters sets field value

func (ClusterListResponse) ToMap added in v0.0.6

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

func (*ClusterListResponse) UnmarshalJSON added in v0.0.6

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

type ClusterOffer

type ClusterOffer struct {
	DiskSize         NullableInt32   `json:"disk_size,omitempty"`
	Cloud            NullableString  `json:"cloud,omitempty"`
	JobRecovery      NullableString  `json:"job_recovery,omitempty"`
	DiskTier         NullableString  `json:"disk_tier,omitempty"`
	Memory           NullableInt32   `json:"memory,omitempty"`
	AcceleratorArgs  interface{}     `json:"accelerator_args,omitempty"`
	Region           NullableString  `json:"region,omitempty"`
	Price            NullableFloat64 `json:"price,omitempty"`
	Storage          NullableString  `json:"storage,omitempty"`
	InstanceType     NullableString  `json:"instance_type,omitempty"`
	Cpus             NullableInt32   `json:"cpus,omitempty"`
	Accelerators     interface{}     `json:"accelerators,omitempty"`
	UseSpot          NullableBool    `json:"use_spot,omitempty"`
	Zone             NullableString  `json:"zone,omitempty"`
	ImageId          interface{}     `json:"image_id,omitempty"`
	Ports            interface{}     `json:"ports,omitempty"`
	Labels           interface{}     `json:"labels,omitempty"`
	AcceleratorCount interface{}     `json:"accelerator_count,omitempty"`
	Regions          interface{}     `json:"regions,omitempty"`
}

ClusterOffer struct for ClusterOffer

func NewClusterOffer

func NewClusterOffer() *ClusterOffer

NewClusterOffer instantiates a new ClusterOffer 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 NewClusterOfferWithDefaults

func NewClusterOfferWithDefaults() *ClusterOffer

NewClusterOfferWithDefaults instantiates a new ClusterOffer 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 (*ClusterOffer) GetAcceleratorArgs

func (o *ClusterOffer) GetAcceleratorArgs() interface{}

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

func (*ClusterOffer) GetAcceleratorArgsOk

func (o *ClusterOffer) GetAcceleratorArgsOk() (*interface{}, bool)

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

func (*ClusterOffer) GetAcceleratorCount

func (o *ClusterOffer) GetAcceleratorCount() interface{}

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

func (*ClusterOffer) GetAcceleratorCountOk

func (o *ClusterOffer) GetAcceleratorCountOk() (*interface{}, bool)

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

func (*ClusterOffer) GetAccelerators

func (o *ClusterOffer) GetAccelerators() interface{}

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

func (*ClusterOffer) GetAcceleratorsOk

func (o *ClusterOffer) GetAcceleratorsOk() (*interface{}, bool)

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

func (*ClusterOffer) GetCloud

func (o *ClusterOffer) GetCloud() string

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

func (*ClusterOffer) GetCloudOk

func (o *ClusterOffer) GetCloudOk() (*string, bool)

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

func (*ClusterOffer) GetCpus

func (o *ClusterOffer) GetCpus() int32

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

func (*ClusterOffer) GetCpusOk

func (o *ClusterOffer) GetCpusOk() (*int32, bool)

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

func (*ClusterOffer) GetDiskSize

func (o *ClusterOffer) GetDiskSize() int32

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

func (*ClusterOffer) GetDiskSizeOk

func (o *ClusterOffer) GetDiskSizeOk() (*int32, bool)

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

func (*ClusterOffer) GetDiskTier

func (o *ClusterOffer) GetDiskTier() string

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

func (*ClusterOffer) GetDiskTierOk

func (o *ClusterOffer) GetDiskTierOk() (*string, bool)

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

func (*ClusterOffer) GetImageId

func (o *ClusterOffer) GetImageId() interface{}

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

func (*ClusterOffer) GetImageIdOk

func (o *ClusterOffer) GetImageIdOk() (*interface{}, bool)

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

func (*ClusterOffer) GetInstanceType

func (o *ClusterOffer) GetInstanceType() string

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

func (*ClusterOffer) GetInstanceTypeOk

func (o *ClusterOffer) GetInstanceTypeOk() (*string, bool)

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

func (*ClusterOffer) GetJobRecovery

func (o *ClusterOffer) GetJobRecovery() string

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

func (*ClusterOffer) GetJobRecoveryOk

func (o *ClusterOffer) GetJobRecoveryOk() (*string, bool)

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

func (*ClusterOffer) GetLabels

func (o *ClusterOffer) GetLabels() interface{}

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

func (*ClusterOffer) GetLabelsOk

func (o *ClusterOffer) GetLabelsOk() (*interface{}, bool)

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

func (*ClusterOffer) GetMemory

func (o *ClusterOffer) GetMemory() int32

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

func (*ClusterOffer) GetMemoryOk

func (o *ClusterOffer) GetMemoryOk() (*int32, bool)

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

func (*ClusterOffer) GetPorts

func (o *ClusterOffer) GetPorts() interface{}

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

func (*ClusterOffer) GetPortsOk

func (o *ClusterOffer) GetPortsOk() (*interface{}, bool)

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

func (*ClusterOffer) GetPrice

func (o *ClusterOffer) GetPrice() float64

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

func (*ClusterOffer) GetPriceOk

func (o *ClusterOffer) GetPriceOk() (*float64, bool)

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

func (*ClusterOffer) GetRegion

func (o *ClusterOffer) GetRegion() string

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

func (*ClusterOffer) GetRegionOk

func (o *ClusterOffer) GetRegionOk() (*string, bool)

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

func (*ClusterOffer) GetRegions

func (o *ClusterOffer) GetRegions() interface{}

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

func (*ClusterOffer) GetRegionsOk

func (o *ClusterOffer) GetRegionsOk() (*interface{}, bool)

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

func (*ClusterOffer) GetStorage

func (o *ClusterOffer) GetStorage() string

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

func (*ClusterOffer) GetStorageOk

func (o *ClusterOffer) GetStorageOk() (*string, bool)

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

func (*ClusterOffer) GetUseSpot

func (o *ClusterOffer) GetUseSpot() bool

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

func (*ClusterOffer) GetUseSpotOk

func (o *ClusterOffer) GetUseSpotOk() (*bool, bool)

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

func (*ClusterOffer) GetZone

func (o *ClusterOffer) GetZone() string

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

func (*ClusterOffer) GetZoneOk

func (o *ClusterOffer) GetZoneOk() (*string, bool)

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

func (*ClusterOffer) HasAcceleratorArgs

func (o *ClusterOffer) HasAcceleratorArgs() bool

HasAcceleratorArgs returns a boolean if a field has been set.

func (*ClusterOffer) HasAcceleratorCount

func (o *ClusterOffer) HasAcceleratorCount() bool

HasAcceleratorCount returns a boolean if a field has been set.

func (*ClusterOffer) HasAccelerators

func (o *ClusterOffer) HasAccelerators() bool

HasAccelerators returns a boolean if a field has been set.

func (*ClusterOffer) HasCloud

func (o *ClusterOffer) HasCloud() bool

HasCloud returns a boolean if a field has been set.

func (*ClusterOffer) HasCpus

func (o *ClusterOffer) HasCpus() bool

HasCpus returns a boolean if a field has been set.

func (*ClusterOffer) HasDiskSize

func (o *ClusterOffer) HasDiskSize() bool

HasDiskSize returns a boolean if a field has been set.

func (*ClusterOffer) HasDiskTier

func (o *ClusterOffer) HasDiskTier() bool

HasDiskTier returns a boolean if a field has been set.

func (*ClusterOffer) HasImageId

func (o *ClusterOffer) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*ClusterOffer) HasInstanceType

func (o *ClusterOffer) HasInstanceType() bool

HasInstanceType returns a boolean if a field has been set.

func (*ClusterOffer) HasJobRecovery

func (o *ClusterOffer) HasJobRecovery() bool

HasJobRecovery returns a boolean if a field has been set.

func (*ClusterOffer) HasLabels

func (o *ClusterOffer) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ClusterOffer) HasMemory

func (o *ClusterOffer) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*ClusterOffer) HasPorts

func (o *ClusterOffer) HasPorts() bool

HasPorts returns a boolean if a field has been set.

func (*ClusterOffer) HasPrice

func (o *ClusterOffer) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*ClusterOffer) HasRegion

func (o *ClusterOffer) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*ClusterOffer) HasRegions

func (o *ClusterOffer) HasRegions() bool

HasRegions returns a boolean if a field has been set.

func (*ClusterOffer) HasStorage

func (o *ClusterOffer) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*ClusterOffer) HasUseSpot

func (o *ClusterOffer) HasUseSpot() bool

HasUseSpot returns a boolean if a field has been set.

func (*ClusterOffer) HasZone

func (o *ClusterOffer) HasZone() bool

HasZone returns a boolean if a field has been set.

func (ClusterOffer) MarshalJSON

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

func (*ClusterOffer) SetAcceleratorArgs

func (o *ClusterOffer) SetAcceleratorArgs(v interface{})

SetAcceleratorArgs gets a reference to the given interface{} and assigns it to the AcceleratorArgs field.

func (*ClusterOffer) SetAcceleratorCount

func (o *ClusterOffer) SetAcceleratorCount(v interface{})

SetAcceleratorCount gets a reference to the given interface{} and assigns it to the AcceleratorCount field.

func (*ClusterOffer) SetAccelerators

func (o *ClusterOffer) SetAccelerators(v interface{})

SetAccelerators gets a reference to the given interface{} and assigns it to the Accelerators field.

func (*ClusterOffer) SetCloud

func (o *ClusterOffer) SetCloud(v string)

SetCloud gets a reference to the given NullableString and assigns it to the Cloud field.

func (*ClusterOffer) SetCloudNil

func (o *ClusterOffer) SetCloudNil()

SetCloudNil sets the value for Cloud to be an explicit nil

func (*ClusterOffer) SetCpus

func (o *ClusterOffer) SetCpus(v int32)

SetCpus gets a reference to the given NullableInt32 and assigns it to the Cpus field.

func (*ClusterOffer) SetCpusNil

func (o *ClusterOffer) SetCpusNil()

SetCpusNil sets the value for Cpus to be an explicit nil

func (*ClusterOffer) SetDiskSize

func (o *ClusterOffer) SetDiskSize(v int32)

SetDiskSize gets a reference to the given NullableInt32 and assigns it to the DiskSize field.

func (*ClusterOffer) SetDiskSizeNil

func (o *ClusterOffer) SetDiskSizeNil()

SetDiskSizeNil sets the value for DiskSize to be an explicit nil

func (*ClusterOffer) SetDiskTier

func (o *ClusterOffer) SetDiskTier(v string)

SetDiskTier gets a reference to the given NullableString and assigns it to the DiskTier field.

func (*ClusterOffer) SetDiskTierNil

func (o *ClusterOffer) SetDiskTierNil()

SetDiskTierNil sets the value for DiskTier to be an explicit nil

func (*ClusterOffer) SetImageId

func (o *ClusterOffer) SetImageId(v interface{})

SetImageId gets a reference to the given interface{} and assigns it to the ImageId field.

func (*ClusterOffer) SetInstanceType

func (o *ClusterOffer) SetInstanceType(v string)

SetInstanceType gets a reference to the given NullableString and assigns it to the InstanceType field.

func (*ClusterOffer) SetInstanceTypeNil

func (o *ClusterOffer) SetInstanceTypeNil()

SetInstanceTypeNil sets the value for InstanceType to be an explicit nil

func (*ClusterOffer) SetJobRecovery

func (o *ClusterOffer) SetJobRecovery(v string)

SetJobRecovery gets a reference to the given NullableString and assigns it to the JobRecovery field.

func (*ClusterOffer) SetJobRecoveryNil

func (o *ClusterOffer) SetJobRecoveryNil()

SetJobRecoveryNil sets the value for JobRecovery to be an explicit nil

func (*ClusterOffer) SetLabels

func (o *ClusterOffer) SetLabels(v interface{})

SetLabels gets a reference to the given interface{} and assigns it to the Labels field.

func (*ClusterOffer) SetMemory

func (o *ClusterOffer) SetMemory(v int32)

SetMemory gets a reference to the given NullableInt32 and assigns it to the Memory field.

func (*ClusterOffer) SetMemoryNil

func (o *ClusterOffer) SetMemoryNil()

SetMemoryNil sets the value for Memory to be an explicit nil

func (*ClusterOffer) SetPorts

func (o *ClusterOffer) SetPorts(v interface{})

SetPorts gets a reference to the given interface{} and assigns it to the Ports field.

func (*ClusterOffer) SetPrice

func (o *ClusterOffer) SetPrice(v float64)

SetPrice gets a reference to the given NullableFloat64 and assigns it to the Price field.

func (*ClusterOffer) SetPriceNil

func (o *ClusterOffer) SetPriceNil()

SetPriceNil sets the value for Price to be an explicit nil

func (*ClusterOffer) SetRegion

func (o *ClusterOffer) SetRegion(v string)

SetRegion gets a reference to the given NullableString and assigns it to the Region field.

func (*ClusterOffer) SetRegionNil

func (o *ClusterOffer) SetRegionNil()

SetRegionNil sets the value for Region to be an explicit nil

func (*ClusterOffer) SetRegions

func (o *ClusterOffer) SetRegions(v interface{})

SetRegions gets a reference to the given interface{} and assigns it to the Regions field.

func (*ClusterOffer) SetStorage

func (o *ClusterOffer) SetStorage(v string)

SetStorage gets a reference to the given NullableString and assigns it to the Storage field.

func (*ClusterOffer) SetStorageNil

func (o *ClusterOffer) SetStorageNil()

SetStorageNil sets the value for Storage to be an explicit nil

func (*ClusterOffer) SetUseSpot

func (o *ClusterOffer) SetUseSpot(v bool)

SetUseSpot gets a reference to the given NullableBool and assigns it to the UseSpot field.

func (*ClusterOffer) SetUseSpotNil

func (o *ClusterOffer) SetUseSpotNil()

SetUseSpotNil sets the value for UseSpot to be an explicit nil

func (*ClusterOffer) SetZone

func (o *ClusterOffer) SetZone(v string)

SetZone gets a reference to the given NullableString and assigns it to the Zone field.

func (*ClusterOffer) SetZoneNil

func (o *ClusterOffer) SetZoneNil()

SetZoneNil sets the value for Zone to be an explicit nil

func (ClusterOffer) ToMap added in v0.0.5

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

func (*ClusterOffer) UnsetCloud

func (o *ClusterOffer) UnsetCloud()

UnsetCloud ensures that no value is present for Cloud, not even an explicit nil

func (*ClusterOffer) UnsetCpus

func (o *ClusterOffer) UnsetCpus()

UnsetCpus ensures that no value is present for Cpus, not even an explicit nil

func (*ClusterOffer) UnsetDiskSize

func (o *ClusterOffer) UnsetDiskSize()

UnsetDiskSize ensures that no value is present for DiskSize, not even an explicit nil

func (*ClusterOffer) UnsetDiskTier

func (o *ClusterOffer) UnsetDiskTier()

UnsetDiskTier ensures that no value is present for DiskTier, not even an explicit nil

func (*ClusterOffer) UnsetInstanceType

func (o *ClusterOffer) UnsetInstanceType()

UnsetInstanceType ensures that no value is present for InstanceType, not even an explicit nil

func (*ClusterOffer) UnsetJobRecovery

func (o *ClusterOffer) UnsetJobRecovery()

UnsetJobRecovery ensures that no value is present for JobRecovery, not even an explicit nil

func (*ClusterOffer) UnsetMemory

func (o *ClusterOffer) UnsetMemory()

UnsetMemory ensures that no value is present for Memory, not even an explicit nil

func (*ClusterOffer) UnsetPrice

func (o *ClusterOffer) UnsetPrice()

UnsetPrice ensures that no value is present for Price, not even an explicit nil

func (*ClusterOffer) UnsetRegion

func (o *ClusterOffer) UnsetRegion()

UnsetRegion ensures that no value is present for Region, not even an explicit nil

func (*ClusterOffer) UnsetStorage

func (o *ClusterOffer) UnsetStorage()

UnsetStorage ensures that no value is present for Storage, not even an explicit nil

func (*ClusterOffer) UnsetUseSpot

func (o *ClusterOffer) UnsetUseSpot()

UnsetUseSpot ensures that no value is present for UseSpot, not even an explicit nil

func (*ClusterOffer) UnsetZone

func (o *ClusterOffer) UnsetZone()

UnsetZone ensures that no value is present for Zone, not even an explicit nil

type ClusterPostRequest added in v0.0.8

type ClusterPostRequest struct {
	Choice  ClusterOffer     `json:"choice"`
	Config  ConstrainRequest `json:"config"`
	Project Project          `json:"project"`
}

ClusterPostRequest Clister post request serializer.

func NewClusterPostRequest added in v0.0.8

func NewClusterPostRequest(choice ClusterOffer, config ConstrainRequest, project Project) *ClusterPostRequest

NewClusterPostRequest instantiates a new ClusterPostRequest 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 NewClusterPostRequestWithDefaults added in v0.0.8

func NewClusterPostRequestWithDefaults() *ClusterPostRequest

NewClusterPostRequestWithDefaults instantiates a new ClusterPostRequest 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 (*ClusterPostRequest) GetChoice added in v0.0.8

func (o *ClusterPostRequest) GetChoice() ClusterOffer

GetChoice returns the Choice field value

func (*ClusterPostRequest) GetChoiceOk added in v0.0.8

func (o *ClusterPostRequest) GetChoiceOk() (*ClusterOffer, bool)

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

func (*ClusterPostRequest) GetConfig added in v0.0.8

func (o *ClusterPostRequest) GetConfig() ConstrainRequest

GetConfig returns the Config field value

func (*ClusterPostRequest) GetConfigOk added in v0.0.8

func (o *ClusterPostRequest) GetConfigOk() (*ConstrainRequest, bool)

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

func (*ClusterPostRequest) GetProject added in v0.0.8

func (o *ClusterPostRequest) GetProject() Project

GetProject returns the Project field value

func (*ClusterPostRequest) GetProjectOk added in v0.0.8

func (o *ClusterPostRequest) GetProjectOk() (*Project, bool)

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

func (ClusterPostRequest) MarshalJSON added in v0.0.8

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

func (*ClusterPostRequest) SetChoice added in v0.0.8

func (o *ClusterPostRequest) SetChoice(v ClusterOffer)

SetChoice sets field value

func (*ClusterPostRequest) SetConfig added in v0.0.8

func (o *ClusterPostRequest) SetConfig(v ConstrainRequest)

SetConfig sets field value

func (*ClusterPostRequest) SetProject added in v0.0.8

func (o *ClusterPostRequest) SetProject(v Project)

SetProject sets field value

func (ClusterPostRequest) ToMap added in v0.0.8

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

func (*ClusterPostRequest) UnmarshalJSON added in v0.0.8

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

type ClusterPostResponse added in v0.0.8

type ClusterPostResponse struct {
	ProvisionLogId string `json:"provision_log_id"`
}

ClusterPostResponse struct for ClusterPostResponse

func NewClusterPostResponse added in v0.0.8

func NewClusterPostResponse(provisionLogId string) *ClusterPostResponse

NewClusterPostResponse instantiates a new ClusterPostResponse 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 NewClusterPostResponseWithDefaults added in v0.0.8

func NewClusterPostResponseWithDefaults() *ClusterPostResponse

NewClusterPostResponseWithDefaults instantiates a new ClusterPostResponse 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 (*ClusterPostResponse) GetProvisionLogId added in v0.0.8

func (o *ClusterPostResponse) GetProvisionLogId() string

GetProvisionLogId returns the ProvisionLogId field value

func (*ClusterPostResponse) GetProvisionLogIdOk added in v0.0.8

func (o *ClusterPostResponse) GetProvisionLogIdOk() (*string, bool)

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

func (ClusterPostResponse) MarshalJSON added in v0.0.8

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

func (*ClusterPostResponse) SetProvisionLogId added in v0.0.8

func (o *ClusterPostResponse) SetProvisionLogId(v string)

SetProvisionLogId sets field value

func (ClusterPostResponse) ToMap added in v0.0.8

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

func (*ClusterPostResponse) UnmarshalJSON added in v0.0.8

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

type ClusterStatusEnum

type ClusterStatusEnum string

ClusterStatusEnum * `INIT` - INIT * `UP` - UP * `STOPPED` - STOPPED * `ERROR` - ERROR

const (
	INIT    ClusterStatusEnum = "INIT"
	UP      ClusterStatusEnum = "UP"
	STOPPED ClusterStatusEnum = "STOPPED"
	ERROR   ClusterStatusEnum = "ERROR"
)

List of ClusterStatusEnum

func NewClusterStatusEnumFromValue

func NewClusterStatusEnumFromValue(v string) (*ClusterStatusEnum, error)

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

func (ClusterStatusEnum) IsValid

func (v ClusterStatusEnum) IsValid() bool

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

func (ClusterStatusEnum) Ptr

Ptr returns reference to ClusterStatusEnum value

func (*ClusterStatusEnum) UnmarshalJSON

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

type ClusterStatusResponse added in v0.0.6

type ClusterStatusResponse struct {
	ClusterName string `json:"cluster_name"`
	Status      string `json:"status"`
}

ClusterStatusResponse Cluster status response serializer.

func NewClusterStatusResponse added in v0.0.6

func NewClusterStatusResponse(clusterName string, status string) *ClusterStatusResponse

NewClusterStatusResponse instantiates a new ClusterStatusResponse 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 NewClusterStatusResponseWithDefaults added in v0.0.6

func NewClusterStatusResponseWithDefaults() *ClusterStatusResponse

NewClusterStatusResponseWithDefaults instantiates a new ClusterStatusResponse 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 (*ClusterStatusResponse) GetClusterName added in v0.0.6

func (o *ClusterStatusResponse) GetClusterName() string

GetClusterName returns the ClusterName field value

func (*ClusterStatusResponse) GetClusterNameOk added in v0.0.6

func (o *ClusterStatusResponse) GetClusterNameOk() (*string, bool)

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

func (*ClusterStatusResponse) GetStatus added in v0.0.6

func (o *ClusterStatusResponse) GetStatus() string

GetStatus returns the Status field value

func (*ClusterStatusResponse) GetStatusOk added in v0.0.6

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

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

func (ClusterStatusResponse) MarshalJSON added in v0.0.6

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

func (*ClusterStatusResponse) SetClusterName added in v0.0.6

func (o *ClusterStatusResponse) SetClusterName(v string)

SetClusterName sets field value

func (*ClusterStatusResponse) SetStatus added in v0.0.6

func (o *ClusterStatusResponse) SetStatus(v string)

SetStatus sets field value

func (ClusterStatusResponse) ToMap added in v0.0.6

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

func (*ClusterStatusResponse) UnmarshalJSON added in v0.0.6

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

type ClustersAPIService added in v0.0.6

type ClustersAPIService service

ClustersAPIService ClustersAPI service

func (*ClustersAPIService) ClusterActionCreate added in v0.0.8

func (a *ClustersAPIService) ClusterActionCreate(ctx context.Context, action string, clusterName string) ApiClusterActionCreateRequest

ClusterActionCreate Method for ClusterActionCreate

Perform an action (start, stop, pause, resume) on a Cluster.

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

func (*ClustersAPIService) ClusterActionCreateExecute added in v0.0.8

Execute executes the request

@return ClusterActionResponse

func (*ClustersAPIService) ClustersCreate added in v0.0.6

ClustersCreate Method for ClustersCreate

Launch a cluster configuration.

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

func (*ClustersAPIService) ClustersCreateExecute added in v0.0.6

Execute executes the request

@return ClusterPostResponse

func (*ClustersAPIService) ClustersRetrieve added in v0.0.6

ClustersRetrieve Method for ClustersRetrieve

Retrieve a list of all Clusters for the whole organization.

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

func (*ClustersAPIService) ClustersRetrieveExecute added in v0.0.6

Execute executes the request

@return ClusterListResponse

func (*ClustersAPIService) ClustersStatusRetrieve added in v0.0.6

func (a *ClustersAPIService) ClustersStatusRetrieve(ctx context.Context, clusterName string) ApiClustersStatusRetrieveRequest

ClustersStatusRetrieve Method for ClustersStatusRetrieve

Retrieve the current status of a Cluster.

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

func (*ClustersAPIService) ClustersStatusRetrieveExecute added in v0.0.6

Execute executes the request

@return ClusterStatusResponse

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ConstrainRequest

type ConstrainRequest struct {
	Project   Project                `json:"project"`
	Setup     NullableScript         `json:"setup,omitempty"`
	Run       NullableScript         `json:"run,omitempty"`
	Teardown  NullableScript         `json:"teardown,omitempty"`
	Resources Resources              `json:"resources"`
	JobConfig NullableJobConfig      `json:"job_config"`
	Io        NullableIO             `json:"io"`
	Flags     map[string]interface{} `json:"flags,omitempty"`
}

ConstrainRequest Configuration serializer for cluster constraints. Validates the full configuration schema including project details, scripts, resource requirements, and IO specifications.

func NewConstrainRequest

func NewConstrainRequest(project Project, resources Resources, jobConfig NullableJobConfig, io NullableIO) *ConstrainRequest

NewConstrainRequest instantiates a new ConstrainRequest 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 NewConstrainRequestWithDefaults

func NewConstrainRequestWithDefaults() *ConstrainRequest

NewConstrainRequestWithDefaults instantiates a new ConstrainRequest 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 (*ConstrainRequest) GetFlags added in v0.0.12

func (o *ConstrainRequest) GetFlags() map[string]interface{}

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

func (*ConstrainRequest) GetFlagsOk added in v0.0.12

func (o *ConstrainRequest) GetFlagsOk() (map[string]interface{}, bool)

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

func (*ConstrainRequest) GetIo

func (o *ConstrainRequest) GetIo() IO

GetIo returns the Io field value If the value is explicit nil, the zero value for IO will be returned

func (*ConstrainRequest) GetIoOk

func (o *ConstrainRequest) GetIoOk() (*IO, bool)

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

func (*ConstrainRequest) GetJobConfig added in v0.0.10

func (o *ConstrainRequest) GetJobConfig() JobConfig

GetJobConfig returns the JobConfig field value If the value is explicit nil, the zero value for JobConfig will be returned

func (*ConstrainRequest) GetJobConfigOk added in v0.0.10

func (o *ConstrainRequest) GetJobConfigOk() (*JobConfig, bool)

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

func (*ConstrainRequest) GetProject

func (o *ConstrainRequest) GetProject() Project

GetProject returns the Project field value

func (*ConstrainRequest) GetProjectOk

func (o *ConstrainRequest) GetProjectOk() (*Project, bool)

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

func (*ConstrainRequest) GetResources

func (o *ConstrainRequest) GetResources() Resources

GetResources returns the Resources field value

func (*ConstrainRequest) GetResourcesOk

func (o *ConstrainRequest) GetResourcesOk() (*Resources, bool)

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

func (*ConstrainRequest) GetRun

func (o *ConstrainRequest) GetRun() Script

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

func (*ConstrainRequest) GetRunOk

func (o *ConstrainRequest) GetRunOk() (*Script, bool)

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

func (*ConstrainRequest) GetSetup

func (o *ConstrainRequest) GetSetup() Script

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

func (*ConstrainRequest) GetSetupOk

func (o *ConstrainRequest) GetSetupOk() (*Script, bool)

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

func (*ConstrainRequest) GetTeardown

func (o *ConstrainRequest) GetTeardown() Script

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

func (*ConstrainRequest) GetTeardownOk

func (o *ConstrainRequest) GetTeardownOk() (*Script, bool)

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

func (*ConstrainRequest) HasFlags added in v0.0.13

func (o *ConstrainRequest) HasFlags() bool

HasFlags returns a boolean if a field has been set.

func (*ConstrainRequest) HasRun

func (o *ConstrainRequest) HasRun() bool

HasRun returns a boolean if a field has been set.

func (*ConstrainRequest) HasSetup

func (o *ConstrainRequest) HasSetup() bool

HasSetup returns a boolean if a field has been set.

func (*ConstrainRequest) HasTeardown

func (o *ConstrainRequest) HasTeardown() bool

HasTeardown returns a boolean if a field has been set.

func (ConstrainRequest) MarshalJSON

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

func (*ConstrainRequest) SetFlags added in v0.0.12

func (o *ConstrainRequest) SetFlags(v map[string]interface{})

SetFlags gets a reference to the given map[string]interface{} and assigns it to the Flags field.

func (*ConstrainRequest) SetIo

func (o *ConstrainRequest) SetIo(v IO)

SetIo sets field value

func (*ConstrainRequest) SetJobConfig added in v0.0.10

func (o *ConstrainRequest) SetJobConfig(v JobConfig)

SetJobConfig sets field value

func (*ConstrainRequest) SetProject

func (o *ConstrainRequest) SetProject(v Project)

SetProject sets field value

func (*ConstrainRequest) SetResources

func (o *ConstrainRequest) SetResources(v Resources)

SetResources sets field value

func (*ConstrainRequest) SetRun

func (o *ConstrainRequest) SetRun(v Script)

SetRun gets a reference to the given NullableScript and assigns it to the Run field.

func (*ConstrainRequest) SetRunNil added in v0.0.5

func (o *ConstrainRequest) SetRunNil()

SetRunNil sets the value for Run to be an explicit nil

func (*ConstrainRequest) SetSetup

func (o *ConstrainRequest) SetSetup(v Script)

SetSetup gets a reference to the given NullableScript and assigns it to the Setup field.

func (*ConstrainRequest) SetSetupNil added in v0.0.5

func (o *ConstrainRequest) SetSetupNil()

SetSetupNil sets the value for Setup to be an explicit nil

func (*ConstrainRequest) SetTeardown

func (o *ConstrainRequest) SetTeardown(v Script)

SetTeardown gets a reference to the given NullableScript and assigns it to the Teardown field.

func (*ConstrainRequest) SetTeardownNil added in v0.0.5

func (o *ConstrainRequest) SetTeardownNil()

SetTeardownNil sets the value for Teardown to be an explicit nil

func (ConstrainRequest) ToMap added in v0.0.5

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

func (*ConstrainRequest) UnmarshalJSON added in v0.0.5

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

func (*ConstrainRequest) UnsetRun added in v0.0.5

func (o *ConstrainRequest) UnsetRun()

UnsetRun ensures that no value is present for Run, not even an explicit nil

func (*ConstrainRequest) UnsetSetup added in v0.0.5

func (o *ConstrainRequest) UnsetSetup()

UnsetSetup ensures that no value is present for Setup, not even an explicit nil

func (*ConstrainRequest) UnsetTeardown added in v0.0.5

func (o *ConstrainRequest) UnsetTeardown()

UnsetTeardown ensures that no value is present for Teardown, not even an explicit nil

type ConstrainResponse

type ConstrainResponse struct {
	Choice []ClusterOffer `json:"choice"`
}

ConstrainResponse Serializer for cluster constraint response. Fields: choice (list): List of cluster offers matching the constraints

func NewConstrainResponse

func NewConstrainResponse(choice []ClusterOffer) *ConstrainResponse

NewConstrainResponse instantiates a new ConstrainResponse 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 NewConstrainResponseWithDefaults

func NewConstrainResponseWithDefaults() *ConstrainResponse

NewConstrainResponseWithDefaults instantiates a new ConstrainResponse 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 (*ConstrainResponse) GetChoice

func (o *ConstrainResponse) GetChoice() []ClusterOffer

GetChoice returns the Choice field value

func (*ConstrainResponse) GetChoiceOk

func (o *ConstrainResponse) GetChoiceOk() ([]ClusterOffer, bool)

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

func (ConstrainResponse) MarshalJSON

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

func (*ConstrainResponse) SetChoice

func (o *ConstrainResponse) SetChoice(v []ClusterOffer)

SetChoice sets field value

func (ConstrainResponse) ToMap added in v0.0.5

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

func (*ConstrainResponse) UnmarshalJSON added in v0.0.5

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

type ConstraintsAPIService added in v0.0.5

type ConstraintsAPIService service

ConstraintsAPIService ConstraintsAPI service

func (*ConstraintsAPIService) ConstraintsCreate added in v0.0.5

ConstraintsCreate Method for ConstraintsCreate

Constrain clusters based on resource specification.

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

func (*ConstraintsAPIService) ConstraintsCreateExecute added in v0.0.5

Execute executes the request

@return ConstrainResponse

func (*ConstraintsAPIService) ConstraintsPartialUpdate added in v0.0.5

ConstraintsPartialUpdate Method for ConstraintsPartialUpdate

Validate the configuration if the cluster is already running.

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

func (*ConstraintsAPIService) ConstraintsPartialUpdateExecute added in v0.0.5

Execute executes the request

@return ConstrainRequest

type DownloadAPIService added in v0.0.5

type DownloadAPIService service

DownloadAPIService DownloadAPI service

func (*DownloadAPIService) DownloadRetrieve added in v0.0.5

DownloadRetrieve Method for DownloadRetrieve

Generate a signed download URL for the requested Wisp CLI binary.

Args:

request: The HTTP request object containing the binary name in query params.

Returns:

   Response: Contains either the signed URL or an error message.

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

func (*DownloadAPIService) DownloadRetrieveExecute added in v0.0.5

Execute executes the request

@return DownloadResponse

type DownloadResponse

type DownloadResponse struct {
	Url    string `json:"url"`
	Binary string `json:"binary"`
}

DownloadResponse Download response serializer.

func NewDownloadResponse

func NewDownloadResponse(url string, binary string) *DownloadResponse

NewDownloadResponse instantiates a new DownloadResponse 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 NewDownloadResponseWithDefaults

func NewDownloadResponseWithDefaults() *DownloadResponse

NewDownloadResponseWithDefaults instantiates a new DownloadResponse 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 (*DownloadResponse) GetBinary

func (o *DownloadResponse) GetBinary() string

GetBinary returns the Binary field value

func (*DownloadResponse) GetBinaryOk

func (o *DownloadResponse) GetBinaryOk() (*string, bool)

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

func (*DownloadResponse) GetUrl

func (o *DownloadResponse) GetUrl() string

GetUrl returns the Url field value

func (*DownloadResponse) GetUrlOk

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

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

func (DownloadResponse) MarshalJSON

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

func (*DownloadResponse) SetBinary

func (o *DownloadResponse) SetBinary(v string)

SetBinary sets field value

func (*DownloadResponse) SetUrl

func (o *DownloadResponse) SetUrl(v string)

SetUrl sets field value

func (DownloadResponse) ToMap added in v0.0.5

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

func (*DownloadResponse) UnmarshalJSON added in v0.0.5

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

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type IO

type IO struct {
	Inputs  NullableInputs  `json:"inputs,omitempty"`
	Outputs NullableOutputs `json:"outputs,omitempty"`
}

IO IO configuration serializer.

func NewIO

func NewIO() *IO

NewIO instantiates a new IO 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 NewIOWithDefaults

func NewIOWithDefaults() *IO

NewIOWithDefaults instantiates a new IO 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 (*IO) GetInputs

func (o *IO) GetInputs() Inputs

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

func (*IO) GetInputsOk

func (o *IO) GetInputsOk() (*Inputs, bool)

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

func (*IO) GetOutputs

func (o *IO) GetOutputs() Outputs

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

func (*IO) GetOutputsOk

func (o *IO) GetOutputsOk() (*Outputs, bool)

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

func (*IO) HasInputs

func (o *IO) HasInputs() bool

HasInputs returns a boolean if a field has been set.

func (*IO) HasOutputs

func (o *IO) HasOutputs() bool

HasOutputs returns a boolean if a field has been set.

func (IO) MarshalJSON

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

func (*IO) SetInputs

func (o *IO) SetInputs(v Inputs)

SetInputs gets a reference to the given NullableInputs and assigns it to the Inputs field.

func (*IO) SetInputsNil added in v0.0.5

func (o *IO) SetInputsNil()

SetInputsNil sets the value for Inputs to be an explicit nil

func (*IO) SetOutputs

func (o *IO) SetOutputs(v Outputs)

SetOutputs gets a reference to the given NullableOutputs and assigns it to the Outputs field.

func (*IO) SetOutputsNil added in v0.0.5

func (o *IO) SetOutputsNil()

SetOutputsNil sets the value for Outputs to be an explicit nil

func (IO) ToMap added in v0.0.5

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

func (*IO) UnsetInputs added in v0.0.5

func (o *IO) UnsetInputs()

UnsetInputs ensures that no value is present for Inputs, not even an explicit nil

func (*IO) UnsetOutputs added in v0.0.5

func (o *IO) UnsetOutputs()

UnsetOutputs ensures that no value is present for Outputs, not even an explicit nil

type Inputs

type Inputs struct {
	Buckets []Bucket `json:"buckets,omitempty"`
}

Inputs Inputs configuration serializer.

func NewInputs

func NewInputs() *Inputs

NewInputs instantiates a new Inputs 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 NewInputsWithDefaults

func NewInputsWithDefaults() *Inputs

NewInputsWithDefaults instantiates a new Inputs 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 (*Inputs) GetBuckets

func (o *Inputs) GetBuckets() []Bucket

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

func (*Inputs) GetBucketsOk

func (o *Inputs) GetBucketsOk() ([]Bucket, bool)

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

func (*Inputs) HasBuckets

func (o *Inputs) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

func (Inputs) MarshalJSON

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

func (*Inputs) SetBuckets

func (o *Inputs) SetBuckets(v []Bucket)

SetBuckets gets a reference to the given []Bucket and assigns it to the Buckets field.

func (Inputs) ToMap added in v0.0.5

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

type Job

type Job struct {
	Name          string          `json:"name"`
	JobId         string          `json:"job_id"`
	Configuration string          `json:"configuration"`
	CreatedAt     time.Time       `json:"created_at"`
	UpdatedAt     time.Time       `json:"updated_at"`
	StartedAt     NullableTime    `json:"started_at,omitempty"`
	FinishedAt    NullableTime    `json:"finished_at,omitempty"`
	Logs          string          `json:"logs"`
	Cluster       NullableCluster `json:"cluster"`
}

Job Job serializer.

func NewJob

func NewJob(name string, jobId string, configuration string, createdAt time.Time, updatedAt time.Time, logs string, cluster NullableCluster) *Job

NewJob instantiates a new Job 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 NewJobWithDefaults

func NewJobWithDefaults() *Job

NewJobWithDefaults instantiates a new Job 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 (*Job) GetCluster

func (o *Job) GetCluster() Cluster

GetCluster returns the Cluster field value If the value is explicit nil, the zero value for Cluster will be returned

func (*Job) GetClusterOk

func (o *Job) GetClusterOk() (*Cluster, bool)

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

func (*Job) GetConfiguration

func (o *Job) GetConfiguration() string

GetConfiguration returns the Configuration field value

func (*Job) GetConfigurationOk

func (o *Job) GetConfigurationOk() (*string, bool)

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

func (*Job) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Job) GetCreatedAtOk

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

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

func (*Job) GetFinishedAt

func (o *Job) GetFinishedAt() time.Time

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

func (*Job) GetFinishedAtOk

func (o *Job) GetFinishedAtOk() (*time.Time, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Job) GetJobId

func (o *Job) GetJobId() string

GetJobId returns the JobId field value

func (*Job) GetJobIdOk

func (o *Job) GetJobIdOk() (*string, bool)

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

func (*Job) GetLogs

func (o *Job) GetLogs() string

GetLogs returns the Logs field value

func (*Job) GetLogsOk

func (o *Job) GetLogsOk() (*string, bool)

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

func (*Job) GetName

func (o *Job) GetName() string

GetName returns the Name field value

func (*Job) GetNameOk

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

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

func (*Job) GetStartedAt

func (o *Job) GetStartedAt() time.Time

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

func (*Job) GetStartedAtOk

func (o *Job) GetStartedAtOk() (*time.Time, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Job) GetUpdatedAt

func (o *Job) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*Job) GetUpdatedAtOk

func (o *Job) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Job) HasFinishedAt

func (o *Job) HasFinishedAt() bool

HasFinishedAt returns a boolean if a field has been set.

func (*Job) HasStartedAt

func (o *Job) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

func (Job) MarshalJSON

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

func (*Job) SetCluster

func (o *Job) SetCluster(v Cluster)

SetCluster sets field value

func (*Job) SetConfiguration

func (o *Job) SetConfiguration(v string)

SetConfiguration sets field value

func (*Job) SetCreatedAt

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

SetCreatedAt sets field value

func (*Job) SetFinishedAt

func (o *Job) SetFinishedAt(v time.Time)

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

func (*Job) SetFinishedAtNil

func (o *Job) SetFinishedAtNil()

SetFinishedAtNil sets the value for FinishedAt to be an explicit nil

func (*Job) SetJobId

func (o *Job) SetJobId(v string)

SetJobId sets field value

func (*Job) SetLogs

func (o *Job) SetLogs(v string)

SetLogs sets field value

func (*Job) SetName

func (o *Job) SetName(v string)

SetName sets field value

func (*Job) SetStartedAt

func (o *Job) SetStartedAt(v time.Time)

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

func (*Job) SetStartedAtNil

func (o *Job) SetStartedAtNil()

SetStartedAtNil sets the value for StartedAt to be an explicit nil

func (*Job) SetUpdatedAt

func (o *Job) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (Job) ToMap added in v0.0.5

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

func (*Job) UnmarshalJSON added in v0.0.5

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

func (*Job) UnsetFinishedAt

func (o *Job) UnsetFinishedAt()

UnsetFinishedAt ensures that no value is present for FinishedAt, not even an explicit nil

func (*Job) UnsetStartedAt

func (o *Job) UnsetStartedAt()

UnsetStartedAt ensures that no value is present for StartedAt, not even an explicit nil

type JobAPIService added in v0.0.7

type JobAPIService service

JobAPIService JobAPI service

func (*JobAPIService) CreateJobWithoutCluster added in v0.0.7

func (a *JobAPIService) CreateJobWithoutCluster(ctx context.Context) ApiCreateJobWithoutClusterRequest

CreateJobWithoutCluster Method for CreateJobWithoutCluster

Create a new job on the specified cluster.

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

func (*JobAPIService) CreateJobWithoutClusterExecute added in v0.0.7

func (a *JobAPIService) CreateJobWithoutClusterExecute(r ApiCreateJobWithoutClusterRequest) (*JobGetResponse, *http.Response, error)

Execute executes the request

@return JobGetResponse

type JobConfig added in v0.0.9

type JobConfig struct {
	Id            int32              `json:"id"`
	Autostop      AutoStop           `json:"autostop"`
	Notifications NotificationConfig `json:"notifications"`
}

JobConfig Config for the job. Not to be confused with the job itself.

func NewJobConfig added in v0.0.9

func NewJobConfig(id int32, autostop AutoStop, notifications NotificationConfig) *JobConfig

NewJobConfig instantiates a new JobConfig 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 NewJobConfigWithDefaults added in v0.0.9

func NewJobConfigWithDefaults() *JobConfig

NewJobConfigWithDefaults instantiates a new JobConfig 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 (*JobConfig) GetAutostop added in v0.0.9

func (o *JobConfig) GetAutostop() AutoStop

GetAutostop returns the Autostop field value

func (*JobConfig) GetAutostopOk added in v0.0.9

func (o *JobConfig) GetAutostopOk() (*AutoStop, bool)

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

func (*JobConfig) GetId added in v0.0.9

func (o *JobConfig) GetId() int32

GetId returns the Id field value

func (*JobConfig) GetIdOk added in v0.0.9

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

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

func (*JobConfig) GetNotifications added in v0.0.9

func (o *JobConfig) GetNotifications() NotificationConfig

GetNotifications returns the Notifications field value

func (*JobConfig) GetNotificationsOk added in v0.0.9

func (o *JobConfig) GetNotificationsOk() (*NotificationConfig, bool)

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

func (JobConfig) MarshalJSON added in v0.0.9

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

func (*JobConfig) SetAutostop added in v0.0.9

func (o *JobConfig) SetAutostop(v AutoStop)

SetAutostop sets field value

func (*JobConfig) SetId added in v0.0.9

func (o *JobConfig) SetId(v int32)

SetId sets field value

func (*JobConfig) SetNotifications added in v0.0.9

func (o *JobConfig) SetNotifications(v NotificationConfig)

SetNotifications sets field value

func (JobConfig) ToMap added in v0.0.9

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

func (*JobConfig) UnmarshalJSON added in v0.0.9

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

type JobGetResponse

type JobGetResponse struct {
	Job              Job                      `json:"job"`
	LatestClusterLog NullableLatestClusterLog `json:"latest_cluster_log"`
}

JobGetResponse Job get response serializer.

func NewJobGetResponse

func NewJobGetResponse(job Job, latestClusterLog NullableLatestClusterLog) *JobGetResponse

NewJobGetResponse instantiates a new JobGetResponse 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 NewJobGetResponseWithDefaults

func NewJobGetResponseWithDefaults() *JobGetResponse

NewJobGetResponseWithDefaults instantiates a new JobGetResponse 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 (*JobGetResponse) GetJob

func (o *JobGetResponse) GetJob() Job

GetJob returns the Job field value

func (*JobGetResponse) GetJobOk

func (o *JobGetResponse) GetJobOk() (*Job, bool)

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

func (*JobGetResponse) GetLatestClusterLog

func (o *JobGetResponse) GetLatestClusterLog() LatestClusterLog

GetLatestClusterLog returns the LatestClusterLog field value If the value is explicit nil, the zero value for LatestClusterLog will be returned

func (*JobGetResponse) GetLatestClusterLogOk

func (o *JobGetResponse) GetLatestClusterLogOk() (*LatestClusterLog, bool)

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

func (JobGetResponse) MarshalJSON

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

func (*JobGetResponse) SetJob

func (o *JobGetResponse) SetJob(v Job)

SetJob sets field value

func (*JobGetResponse) SetLatestClusterLog

func (o *JobGetResponse) SetLatestClusterLog(v LatestClusterLog)

SetLatestClusterLog sets field value

func (JobGetResponse) ToMap added in v0.0.5

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

func (*JobGetResponse) UnmarshalJSON added in v0.0.5

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

type JobListResponse

type JobListResponse struct {
	Jobs []Job `json:"jobs"`
}

JobListResponse Job list response serializer.

func NewJobListResponse

func NewJobListResponse(jobs []Job) *JobListResponse

NewJobListResponse instantiates a new JobListResponse 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 NewJobListResponseWithDefaults

func NewJobListResponseWithDefaults() *JobListResponse

NewJobListResponseWithDefaults instantiates a new JobListResponse 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 (*JobListResponse) GetJobs

func (o *JobListResponse) GetJobs() []Job

GetJobs returns the Jobs field value

func (*JobListResponse) GetJobsOk

func (o *JobListResponse) GetJobsOk() ([]Job, bool)

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

func (JobListResponse) MarshalJSON

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

func (*JobListResponse) SetJobs

func (o *JobListResponse) SetJobs(v []Job)

SetJobs sets field value

func (JobListResponse) ToMap added in v0.0.5

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

func (*JobListResponse) UnmarshalJSON added in v0.0.5

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

type JobPostRequest

type JobPostRequest struct {
	Choice  ClusterOffer     `json:"choice"`
	Config  ConstrainRequest `json:"config"`
	Project Project          `json:"project"`
}

JobPostRequest Job post request serializer.

func NewJobPostRequest

func NewJobPostRequest(choice ClusterOffer, config ConstrainRequest, project Project) *JobPostRequest

NewJobPostRequest instantiates a new JobPostRequest 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 NewJobPostRequestWithDefaults

func NewJobPostRequestWithDefaults() *JobPostRequest

NewJobPostRequestWithDefaults instantiates a new JobPostRequest 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 (*JobPostRequest) GetChoice

func (o *JobPostRequest) GetChoice() ClusterOffer

GetChoice returns the Choice field value

func (*JobPostRequest) GetChoiceOk

func (o *JobPostRequest) GetChoiceOk() (*ClusterOffer, bool)

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

func (*JobPostRequest) GetConfig

func (o *JobPostRequest) GetConfig() ConstrainRequest

GetConfig returns the Config field value

func (*JobPostRequest) GetConfigOk

func (o *JobPostRequest) GetConfigOk() (*ConstrainRequest, bool)

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

func (*JobPostRequest) GetProject

func (o *JobPostRequest) GetProject() Project

GetProject returns the Project field value

func (*JobPostRequest) GetProjectOk

func (o *JobPostRequest) GetProjectOk() (*Project, bool)

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

func (JobPostRequest) MarshalJSON

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

func (*JobPostRequest) SetChoice

func (o *JobPostRequest) SetChoice(v ClusterOffer)

SetChoice sets field value

func (*JobPostRequest) SetConfig

func (o *JobPostRequest) SetConfig(v ConstrainRequest)

SetConfig sets field value

func (*JobPostRequest) SetProject

func (o *JobPostRequest) SetProject(v Project)

SetProject sets field value

func (JobPostRequest) ToMap added in v0.0.5

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

func (*JobPostRequest) UnmarshalJSON added in v0.0.5

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

type JobUpdateResponse added in v0.0.9

type JobUpdateResponse struct {
	Message string `json:"message"`
}

JobUpdateResponse Job update response serializer.

func NewJobUpdateResponse added in v0.0.9

func NewJobUpdateResponse(message string) *JobUpdateResponse

NewJobUpdateResponse instantiates a new JobUpdateResponse 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 NewJobUpdateResponseWithDefaults added in v0.0.9

func NewJobUpdateResponseWithDefaults() *JobUpdateResponse

NewJobUpdateResponseWithDefaults instantiates a new JobUpdateResponse 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 (*JobUpdateResponse) GetMessage added in v0.0.9

func (o *JobUpdateResponse) GetMessage() string

GetMessage returns the Message field value

func (*JobUpdateResponse) GetMessageOk added in v0.0.9

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

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

func (JobUpdateResponse) MarshalJSON added in v0.0.9

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

func (*JobUpdateResponse) SetMessage added in v0.0.9

func (o *JobUpdateResponse) SetMessage(v string)

SetMessage sets field value

func (JobUpdateResponse) ToMap added in v0.0.9

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

func (*JobUpdateResponse) UnmarshalJSON added in v0.0.9

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

type JobsAPIService added in v0.0.5

type JobsAPIService service

JobsAPIService JobsAPI service

func (*JobsAPIService) JobsCreate added in v0.0.8

JobsCreate Method for JobsCreate

Create a new job on the specified cluster.

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

func (*JobsAPIService) JobsCreateExecute added in v0.0.8

func (a *JobsAPIService) JobsCreateExecute(r ApiJobsCreateRequest) (*JobGetResponse, *http.Response, error)

Execute executes the request

@return JobGetResponse

func (*JobsAPIService) JobsDestroy added in v0.0.5

func (a *JobsAPIService) JobsDestroy(ctx context.Context, jobId string) ApiJobsDestroyRequest

JobsDestroy Method for JobsDestroy

Delete a job

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

func (*JobsAPIService) JobsDestroyExecute added in v0.0.5

func (a *JobsAPIService) JobsDestroyExecute(r ApiJobsDestroyRequest) (*http.Response, error)

Execute executes the request

func (*JobsAPIService) JobsPartialUpdate added in v0.0.10

func (a *JobsAPIService) JobsPartialUpdate(ctx context.Context, jobId string) ApiJobsPartialUpdateRequest

JobsPartialUpdate Method for JobsPartialUpdate

Update job status with logs, exit code and finished time

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

func (*JobsAPIService) JobsPartialUpdateExecute added in v0.0.10

func (a *JobsAPIService) JobsPartialUpdateExecute(r ApiJobsPartialUpdateRequest) (*JobUpdateResponse, *http.Response, error)

Execute executes the request

@return JobUpdateResponse

func (*JobsAPIService) JobsRetrieve added in v0.0.5

func (a *JobsAPIService) JobsRetrieve(ctx context.Context, jobId string) ApiJobsRetrieveRequest

JobsRetrieve Method for JobsRetrieve

Get the job for the user.

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

func (*JobsAPIService) JobsRetrieveExecute added in v0.0.5

func (a *JobsAPIService) JobsRetrieveExecute(r ApiJobsRetrieveRequest) (*JobGetResponse, *http.Response, error)

Execute executes the request

@return JobGetResponse

type LatestClusterLog

type LatestClusterLog struct {
	Timestamp time.Time                  `json:"timestamp"`
	Status    LatestClusterLogStatusEnum `json:"status"`
	Message   string                     `json:"message"`
}

LatestClusterLog Latest cluster log serializer.

func NewLatestClusterLog

func NewLatestClusterLog(timestamp time.Time, status LatestClusterLogStatusEnum, message string) *LatestClusterLog

NewLatestClusterLog instantiates a new LatestClusterLog 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 NewLatestClusterLogWithDefaults

func NewLatestClusterLogWithDefaults() *LatestClusterLog

NewLatestClusterLogWithDefaults instantiates a new LatestClusterLog 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 (*LatestClusterLog) GetMessage

func (o *LatestClusterLog) GetMessage() string

GetMessage returns the Message field value

func (*LatestClusterLog) GetMessageOk

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

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

func (*LatestClusterLog) GetStatus

GetStatus returns the Status field value

func (*LatestClusterLog) GetStatusOk

func (o *LatestClusterLog) GetStatusOk() (*LatestClusterLogStatusEnum, bool)

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

func (*LatestClusterLog) GetTimestamp

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

GetTimestamp returns the Timestamp field value

func (*LatestClusterLog) GetTimestampOk

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

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

func (LatestClusterLog) MarshalJSON

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

func (*LatestClusterLog) SetMessage

func (o *LatestClusterLog) SetMessage(v string)

SetMessage sets field value

func (*LatestClusterLog) SetStatus

SetStatus sets field value

func (*LatestClusterLog) SetTimestamp

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

SetTimestamp sets field value

func (LatestClusterLog) ToMap added in v0.0.5

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

func (*LatestClusterLog) UnmarshalJSON added in v0.0.5

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

type LatestClusterLogStatusEnum

type LatestClusterLogStatusEnum string

LatestClusterLogStatusEnum * `UPDATING` - UPDATING * `DONE` - DONE * `CLUSTER_ERROR` - CLUSTER_ERROR

const (
	UPDATING      LatestClusterLogStatusEnum = "UPDATING"
	DONE          LatestClusterLogStatusEnum = "DONE"
	CLUSTER_ERROR LatestClusterLogStatusEnum = "CLUSTER_ERROR"
)

List of LatestClusterLogStatusEnum

func NewLatestClusterLogStatusEnumFromValue

func NewLatestClusterLogStatusEnumFromValue(v string) (*LatestClusterLogStatusEnum, error)

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

func (LatestClusterLogStatusEnum) IsValid

func (v LatestClusterLogStatusEnum) IsValid() bool

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

func (LatestClusterLogStatusEnum) Ptr

Ptr returns reference to LatestClusterLogStatusEnum value

func (*LatestClusterLogStatusEnum) UnmarshalJSON

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

type MappedNullable added in v0.0.5

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

type NotificationConfig added in v0.0.9

type NotificationConfig struct {
	Id             int32   `json:"id"`
	EmailOnSuccess *bool   `json:"email_on_success,omitempty"`
	EmailOnFailure *bool   `json:"email_on_failure,omitempty"`
	EmailRecipient *string `json:"email_recipient,omitempty"`
}

NotificationConfig struct for NotificationConfig

func NewNotificationConfig added in v0.0.9

func NewNotificationConfig(id int32) *NotificationConfig

NewNotificationConfig instantiates a new NotificationConfig 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 NewNotificationConfigWithDefaults added in v0.0.9

func NewNotificationConfigWithDefaults() *NotificationConfig

NewNotificationConfigWithDefaults instantiates a new NotificationConfig 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 (*NotificationConfig) GetEmailOnFailure added in v0.0.9

func (o *NotificationConfig) GetEmailOnFailure() bool

GetEmailOnFailure returns the EmailOnFailure field value if set, zero value otherwise.

func (*NotificationConfig) GetEmailOnFailureOk added in v0.0.9

func (o *NotificationConfig) GetEmailOnFailureOk() (*bool, bool)

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

func (*NotificationConfig) GetEmailOnSuccess added in v0.0.9

func (o *NotificationConfig) GetEmailOnSuccess() bool

GetEmailOnSuccess returns the EmailOnSuccess field value if set, zero value otherwise.

func (*NotificationConfig) GetEmailOnSuccessOk added in v0.0.9

func (o *NotificationConfig) GetEmailOnSuccessOk() (*bool, bool)

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

func (*NotificationConfig) GetEmailRecipient added in v0.0.9

func (o *NotificationConfig) GetEmailRecipient() string

GetEmailRecipient returns the EmailRecipient field value if set, zero value otherwise.

func (*NotificationConfig) GetEmailRecipientOk added in v0.0.9

func (o *NotificationConfig) GetEmailRecipientOk() (*string, bool)

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

func (*NotificationConfig) GetId added in v0.0.9

func (o *NotificationConfig) GetId() int32

GetId returns the Id field value

func (*NotificationConfig) GetIdOk added in v0.0.9

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

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

func (*NotificationConfig) HasEmailOnFailure added in v0.0.9

func (o *NotificationConfig) HasEmailOnFailure() bool

HasEmailOnFailure returns a boolean if a field has been set.

func (*NotificationConfig) HasEmailOnSuccess added in v0.0.9

func (o *NotificationConfig) HasEmailOnSuccess() bool

HasEmailOnSuccess returns a boolean if a field has been set.

func (*NotificationConfig) HasEmailRecipient added in v0.0.9

func (o *NotificationConfig) HasEmailRecipient() bool

HasEmailRecipient returns a boolean if a field has been set.

func (NotificationConfig) MarshalJSON added in v0.0.9

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

func (*NotificationConfig) SetEmailOnFailure added in v0.0.9

func (o *NotificationConfig) SetEmailOnFailure(v bool)

SetEmailOnFailure gets a reference to the given bool and assigns it to the EmailOnFailure field.

func (*NotificationConfig) SetEmailOnSuccess added in v0.0.9

func (o *NotificationConfig) SetEmailOnSuccess(v bool)

SetEmailOnSuccess gets a reference to the given bool and assigns it to the EmailOnSuccess field.

func (*NotificationConfig) SetEmailRecipient added in v0.0.9

func (o *NotificationConfig) SetEmailRecipient(v string)

SetEmailRecipient gets a reference to the given string and assigns it to the EmailRecipient field.

func (*NotificationConfig) SetId added in v0.0.9

func (o *NotificationConfig) SetId(v int32)

SetId sets field value

func (NotificationConfig) ToMap added in v0.0.9

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

func (*NotificationConfig) UnmarshalJSON added in v0.0.9

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

type NullableActionEnum added in v0.0.6

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

func NewNullableActionEnum added in v0.0.6

func NewNullableActionEnum(val *ActionEnum) *NullableActionEnum

func (NullableActionEnum) Get added in v0.0.6

func (v NullableActionEnum) Get() *ActionEnum

func (NullableActionEnum) IsSet added in v0.0.6

func (v NullableActionEnum) IsSet() bool

func (NullableActionEnum) MarshalJSON added in v0.0.6

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

func (*NullableActionEnum) Set added in v0.0.6

func (v *NullableActionEnum) Set(val *ActionEnum)

func (*NullableActionEnum) UnmarshalJSON added in v0.0.6

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

func (*NullableActionEnum) Unset added in v0.0.6

func (v *NullableActionEnum) Unset()

type NullableAnalyzeGetRequest added in v0.0.11

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

func NewNullableAnalyzeGetRequest added in v0.0.11

func NewNullableAnalyzeGetRequest(val *AnalyzeGetRequest) *NullableAnalyzeGetRequest

func (NullableAnalyzeGetRequest) Get added in v0.0.11

func (NullableAnalyzeGetRequest) IsSet added in v0.0.11

func (v NullableAnalyzeGetRequest) IsSet() bool

func (NullableAnalyzeGetRequest) MarshalJSON added in v0.0.11

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

func (*NullableAnalyzeGetRequest) Set added in v0.0.11

func (*NullableAnalyzeGetRequest) UnmarshalJSON added in v0.0.11

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

func (*NullableAnalyzeGetRequest) Unset added in v0.0.11

func (v *NullableAnalyzeGetRequest) Unset()

type NullableAnalyzeGetResponse added in v0.0.11

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

func NewNullableAnalyzeGetResponse added in v0.0.11

func NewNullableAnalyzeGetResponse(val *AnalyzeGetResponse) *NullableAnalyzeGetResponse

func (NullableAnalyzeGetResponse) Get added in v0.0.11

func (NullableAnalyzeGetResponse) IsSet added in v0.0.11

func (v NullableAnalyzeGetResponse) IsSet() bool

func (NullableAnalyzeGetResponse) MarshalJSON added in v0.0.11

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

func (*NullableAnalyzeGetResponse) Set added in v0.0.11

func (*NullableAnalyzeGetResponse) UnmarshalJSON added in v0.0.11

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

func (*NullableAnalyzeGetResponse) Unset added in v0.0.11

func (v *NullableAnalyzeGetResponse) Unset()

type NullableAnalyzerResult added in v0.0.11

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

func NewNullableAnalyzerResult added in v0.0.11

func NewNullableAnalyzerResult(val *AnalyzerResult) *NullableAnalyzerResult

func (NullableAnalyzerResult) Get added in v0.0.11

func (NullableAnalyzerResult) IsSet added in v0.0.11

func (v NullableAnalyzerResult) IsSet() bool

func (NullableAnalyzerResult) MarshalJSON added in v0.0.11

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

func (*NullableAnalyzerResult) Set added in v0.0.11

func (*NullableAnalyzerResult) UnmarshalJSON added in v0.0.11

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

func (*NullableAnalyzerResult) Unset added in v0.0.11

func (v *NullableAnalyzerResult) Unset()

type NullableAutoStop added in v0.0.9

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

func NewNullableAutoStop added in v0.0.9

func NewNullableAutoStop(val *AutoStop) *NullableAutoStop

func (NullableAutoStop) Get added in v0.0.9

func (v NullableAutoStop) Get() *AutoStop

func (NullableAutoStop) IsSet added in v0.0.9

func (v NullableAutoStop) IsSet() bool

func (NullableAutoStop) MarshalJSON added in v0.0.9

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

func (*NullableAutoStop) Set added in v0.0.9

func (v *NullableAutoStop) Set(val *AutoStop)

func (*NullableAutoStop) UnmarshalJSON added in v0.0.9

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

func (*NullableAutoStop) Unset added in v0.0.9

func (v *NullableAutoStop) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBucket

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

func NewNullableBucket

func NewNullableBucket(val *Bucket) *NullableBucket

func (NullableBucket) Get

func (v NullableBucket) Get() *Bucket

func (NullableBucket) IsSet

func (v NullableBucket) IsSet() bool

func (NullableBucket) MarshalJSON

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

func (*NullableBucket) Set

func (v *NullableBucket) Set(val *Bucket)

func (*NullableBucket) UnmarshalJSON

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

func (*NullableBucket) Unset

func (v *NullableBucket) Unset()

type NullableCluster

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

func NewNullableCluster

func NewNullableCluster(val *Cluster) *NullableCluster

func (NullableCluster) Get

func (v NullableCluster) Get() *Cluster

func (NullableCluster) IsSet

func (v NullableCluster) IsSet() bool

func (NullableCluster) MarshalJSON

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

func (*NullableCluster) Set

func (v *NullableCluster) Set(val *Cluster)

func (*NullableCluster) UnmarshalJSON

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

func (*NullableCluster) Unset

func (v *NullableCluster) Unset()

type NullableClusterActionRequest added in v0.0.6

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

func NewNullableClusterActionRequest added in v0.0.6

func NewNullableClusterActionRequest(val *ClusterActionRequest) *NullableClusterActionRequest

func (NullableClusterActionRequest) Get added in v0.0.6

func (NullableClusterActionRequest) IsSet added in v0.0.6

func (NullableClusterActionRequest) MarshalJSON added in v0.0.6

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

func (*NullableClusterActionRequest) Set added in v0.0.6

func (*NullableClusterActionRequest) UnmarshalJSON added in v0.0.6

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

func (*NullableClusterActionRequest) Unset added in v0.0.6

func (v *NullableClusterActionRequest) Unset()

type NullableClusterActionResponse added in v0.0.6

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

func NewNullableClusterActionResponse added in v0.0.6

func NewNullableClusterActionResponse(val *ClusterActionResponse) *NullableClusterActionResponse

func (NullableClusterActionResponse) Get added in v0.0.6

func (NullableClusterActionResponse) IsSet added in v0.0.6

func (NullableClusterActionResponse) MarshalJSON added in v0.0.6

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

func (*NullableClusterActionResponse) Set added in v0.0.6

func (*NullableClusterActionResponse) UnmarshalJSON added in v0.0.6

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

func (*NullableClusterActionResponse) Unset added in v0.0.6

func (v *NullableClusterActionResponse) Unset()

type NullableClusterListResponse added in v0.0.6

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

func NewNullableClusterListResponse added in v0.0.6

func NewNullableClusterListResponse(val *ClusterListResponse) *NullableClusterListResponse

func (NullableClusterListResponse) Get added in v0.0.6

func (NullableClusterListResponse) IsSet added in v0.0.6

func (NullableClusterListResponse) MarshalJSON added in v0.0.6

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

func (*NullableClusterListResponse) Set added in v0.0.6

func (*NullableClusterListResponse) UnmarshalJSON added in v0.0.6

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

func (*NullableClusterListResponse) Unset added in v0.0.6

func (v *NullableClusterListResponse) Unset()

type NullableClusterOffer

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

func NewNullableClusterOffer

func NewNullableClusterOffer(val *ClusterOffer) *NullableClusterOffer

func (NullableClusterOffer) Get

func (NullableClusterOffer) IsSet

func (v NullableClusterOffer) IsSet() bool

func (NullableClusterOffer) MarshalJSON

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

func (*NullableClusterOffer) Set

func (v *NullableClusterOffer) Set(val *ClusterOffer)

func (*NullableClusterOffer) UnmarshalJSON

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

func (*NullableClusterOffer) Unset

func (v *NullableClusterOffer) Unset()

type NullableClusterPostRequest added in v0.0.8

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

func NewNullableClusterPostRequest added in v0.0.8

func NewNullableClusterPostRequest(val *ClusterPostRequest) *NullableClusterPostRequest

func (NullableClusterPostRequest) Get added in v0.0.8

func (NullableClusterPostRequest) IsSet added in v0.0.8

func (v NullableClusterPostRequest) IsSet() bool

func (NullableClusterPostRequest) MarshalJSON added in v0.0.8

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

func (*NullableClusterPostRequest) Set added in v0.0.8

func (*NullableClusterPostRequest) UnmarshalJSON added in v0.0.8

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

func (*NullableClusterPostRequest) Unset added in v0.0.8

func (v *NullableClusterPostRequest) Unset()

type NullableClusterPostResponse added in v0.0.8

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

func NewNullableClusterPostResponse added in v0.0.8

func NewNullableClusterPostResponse(val *ClusterPostResponse) *NullableClusterPostResponse

func (NullableClusterPostResponse) Get added in v0.0.8

func (NullableClusterPostResponse) IsSet added in v0.0.8

func (NullableClusterPostResponse) MarshalJSON added in v0.0.8

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

func (*NullableClusterPostResponse) Set added in v0.0.8

func (*NullableClusterPostResponse) UnmarshalJSON added in v0.0.8

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

func (*NullableClusterPostResponse) Unset added in v0.0.8

func (v *NullableClusterPostResponse) Unset()

type NullableClusterStatusEnum

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

func NewNullableClusterStatusEnum

func NewNullableClusterStatusEnum(val *ClusterStatusEnum) *NullableClusterStatusEnum

func (NullableClusterStatusEnum) Get

func (NullableClusterStatusEnum) IsSet

func (v NullableClusterStatusEnum) IsSet() bool

func (NullableClusterStatusEnum) MarshalJSON

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

func (*NullableClusterStatusEnum) Set

func (*NullableClusterStatusEnum) UnmarshalJSON

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

func (*NullableClusterStatusEnum) Unset

func (v *NullableClusterStatusEnum) Unset()

type NullableClusterStatusResponse added in v0.0.6

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

func NewNullableClusterStatusResponse added in v0.0.6

func NewNullableClusterStatusResponse(val *ClusterStatusResponse) *NullableClusterStatusResponse

func (NullableClusterStatusResponse) Get added in v0.0.6

func (NullableClusterStatusResponse) IsSet added in v0.0.6

func (NullableClusterStatusResponse) MarshalJSON added in v0.0.6

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

func (*NullableClusterStatusResponse) Set added in v0.0.6

func (*NullableClusterStatusResponse) UnmarshalJSON added in v0.0.6

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

func (*NullableClusterStatusResponse) Unset added in v0.0.6

func (v *NullableClusterStatusResponse) Unset()

type NullableConstrainRequest

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

func NewNullableConstrainRequest

func NewNullableConstrainRequest(val *ConstrainRequest) *NullableConstrainRequest

func (NullableConstrainRequest) Get

func (NullableConstrainRequest) IsSet

func (v NullableConstrainRequest) IsSet() bool

func (NullableConstrainRequest) MarshalJSON

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

func (*NullableConstrainRequest) Set

func (*NullableConstrainRequest) UnmarshalJSON

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

func (*NullableConstrainRequest) Unset

func (v *NullableConstrainRequest) Unset()

type NullableConstrainResponse

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

func NewNullableConstrainResponse

func NewNullableConstrainResponse(val *ConstrainResponse) *NullableConstrainResponse

func (NullableConstrainResponse) Get

func (NullableConstrainResponse) IsSet

func (v NullableConstrainResponse) IsSet() bool

func (NullableConstrainResponse) MarshalJSON

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

func (*NullableConstrainResponse) Set

func (*NullableConstrainResponse) UnmarshalJSON

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

func (*NullableConstrainResponse) Unset

func (v *NullableConstrainResponse) Unset()

type NullableDownloadResponse

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

func NewNullableDownloadResponse

func NewNullableDownloadResponse(val *DownloadResponse) *NullableDownloadResponse

func (NullableDownloadResponse) Get

func (NullableDownloadResponse) IsSet

func (v NullableDownloadResponse) IsSet() bool

func (NullableDownloadResponse) MarshalJSON

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

func (*NullableDownloadResponse) Set

func (*NullableDownloadResponse) UnmarshalJSON

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

func (*NullableDownloadResponse) Unset

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

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

func NewNullableIO

func NewNullableIO(val *IO) *NullableIO

func (NullableIO) Get

func (v NullableIO) Get() *IO

func (NullableIO) IsSet

func (v NullableIO) IsSet() bool

func (NullableIO) MarshalJSON

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

func (*NullableIO) Set

func (v *NullableIO) Set(val *IO)

func (*NullableIO) UnmarshalJSON

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

func (*NullableIO) Unset

func (v *NullableIO) Unset()

type NullableInputs

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

func NewNullableInputs

func NewNullableInputs(val *Inputs) *NullableInputs

func (NullableInputs) Get

func (v NullableInputs) Get() *Inputs

func (NullableInputs) IsSet

func (v NullableInputs) IsSet() bool

func (NullableInputs) MarshalJSON

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

func (*NullableInputs) Set

func (v *NullableInputs) Set(val *Inputs)

func (*NullableInputs) UnmarshalJSON

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

func (*NullableInputs) Unset

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

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

func NewNullableJob

func NewNullableJob(val *Job) *NullableJob

func (NullableJob) Get

func (v NullableJob) Get() *Job

func (NullableJob) IsSet

func (v NullableJob) IsSet() bool

func (NullableJob) MarshalJSON

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

func (*NullableJob) Set

func (v *NullableJob) Set(val *Job)

func (*NullableJob) UnmarshalJSON

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

func (*NullableJob) Unset

func (v *NullableJob) Unset()

type NullableJobConfig added in v0.0.9

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

func NewNullableJobConfig added in v0.0.9

func NewNullableJobConfig(val *JobConfig) *NullableJobConfig

func (NullableJobConfig) Get added in v0.0.9

func (v NullableJobConfig) Get() *JobConfig

func (NullableJobConfig) IsSet added in v0.0.9

func (v NullableJobConfig) IsSet() bool

func (NullableJobConfig) MarshalJSON added in v0.0.9

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

func (*NullableJobConfig) Set added in v0.0.9

func (v *NullableJobConfig) Set(val *JobConfig)

func (*NullableJobConfig) UnmarshalJSON added in v0.0.9

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

func (*NullableJobConfig) Unset added in v0.0.9

func (v *NullableJobConfig) Unset()

type NullableJobGetResponse

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

func NewNullableJobGetResponse

func NewNullableJobGetResponse(val *JobGetResponse) *NullableJobGetResponse

func (NullableJobGetResponse) Get

func (NullableJobGetResponse) IsSet

func (v NullableJobGetResponse) IsSet() bool

func (NullableJobGetResponse) MarshalJSON

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

func (*NullableJobGetResponse) Set

func (*NullableJobGetResponse) UnmarshalJSON

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

func (*NullableJobGetResponse) Unset

func (v *NullableJobGetResponse) Unset()

type NullableJobListResponse

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

func NewNullableJobListResponse

func NewNullableJobListResponse(val *JobListResponse) *NullableJobListResponse

func (NullableJobListResponse) Get

func (NullableJobListResponse) IsSet

func (v NullableJobListResponse) IsSet() bool

func (NullableJobListResponse) MarshalJSON

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

func (*NullableJobListResponse) Set

func (*NullableJobListResponse) UnmarshalJSON

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

func (*NullableJobListResponse) Unset

func (v *NullableJobListResponse) Unset()

type NullableJobPostRequest

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

func NewNullableJobPostRequest

func NewNullableJobPostRequest(val *JobPostRequest) *NullableJobPostRequest

func (NullableJobPostRequest) Get

func (NullableJobPostRequest) IsSet

func (v NullableJobPostRequest) IsSet() bool

func (NullableJobPostRequest) MarshalJSON

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

func (*NullableJobPostRequest) Set

func (*NullableJobPostRequest) UnmarshalJSON

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

func (*NullableJobPostRequest) Unset

func (v *NullableJobPostRequest) Unset()

type NullableJobUpdateResponse added in v0.0.9

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

func NewNullableJobUpdateResponse added in v0.0.9

func NewNullableJobUpdateResponse(val *JobUpdateResponse) *NullableJobUpdateResponse

func (NullableJobUpdateResponse) Get added in v0.0.9

func (NullableJobUpdateResponse) IsSet added in v0.0.9

func (v NullableJobUpdateResponse) IsSet() bool

func (NullableJobUpdateResponse) MarshalJSON added in v0.0.9

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

func (*NullableJobUpdateResponse) Set added in v0.0.9

func (*NullableJobUpdateResponse) UnmarshalJSON added in v0.0.9

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

func (*NullableJobUpdateResponse) Unset added in v0.0.9

func (v *NullableJobUpdateResponse) Unset()

type NullableLatestClusterLog

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

func NewNullableLatestClusterLog

func NewNullableLatestClusterLog(val *LatestClusterLog) *NullableLatestClusterLog

func (NullableLatestClusterLog) Get

func (NullableLatestClusterLog) IsSet

func (v NullableLatestClusterLog) IsSet() bool

func (NullableLatestClusterLog) MarshalJSON

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

func (*NullableLatestClusterLog) Set

func (*NullableLatestClusterLog) UnmarshalJSON

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

func (*NullableLatestClusterLog) Unset

func (v *NullableLatestClusterLog) Unset()

type NullableLatestClusterLogStatusEnum

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

func (NullableLatestClusterLogStatusEnum) Get

func (NullableLatestClusterLogStatusEnum) IsSet

func (NullableLatestClusterLogStatusEnum) MarshalJSON

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

func (*NullableLatestClusterLogStatusEnum) Set

func (*NullableLatestClusterLogStatusEnum) UnmarshalJSON

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

func (*NullableLatestClusterLogStatusEnum) Unset

type NullableNotificationConfig added in v0.0.9

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

func NewNullableNotificationConfig added in v0.0.9

func NewNullableNotificationConfig(val *NotificationConfig) *NullableNotificationConfig

func (NullableNotificationConfig) Get added in v0.0.9

func (NullableNotificationConfig) IsSet added in v0.0.9

func (v NullableNotificationConfig) IsSet() bool

func (NullableNotificationConfig) MarshalJSON added in v0.0.9

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

func (*NullableNotificationConfig) Set added in v0.0.9

func (*NullableNotificationConfig) UnmarshalJSON added in v0.0.9

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

func (*NullableNotificationConfig) Unset added in v0.0.9

func (v *NullableNotificationConfig) Unset()

type NullableOutputs

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

func NewNullableOutputs

func NewNullableOutputs(val *Outputs) *NullableOutputs

func (NullableOutputs) Get

func (v NullableOutputs) Get() *Outputs

func (NullableOutputs) IsSet

func (v NullableOutputs) IsSet() bool

func (NullableOutputs) MarshalJSON

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

func (*NullableOutputs) Set

func (v *NullableOutputs) Set(val *Outputs)

func (*NullableOutputs) UnmarshalJSON

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

func (*NullableOutputs) Unset

func (v *NullableOutputs) Unset()

type NullablePatchedConstrainPatchRequest

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

func (NullablePatchedConstrainPatchRequest) Get

func (NullablePatchedConstrainPatchRequest) IsSet

func (NullablePatchedConstrainPatchRequest) MarshalJSON

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

func (*NullablePatchedConstrainPatchRequest) Set

func (*NullablePatchedConstrainPatchRequest) UnmarshalJSON

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

func (*NullablePatchedConstrainPatchRequest) Unset

type NullablePatchedJobUpdateRequest added in v0.0.9

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

func NewNullablePatchedJobUpdateRequest added in v0.0.9

func NewNullablePatchedJobUpdateRequest(val *PatchedJobUpdateRequest) *NullablePatchedJobUpdateRequest

func (NullablePatchedJobUpdateRequest) Get added in v0.0.9

func (NullablePatchedJobUpdateRequest) IsSet added in v0.0.9

func (NullablePatchedJobUpdateRequest) MarshalJSON added in v0.0.9

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

func (*NullablePatchedJobUpdateRequest) Set added in v0.0.9

func (*NullablePatchedJobUpdateRequest) UnmarshalJSON added in v0.0.9

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

func (*NullablePatchedJobUpdateRequest) Unset added in v0.0.9

type NullablePickledHandleField

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

func NewNullablePickledHandleField

func NewNullablePickledHandleField(val *PickledHandleField) *NullablePickledHandleField

func (NullablePickledHandleField) Get

func (NullablePickledHandleField) IsSet

func (v NullablePickledHandleField) IsSet() bool

func (NullablePickledHandleField) MarshalJSON

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

func (*NullablePickledHandleField) Set

func (*NullablePickledHandleField) UnmarshalJSON

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

func (*NullablePickledHandleField) Unset

func (v *NullablePickledHandleField) Unset()

type NullableProject

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

func NewNullableProject

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get

func (v NullableProject) Get() *Project

func (NullableProject) IsSet

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON

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

func (*NullableProject) Set

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON

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

func (*NullableProject) Unset

func (v *NullableProject) Unset()

type NullableProjectCreateRequest

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

func NewNullableProjectCreateRequest

func NewNullableProjectCreateRequest(val *ProjectCreateRequest) *NullableProjectCreateRequest

func (NullableProjectCreateRequest) Get

func (NullableProjectCreateRequest) IsSet

func (NullableProjectCreateRequest) MarshalJSON

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

func (*NullableProjectCreateRequest) Set

func (*NullableProjectCreateRequest) UnmarshalJSON

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

func (*NullableProjectCreateRequest) Unset

func (v *NullableProjectCreateRequest) Unset()

type NullableProjectsGetResponse

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

func NewNullableProjectsGetResponse

func NewNullableProjectsGetResponse(val *ProjectsGetResponse) *NullableProjectsGetResponse

func (NullableProjectsGetResponse) Get

func (NullableProjectsGetResponse) IsSet

func (NullableProjectsGetResponse) MarshalJSON

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

func (*NullableProjectsGetResponse) Set

func (*NullableProjectsGetResponse) UnmarshalJSON

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

func (*NullableProjectsGetResponse) Unset

func (v *NullableProjectsGetResponse) Unset()

type NullableProvisionLog added in v0.0.8

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

func NewNullableProvisionLog added in v0.0.8

func NewNullableProvisionLog(val *ProvisionLog) *NullableProvisionLog

func (NullableProvisionLog) Get added in v0.0.8

func (NullableProvisionLog) IsSet added in v0.0.8

func (v NullableProvisionLog) IsSet() bool

func (NullableProvisionLog) MarshalJSON added in v0.0.8

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

func (*NullableProvisionLog) Set added in v0.0.8

func (v *NullableProvisionLog) Set(val *ProvisionLog)

func (*NullableProvisionLog) UnmarshalJSON added in v0.0.8

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

func (*NullableProvisionLog) Unset added in v0.0.8

func (v *NullableProvisionLog) Unset()

type NullableProvisionLogStatusEnum added in v0.0.8

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

func NewNullableProvisionLogStatusEnum added in v0.0.8

func NewNullableProvisionLogStatusEnum(val *ProvisionLogStatusEnum) *NullableProvisionLogStatusEnum

func (NullableProvisionLogStatusEnum) Get added in v0.0.8

func (NullableProvisionLogStatusEnum) IsSet added in v0.0.8

func (NullableProvisionLogStatusEnum) MarshalJSON added in v0.0.8

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

func (*NullableProvisionLogStatusEnum) Set added in v0.0.8

func (*NullableProvisionLogStatusEnum) UnmarshalJSON added in v0.0.8

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

func (*NullableProvisionLogStatusEnum) Unset added in v0.0.8

func (v *NullableProvisionLogStatusEnum) Unset()

type NullableResources

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

func NewNullableResources

func NewNullableResources(val *Resources) *NullableResources

func (NullableResources) Get

func (v NullableResources) Get() *Resources

func (NullableResources) IsSet

func (v NullableResources) IsSet() bool

func (NullableResources) MarshalJSON

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

func (*NullableResources) Set

func (v *NullableResources) Set(val *Resources)

func (*NullableResources) UnmarshalJSON

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

func (*NullableResources) Unset

func (v *NullableResources) Unset()

type NullableScore added in v0.0.11

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

func NewNullableScore added in v0.0.11

func NewNullableScore(val *Score) *NullableScore

func (NullableScore) Get added in v0.0.11

func (v NullableScore) Get() *Score

func (NullableScore) IsSet added in v0.0.11

func (v NullableScore) IsSet() bool

func (NullableScore) MarshalJSON added in v0.0.11

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

func (*NullableScore) Set added in v0.0.11

func (v *NullableScore) Set(val *Score)

func (*NullableScore) UnmarshalJSON added in v0.0.11

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

func (*NullableScore) Unset added in v0.0.11

func (v *NullableScore) Unset()

type NullableScript

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

func NewNullableScript

func NewNullableScript(val *Script) *NullableScript

func (NullableScript) Get

func (v NullableScript) Get() *Script

func (NullableScript) IsSet

func (v NullableScript) IsSet() bool

func (NullableScript) MarshalJSON

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

func (*NullableScript) Set

func (v *NullableScript) Set(val *Script)

func (*NullableScript) UnmarshalJSON

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

func (*NullableScript) Unset

func (v *NullableScript) 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 NullableTempJobPostRequest added in v0.0.7

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

func NewNullableTempJobPostRequest added in v0.0.7

func NewNullableTempJobPostRequest(val *TempJobPostRequest) *NullableTempJobPostRequest

func (NullableTempJobPostRequest) Get added in v0.0.7

func (NullableTempJobPostRequest) IsSet added in v0.0.7

func (v NullableTempJobPostRequest) IsSet() bool

func (NullableTempJobPostRequest) MarshalJSON added in v0.0.7

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

func (*NullableTempJobPostRequest) Set added in v0.0.7

func (*NullableTempJobPostRequest) UnmarshalJSON added in v0.0.7

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

func (*NullableTempJobPostRequest) Unset added in v0.0.7

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

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

func NewNullableTypeEnum

func NewNullableTypeEnum(val *TypeEnum) *NullableTypeEnum

func (NullableTypeEnum) Get

func (v NullableTypeEnum) Get() *TypeEnum

func (NullableTypeEnum) IsSet

func (v NullableTypeEnum) IsSet() bool

func (NullableTypeEnum) MarshalJSON

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

func (*NullableTypeEnum) Set

func (v *NullableTypeEnum) Set(val *TypeEnum)

func (*NullableTypeEnum) UnmarshalJSON

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

func (*NullableTypeEnum) Unset

func (v *NullableTypeEnum) Unset()

type NullableUser added in v0.0.6

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

func NewNullableUser added in v0.0.6

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get added in v0.0.6

func (v NullableUser) Get() *User

func (NullableUser) IsSet added in v0.0.6

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON added in v0.0.6

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

func (*NullableUser) Set added in v0.0.6

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON added in v0.0.6

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

func (*NullableUser) Unset added in v0.0.6

func (v *NullableUser) Unset()

type NullableUserPublicKeyRequest

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

func NewNullableUserPublicKeyRequest

func NewNullableUserPublicKeyRequest(val *UserPublicKeyRequest) *NullableUserPublicKeyRequest

func (NullableUserPublicKeyRequest) Get

func (NullableUserPublicKeyRequest) IsSet

func (NullableUserPublicKeyRequest) MarshalJSON

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

func (*NullableUserPublicKeyRequest) Set

func (*NullableUserPublicKeyRequest) UnmarshalJSON

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

func (*NullableUserPublicKeyRequest) Unset

func (v *NullableUserPublicKeyRequest) Unset()

type NullableUserPublicKeyResponse

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

func (NullableUserPublicKeyResponse) Get

func (NullableUserPublicKeyResponse) IsSet

func (NullableUserPublicKeyResponse) MarshalJSON

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

func (*NullableUserPublicKeyResponse) Set

func (*NullableUserPublicKeyResponse) UnmarshalJSON

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

func (*NullableUserPublicKeyResponse) Unset

func (v *NullableUserPublicKeyResponse) Unset()

type NullableUserResponse

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

func NewNullableUserResponse

func NewNullableUserResponse(val *UserResponse) *NullableUserResponse

func (NullableUserResponse) Get

func (NullableUserResponse) IsSet

func (v NullableUserResponse) IsSet() bool

func (NullableUserResponse) MarshalJSON

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

func (*NullableUserResponse) Set

func (v *NullableUserResponse) Set(val *UserResponse)

func (*NullableUserResponse) UnmarshalJSON

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

func (*NullableUserResponse) Unset

func (v *NullableUserResponse) Unset()

type NullableWorkload added in v0.0.11

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

func NewNullableWorkload added in v0.0.11

func NewNullableWorkload(val *Workload) *NullableWorkload

func (NullableWorkload) Get added in v0.0.11

func (v NullableWorkload) Get() *Workload

func (NullableWorkload) IsSet added in v0.0.11

func (v NullableWorkload) IsSet() bool

func (NullableWorkload) MarshalJSON added in v0.0.11

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

func (*NullableWorkload) Set added in v0.0.11

func (v *NullableWorkload) Set(val *Workload)

func (*NullableWorkload) UnmarshalJSON added in v0.0.11

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

func (*NullableWorkload) Unset added in v0.0.11

func (v *NullableWorkload) Unset()

type NullableWorkloadTypeEnum added in v0.0.11

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

func NewNullableWorkloadTypeEnum added in v0.0.11

func NewNullableWorkloadTypeEnum(val *WorkloadTypeEnum) *NullableWorkloadTypeEnum

func (NullableWorkloadTypeEnum) Get added in v0.0.11

func (NullableWorkloadTypeEnum) IsSet added in v0.0.11

func (v NullableWorkloadTypeEnum) IsSet() bool

func (NullableWorkloadTypeEnum) MarshalJSON added in v0.0.11

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

func (*NullableWorkloadTypeEnum) Set added in v0.0.11

func (*NullableWorkloadTypeEnum) UnmarshalJSON added in v0.0.11

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

func (*NullableWorkloadTypeEnum) Unset added in v0.0.11

func (v *NullableWorkloadTypeEnum) Unset()

type Outputs

type Outputs struct {
	Buckets []Bucket `json:"buckets,omitempty"`
}

Outputs Outputs configuration serializer.

func NewOutputs

func NewOutputs() *Outputs

NewOutputs instantiates a new Outputs 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 NewOutputsWithDefaults

func NewOutputsWithDefaults() *Outputs

NewOutputsWithDefaults instantiates a new Outputs 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 (*Outputs) GetBuckets

func (o *Outputs) GetBuckets() []Bucket

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

func (*Outputs) GetBucketsOk

func (o *Outputs) GetBucketsOk() ([]Bucket, bool)

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

func (*Outputs) HasBuckets

func (o *Outputs) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

func (Outputs) MarshalJSON

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

func (*Outputs) SetBuckets

func (o *Outputs) SetBuckets(v []Bucket)

SetBuckets gets a reference to the given []Bucket and assigns it to the Buckets field.

func (Outputs) ToMap added in v0.0.5

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

type PatchedConstrainPatchRequest

type PatchedConstrainPatchRequest struct {
	JobId  *string           `json:"job_id,omitempty"`
	Config *ConstrainRequest `json:"config,omitempty"`
}

PatchedConstrainPatchRequest Serializer for cluster constraint patch request.

func NewPatchedConstrainPatchRequest

func NewPatchedConstrainPatchRequest() *PatchedConstrainPatchRequest

NewPatchedConstrainPatchRequest instantiates a new PatchedConstrainPatchRequest 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 NewPatchedConstrainPatchRequestWithDefaults

func NewPatchedConstrainPatchRequestWithDefaults() *PatchedConstrainPatchRequest

NewPatchedConstrainPatchRequestWithDefaults instantiates a new PatchedConstrainPatchRequest 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 (*PatchedConstrainPatchRequest) GetConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*PatchedConstrainPatchRequest) GetConfigOk

func (o *PatchedConstrainPatchRequest) GetConfigOk() (*ConstrainRequest, bool)

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

func (*PatchedConstrainPatchRequest) GetJobId

func (o *PatchedConstrainPatchRequest) GetJobId() string

GetJobId returns the JobId field value if set, zero value otherwise.

func (*PatchedConstrainPatchRequest) GetJobIdOk

func (o *PatchedConstrainPatchRequest) GetJobIdOk() (*string, bool)

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

func (*PatchedConstrainPatchRequest) HasConfig

func (o *PatchedConstrainPatchRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*PatchedConstrainPatchRequest) HasJobId

func (o *PatchedConstrainPatchRequest) HasJobId() bool

HasJobId returns a boolean if a field has been set.

func (PatchedConstrainPatchRequest) MarshalJSON

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

func (*PatchedConstrainPatchRequest) SetConfig

SetConfig gets a reference to the given ConstrainRequest and assigns it to the Config field.

func (*PatchedConstrainPatchRequest) SetJobId

func (o *PatchedConstrainPatchRequest) SetJobId(v string)

SetJobId gets a reference to the given string and assigns it to the JobId field.

func (PatchedConstrainPatchRequest) ToMap added in v0.0.5

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

type PatchedJobUpdateRequest added in v0.0.9

type PatchedJobUpdateRequest struct {
	Logs       *string    `json:"logs,omitempty"`
	ExitCode   *int32     `json:"exit_code,omitempty"`
	FinishedAt *time.Time `json:"finished_at,omitempty"`
}

PatchedJobUpdateRequest Job update request serializer.

func NewPatchedJobUpdateRequest added in v0.0.9

func NewPatchedJobUpdateRequest() *PatchedJobUpdateRequest

NewPatchedJobUpdateRequest instantiates a new PatchedJobUpdateRequest 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 NewPatchedJobUpdateRequestWithDefaults added in v0.0.9

func NewPatchedJobUpdateRequestWithDefaults() *PatchedJobUpdateRequest

NewPatchedJobUpdateRequestWithDefaults instantiates a new PatchedJobUpdateRequest 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 (*PatchedJobUpdateRequest) GetExitCode added in v0.0.9

func (o *PatchedJobUpdateRequest) GetExitCode() int32

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

func (*PatchedJobUpdateRequest) GetExitCodeOk added in v0.0.9

func (o *PatchedJobUpdateRequest) 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 (*PatchedJobUpdateRequest) GetFinishedAt added in v0.0.9

func (o *PatchedJobUpdateRequest) GetFinishedAt() time.Time

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

func (*PatchedJobUpdateRequest) GetFinishedAtOk added in v0.0.9

func (o *PatchedJobUpdateRequest) GetFinishedAtOk() (*time.Time, 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 (*PatchedJobUpdateRequest) GetLogs added in v0.0.9

func (o *PatchedJobUpdateRequest) GetLogs() string

GetLogs returns the Logs field value if set, zero value otherwise.

func (*PatchedJobUpdateRequest) GetLogsOk added in v0.0.9

func (o *PatchedJobUpdateRequest) GetLogsOk() (*string, bool)

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

func (*PatchedJobUpdateRequest) HasExitCode added in v0.0.9

func (o *PatchedJobUpdateRequest) HasExitCode() bool

HasExitCode returns a boolean if a field has been set.

func (*PatchedJobUpdateRequest) HasFinishedAt added in v0.0.9

func (o *PatchedJobUpdateRequest) HasFinishedAt() bool

HasFinishedAt returns a boolean if a field has been set.

func (*PatchedJobUpdateRequest) HasLogs added in v0.0.9

func (o *PatchedJobUpdateRequest) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (PatchedJobUpdateRequest) MarshalJSON added in v0.0.9

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

func (*PatchedJobUpdateRequest) SetExitCode added in v0.0.9

func (o *PatchedJobUpdateRequest) SetExitCode(v int32)

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

func (*PatchedJobUpdateRequest) SetFinishedAt added in v0.0.9

func (o *PatchedJobUpdateRequest) SetFinishedAt(v time.Time)

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

func (*PatchedJobUpdateRequest) SetLogs added in v0.0.9

func (o *PatchedJobUpdateRequest) SetLogs(v string)

SetLogs gets a reference to the given string and assigns it to the Logs field.

func (PatchedJobUpdateRequest) ToMap added in v0.0.9

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

type PickledHandleField

type PickledHandleField struct {
	DockerUser       NullableString `json:"docker_user,omitempty"`
	StableInternalIp NullableString `json:"stable_internal_ip,omitempty"`
	StableExternalIp NullableString `json:"stable_external_ip,omitempty"`
	StableSshPorts   []int32        `json:"stable_ssh_ports,omitempty"`
	SshUser          NullableString `json:"ssh_user,omitempty"`
}

PickledHandleField Custom field serializer for pickled handle data.

func NewPickledHandleField

func NewPickledHandleField() *PickledHandleField

NewPickledHandleField instantiates a new PickledHandleField 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 NewPickledHandleFieldWithDefaults

func NewPickledHandleFieldWithDefaults() *PickledHandleField

NewPickledHandleFieldWithDefaults instantiates a new PickledHandleField 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 (*PickledHandleField) GetDockerUser added in v0.0.14

func (o *PickledHandleField) GetDockerUser() string

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

func (*PickledHandleField) GetDockerUserOk added in v0.0.14

func (o *PickledHandleField) GetDockerUserOk() (*string, bool)

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

func (*PickledHandleField) GetSshUser

func (o *PickledHandleField) GetSshUser() string

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

func (*PickledHandleField) GetSshUserOk

func (o *PickledHandleField) GetSshUserOk() (*string, bool)

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

func (*PickledHandleField) GetStableExternalIp

func (o *PickledHandleField) GetStableExternalIp() string

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

func (*PickledHandleField) GetStableExternalIpOk

func (o *PickledHandleField) GetStableExternalIpOk() (*string, bool)

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

func (*PickledHandleField) GetStableInternalIp

func (o *PickledHandleField) GetStableInternalIp() string

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

func (*PickledHandleField) GetStableInternalIpOk

func (o *PickledHandleField) GetStableInternalIpOk() (*string, bool)

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

func (*PickledHandleField) GetStableSshPorts

func (o *PickledHandleField) GetStableSshPorts() []int32

GetStableSshPorts returns the StableSshPorts field value if set, zero value otherwise.

func (*PickledHandleField) GetStableSshPortsOk

func (o *PickledHandleField) GetStableSshPortsOk() ([]int32, bool)

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

func (*PickledHandleField) HasDockerUser added in v0.0.14

func (o *PickledHandleField) HasDockerUser() bool

HasDockerUser returns a boolean if a field has been set.

func (*PickledHandleField) HasSshUser added in v0.0.5

func (o *PickledHandleField) HasSshUser() bool

HasSshUser returns a boolean if a field has been set.

func (*PickledHandleField) HasStableExternalIp added in v0.0.5

func (o *PickledHandleField) HasStableExternalIp() bool

HasStableExternalIp returns a boolean if a field has been set.

func (*PickledHandleField) HasStableInternalIp added in v0.0.5

func (o *PickledHandleField) HasStableInternalIp() bool

HasStableInternalIp returns a boolean if a field has been set.

func (*PickledHandleField) HasStableSshPorts added in v0.0.5

func (o *PickledHandleField) HasStableSshPorts() bool

HasStableSshPorts returns a boolean if a field has been set.

func (PickledHandleField) MarshalJSON

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

func (*PickledHandleField) SetDockerUser added in v0.0.14

func (o *PickledHandleField) SetDockerUser(v string)

SetDockerUser gets a reference to the given NullableString and assigns it to the DockerUser field.

func (*PickledHandleField) SetDockerUserNil added in v0.0.14

func (o *PickledHandleField) SetDockerUserNil()

SetDockerUserNil sets the value for DockerUser to be an explicit nil

func (*PickledHandleField) SetSshUser

func (o *PickledHandleField) SetSshUser(v string)

SetSshUser gets a reference to the given NullableString and assigns it to the SshUser field.

func (*PickledHandleField) SetSshUserNil added in v0.0.5

func (o *PickledHandleField) SetSshUserNil()

SetSshUserNil sets the value for SshUser to be an explicit nil

func (*PickledHandleField) SetStableExternalIp

func (o *PickledHandleField) SetStableExternalIp(v string)

SetStableExternalIp gets a reference to the given NullableString and assigns it to the StableExternalIp field.

func (*PickledHandleField) SetStableExternalIpNil added in v0.0.5

func (o *PickledHandleField) SetStableExternalIpNil()

SetStableExternalIpNil sets the value for StableExternalIp to be an explicit nil

func (*PickledHandleField) SetStableInternalIp

func (o *PickledHandleField) SetStableInternalIp(v string)

SetStableInternalIp gets a reference to the given NullableString and assigns it to the StableInternalIp field.

func (*PickledHandleField) SetStableInternalIpNil added in v0.0.5

func (o *PickledHandleField) SetStableInternalIpNil()

SetStableInternalIpNil sets the value for StableInternalIp to be an explicit nil

func (*PickledHandleField) SetStableSshPorts

func (o *PickledHandleField) SetStableSshPorts(v []int32)

SetStableSshPorts gets a reference to the given []int32 and assigns it to the StableSshPorts field.

func (PickledHandleField) ToMap added in v0.0.5

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

func (*PickledHandleField) UnsetDockerUser added in v0.0.14

func (o *PickledHandleField) UnsetDockerUser()

UnsetDockerUser ensures that no value is present for DockerUser, not even an explicit nil

func (*PickledHandleField) UnsetSshUser added in v0.0.5

func (o *PickledHandleField) UnsetSshUser()

UnsetSshUser ensures that no value is present for SshUser, not even an explicit nil

func (*PickledHandleField) UnsetStableExternalIp added in v0.0.5

func (o *PickledHandleField) UnsetStableExternalIp()

UnsetStableExternalIp ensures that no value is present for StableExternalIp, not even an explicit nil

func (*PickledHandleField) UnsetStableInternalIp added in v0.0.5

func (o *PickledHandleField) UnsetStableInternalIp()

UnsetStableInternalIp ensures that no value is present for StableInternalIp, not even an explicit nil

type Project

type Project struct {
	Name      string                 `json:"name"`
	ProjectId string                 `json:"project_id"`
	Type      string                 `json:"type"`
	CreatedAt time.Time              `json:"created_at"`
	UpdatedAt time.Time              `json:"updated_at"`
	Env       map[string]interface{} `json:"env,omitempty"`
}

Project Project serializer.

func NewProject

func NewProject(name string, projectId string, type_ string, createdAt time.Time, updatedAt time.Time) *Project

NewProject instantiates a new Project 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 NewProjectWithDefaults

func NewProjectWithDefaults() *Project

NewProjectWithDefaults instantiates a new Project 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 (*Project) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Project) GetCreatedAtOk

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

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

func (*Project) GetEnv added in v0.0.16

func (o *Project) GetEnv() map[string]interface{}

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

func (*Project) GetEnvOk added in v0.0.16

func (o *Project) GetEnvOk() (map[string]interface{}, bool)

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

func (*Project) GetName

func (o *Project) GetName() string

GetName returns the Name field value

func (*Project) GetNameOk

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

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

func (*Project) GetProjectId

func (o *Project) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*Project) GetProjectIdOk

func (o *Project) GetProjectIdOk() (*string, bool)

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

func (*Project) GetType

func (o *Project) GetType() string

GetType returns the Type field value

func (*Project) GetTypeOk

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

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

func (*Project) GetUpdatedAt

func (o *Project) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*Project) GetUpdatedAtOk

func (o *Project) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Project) HasEnv added in v0.0.16

func (o *Project) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (Project) MarshalJSON

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

func (*Project) SetCreatedAt

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

SetCreatedAt sets field value

func (*Project) SetEnv added in v0.0.16

func (o *Project) SetEnv(v map[string]interface{})

SetEnv gets a reference to the given map[string]interface{} and assigns it to the Env field.

func (*Project) SetName

func (o *Project) SetName(v string)

SetName sets field value

func (*Project) SetProjectId

func (o *Project) SetProjectId(v string)

SetProjectId sets field value

func (*Project) SetType

func (o *Project) SetType(v string)

SetType sets field value

func (*Project) SetUpdatedAt

func (o *Project) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (Project) ToMap added in v0.0.5

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

func (*Project) UnmarshalJSON added in v0.0.5

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

type ProjectCreateRequest

type ProjectCreateRequest struct {
	Name string `json:"name"`
}

ProjectCreateRequest Project create request serializer.

func NewProjectCreateRequest

func NewProjectCreateRequest(name string) *ProjectCreateRequest

NewProjectCreateRequest instantiates a new ProjectCreateRequest 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 NewProjectCreateRequestWithDefaults

func NewProjectCreateRequestWithDefaults() *ProjectCreateRequest

NewProjectCreateRequestWithDefaults instantiates a new ProjectCreateRequest 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 (*ProjectCreateRequest) GetName

func (o *ProjectCreateRequest) GetName() string

GetName returns the Name field value

func (*ProjectCreateRequest) GetNameOk

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

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

func (ProjectCreateRequest) MarshalJSON

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

func (*ProjectCreateRequest) SetName

func (o *ProjectCreateRequest) SetName(v string)

SetName sets field value

func (ProjectCreateRequest) ToMap added in v0.0.5

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

func (*ProjectCreateRequest) UnmarshalJSON added in v0.0.5

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

type ProjectsAPIService added in v0.0.5

type ProjectsAPIService service

ProjectsAPIService ProjectsAPI service

func (*ProjectsAPIService) CreateProject added in v0.0.5

CreateProject Method for CreateProject

Create a new project.

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

func (*ProjectsAPIService) CreateProjectExecute added in v0.0.5

func (a *ProjectsAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectsAPIService) DeleteProject added in v0.0.5

func (a *ProjectsAPIService) DeleteProject(ctx context.Context, projectId string) ApiDeleteProjectRequest

DeleteProject Method for DeleteProject

Delete a specific project.

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

func (*ProjectsAPIService) DeleteProjectExecute added in v0.0.5

func (a *ProjectsAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)

Execute executes the request

func (*ProjectsAPIService) ListProjects added in v0.0.5

ListProjects Method for ListProjects

List all projects for the authenticated user.

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

func (*ProjectsAPIService) ListProjectsExecute added in v0.0.5

Execute executes the request

@return ProjectsGetResponse

func (*ProjectsAPIService) ProjectsJobsRetrieve added in v0.0.5

func (a *ProjectsAPIService) ProjectsJobsRetrieve(ctx context.Context, projectId string) ApiProjectsJobsRetrieveRequest

ProjectsJobsRetrieve Method for ProjectsJobsRetrieve

Get the jobs for the user.

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

func (*ProjectsAPIService) ProjectsJobsRetrieveExecute added in v0.0.5

func (a *ProjectsAPIService) ProjectsJobsRetrieveExecute(r ApiProjectsJobsRetrieveRequest) (*JobListResponse, *http.Response, error)

Execute executes the request

@return JobListResponse

func (*ProjectsAPIService) RetrieveProject added in v0.0.5

func (a *ProjectsAPIService) RetrieveProject(ctx context.Context, projectId string) ApiRetrieveProjectRequest

RetrieveProject Method for RetrieveProject

Retrieve a specific project.

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

func (*ProjectsAPIService) RetrieveProjectExecute added in v0.0.5

func (a *ProjectsAPIService) RetrieveProjectExecute(r ApiRetrieveProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

type ProjectsGetResponse

type ProjectsGetResponse struct {
	Projects []Project `json:"projects"`
}

ProjectsGetResponse Projects serializer.

func NewProjectsGetResponse

func NewProjectsGetResponse(projects []Project) *ProjectsGetResponse

NewProjectsGetResponse instantiates a new ProjectsGetResponse 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 NewProjectsGetResponseWithDefaults

func NewProjectsGetResponseWithDefaults() *ProjectsGetResponse

NewProjectsGetResponseWithDefaults instantiates a new ProjectsGetResponse 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 (*ProjectsGetResponse) GetProjects

func (o *ProjectsGetResponse) GetProjects() []Project

GetProjects returns the Projects field value

func (*ProjectsGetResponse) GetProjectsOk

func (o *ProjectsGetResponse) GetProjectsOk() ([]Project, bool)

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

func (ProjectsGetResponse) MarshalJSON

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

func (*ProjectsGetResponse) SetProjects

func (o *ProjectsGetResponse) SetProjects(v []Project)

SetProjects sets field value

func (ProjectsGetResponse) ToMap added in v0.0.5

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

func (*ProjectsGetResponse) UnmarshalJSON added in v0.0.5

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

type ProvisionAPIService added in v0.0.8

type ProvisionAPIService service

ProvisionAPIService ProvisionAPI service

func (*ProvisionAPIService) ProvisionRetrieve added in v0.0.8

func (a *ProvisionAPIService) ProvisionRetrieve(ctx context.Context, provisionId string) ApiProvisionRetrieveRequest

ProvisionRetrieve Method for ProvisionRetrieve

Retrieve the current status of a Cluster.

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

func (*ProvisionAPIService) ProvisionRetrieveExecute added in v0.0.8

func (a *ProvisionAPIService) ProvisionRetrieveExecute(r ApiProvisionRetrieveRequest) (*ProvisionLog, *http.Response, error)

Execute executes the request

@return ProvisionLog

type ProvisionLog added in v0.0.8

type ProvisionLog struct {
	Cluster     Cluster                 `json:"cluster"`
	ProvisionId string                  `json:"provision_id"`
	StepName    string                  `json:"step_name"`
	Status      *ProvisionLogStatusEnum `json:"status,omitempty"`
	Message     NullableString          `json:"message,omitempty"`
	StartedAt   time.Time               `json:"started_at"`
	UpdatedAt   time.Time               `json:"updated_at"`
}

ProvisionLog struct for ProvisionLog

func NewProvisionLog added in v0.0.8

func NewProvisionLog(cluster Cluster, provisionId string, stepName string, startedAt time.Time, updatedAt time.Time) *ProvisionLog

NewProvisionLog instantiates a new ProvisionLog 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 NewProvisionLogWithDefaults added in v0.0.8

func NewProvisionLogWithDefaults() *ProvisionLog

NewProvisionLogWithDefaults instantiates a new ProvisionLog 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 (*ProvisionLog) GetCluster added in v0.0.8

func (o *ProvisionLog) GetCluster() Cluster

GetCluster returns the Cluster field value

func (*ProvisionLog) GetClusterOk added in v0.0.8

func (o *ProvisionLog) GetClusterOk() (*Cluster, bool)

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

func (*ProvisionLog) GetMessage added in v0.0.8

func (o *ProvisionLog) GetMessage() string

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

func (*ProvisionLog) GetMessageOk added in v0.0.8

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

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

func (*ProvisionLog) GetProvisionId added in v0.0.8

func (o *ProvisionLog) GetProvisionId() string

GetProvisionId returns the ProvisionId field value

func (*ProvisionLog) GetProvisionIdOk added in v0.0.8

func (o *ProvisionLog) GetProvisionIdOk() (*string, bool)

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

func (*ProvisionLog) GetStartedAt added in v0.0.8

func (o *ProvisionLog) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value

func (*ProvisionLog) GetStartedAtOk added in v0.0.8

func (o *ProvisionLog) GetStartedAtOk() (*time.Time, bool)

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

func (*ProvisionLog) GetStatus added in v0.0.8

func (o *ProvisionLog) GetStatus() ProvisionLogStatusEnum

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

func (*ProvisionLog) GetStatusOk added in v0.0.8

func (o *ProvisionLog) GetStatusOk() (*ProvisionLogStatusEnum, 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 (*ProvisionLog) GetStepName added in v0.0.8

func (o *ProvisionLog) GetStepName() string

GetStepName returns the StepName field value

func (*ProvisionLog) GetStepNameOk added in v0.0.8

func (o *ProvisionLog) GetStepNameOk() (*string, bool)

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

func (*ProvisionLog) GetUpdatedAt added in v0.0.8

func (o *ProvisionLog) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ProvisionLog) GetUpdatedAtOk added in v0.0.8

func (o *ProvisionLog) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ProvisionLog) HasMessage added in v0.0.8

func (o *ProvisionLog) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ProvisionLog) HasStatus added in v0.0.8

func (o *ProvisionLog) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ProvisionLog) MarshalJSON added in v0.0.8

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

func (*ProvisionLog) SetCluster added in v0.0.8

func (o *ProvisionLog) SetCluster(v Cluster)

SetCluster sets field value

func (*ProvisionLog) SetMessage added in v0.0.8

func (o *ProvisionLog) SetMessage(v string)

SetMessage gets a reference to the given NullableString and assigns it to the Message field.

func (*ProvisionLog) SetMessageNil added in v0.0.8

func (o *ProvisionLog) SetMessageNil()

SetMessageNil sets the value for Message to be an explicit nil

func (*ProvisionLog) SetProvisionId added in v0.0.8

func (o *ProvisionLog) SetProvisionId(v string)

SetProvisionId sets field value

func (*ProvisionLog) SetStartedAt added in v0.0.8

func (o *ProvisionLog) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*ProvisionLog) SetStatus added in v0.0.8

func (o *ProvisionLog) SetStatus(v ProvisionLogStatusEnum)

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

func (*ProvisionLog) SetStepName added in v0.0.8

func (o *ProvisionLog) SetStepName(v string)

SetStepName sets field value

func (*ProvisionLog) SetUpdatedAt added in v0.0.8

func (o *ProvisionLog) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (ProvisionLog) ToMap added in v0.0.8

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

func (*ProvisionLog) UnmarshalJSON added in v0.0.8

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

func (*ProvisionLog) UnsetMessage added in v0.0.8

func (o *ProvisionLog) UnsetMessage()

UnsetMessage ensures that no value is present for Message, not even an explicit nil

type ProvisionLogStatusEnum added in v0.0.8

type ProvisionLogStatusEnum string

ProvisionLogStatusEnum * `PENDING` - PROVISION_PENDING * `IN_PROGRESS` - PROVISION_IN_PROGRESS * `TRANSFER_SSH` - PROVISION_TRANSFER_SSH * `SETUP_BUCKETS` - PROVISION_SETUP_BUCKETS * `SYNC_FILE_MOUNTS` - PROVISION_SYNC_FILE_MOUNTS * `COMPLETED` - PROVISION_COMPLETED * `FAILED` - PROVISION_FAILED

const (
	PENDING          ProvisionLogStatusEnum = "PENDING"
	IN_PROGRESS      ProvisionLogStatusEnum = "IN_PROGRESS"
	TRANSFER_SSH     ProvisionLogStatusEnum = "TRANSFER_SSH"
	SETUP_BUCKETS    ProvisionLogStatusEnum = "SETUP_BUCKETS"
	SYNC_FILE_MOUNTS ProvisionLogStatusEnum = "SYNC_FILE_MOUNTS"
	COMPLETED        ProvisionLogStatusEnum = "COMPLETED"
	FAILED           ProvisionLogStatusEnum = "FAILED"
)

List of ProvisionLogStatusEnum

func NewProvisionLogStatusEnumFromValue added in v0.0.8

func NewProvisionLogStatusEnumFromValue(v string) (*ProvisionLogStatusEnum, error)

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

func (ProvisionLogStatusEnum) IsValid added in v0.0.8

func (v ProvisionLogStatusEnum) IsValid() bool

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

func (ProvisionLogStatusEnum) Ptr added in v0.0.8

Ptr returns reference to ProvisionLogStatusEnum value

func (*ProvisionLogStatusEnum) UnmarshalJSON added in v0.0.8

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

type Resources

type Resources struct {
	Clouds            []*string      `json:"clouds,omitempty"`
	InstanceTypes     []*string      `json:"instance_types,omitempty"`
	DockerImage       NullableString `json:"docker_image,omitempty"`
	Regions           []*string      `json:"regions,omitempty"`
	Areas             []*string      `json:"areas,omitempty"`
	Memory            NullableInt32  `json:"memory,omitempty"`
	Cpus              NullableInt32  `json:"cpus,omitempty"`
	Storage           NullableInt32  `json:"storage,omitempty"`
	PersistentDisk    NullableInt32  `json:"persistent_disk,omitempty"`
	Accelerators      []*string      `json:"accelerators"`
	ComputeCapability NullableString `json:"compute_capability,omitempty"`
	Vram              NullableInt32  `json:"vram,omitempty"`
	AcceleratorCount  NullableInt32  `json:"accelerator_count,omitempty"`
	Platform          NullableString `json:"platform,omitempty"`
}

Resources Resource configuration serializer.

func NewResources

func NewResources(accelerators []*string) *Resources

NewResources instantiates a new Resources 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 NewResourcesWithDefaults

func NewResourcesWithDefaults() *Resources

NewResourcesWithDefaults instantiates a new Resources 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 (*Resources) GetAcceleratorCount

func (o *Resources) GetAcceleratorCount() int32

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

func (*Resources) GetAcceleratorCountOk

func (o *Resources) GetAcceleratorCountOk() (*int32, bool)

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

func (*Resources) GetAccelerators

func (o *Resources) GetAccelerators() []*string

GetAccelerators returns the Accelerators field value If the value is explicit nil, the zero value for []*string will be returned

func (*Resources) GetAcceleratorsOk

func (o *Resources) GetAcceleratorsOk() ([]*string, bool)

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

func (*Resources) GetAreas

func (o *Resources) GetAreas() []*string

GetAreas returns the Areas field value if set, zero value otherwise.

func (*Resources) GetAreasOk

func (o *Resources) GetAreasOk() ([]*string, bool)

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

func (*Resources) GetClouds

func (o *Resources) GetClouds() []*string

GetClouds returns the Clouds field value if set, zero value otherwise.

func (*Resources) GetCloudsOk

func (o *Resources) GetCloudsOk() ([]*string, bool)

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

func (*Resources) GetComputeCapability

func (o *Resources) GetComputeCapability() string

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

func (*Resources) GetComputeCapabilityOk

func (o *Resources) GetComputeCapabilityOk() (*string, bool)

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

func (*Resources) GetCpus

func (o *Resources) GetCpus() int32

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

func (*Resources) GetCpusOk

func (o *Resources) GetCpusOk() (*int32, bool)

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

func (*Resources) GetDockerImage added in v0.0.13

func (o *Resources) GetDockerImage() string

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

func (*Resources) GetDockerImageOk added in v0.0.13

func (o *Resources) GetDockerImageOk() (*string, bool)

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

func (*Resources) GetInstanceTypes added in v0.0.15

func (o *Resources) GetInstanceTypes() []*string

GetInstanceTypes returns the InstanceTypes field value if set, zero value otherwise.

func (*Resources) GetInstanceTypesOk added in v0.0.15

func (o *Resources) GetInstanceTypesOk() ([]*string, bool)

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

func (*Resources) GetMemory

func (o *Resources) GetMemory() int32

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

func (*Resources) GetMemoryOk

func (o *Resources) GetMemoryOk() (*int32, bool)

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

func (*Resources) GetPersistentDisk

func (o *Resources) GetPersistentDisk() int32

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

func (*Resources) GetPersistentDiskOk

func (o *Resources) GetPersistentDiskOk() (*int32, bool)

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

func (*Resources) GetPlatform

func (o *Resources) GetPlatform() string

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

func (*Resources) GetPlatformOk

func (o *Resources) GetPlatformOk() (*string, bool)

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

func (*Resources) GetRegions

func (o *Resources) GetRegions() []*string

GetRegions returns the Regions field value if set, zero value otherwise.

func (*Resources) GetRegionsOk

func (o *Resources) GetRegionsOk() ([]*string, bool)

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

func (*Resources) GetStorage

func (o *Resources) GetStorage() int32

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

func (*Resources) GetStorageOk

func (o *Resources) GetStorageOk() (*int32, bool)

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

func (*Resources) GetVram

func (o *Resources) GetVram() int32

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

func (*Resources) GetVramOk

func (o *Resources) GetVramOk() (*int32, bool)

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

func (*Resources) HasAcceleratorCount

func (o *Resources) HasAcceleratorCount() bool

HasAcceleratorCount returns a boolean if a field has been set.

func (*Resources) HasAreas

func (o *Resources) HasAreas() bool

HasAreas returns a boolean if a field has been set.

func (*Resources) HasClouds

func (o *Resources) HasClouds() bool

HasClouds returns a boolean if a field has been set.

func (*Resources) HasComputeCapability

func (o *Resources) HasComputeCapability() bool

HasComputeCapability returns a boolean if a field has been set.

func (*Resources) HasCpus

func (o *Resources) HasCpus() bool

HasCpus returns a boolean if a field has been set.

func (*Resources) HasDockerImage added in v0.0.13

func (o *Resources) HasDockerImage() bool

HasDockerImage returns a boolean if a field has been set.

func (*Resources) HasInstanceTypes added in v0.0.15

func (o *Resources) HasInstanceTypes() bool

HasInstanceTypes returns a boolean if a field has been set.

func (*Resources) HasMemory

func (o *Resources) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*Resources) HasPersistentDisk

func (o *Resources) HasPersistentDisk() bool

HasPersistentDisk returns a boolean if a field has been set.

func (*Resources) HasPlatform

func (o *Resources) HasPlatform() bool

HasPlatform returns a boolean if a field has been set.

func (*Resources) HasRegions

func (o *Resources) HasRegions() bool

HasRegions returns a boolean if a field has been set.

func (*Resources) HasStorage

func (o *Resources) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*Resources) HasVram

func (o *Resources) HasVram() bool

HasVram returns a boolean if a field has been set.

func (Resources) MarshalJSON

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

func (*Resources) SetAcceleratorCount

func (o *Resources) SetAcceleratorCount(v int32)

SetAcceleratorCount gets a reference to the given NullableInt32 and assigns it to the AcceleratorCount field.

func (*Resources) SetAcceleratorCountNil

func (o *Resources) SetAcceleratorCountNil()

SetAcceleratorCountNil sets the value for AcceleratorCount to be an explicit nil

func (*Resources) SetAccelerators

func (o *Resources) SetAccelerators(v []*string)

SetAccelerators sets field value

func (*Resources) SetAreas

func (o *Resources) SetAreas(v []*string)

SetAreas gets a reference to the given []*string and assigns it to the Areas field.

func (*Resources) SetClouds

func (o *Resources) SetClouds(v []*string)

SetClouds gets a reference to the given []*string and assigns it to the Clouds field.

func (*Resources) SetComputeCapability

func (o *Resources) SetComputeCapability(v string)

SetComputeCapability gets a reference to the given NullableString and assigns it to the ComputeCapability field.

func (*Resources) SetComputeCapabilityNil

func (o *Resources) SetComputeCapabilityNil()

SetComputeCapabilityNil sets the value for ComputeCapability to be an explicit nil

func (*Resources) SetCpus

func (o *Resources) SetCpus(v int32)

SetCpus gets a reference to the given NullableInt32 and assigns it to the Cpus field.

func (*Resources) SetCpusNil

func (o *Resources) SetCpusNil()

SetCpusNil sets the value for Cpus to be an explicit nil

func (*Resources) SetDockerImage added in v0.0.13

func (o *Resources) SetDockerImage(v string)

SetDockerImage gets a reference to the given NullableString and assigns it to the DockerImage field.

func (*Resources) SetDockerImageNil added in v0.0.13

func (o *Resources) SetDockerImageNil()

SetDockerImageNil sets the value for DockerImage to be an explicit nil

func (*Resources) SetInstanceTypes added in v0.0.15

func (o *Resources) SetInstanceTypes(v []*string)

SetInstanceTypes gets a reference to the given []*string and assigns it to the InstanceTypes field.

func (*Resources) SetMemory

func (o *Resources) SetMemory(v int32)

SetMemory gets a reference to the given NullableInt32 and assigns it to the Memory field.

func (*Resources) SetMemoryNil

func (o *Resources) SetMemoryNil()

SetMemoryNil sets the value for Memory to be an explicit nil

func (*Resources) SetPersistentDisk

func (o *Resources) SetPersistentDisk(v int32)

SetPersistentDisk gets a reference to the given NullableInt32 and assigns it to the PersistentDisk field.

func (*Resources) SetPersistentDiskNil

func (o *Resources) SetPersistentDiskNil()

SetPersistentDiskNil sets the value for PersistentDisk to be an explicit nil

func (*Resources) SetPlatform

func (o *Resources) SetPlatform(v string)

SetPlatform gets a reference to the given NullableString and assigns it to the Platform field.

func (*Resources) SetPlatformNil

func (o *Resources) SetPlatformNil()

SetPlatformNil sets the value for Platform to be an explicit nil

func (*Resources) SetRegions

func (o *Resources) SetRegions(v []*string)

SetRegions gets a reference to the given []*string and assigns it to the Regions field.

func (*Resources) SetStorage

func (o *Resources) SetStorage(v int32)

SetStorage gets a reference to the given NullableInt32 and assigns it to the Storage field.

func (*Resources) SetStorageNil

func (o *Resources) SetStorageNil()

SetStorageNil sets the value for Storage to be an explicit nil

func (*Resources) SetVram

func (o *Resources) SetVram(v int32)

SetVram gets a reference to the given NullableInt32 and assigns it to the Vram field.

func (*Resources) SetVramNil

func (o *Resources) SetVramNil()

SetVramNil sets the value for Vram to be an explicit nil

func (Resources) ToMap added in v0.0.5

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

func (*Resources) UnmarshalJSON added in v0.0.5

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

func (*Resources) UnsetAcceleratorCount

func (o *Resources) UnsetAcceleratorCount()

UnsetAcceleratorCount ensures that no value is present for AcceleratorCount, not even an explicit nil

func (*Resources) UnsetComputeCapability

func (o *Resources) UnsetComputeCapability()

UnsetComputeCapability ensures that no value is present for ComputeCapability, not even an explicit nil

func (*Resources) UnsetCpus

func (o *Resources) UnsetCpus()

UnsetCpus ensures that no value is present for Cpus, not even an explicit nil

func (*Resources) UnsetDockerImage added in v0.0.13

func (o *Resources) UnsetDockerImage()

UnsetDockerImage ensures that no value is present for DockerImage, not even an explicit nil

func (*Resources) UnsetMemory

func (o *Resources) UnsetMemory()

UnsetMemory ensures that no value is present for Memory, not even an explicit nil

func (*Resources) UnsetPersistentDisk

func (o *Resources) UnsetPersistentDisk()

UnsetPersistentDisk ensures that no value is present for PersistentDisk, not even an explicit nil

func (*Resources) UnsetPlatform

func (o *Resources) UnsetPlatform()

UnsetPlatform ensures that no value is present for Platform, not even an explicit nil

func (*Resources) UnsetStorage

func (o *Resources) UnsetStorage()

UnsetStorage ensures that no value is present for Storage, not even an explicit nil

func (*Resources) UnsetVram

func (o *Resources) UnsetVram()

UnsetVram ensures that no value is present for Vram, not even an explicit nil

type Score added in v0.0.11

type Score struct {
	// Relative performance of the offer compared to the current configuration. A float value describing estimated proportional performance of the resource with the given workload. A value of 1 is equal performance, 2 is double performance and 0.5 is half performance.
	RelPerf float64 `json:"rel_perf"`
	// Relative price of the offer compared to the current configuration. A float value describing estimated proportional price of the resource with the given workload. A value of 1 is equal price, 2 is double price and 0.5 is half price.
	RelPrice float64 `json:"rel_price"`
	// Weighted score of the configuration taking into consideration the workload type, cost to performance weighting and more. Higher is better.
	WeightedScore float64 `json:"weighted_score"`
}

Score struct for Score

func NewScore added in v0.0.11

func NewScore(relPerf float64, relPrice float64, weightedScore float64) *Score

NewScore instantiates a new Score 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 NewScoreWithDefaults added in v0.0.11

func NewScoreWithDefaults() *Score

NewScoreWithDefaults instantiates a new Score 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 (*Score) GetRelPerf added in v0.0.11

func (o *Score) GetRelPerf() float64

GetRelPerf returns the RelPerf field value

func (*Score) GetRelPerfOk added in v0.0.11

func (o *Score) GetRelPerfOk() (*float64, bool)

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

func (*Score) GetRelPrice added in v0.0.11

func (o *Score) GetRelPrice() float64

GetRelPrice returns the RelPrice field value

func (*Score) GetRelPriceOk added in v0.0.11

func (o *Score) GetRelPriceOk() (*float64, bool)

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

func (*Score) GetWeightedScore added in v0.0.11

func (o *Score) GetWeightedScore() float64

GetWeightedScore returns the WeightedScore field value

func (*Score) GetWeightedScoreOk added in v0.0.11

func (o *Score) GetWeightedScoreOk() (*float64, bool)

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

func (Score) MarshalJSON added in v0.0.11

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

func (*Score) SetRelPerf added in v0.0.11

func (o *Score) SetRelPerf(v float64)

SetRelPerf sets field value

func (*Score) SetRelPrice added in v0.0.11

func (o *Score) SetRelPrice(v float64)

SetRelPrice sets field value

func (*Score) SetWeightedScore added in v0.0.11

func (o *Score) SetWeightedScore(v float64)

SetWeightedScore sets field value

func (Score) ToMap added in v0.0.11

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

func (*Score) UnmarshalJSON added in v0.0.11

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

type Script

type Script struct {
	Script []string `json:"script"`
}

Script Script configuration serializer.

func NewScript

func NewScript(script []string) *Script

NewScript instantiates a new Script 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 NewScriptWithDefaults

func NewScriptWithDefaults() *Script

NewScriptWithDefaults instantiates a new Script 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 (*Script) GetScript

func (o *Script) GetScript() []string

GetScript returns the Script field value

func (*Script) GetScriptOk

func (o *Script) GetScriptOk() ([]string, bool)

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

func (Script) MarshalJSON

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

func (*Script) SetScript

func (o *Script) SetScript(v []string)

SetScript sets field value

func (Script) ToMap added in v0.0.5

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

func (*Script) UnmarshalJSON added in v0.0.5

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

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type TempJobPostRequest added in v0.0.7

type TempJobPostRequest struct {
	Cluster Cluster          `json:"cluster"`
	Config  ConstrainRequest `json:"config"`
	Project Project          `json:"project"`
}

TempJobPostRequest Job detail post request serialier

func NewTempJobPostRequest added in v0.0.7

func NewTempJobPostRequest(cluster Cluster, config ConstrainRequest, project Project) *TempJobPostRequest

NewTempJobPostRequest instantiates a new TempJobPostRequest 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 NewTempJobPostRequestWithDefaults added in v0.0.7

func NewTempJobPostRequestWithDefaults() *TempJobPostRequest

NewTempJobPostRequestWithDefaults instantiates a new TempJobPostRequest 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 (*TempJobPostRequest) GetCluster added in v0.0.7

func (o *TempJobPostRequest) GetCluster() Cluster

GetCluster returns the Cluster field value

func (*TempJobPostRequest) GetClusterOk added in v0.0.7

func (o *TempJobPostRequest) GetClusterOk() (*Cluster, bool)

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

func (*TempJobPostRequest) GetConfig added in v0.0.7

func (o *TempJobPostRequest) GetConfig() ConstrainRequest

GetConfig returns the Config field value

func (*TempJobPostRequest) GetConfigOk added in v0.0.7

func (o *TempJobPostRequest) GetConfigOk() (*ConstrainRequest, bool)

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

func (*TempJobPostRequest) GetProject added in v0.0.7

func (o *TempJobPostRequest) GetProject() Project

GetProject returns the Project field value

func (*TempJobPostRequest) GetProjectOk added in v0.0.7

func (o *TempJobPostRequest) GetProjectOk() (*Project, bool)

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

func (TempJobPostRequest) MarshalJSON added in v0.0.7

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

func (*TempJobPostRequest) SetCluster added in v0.0.7

func (o *TempJobPostRequest) SetCluster(v Cluster)

SetCluster sets field value

func (*TempJobPostRequest) SetConfig added in v0.0.7

func (o *TempJobPostRequest) SetConfig(v ConstrainRequest)

SetConfig sets field value

func (*TempJobPostRequest) SetProject added in v0.0.7

func (o *TempJobPostRequest) SetProject(v Project)

SetProject sets field value

func (TempJobPostRequest) ToMap added in v0.0.7

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

func (*TempJobPostRequest) UnmarshalJSON added in v0.0.7

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

type TypeEnum

type TypeEnum string

TypeEnum * `local` - local * `git` - git * `docker` - docker

const (
	LOCAL  TypeEnum = "local"
	GIT    TypeEnum = "git"
	DOCKER TypeEnum = "docker"
)

List of TypeEnum

func NewTypeEnumFromValue

func NewTypeEnumFromValue(v string) (*TypeEnum, error)

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

func (TypeEnum) IsValid

func (v TypeEnum) IsValid() bool

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

func (TypeEnum) Ptr

func (v TypeEnum) Ptr() *TypeEnum

Ptr returns reference to TypeEnum value

func (*TypeEnum) UnmarshalJSON

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

type User added in v0.0.6

type User struct {
	Email string `json:"email"`
}

User User serializer.

func NewUser added in v0.0.6

func NewUser(email string) *User

NewUser instantiates a new User 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 NewUserWithDefaults added in v0.0.6

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User 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 (*User) GetEmail added in v0.0.6

func (o *User) GetEmail() string

GetEmail returns the Email field value

func (*User) GetEmailOk added in v0.0.6

func (o *User) GetEmailOk() (*string, bool)

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

func (User) MarshalJSON added in v0.0.6

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

func (*User) SetEmail added in v0.0.6

func (o *User) SetEmail(v string)

SetEmail sets field value

func (User) ToMap added in v0.0.6

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

func (*User) UnmarshalJSON added in v0.0.6

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

type UserPublicKeyRequest

type UserPublicKeyRequest struct {
	PublicKey string `json:"public_key"`
}

UserPublicKeyRequest struct for UserPublicKeyRequest

func NewUserPublicKeyRequest

func NewUserPublicKeyRequest(publicKey string) *UserPublicKeyRequest

NewUserPublicKeyRequest instantiates a new UserPublicKeyRequest 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 NewUserPublicKeyRequestWithDefaults

func NewUserPublicKeyRequestWithDefaults() *UserPublicKeyRequest

NewUserPublicKeyRequestWithDefaults instantiates a new UserPublicKeyRequest 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 (*UserPublicKeyRequest) GetPublicKey

func (o *UserPublicKeyRequest) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*UserPublicKeyRequest) GetPublicKeyOk

func (o *UserPublicKeyRequest) GetPublicKeyOk() (*string, bool)

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

func (UserPublicKeyRequest) MarshalJSON

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

func (*UserPublicKeyRequest) SetPublicKey

func (o *UserPublicKeyRequest) SetPublicKey(v string)

SetPublicKey sets field value

func (UserPublicKeyRequest) ToMap added in v0.0.5

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

func (*UserPublicKeyRequest) UnmarshalJSON added in v0.0.5

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

type UserPublicKeyResponse

type UserPublicKeyResponse struct {
	PublicKey string `json:"public_key"`
}

UserPublicKeyResponse struct for UserPublicKeyResponse

func NewUserPublicKeyResponse

func NewUserPublicKeyResponse(publicKey string) *UserPublicKeyResponse

NewUserPublicKeyResponse instantiates a new UserPublicKeyResponse 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 NewUserPublicKeyResponseWithDefaults

func NewUserPublicKeyResponseWithDefaults() *UserPublicKeyResponse

NewUserPublicKeyResponseWithDefaults instantiates a new UserPublicKeyResponse 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 (*UserPublicKeyResponse) GetPublicKey

func (o *UserPublicKeyResponse) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*UserPublicKeyResponse) GetPublicKeyOk

func (o *UserPublicKeyResponse) GetPublicKeyOk() (*string, bool)

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

func (UserPublicKeyResponse) MarshalJSON

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

func (*UserPublicKeyResponse) SetPublicKey

func (o *UserPublicKeyResponse) SetPublicKey(v string)

SetPublicKey sets field value

func (UserPublicKeyResponse) ToMap added in v0.0.5

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

func (*UserPublicKeyResponse) UnmarshalJSON added in v0.0.5

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

type UserResponse

type UserResponse struct {
	Email string `json:"email"`
}

UserResponse struct for UserResponse

func NewUserResponse

func NewUserResponse(email string) *UserResponse

NewUserResponse instantiates a new UserResponse 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 NewUserResponseWithDefaults

func NewUserResponseWithDefaults() *UserResponse

NewUserResponseWithDefaults instantiates a new UserResponse 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 (*UserResponse) GetEmail

func (o *UserResponse) GetEmail() string

GetEmail returns the Email field value

func (*UserResponse) GetEmailOk

func (o *UserResponse) GetEmailOk() (*string, bool)

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

func (UserResponse) MarshalJSON

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

func (*UserResponse) SetEmail

func (o *UserResponse) SetEmail(v string)

SetEmail sets field value

func (UserResponse) ToMap added in v0.0.5

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

func (*UserResponse) UnmarshalJSON added in v0.0.5

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

type UsersAPIService added in v0.0.5

type UsersAPIService service

UsersAPIService UsersAPI service

func (*UsersAPIService) UsersMePublicKeyCreate added in v0.0.5

func (a *UsersAPIService) UsersMePublicKeyCreate(ctx context.Context) ApiUsersMePublicKeyCreateRequest

UsersMePublicKeyCreate Method for UsersMePublicKeyCreate

Set the user's public key.

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

func (*UsersAPIService) UsersMePublicKeyCreateExecute added in v0.0.5

func (a *UsersAPIService) UsersMePublicKeyCreateExecute(r ApiUsersMePublicKeyCreateRequest) (*http.Response, error)

Execute executes the request

func (*UsersAPIService) UsersMePublicKeyRetrieve added in v0.0.5

func (a *UsersAPIService) UsersMePublicKeyRetrieve(ctx context.Context) ApiUsersMePublicKeyRetrieveRequest

UsersMePublicKeyRetrieve Method for UsersMePublicKeyRetrieve

Get the user's public key.

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

func (*UsersAPIService) UsersMePublicKeyRetrieveExecute added in v0.0.5

func (a *UsersAPIService) UsersMePublicKeyRetrieveExecute(r ApiUsersMePublicKeyRetrieveRequest) (*UserPublicKeyResponse, *http.Response, error)

Execute executes the request

@return UserPublicKeyResponse

func (*UsersAPIService) UsersMeRetrieve added in v0.0.5

func (a *UsersAPIService) UsersMeRetrieve(ctx context.Context) ApiUsersMeRetrieveRequest

UsersMeRetrieve Method for UsersMeRetrieve

Get the user information

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

func (*UsersAPIService) UsersMeRetrieveExecute added in v0.0.5

func (a *UsersAPIService) UsersMeRetrieveExecute(r ApiUsersMeRetrieveRequest) (*UserResponse, *http.Response, error)

Execute executes the request

@return UserResponse

type Workload added in v0.0.11

type Workload struct {
	WorkloadType WorkloadTypeEnum `json:"workload_type"`
	// A prompt describing the workload type you're running. Can be a LLM model name with precision, web hosting and more.
	WorkloadPrompt string `json:"workload_prompt"`
	// Weight factor balancing cost vs performance. -1 prioritizes cost, 1 prioritizes performance. For a balanced result, select 0.
	CostPerfWeight float64 `json:"cost_perf_weight"`
}

Workload struct for Workload

func NewWorkload added in v0.0.11

func NewWorkload(workloadType WorkloadTypeEnum, workloadPrompt string, costPerfWeight float64) *Workload

NewWorkload instantiates a new Workload 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 NewWorkloadWithDefaults added in v0.0.11

func NewWorkloadWithDefaults() *Workload

NewWorkloadWithDefaults instantiates a new Workload 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 (*Workload) GetCostPerfWeight added in v0.0.11

func (o *Workload) GetCostPerfWeight() float64

GetCostPerfWeight returns the CostPerfWeight field value

func (*Workload) GetCostPerfWeightOk added in v0.0.11

func (o *Workload) GetCostPerfWeightOk() (*float64, bool)

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

func (*Workload) GetWorkloadPrompt added in v0.0.11

func (o *Workload) GetWorkloadPrompt() string

GetWorkloadPrompt returns the WorkloadPrompt field value

func (*Workload) GetWorkloadPromptOk added in v0.0.11

func (o *Workload) GetWorkloadPromptOk() (*string, bool)

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

func (*Workload) GetWorkloadType added in v0.0.11

func (o *Workload) GetWorkloadType() WorkloadTypeEnum

GetWorkloadType returns the WorkloadType field value

func (*Workload) GetWorkloadTypeOk added in v0.0.11

func (o *Workload) GetWorkloadTypeOk() (*WorkloadTypeEnum, bool)

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

func (Workload) MarshalJSON added in v0.0.11

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

func (*Workload) SetCostPerfWeight added in v0.0.11

func (o *Workload) SetCostPerfWeight(v float64)

SetCostPerfWeight sets field value

func (*Workload) SetWorkloadPrompt added in v0.0.11

func (o *Workload) SetWorkloadPrompt(v string)

SetWorkloadPrompt sets field value

func (*Workload) SetWorkloadType added in v0.0.11

func (o *Workload) SetWorkloadType(v WorkloadTypeEnum)

SetWorkloadType sets field value

func (Workload) ToMap added in v0.0.11

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

func (*Workload) UnmarshalJSON added in v0.0.11

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

type WorkloadTypeEnum added in v0.0.11

type WorkloadTypeEnum string

WorkloadTypeEnum * `batch` - batch * `serving` - serving

const (
	BATCH   WorkloadTypeEnum = "batch"
	SERVING WorkloadTypeEnum = "serving"
)

List of WorkloadTypeEnum

func NewWorkloadTypeEnumFromValue added in v0.0.11

func NewWorkloadTypeEnumFromValue(v string) (*WorkloadTypeEnum, error)

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

func (WorkloadTypeEnum) IsValid added in v0.0.11

func (v WorkloadTypeEnum) IsValid() bool

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

func (WorkloadTypeEnum) Ptr added in v0.0.11

Ptr returns reference to WorkloadTypeEnum value

func (*WorkloadTypeEnum) UnmarshalJSON added in v0.0.11

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

Jump to

Keyboard shortcuts

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