generated

package
v0.1.0 Latest Latest
Warning

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

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

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 (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// 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")
)

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func 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 {
	SolverAPI *SolverAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the AgentKata Solver API API v0.1.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 ActionEnvelope

type ActionEnvelope struct {
	Data  map[string]interface{} `json:"data"`
	Error NullableExecutionError `json:"error"`
	Meta  *ExecutionResponseMeta `json:"meta,omitempty"`
}

ActionEnvelope struct for ActionEnvelope

func NewActionEnvelope

func NewActionEnvelope(data map[string]interface{}, error_ NullableExecutionError) *ActionEnvelope

NewActionEnvelope instantiates a new ActionEnvelope 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 NewActionEnvelopeWithDefaults

func NewActionEnvelopeWithDefaults() *ActionEnvelope

NewActionEnvelopeWithDefaults instantiates a new ActionEnvelope 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 (*ActionEnvelope) GetData

func (o *ActionEnvelope) GetData() map[string]interface{}

GetData returns the Data field value

func (*ActionEnvelope) GetDataOk

func (o *ActionEnvelope) GetDataOk() (map[string]interface{}, bool)

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

func (*ActionEnvelope) GetError

func (o *ActionEnvelope) GetError() ExecutionError

GetError returns the Error field value If the value is explicit nil, the zero value for ExecutionError will be returned

func (*ActionEnvelope) GetErrorOk

func (o *ActionEnvelope) GetErrorOk() (*ExecutionError, bool)

GetErrorOk returns a tuple with the Error 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 (*ActionEnvelope) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ActionEnvelope) GetMetaOk

func (o *ActionEnvelope) GetMetaOk() (*ExecutionResponseMeta, bool)

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

func (*ActionEnvelope) HasMeta

func (o *ActionEnvelope) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (ActionEnvelope) MarshalJSON

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

func (*ActionEnvelope) SetData

func (o *ActionEnvelope) SetData(v map[string]interface{})

SetData sets field value

func (*ActionEnvelope) SetError

func (o *ActionEnvelope) SetError(v ExecutionError)

SetError sets field value

func (*ActionEnvelope) SetMeta

func (o *ActionEnvelope) SetMeta(v ExecutionResponseMeta)

SetMeta gets a reference to the given ExecutionResponseMeta and assigns it to the Meta field.

func (ActionEnvelope) ToMap

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

func (*ActionEnvelope) UnmarshalJSON

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

type ActionRequest

type ActionRequest struct {
	Params map[string]interface{} `json:"params,omitempty"`
	Meta   *ExecutionMeta         `json:"meta,omitempty"`
}

ActionRequest struct for ActionRequest

func NewActionRequest

func NewActionRequest() *ActionRequest

NewActionRequest instantiates a new ActionRequest 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 NewActionRequestWithDefaults

func NewActionRequestWithDefaults() *ActionRequest

NewActionRequestWithDefaults instantiates a new ActionRequest 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 (*ActionRequest) GetMeta

func (o *ActionRequest) GetMeta() ExecutionMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ActionRequest) GetMetaOk

func (o *ActionRequest) GetMetaOk() (*ExecutionMeta, bool)

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

func (*ActionRequest) GetParams

func (o *ActionRequest) GetParams() map[string]interface{}

GetParams returns the Params field value if set, zero value otherwise.

func (*ActionRequest) GetParamsOk

func (o *ActionRequest) GetParamsOk() (map[string]interface{}, bool)

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

func (*ActionRequest) HasMeta

func (o *ActionRequest) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*ActionRequest) HasParams

func (o *ActionRequest) HasParams() bool

HasParams returns a boolean if a field has been set.

func (ActionRequest) MarshalJSON

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

func (*ActionRequest) SetMeta

func (o *ActionRequest) SetMeta(v ExecutionMeta)

SetMeta gets a reference to the given ExecutionMeta and assigns it to the Meta field.

func (*ActionRequest) SetParams

func (o *ActionRequest) SetParams(v map[string]interface{})

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

func (ActionRequest) ToMap

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

type ApiGetHealthRequest

type ApiGetHealthRequest struct {
	ApiService *SolverAPIService
	// contains filtered or unexported fields
}

func (ApiGetHealthRequest) Execute

type ApiRestartTaskRequest

type ApiRestartTaskRequest struct {
	ApiService *SolverAPIService
	// contains filtered or unexported fields
}

func (ApiRestartTaskRequest) Execute

type ApiRestartTrackRequest

type ApiRestartTrackRequest struct {
	ApiService *SolverAPIService
	// contains filtered or unexported fields
}

func (ApiRestartTrackRequest) Execute

type ApiSubmitTaskRequest

type ApiSubmitTaskRequest struct {
	ApiService *SolverAPIService
	// contains filtered or unexported fields
}

func (ApiSubmitTaskRequest) Execute

func (ApiSubmitTaskRequest) SubmitRequest

func (r ApiSubmitTaskRequest) SubmitRequest(submitRequest SubmitRequest) ApiSubmitTaskRequest

type ApiSubmitTrackTaskRequest

type ApiSubmitTrackTaskRequest struct {
	ApiService *SolverAPIService
	// contains filtered or unexported fields
}

func (ApiSubmitTrackTaskRequest) Execute

func (ApiSubmitTrackTaskRequest) SubmitRequest

func (r ApiSubmitTrackTaskRequest) SubmitRequest(submitRequest SubmitRequest) ApiSubmitTrackTaskRequest

type ApiTaskActionRequest

type ApiTaskActionRequest struct {
	ApiService *SolverAPIService
	// contains filtered or unexported fields
}

func (ApiTaskActionRequest) ActionRequest

func (r ApiTaskActionRequest) ActionRequest(actionRequest ActionRequest) ApiTaskActionRequest

func (ApiTaskActionRequest) Execute

type ApiTrackTaskActionRequest

type ApiTrackTaskActionRequest struct {
	ApiService *SolverAPIService
	// contains filtered or unexported fields
}

func (ApiTrackTaskActionRequest) ActionRequest

func (r ApiTrackTaskActionRequest) ActionRequest(actionRequest ActionRequest) ApiTrackTaskActionRequest

func (ApiTrackTaskActionRequest) Execute

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

type ErrorEnvelope struct {
	Data  interface{}            `json:"data"`
	Error ExecutionError         `json:"error"`
	Meta  *ExecutionResponseMeta `json:"meta,omitempty"`
}

ErrorEnvelope struct for ErrorEnvelope

func NewErrorEnvelope

func NewErrorEnvelope(data interface{}, error_ ExecutionError) *ErrorEnvelope

NewErrorEnvelope instantiates a new ErrorEnvelope 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 NewErrorEnvelopeWithDefaults

func NewErrorEnvelopeWithDefaults() *ErrorEnvelope

NewErrorEnvelopeWithDefaults instantiates a new ErrorEnvelope 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 (*ErrorEnvelope) GetData

func (o *ErrorEnvelope) GetData() interface{}

GetData returns the Data field value If the value is explicit nil, the zero value for interface{} will be returned

func (*ErrorEnvelope) GetDataOk

func (o *ErrorEnvelope) GetDataOk() (*interface{}, bool)

GetDataOk returns a tuple with the Data 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 (*ErrorEnvelope) GetError

func (o *ErrorEnvelope) GetError() ExecutionError

GetError returns the Error field value

func (*ErrorEnvelope) GetErrorOk

func (o *ErrorEnvelope) GetErrorOk() (*ExecutionError, bool)

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

func (*ErrorEnvelope) GetMeta

func (o *ErrorEnvelope) GetMeta() ExecutionResponseMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ErrorEnvelope) GetMetaOk

func (o *ErrorEnvelope) GetMetaOk() (*ExecutionResponseMeta, bool)

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

func (*ErrorEnvelope) HasMeta

func (o *ErrorEnvelope) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (ErrorEnvelope) MarshalJSON

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

func (*ErrorEnvelope) SetData

func (o *ErrorEnvelope) SetData(v interface{})

SetData sets field value

func (*ErrorEnvelope) SetError

func (o *ErrorEnvelope) SetError(v ExecutionError)

SetError sets field value

func (*ErrorEnvelope) SetMeta

func (o *ErrorEnvelope) SetMeta(v ExecutionResponseMeta)

SetMeta gets a reference to the given ExecutionResponseMeta and assigns it to the Meta field.

func (ErrorEnvelope) ToMap

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

func (*ErrorEnvelope) UnmarshalJSON

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

type ExecutionError

type ExecutionError struct {
	Code    string  `json:"code"`
	Message string  `json:"message"`
	Hint    *string `json:"hint,omitempty"`
}

ExecutionError struct for ExecutionError

func NewExecutionError

func NewExecutionError(code string, message string) *ExecutionError

NewExecutionError instantiates a new ExecutionError 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 NewExecutionErrorWithDefaults

func NewExecutionErrorWithDefaults() *ExecutionError

NewExecutionErrorWithDefaults instantiates a new ExecutionError 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 (*ExecutionError) GetCode

func (o *ExecutionError) GetCode() string

GetCode returns the Code field value

func (*ExecutionError) GetCodeOk

func (o *ExecutionError) GetCodeOk() (*string, bool)

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

func (*ExecutionError) GetHint

func (o *ExecutionError) GetHint() string

GetHint returns the Hint field value if set, zero value otherwise.

func (*ExecutionError) GetHintOk

func (o *ExecutionError) GetHintOk() (*string, bool)

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

func (*ExecutionError) GetMessage

func (o *ExecutionError) GetMessage() string

GetMessage returns the Message field value

func (*ExecutionError) GetMessageOk

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

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

func (*ExecutionError) HasHint

func (o *ExecutionError) HasHint() bool

HasHint returns a boolean if a field has been set.

func (ExecutionError) MarshalJSON

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

func (*ExecutionError) SetCode

func (o *ExecutionError) SetCode(v string)

SetCode sets field value

func (*ExecutionError) SetHint

func (o *ExecutionError) SetHint(v string)

SetHint gets a reference to the given string and assigns it to the Hint field.

func (*ExecutionError) SetMessage

func (o *ExecutionError) SetMessage(v string)

SetMessage sets field value

func (ExecutionError) ToMap

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

func (*ExecutionError) UnmarshalJSON

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

type ExecutionMeta

type ExecutionMeta struct {
	Model            *string `json:"model,omitempty"`
	PromptTokens     *int32  `json:"prompt_tokens,omitempty"`
	CompletionTokens *int32  `json:"completion_tokens,omitempty"`
}

ExecutionMeta struct for ExecutionMeta

func NewExecutionMeta

func NewExecutionMeta() *ExecutionMeta

NewExecutionMeta instantiates a new ExecutionMeta 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 NewExecutionMetaWithDefaults

func NewExecutionMetaWithDefaults() *ExecutionMeta

NewExecutionMetaWithDefaults instantiates a new ExecutionMeta 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 (*ExecutionMeta) GetCompletionTokens

func (o *ExecutionMeta) GetCompletionTokens() int32

GetCompletionTokens returns the CompletionTokens field value if set, zero value otherwise.

func (*ExecutionMeta) GetCompletionTokensOk

func (o *ExecutionMeta) GetCompletionTokensOk() (*int32, bool)

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

func (*ExecutionMeta) GetModel

func (o *ExecutionMeta) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*ExecutionMeta) GetModelOk

func (o *ExecutionMeta) GetModelOk() (*string, bool)

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

func (*ExecutionMeta) GetPromptTokens

func (o *ExecutionMeta) GetPromptTokens() int32

GetPromptTokens returns the PromptTokens field value if set, zero value otherwise.

func (*ExecutionMeta) GetPromptTokensOk

func (o *ExecutionMeta) GetPromptTokensOk() (*int32, bool)

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

func (*ExecutionMeta) HasCompletionTokens

func (o *ExecutionMeta) HasCompletionTokens() bool

HasCompletionTokens returns a boolean if a field has been set.

func (*ExecutionMeta) HasModel

func (o *ExecutionMeta) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*ExecutionMeta) HasPromptTokens

func (o *ExecutionMeta) HasPromptTokens() bool

HasPromptTokens returns a boolean if a field has been set.

func (ExecutionMeta) MarshalJSON

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

func (*ExecutionMeta) SetCompletionTokens

func (o *ExecutionMeta) SetCompletionTokens(v int32)

SetCompletionTokens gets a reference to the given int32 and assigns it to the CompletionTokens field.

func (*ExecutionMeta) SetModel

func (o *ExecutionMeta) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (*ExecutionMeta) SetPromptTokens

func (o *ExecutionMeta) SetPromptTokens(v int32)

SetPromptTokens gets a reference to the given int32 and assigns it to the PromptTokens field.

func (ExecutionMeta) ToMap

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

type ExecutionResponseMeta

type ExecutionResponseMeta struct {
	RunId      *string `json:"run_id,omitempty"`
	TrackRunId *string `json:"track_run_id,omitempty"`
	TrackId    *string `json:"track_id,omitempty"`
	TaskId     *string `json:"task_id,omitempty"`
	Status     *string `json:"status,omitempty"`
}

ExecutionResponseMeta struct for ExecutionResponseMeta

func NewExecutionResponseMeta

func NewExecutionResponseMeta() *ExecutionResponseMeta

NewExecutionResponseMeta instantiates a new ExecutionResponseMeta 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 NewExecutionResponseMetaWithDefaults

func NewExecutionResponseMetaWithDefaults() *ExecutionResponseMeta

NewExecutionResponseMetaWithDefaults instantiates a new ExecutionResponseMeta 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 (*ExecutionResponseMeta) GetRunId

func (o *ExecutionResponseMeta) GetRunId() string

GetRunId returns the RunId field value if set, zero value otherwise.

func (*ExecutionResponseMeta) GetRunIdOk

func (o *ExecutionResponseMeta) GetRunIdOk() (*string, bool)

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

func (*ExecutionResponseMeta) GetStatus

func (o *ExecutionResponseMeta) GetStatus() string

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

func (*ExecutionResponseMeta) GetStatusOk

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

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

func (*ExecutionResponseMeta) GetTaskId

func (o *ExecutionResponseMeta) GetTaskId() string

GetTaskId returns the TaskId field value if set, zero value otherwise.

func (*ExecutionResponseMeta) GetTaskIdOk

func (o *ExecutionResponseMeta) GetTaskIdOk() (*string, bool)

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

func (*ExecutionResponseMeta) GetTrackId

func (o *ExecutionResponseMeta) GetTrackId() string

GetTrackId returns the TrackId field value if set, zero value otherwise.

func (*ExecutionResponseMeta) GetTrackIdOk

func (o *ExecutionResponseMeta) GetTrackIdOk() (*string, bool)

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

func (*ExecutionResponseMeta) GetTrackRunId

func (o *ExecutionResponseMeta) GetTrackRunId() string

GetTrackRunId returns the TrackRunId field value if set, zero value otherwise.

func (*ExecutionResponseMeta) GetTrackRunIdOk

func (o *ExecutionResponseMeta) GetTrackRunIdOk() (*string, bool)

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

func (*ExecutionResponseMeta) HasRunId

func (o *ExecutionResponseMeta) HasRunId() bool

HasRunId returns a boolean if a field has been set.

func (*ExecutionResponseMeta) HasStatus

func (o *ExecutionResponseMeta) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ExecutionResponseMeta) HasTaskId

func (o *ExecutionResponseMeta) HasTaskId() bool

HasTaskId returns a boolean if a field has been set.

func (*ExecutionResponseMeta) HasTrackId

func (o *ExecutionResponseMeta) HasTrackId() bool

HasTrackId returns a boolean if a field has been set.

func (*ExecutionResponseMeta) HasTrackRunId

func (o *ExecutionResponseMeta) HasTrackRunId() bool

HasTrackRunId returns a boolean if a field has been set.

func (ExecutionResponseMeta) MarshalJSON

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

func (*ExecutionResponseMeta) SetRunId

func (o *ExecutionResponseMeta) SetRunId(v string)

SetRunId gets a reference to the given string and assigns it to the RunId field.

func (*ExecutionResponseMeta) SetStatus

func (o *ExecutionResponseMeta) SetStatus(v string)

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

func (*ExecutionResponseMeta) SetTaskId

func (o *ExecutionResponseMeta) SetTaskId(v string)

SetTaskId gets a reference to the given string and assigns it to the TaskId field.

func (*ExecutionResponseMeta) SetTrackId

func (o *ExecutionResponseMeta) SetTrackId(v string)

SetTrackId gets a reference to the given string and assigns it to the TrackId field.

func (*ExecutionResponseMeta) SetTrackRunId

func (o *ExecutionResponseMeta) SetTrackRunId(v string)

SetTrackRunId gets a reference to the given string and assigns it to the TrackRunId field.

func (ExecutionResponseMeta) ToMap

func (o ExecutionResponseMeta) ToMap() (map[string]interface{}, 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 HealthResponse

type HealthResponse struct {
	Status string `json:"status"`
}

HealthResponse struct for HealthResponse

func NewHealthResponse

func NewHealthResponse(status string) *HealthResponse

NewHealthResponse instantiates a new HealthResponse 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 NewHealthResponseWithDefaults

func NewHealthResponseWithDefaults() *HealthResponse

NewHealthResponseWithDefaults instantiates a new HealthResponse 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 (*HealthResponse) GetStatus

func (o *HealthResponse) GetStatus() string

GetStatus returns the Status field value

func (*HealthResponse) GetStatusOk

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

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

func (HealthResponse) MarshalJSON

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

func (*HealthResponse) SetStatus

func (o *HealthResponse) SetStatus(v string)

SetStatus sets field value

func (HealthResponse) ToMap

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

func (*HealthResponse) UnmarshalJSON

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

type MappedNullable

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

type NullableActionEnvelope

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

func NewNullableActionEnvelope

func NewNullableActionEnvelope(val *ActionEnvelope) *NullableActionEnvelope

func (NullableActionEnvelope) Get

func (NullableActionEnvelope) IsSet

func (v NullableActionEnvelope) IsSet() bool

func (NullableActionEnvelope) MarshalJSON

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

func (*NullableActionEnvelope) Set

func (*NullableActionEnvelope) UnmarshalJSON

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

func (*NullableActionEnvelope) Unset

func (v *NullableActionEnvelope) Unset()

type NullableActionRequest

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

func NewNullableActionRequest

func NewNullableActionRequest(val *ActionRequest) *NullableActionRequest

func (NullableActionRequest) Get

func (NullableActionRequest) IsSet

func (v NullableActionRequest) IsSet() bool

func (NullableActionRequest) MarshalJSON

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

func (*NullableActionRequest) Set

func (v *NullableActionRequest) Set(val *ActionRequest)

func (*NullableActionRequest) UnmarshalJSON

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

func (*NullableActionRequest) Unset

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

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

func NewNullableErrorEnvelope

func NewNullableErrorEnvelope(val *ErrorEnvelope) *NullableErrorEnvelope

func (NullableErrorEnvelope) Get

func (NullableErrorEnvelope) IsSet

func (v NullableErrorEnvelope) IsSet() bool

func (NullableErrorEnvelope) MarshalJSON

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

func (*NullableErrorEnvelope) Set

func (v *NullableErrorEnvelope) Set(val *ErrorEnvelope)

func (*NullableErrorEnvelope) UnmarshalJSON

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

func (*NullableErrorEnvelope) Unset

func (v *NullableErrorEnvelope) Unset()

type NullableExecutionError

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

func NewNullableExecutionError

func NewNullableExecutionError(val *ExecutionError) *NullableExecutionError

func (NullableExecutionError) Get

func (NullableExecutionError) IsSet

func (v NullableExecutionError) IsSet() bool

func (NullableExecutionError) MarshalJSON

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

func (*NullableExecutionError) Set

func (*NullableExecutionError) UnmarshalJSON

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

func (*NullableExecutionError) Unset

func (v *NullableExecutionError) Unset()

type NullableExecutionMeta

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

func NewNullableExecutionMeta

func NewNullableExecutionMeta(val *ExecutionMeta) *NullableExecutionMeta

func (NullableExecutionMeta) Get

func (NullableExecutionMeta) IsSet

func (v NullableExecutionMeta) IsSet() bool

func (NullableExecutionMeta) MarshalJSON

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

func (*NullableExecutionMeta) Set

func (v *NullableExecutionMeta) Set(val *ExecutionMeta)

func (*NullableExecutionMeta) UnmarshalJSON

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

func (*NullableExecutionMeta) Unset

func (v *NullableExecutionMeta) Unset()

type NullableExecutionResponseMeta

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

func (NullableExecutionResponseMeta) Get

func (NullableExecutionResponseMeta) IsSet

func (NullableExecutionResponseMeta) MarshalJSON

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

func (*NullableExecutionResponseMeta) Set

func (*NullableExecutionResponseMeta) UnmarshalJSON

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

func (*NullableExecutionResponseMeta) Unset

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

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

func NewNullableHealthResponse

func NewNullableHealthResponse(val *HealthResponse) *NullableHealthResponse

func (NullableHealthResponse) Get

func (NullableHealthResponse) IsSet

func (v NullableHealthResponse) IsSet() bool

func (NullableHealthResponse) MarshalJSON

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

func (*NullableHealthResponse) Set

func (*NullableHealthResponse) UnmarshalJSON

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

func (*NullableHealthResponse) Unset

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

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

func NewNullableRestartEnvelope

func NewNullableRestartEnvelope(val *RestartEnvelope) *NullableRestartEnvelope

func (NullableRestartEnvelope) Get

func (NullableRestartEnvelope) IsSet

func (v NullableRestartEnvelope) IsSet() bool

func (NullableRestartEnvelope) MarshalJSON

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

func (*NullableRestartEnvelope) Set

func (*NullableRestartEnvelope) UnmarshalJSON

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

func (*NullableRestartEnvelope) Unset

func (v *NullableRestartEnvelope) Unset()

type NullableRestartResponseData

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

func NewNullableRestartResponseData

func NewNullableRestartResponseData(val *RestartResponseData) *NullableRestartResponseData

func (NullableRestartResponseData) Get

func (NullableRestartResponseData) IsSet

func (NullableRestartResponseData) MarshalJSON

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

func (*NullableRestartResponseData) Set

func (*NullableRestartResponseData) UnmarshalJSON

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

func (*NullableRestartResponseData) Unset

func (v *NullableRestartResponseData) Unset()

type NullableScoreBreakdown

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

func NewNullableScoreBreakdown

func NewNullableScoreBreakdown(val *ScoreBreakdown) *NullableScoreBreakdown

func (NullableScoreBreakdown) Get

func (NullableScoreBreakdown) IsSet

func (v NullableScoreBreakdown) IsSet() bool

func (NullableScoreBreakdown) MarshalJSON

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

func (*NullableScoreBreakdown) Set

func (*NullableScoreBreakdown) UnmarshalJSON

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

func (*NullableScoreBreakdown) Unset

func (v *NullableScoreBreakdown) Unset()

type NullableSelfReportedMeta

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

func NewNullableSelfReportedMeta

func NewNullableSelfReportedMeta(val *SelfReportedMeta) *NullableSelfReportedMeta

func (NullableSelfReportedMeta) Get

func (NullableSelfReportedMeta) IsSet

func (v NullableSelfReportedMeta) IsSet() bool

func (NullableSelfReportedMeta) MarshalJSON

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

func (*NullableSelfReportedMeta) Set

func (*NullableSelfReportedMeta) UnmarshalJSON

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

func (*NullableSelfReportedMeta) Unset

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

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

func NewNullableSubmitEnvelope

func NewNullableSubmitEnvelope(val *SubmitEnvelope) *NullableSubmitEnvelope

func (NullableSubmitEnvelope) Get

func (NullableSubmitEnvelope) IsSet

func (v NullableSubmitEnvelope) IsSet() bool

func (NullableSubmitEnvelope) MarshalJSON

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

func (*NullableSubmitEnvelope) Set

func (*NullableSubmitEnvelope) UnmarshalJSON

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

func (*NullableSubmitEnvelope) Unset

func (v *NullableSubmitEnvelope) Unset()

type NullableSubmitParams

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

func NewNullableSubmitParams

func NewNullableSubmitParams(val *SubmitParams) *NullableSubmitParams

func (NullableSubmitParams) Get

func (NullableSubmitParams) IsSet

func (v NullableSubmitParams) IsSet() bool

func (NullableSubmitParams) MarshalJSON

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

func (*NullableSubmitParams) Set

func (v *NullableSubmitParams) Set(val *SubmitParams)

func (*NullableSubmitParams) UnmarshalJSON

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

func (*NullableSubmitParams) Unset

func (v *NullableSubmitParams) Unset()

type NullableSubmitRequest

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

func NewNullableSubmitRequest

func NewNullableSubmitRequest(val *SubmitRequest) *NullableSubmitRequest

func (NullableSubmitRequest) Get

func (NullableSubmitRequest) IsSet

func (v NullableSubmitRequest) IsSet() bool

func (NullableSubmitRequest) MarshalJSON

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

func (*NullableSubmitRequest) Set

func (v *NullableSubmitRequest) Set(val *SubmitRequest)

func (*NullableSubmitRequest) UnmarshalJSON

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

func (*NullableSubmitRequest) Unset

func (v *NullableSubmitRequest) Unset()

type NullableSubmitResult

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

func NewNullableSubmitResult

func NewNullableSubmitResult(val *SubmitResult) *NullableSubmitResult

func (NullableSubmitResult) Get

func (NullableSubmitResult) IsSet

func (v NullableSubmitResult) IsSet() bool

func (NullableSubmitResult) MarshalJSON

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

func (*NullableSubmitResult) Set

func (v *NullableSubmitResult) Set(val *SubmitResult)

func (*NullableSubmitResult) UnmarshalJSON

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

func (*NullableSubmitResult) Unset

func (v *NullableSubmitResult) Unset()

type NullableSubmitStats

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

func NewNullableSubmitStats

func NewNullableSubmitStats(val *SubmitStats) *NullableSubmitStats

func (NullableSubmitStats) Get

func (NullableSubmitStats) IsSet

func (v NullableSubmitStats) IsSet() bool

func (NullableSubmitStats) MarshalJSON

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

func (*NullableSubmitStats) Set

func (v *NullableSubmitStats) Set(val *SubmitStats)

func (*NullableSubmitStats) UnmarshalJSON

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

func (*NullableSubmitStats) Unset

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

type RestartEnvelope struct {
	Data  RestartResponseData    `json:"data"`
	Error NullableExecutionError `json:"error"`
	Meta  *ExecutionResponseMeta `json:"meta,omitempty"`
}

RestartEnvelope struct for RestartEnvelope

func NewRestartEnvelope

func NewRestartEnvelope(data RestartResponseData, error_ NullableExecutionError) *RestartEnvelope

NewRestartEnvelope instantiates a new RestartEnvelope 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 NewRestartEnvelopeWithDefaults

func NewRestartEnvelopeWithDefaults() *RestartEnvelope

NewRestartEnvelopeWithDefaults instantiates a new RestartEnvelope 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 (*RestartEnvelope) GetData

func (o *RestartEnvelope) GetData() RestartResponseData

GetData returns the Data field value

func (*RestartEnvelope) GetDataOk

func (o *RestartEnvelope) GetDataOk() (*RestartResponseData, bool)

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

func (*RestartEnvelope) GetError

func (o *RestartEnvelope) GetError() ExecutionError

GetError returns the Error field value If the value is explicit nil, the zero value for ExecutionError will be returned

func (*RestartEnvelope) GetErrorOk

func (o *RestartEnvelope) GetErrorOk() (*ExecutionError, bool)

GetErrorOk returns a tuple with the Error 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 (*RestartEnvelope) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*RestartEnvelope) GetMetaOk

func (o *RestartEnvelope) GetMetaOk() (*ExecutionResponseMeta, bool)

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

func (*RestartEnvelope) HasMeta

func (o *RestartEnvelope) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RestartEnvelope) MarshalJSON

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

func (*RestartEnvelope) SetData

func (o *RestartEnvelope) SetData(v RestartResponseData)

SetData sets field value

func (*RestartEnvelope) SetError

func (o *RestartEnvelope) SetError(v ExecutionError)

SetError sets field value

func (*RestartEnvelope) SetMeta

func (o *RestartEnvelope) SetMeta(v ExecutionResponseMeta)

SetMeta gets a reference to the given ExecutionResponseMeta and assigns it to the Meta field.

func (RestartEnvelope) ToMap

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

func (*RestartEnvelope) UnmarshalJSON

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

type RestartResponseData

type RestartResponseData struct {
	Restarted bool `json:"restarted"`
}

RestartResponseData struct for RestartResponseData

func NewRestartResponseData

func NewRestartResponseData(restarted bool) *RestartResponseData

NewRestartResponseData instantiates a new RestartResponseData 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 NewRestartResponseDataWithDefaults

func NewRestartResponseDataWithDefaults() *RestartResponseData

NewRestartResponseDataWithDefaults instantiates a new RestartResponseData 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 (*RestartResponseData) GetRestarted

func (o *RestartResponseData) GetRestarted() bool

GetRestarted returns the Restarted field value

func (*RestartResponseData) GetRestartedOk

func (o *RestartResponseData) GetRestartedOk() (*bool, bool)

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

func (RestartResponseData) MarshalJSON

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

func (*RestartResponseData) SetRestarted

func (o *RestartResponseData) SetRestarted(v bool)

SetRestarted sets field value

func (RestartResponseData) ToMap

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

func (*RestartResponseData) UnmarshalJSON

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

type ScoreBreakdown

type ScoreBreakdown struct {
	Efficiency  *int32 `json:"efficiency,omitempty"`
	Speed       *int32 `json:"speed,omitempty"`
	Correctness *int32 `json:"correctness,omitempty"`
	MetaPenalty *int32 `json:"meta_penalty,omitempty"`
	TotalScore  *int32 `json:"total_score,omitempty"`
}

ScoreBreakdown struct for ScoreBreakdown

func NewScoreBreakdown

func NewScoreBreakdown() *ScoreBreakdown

NewScoreBreakdown instantiates a new ScoreBreakdown 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 NewScoreBreakdownWithDefaults

func NewScoreBreakdownWithDefaults() *ScoreBreakdown

NewScoreBreakdownWithDefaults instantiates a new ScoreBreakdown 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 (*ScoreBreakdown) GetCorrectness

func (o *ScoreBreakdown) GetCorrectness() int32

GetCorrectness returns the Correctness field value if set, zero value otherwise.

func (*ScoreBreakdown) GetCorrectnessOk

func (o *ScoreBreakdown) GetCorrectnessOk() (*int32, bool)

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

func (*ScoreBreakdown) GetEfficiency

func (o *ScoreBreakdown) GetEfficiency() int32

GetEfficiency returns the Efficiency field value if set, zero value otherwise.

func (*ScoreBreakdown) GetEfficiencyOk

func (o *ScoreBreakdown) GetEfficiencyOk() (*int32, bool)

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

func (*ScoreBreakdown) GetMetaPenalty

func (o *ScoreBreakdown) GetMetaPenalty() int32

GetMetaPenalty returns the MetaPenalty field value if set, zero value otherwise.

func (*ScoreBreakdown) GetMetaPenaltyOk

func (o *ScoreBreakdown) GetMetaPenaltyOk() (*int32, bool)

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

func (*ScoreBreakdown) GetSpeed

func (o *ScoreBreakdown) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*ScoreBreakdown) GetSpeedOk

func (o *ScoreBreakdown) GetSpeedOk() (*int32, bool)

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

func (*ScoreBreakdown) GetTotalScore

func (o *ScoreBreakdown) GetTotalScore() int32

GetTotalScore returns the TotalScore field value if set, zero value otherwise.

func (*ScoreBreakdown) GetTotalScoreOk

func (o *ScoreBreakdown) GetTotalScoreOk() (*int32, bool)

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

func (*ScoreBreakdown) HasCorrectness

func (o *ScoreBreakdown) HasCorrectness() bool

HasCorrectness returns a boolean if a field has been set.

func (*ScoreBreakdown) HasEfficiency

func (o *ScoreBreakdown) HasEfficiency() bool

HasEfficiency returns a boolean if a field has been set.

func (*ScoreBreakdown) HasMetaPenalty

func (o *ScoreBreakdown) HasMetaPenalty() bool

HasMetaPenalty returns a boolean if a field has been set.

func (*ScoreBreakdown) HasSpeed

func (o *ScoreBreakdown) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*ScoreBreakdown) HasTotalScore

func (o *ScoreBreakdown) HasTotalScore() bool

HasTotalScore returns a boolean if a field has been set.

func (ScoreBreakdown) MarshalJSON

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

func (*ScoreBreakdown) SetCorrectness

func (o *ScoreBreakdown) SetCorrectness(v int32)

SetCorrectness gets a reference to the given int32 and assigns it to the Correctness field.

func (*ScoreBreakdown) SetEfficiency

func (o *ScoreBreakdown) SetEfficiency(v int32)

SetEfficiency gets a reference to the given int32 and assigns it to the Efficiency field.

func (*ScoreBreakdown) SetMetaPenalty

func (o *ScoreBreakdown) SetMetaPenalty(v int32)

SetMetaPenalty gets a reference to the given int32 and assigns it to the MetaPenalty field.

func (*ScoreBreakdown) SetSpeed

func (o *ScoreBreakdown) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*ScoreBreakdown) SetTotalScore

func (o *ScoreBreakdown) SetTotalScore(v int32)

SetTotalScore gets a reference to the given int32 and assigns it to the TotalScore field.

func (ScoreBreakdown) ToMap

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

type SelfReportedMeta

type SelfReportedMeta struct {
	Model            *string  `json:"model,omitempty"`
	PromptTokens     *int32   `json:"prompt_tokens,omitempty"`
	CompletionTokens *int32   `json:"completion_tokens,omitempty"`
	TotalTokens      *int32   `json:"total_tokens,omitempty"`
	EstimatedCostUsd *float64 `json:"estimated_cost_usd,omitempty"`
}

SelfReportedMeta struct for SelfReportedMeta

func NewSelfReportedMeta

func NewSelfReportedMeta() *SelfReportedMeta

NewSelfReportedMeta instantiates a new SelfReportedMeta 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 NewSelfReportedMetaWithDefaults

func NewSelfReportedMetaWithDefaults() *SelfReportedMeta

NewSelfReportedMetaWithDefaults instantiates a new SelfReportedMeta 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 (*SelfReportedMeta) GetCompletionTokens

func (o *SelfReportedMeta) GetCompletionTokens() int32

GetCompletionTokens returns the CompletionTokens field value if set, zero value otherwise.

func (*SelfReportedMeta) GetCompletionTokensOk

func (o *SelfReportedMeta) GetCompletionTokensOk() (*int32, bool)

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

func (*SelfReportedMeta) GetEstimatedCostUsd

func (o *SelfReportedMeta) GetEstimatedCostUsd() float64

GetEstimatedCostUsd returns the EstimatedCostUsd field value if set, zero value otherwise.

func (*SelfReportedMeta) GetEstimatedCostUsdOk

func (o *SelfReportedMeta) GetEstimatedCostUsdOk() (*float64, bool)

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

func (*SelfReportedMeta) GetModel

func (o *SelfReportedMeta) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*SelfReportedMeta) GetModelOk

func (o *SelfReportedMeta) GetModelOk() (*string, bool)

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

func (*SelfReportedMeta) GetPromptTokens

func (o *SelfReportedMeta) GetPromptTokens() int32

GetPromptTokens returns the PromptTokens field value if set, zero value otherwise.

func (*SelfReportedMeta) GetPromptTokensOk

func (o *SelfReportedMeta) GetPromptTokensOk() (*int32, bool)

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

func (*SelfReportedMeta) GetTotalTokens

func (o *SelfReportedMeta) GetTotalTokens() int32

GetTotalTokens returns the TotalTokens field value if set, zero value otherwise.

func (*SelfReportedMeta) GetTotalTokensOk

func (o *SelfReportedMeta) GetTotalTokensOk() (*int32, bool)

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

func (*SelfReportedMeta) HasCompletionTokens

func (o *SelfReportedMeta) HasCompletionTokens() bool

HasCompletionTokens returns a boolean if a field has been set.

func (*SelfReportedMeta) HasEstimatedCostUsd

func (o *SelfReportedMeta) HasEstimatedCostUsd() bool

HasEstimatedCostUsd returns a boolean if a field has been set.

func (*SelfReportedMeta) HasModel

func (o *SelfReportedMeta) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*SelfReportedMeta) HasPromptTokens

func (o *SelfReportedMeta) HasPromptTokens() bool

HasPromptTokens returns a boolean if a field has been set.

func (*SelfReportedMeta) HasTotalTokens

func (o *SelfReportedMeta) HasTotalTokens() bool

HasTotalTokens returns a boolean if a field has been set.

func (SelfReportedMeta) MarshalJSON

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

func (*SelfReportedMeta) SetCompletionTokens

func (o *SelfReportedMeta) SetCompletionTokens(v int32)

SetCompletionTokens gets a reference to the given int32 and assigns it to the CompletionTokens field.

func (*SelfReportedMeta) SetEstimatedCostUsd

func (o *SelfReportedMeta) SetEstimatedCostUsd(v float64)

SetEstimatedCostUsd gets a reference to the given float64 and assigns it to the EstimatedCostUsd field.

func (*SelfReportedMeta) SetModel

func (o *SelfReportedMeta) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (*SelfReportedMeta) SetPromptTokens

func (o *SelfReportedMeta) SetPromptTokens(v int32)

SetPromptTokens gets a reference to the given int32 and assigns it to the PromptTokens field.

func (*SelfReportedMeta) SetTotalTokens

func (o *SelfReportedMeta) SetTotalTokens(v int32)

SetTotalTokens gets a reference to the given int32 and assigns it to the TotalTokens field.

func (SelfReportedMeta) ToMap

func (o SelfReportedMeta) ToMap() (map[string]interface{}, 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 SolverAPIService

type SolverAPIService service

SolverAPIService SolverAPI service

func (*SolverAPIService) GetHealth

GetHealth Check solver API availability.

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

func (*SolverAPIService) GetHealthExecute

Execute executes the request

@return HealthResponse

func (*SolverAPIService) RestartTask

func (a *SolverAPIService) RestartTask(ctx context.Context, taskID string) ApiRestartTaskRequest

RestartTask Restart one standalone task run.

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

func (*SolverAPIService) RestartTaskExecute

Execute executes the request

@return RestartEnvelope

func (*SolverAPIService) RestartTrack

func (a *SolverAPIService) RestartTrack(ctx context.Context, trackID string) ApiRestartTrackRequest

RestartTrack Restart one track run.

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

func (*SolverAPIService) RestartTrackExecute

Execute executes the request

@return RestartEnvelope

func (*SolverAPIService) SubmitTask

func (a *SolverAPIService) SubmitTask(ctx context.Context, taskID string) ApiSubmitTaskRequest

SubmitTask Submit one standalone task answer.

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

func (*SolverAPIService) SubmitTaskExecute

Execute executes the request

@return SubmitEnvelope

func (*SolverAPIService) SubmitTrackTask

func (a *SolverAPIService) SubmitTrackTask(ctx context.Context, trackID string, taskID string) ApiSubmitTrackTaskRequest

SubmitTrackTask Submit one track-scoped task answer.

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

func (*SolverAPIService) SubmitTrackTaskExecute

func (a *SolverAPIService) SubmitTrackTaskExecute(r ApiSubmitTrackTaskRequest) (*SubmitEnvelope, *http.Response, error)

Execute executes the request

@return SubmitEnvelope

func (*SolverAPIService) TaskAction

func (a *SolverAPIService) TaskAction(ctx context.Context, taskID string, action string) ApiTaskActionRequest

TaskAction Execute one standalone task action.

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

func (*SolverAPIService) TaskActionExecute

Execute executes the request

@return ActionEnvelope

func (*SolverAPIService) TrackTaskAction

func (a *SolverAPIService) TrackTaskAction(ctx context.Context, trackID string, taskID string, action string) ApiTrackTaskActionRequest

TrackTaskAction Execute one track-scoped task action.

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

func (*SolverAPIService) TrackTaskActionExecute

func (a *SolverAPIService) TrackTaskActionExecute(r ApiTrackTaskActionRequest) (*ActionEnvelope, *http.Response, error)

Execute executes the request

@return ActionEnvelope

type SubmitEnvelope

type SubmitEnvelope struct {
	Data  SubmitResult           `json:"data"`
	Error NullableExecutionError `json:"error"`
	Meta  *ExecutionResponseMeta `json:"meta,omitempty"`
}

SubmitEnvelope struct for SubmitEnvelope

func NewSubmitEnvelope

func NewSubmitEnvelope(data SubmitResult, error_ NullableExecutionError) *SubmitEnvelope

NewSubmitEnvelope instantiates a new SubmitEnvelope 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 NewSubmitEnvelopeWithDefaults

func NewSubmitEnvelopeWithDefaults() *SubmitEnvelope

NewSubmitEnvelopeWithDefaults instantiates a new SubmitEnvelope 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 (*SubmitEnvelope) GetData

func (o *SubmitEnvelope) GetData() SubmitResult

GetData returns the Data field value

func (*SubmitEnvelope) GetDataOk

func (o *SubmitEnvelope) GetDataOk() (*SubmitResult, bool)

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

func (*SubmitEnvelope) GetError

func (o *SubmitEnvelope) GetError() ExecutionError

GetError returns the Error field value If the value is explicit nil, the zero value for ExecutionError will be returned

func (*SubmitEnvelope) GetErrorOk

func (o *SubmitEnvelope) GetErrorOk() (*ExecutionError, bool)

GetErrorOk returns a tuple with the Error 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 (*SubmitEnvelope) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SubmitEnvelope) GetMetaOk

func (o *SubmitEnvelope) GetMetaOk() (*ExecutionResponseMeta, bool)

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

func (*SubmitEnvelope) HasMeta

func (o *SubmitEnvelope) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (SubmitEnvelope) MarshalJSON

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

func (*SubmitEnvelope) SetData

func (o *SubmitEnvelope) SetData(v SubmitResult)

SetData sets field value

func (*SubmitEnvelope) SetError

func (o *SubmitEnvelope) SetError(v ExecutionError)

SetError sets field value

func (*SubmitEnvelope) SetMeta

func (o *SubmitEnvelope) SetMeta(v ExecutionResponseMeta)

SetMeta gets a reference to the given ExecutionResponseMeta and assigns it to the Meta field.

func (SubmitEnvelope) ToMap

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

func (*SubmitEnvelope) UnmarshalJSON

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

type SubmitParams

type SubmitParams struct {
	Answer interface{} `json:"answer"`
}

SubmitParams struct for SubmitParams

func NewSubmitParams

func NewSubmitParams(answer interface{}) *SubmitParams

NewSubmitParams instantiates a new SubmitParams 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 NewSubmitParamsWithDefaults

func NewSubmitParamsWithDefaults() *SubmitParams

NewSubmitParamsWithDefaults instantiates a new SubmitParams 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 (*SubmitParams) GetAnswer

func (o *SubmitParams) GetAnswer() interface{}

GetAnswer returns the Answer field value If the value is explicit nil, the zero value for interface{} will be returned

func (*SubmitParams) GetAnswerOk

func (o *SubmitParams) GetAnswerOk() (*interface{}, bool)

GetAnswerOk returns a tuple with the Answer 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 (SubmitParams) MarshalJSON

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

func (*SubmitParams) SetAnswer

func (o *SubmitParams) SetAnswer(v interface{})

SetAnswer sets field value

func (SubmitParams) ToMap

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

func (*SubmitParams) UnmarshalJSON

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

type SubmitRequest

type SubmitRequest struct {
	Params SubmitParams   `json:"params"`
	Meta   *ExecutionMeta `json:"meta,omitempty"`
}

SubmitRequest struct for SubmitRequest

func NewSubmitRequest

func NewSubmitRequest(params SubmitParams) *SubmitRequest

NewSubmitRequest instantiates a new SubmitRequest 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 NewSubmitRequestWithDefaults

func NewSubmitRequestWithDefaults() *SubmitRequest

NewSubmitRequestWithDefaults instantiates a new SubmitRequest 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 (*SubmitRequest) GetMeta

func (o *SubmitRequest) GetMeta() ExecutionMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SubmitRequest) GetMetaOk

func (o *SubmitRequest) GetMetaOk() (*ExecutionMeta, bool)

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

func (*SubmitRequest) GetParams

func (o *SubmitRequest) GetParams() SubmitParams

GetParams returns the Params field value

func (*SubmitRequest) GetParamsOk

func (o *SubmitRequest) GetParamsOk() (*SubmitParams, bool)

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

func (*SubmitRequest) HasMeta

func (o *SubmitRequest) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (SubmitRequest) MarshalJSON

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

func (*SubmitRequest) SetMeta

func (o *SubmitRequest) SetMeta(v ExecutionMeta)

SetMeta gets a reference to the given ExecutionMeta and assigns it to the Meta field.

func (*SubmitRequest) SetParams

func (o *SubmitRequest) SetParams(v SubmitParams)

SetParams sets field value

func (SubmitRequest) ToMap

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

func (*SubmitRequest) UnmarshalJSON

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

type SubmitResult

type SubmitResult struct {
	Correct         bool                   `json:"correct"`
	Score           int32                  `json:"score"`
	Breakdown       *ScoreBreakdown        `json:"breakdown,omitempty"`
	Details         map[string]interface{} `json:"details,omitempty"`
	Stats           *SubmitStats           `json:"stats,omitempty"`
	SelfReported    *SelfReportedMeta      `json:"self_reported,omitempty"`
	ScenariosPassed int32                  `json:"scenarios_passed"`
	ScenariosTotal  int32                  `json:"scenarios_total"`
}

SubmitResult struct for SubmitResult

func NewSubmitResult

func NewSubmitResult(correct bool, score int32, scenariosPassed int32, scenariosTotal int32) *SubmitResult

NewSubmitResult instantiates a new SubmitResult 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 NewSubmitResultWithDefaults

func NewSubmitResultWithDefaults() *SubmitResult

NewSubmitResultWithDefaults instantiates a new SubmitResult 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 (*SubmitResult) GetBreakdown

func (o *SubmitResult) GetBreakdown() ScoreBreakdown

GetBreakdown returns the Breakdown field value if set, zero value otherwise.

func (*SubmitResult) GetBreakdownOk

func (o *SubmitResult) GetBreakdownOk() (*ScoreBreakdown, bool)

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

func (*SubmitResult) GetCorrect

func (o *SubmitResult) GetCorrect() bool

GetCorrect returns the Correct field value

func (*SubmitResult) GetCorrectOk

func (o *SubmitResult) GetCorrectOk() (*bool, bool)

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

func (*SubmitResult) GetDetails

func (o *SubmitResult) GetDetails() map[string]interface{}

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

func (*SubmitResult) GetDetailsOk

func (o *SubmitResult) GetDetailsOk() (map[string]interface{}, bool)

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

func (*SubmitResult) GetScenariosPassed

func (o *SubmitResult) GetScenariosPassed() int32

GetScenariosPassed returns the ScenariosPassed field value

func (*SubmitResult) GetScenariosPassedOk

func (o *SubmitResult) GetScenariosPassedOk() (*int32, bool)

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

func (*SubmitResult) GetScenariosTotal

func (o *SubmitResult) GetScenariosTotal() int32

GetScenariosTotal returns the ScenariosTotal field value

func (*SubmitResult) GetScenariosTotalOk

func (o *SubmitResult) GetScenariosTotalOk() (*int32, bool)

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

func (*SubmitResult) GetScore

func (o *SubmitResult) GetScore() int32

GetScore returns the Score field value

func (*SubmitResult) GetScoreOk

func (o *SubmitResult) GetScoreOk() (*int32, bool)

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

func (*SubmitResult) GetSelfReported

func (o *SubmitResult) GetSelfReported() SelfReportedMeta

GetSelfReported returns the SelfReported field value if set, zero value otherwise.

func (*SubmitResult) GetSelfReportedOk

func (o *SubmitResult) GetSelfReportedOk() (*SelfReportedMeta, bool)

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

func (*SubmitResult) GetStats

func (o *SubmitResult) GetStats() SubmitStats

GetStats returns the Stats field value if set, zero value otherwise.

func (*SubmitResult) GetStatsOk

func (o *SubmitResult) GetStatsOk() (*SubmitStats, bool)

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

func (*SubmitResult) HasBreakdown

func (o *SubmitResult) HasBreakdown() bool

HasBreakdown returns a boolean if a field has been set.

func (*SubmitResult) HasDetails

func (o *SubmitResult) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*SubmitResult) HasSelfReported

func (o *SubmitResult) HasSelfReported() bool

HasSelfReported returns a boolean if a field has been set.

func (*SubmitResult) HasStats

func (o *SubmitResult) HasStats() bool

HasStats returns a boolean if a field has been set.

func (SubmitResult) MarshalJSON

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

func (*SubmitResult) SetBreakdown

func (o *SubmitResult) SetBreakdown(v ScoreBreakdown)

SetBreakdown gets a reference to the given ScoreBreakdown and assigns it to the Breakdown field.

func (*SubmitResult) SetCorrect

func (o *SubmitResult) SetCorrect(v bool)

SetCorrect sets field value

func (*SubmitResult) SetDetails

func (o *SubmitResult) SetDetails(v map[string]interface{})

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

func (*SubmitResult) SetScenariosPassed

func (o *SubmitResult) SetScenariosPassed(v int32)

SetScenariosPassed sets field value

func (*SubmitResult) SetScenariosTotal

func (o *SubmitResult) SetScenariosTotal(v int32)

SetScenariosTotal sets field value

func (*SubmitResult) SetScore

func (o *SubmitResult) SetScore(v int32)

SetScore sets field value

func (*SubmitResult) SetSelfReported

func (o *SubmitResult) SetSelfReported(v SelfReportedMeta)

SetSelfReported gets a reference to the given SelfReportedMeta and assigns it to the SelfReported field.

func (*SubmitResult) SetStats

func (o *SubmitResult) SetStats(v SubmitStats)

SetStats gets a reference to the given SubmitStats and assigns it to the Stats field.

func (SubmitResult) ToMap

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

func (*SubmitResult) UnmarshalJSON

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

type SubmitStats

type SubmitStats struct {
	ApiCalls    int32 `json:"api_calls"`
	SolveTimeMs int32 `json:"solve_time_ms"`
}

SubmitStats struct for SubmitStats

func NewSubmitStats

func NewSubmitStats(apiCalls int32, solveTimeMs int32) *SubmitStats

NewSubmitStats instantiates a new SubmitStats 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 NewSubmitStatsWithDefaults

func NewSubmitStatsWithDefaults() *SubmitStats

NewSubmitStatsWithDefaults instantiates a new SubmitStats 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 (*SubmitStats) GetApiCalls

func (o *SubmitStats) GetApiCalls() int32

GetApiCalls returns the ApiCalls field value

func (*SubmitStats) GetApiCallsOk

func (o *SubmitStats) GetApiCallsOk() (*int32, bool)

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

func (*SubmitStats) GetSolveTimeMs

func (o *SubmitStats) GetSolveTimeMs() int32

GetSolveTimeMs returns the SolveTimeMs field value

func (*SubmitStats) GetSolveTimeMsOk

func (o *SubmitStats) GetSolveTimeMsOk() (*int32, bool)

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

func (SubmitStats) MarshalJSON

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

func (*SubmitStats) SetApiCalls

func (o *SubmitStats) SetApiCalls(v int32)

SetApiCalls sets field value

func (*SubmitStats) SetSolveTimeMs

func (o *SubmitStats) SetSolveTimeMs(v int32)

SetSolveTimeMs sets field value

func (SubmitStats) ToMap

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

func (*SubmitStats) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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