Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiHealthGetRequest
- type ApiModelsGetRequest
- type ApiModelsIdGetRequest
- type ApiPredictPostRequest
- type ApiPredictionsIdFeedbackPostRequest
- type BasicAuth
- type Configuration
- type DefaultAPIService
- func (a *DefaultAPIService) HealthGet(ctx context.Context) ApiHealthGetRequest
- func (a *DefaultAPIService) HealthGetExecute(r ApiHealthGetRequest) (*HealthGet200Response, *http.Response, error)
- func (a *DefaultAPIService) ModelsGet(ctx context.Context) ApiModelsGetRequest
- func (a *DefaultAPIService) ModelsGetExecute(r ApiModelsGetRequest) ([]string, *http.Response, error)
- func (a *DefaultAPIService) ModelsIdGet(ctx context.Context, id string) ApiModelsIdGetRequest
- func (a *DefaultAPIService) ModelsIdGetExecute(r ApiModelsIdGetRequest) (*ModelsIdGet200Response, *http.Response, error)
- func (a *DefaultAPIService) PredictPost(ctx context.Context) ApiPredictPostRequest
- func (a *DefaultAPIService) PredictPostExecute(r ApiPredictPostRequest) (*PredictPost200Response, *http.Response, error)
- func (a *DefaultAPIService) PredictionsIdFeedbackPost(ctx context.Context, id string) ApiPredictionsIdFeedbackPostRequest
- func (a *DefaultAPIService) PredictionsIdFeedbackPostExecute(r ApiPredictionsIdFeedbackPostRequest) (*PredictionsIdFeedbackPost200Response, *http.Response, error)
- type GenericOpenAPIError
- type HealthGet200Response
- func (o *HealthGet200Response) GetStatus() string
- func (o *HealthGet200Response) GetStatusOk() (*string, bool)
- func (o HealthGet200Response) MarshalJSON() ([]byte, error)
- func (o *HealthGet200Response) SetStatus(v string)
- func (o HealthGet200Response) ToMap() (map[string]interface{}, error)
- func (o *HealthGet200Response) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type ModelsIdGet200Response
- func (o *ModelsIdGet200Response) GetId() string
- func (o *ModelsIdGet200Response) GetIdOk() (*string, bool)
- func (o *ModelsIdGet200Response) GetMetrics() map[string]interface{}
- func (o *ModelsIdGet200Response) GetMetricsOk() (map[string]interface{}, bool)
- func (o *ModelsIdGet200Response) GetSchema() map[string]interface{}
- func (o *ModelsIdGet200Response) GetSchemaOk() (map[string]interface{}, bool)
- func (o ModelsIdGet200Response) MarshalJSON() ([]byte, error)
- func (o *ModelsIdGet200Response) SetId(v string)
- func (o *ModelsIdGet200Response) SetMetrics(v map[string]interface{})
- func (o *ModelsIdGet200Response) SetSchema(v map[string]interface{})
- func (o ModelsIdGet200Response) ToMap() (map[string]interface{}, error)
- func (o *ModelsIdGet200Response) UnmarshalJSON(data []byte) (err error)
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableHealthGet200Response
- func (v NullableHealthGet200Response) Get() *HealthGet200Response
- func (v NullableHealthGet200Response) IsSet() bool
- func (v NullableHealthGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableHealthGet200Response) Set(val *HealthGet200Response)
- func (v *NullableHealthGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableHealthGet200Response) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableModelsIdGet200Response
- func (v NullableModelsIdGet200Response) Get() *ModelsIdGet200Response
- func (v NullableModelsIdGet200Response) IsSet() bool
- func (v NullableModelsIdGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableModelsIdGet200Response) Set(val *ModelsIdGet200Response)
- func (v *NullableModelsIdGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableModelsIdGet200Response) Unset()
- type NullablePredictPost200Response
- func (v NullablePredictPost200Response) Get() *PredictPost200Response
- func (v NullablePredictPost200Response) IsSet() bool
- func (v NullablePredictPost200Response) MarshalJSON() ([]byte, error)
- func (v *NullablePredictPost200Response) Set(val *PredictPost200Response)
- func (v *NullablePredictPost200Response) UnmarshalJSON(src []byte) error
- func (v *NullablePredictPost200Response) Unset()
- type NullablePredictPost200ResponseConfidence
- func (v NullablePredictPost200ResponseConfidence) Get() *PredictPost200ResponseConfidence
- func (v NullablePredictPost200ResponseConfidence) IsSet() bool
- func (v NullablePredictPost200ResponseConfidence) MarshalJSON() ([]byte, error)
- func (v *NullablePredictPost200ResponseConfidence) Set(val *PredictPost200ResponseConfidence)
- func (v *NullablePredictPost200ResponseConfidence) UnmarshalJSON(src []byte) error
- func (v *NullablePredictPost200ResponseConfidence) Unset()
- type NullablePredictPost200ResponseConfidenceInterval
- func (v NullablePredictPost200ResponseConfidenceInterval) Get() *PredictPost200ResponseConfidenceInterval
- func (v NullablePredictPost200ResponseConfidenceInterval) IsSet() bool
- func (v NullablePredictPost200ResponseConfidenceInterval) MarshalJSON() ([]byte, error)
- func (v *NullablePredictPost200ResponseConfidenceInterval) Set(val *PredictPost200ResponseConfidenceInterval)
- func (v *NullablePredictPost200ResponseConfidenceInterval) UnmarshalJSON(src []byte) error
- func (v *NullablePredictPost200ResponseConfidenceInterval) Unset()
- type NullablePredictPost200ResponseMetadata
- func (v NullablePredictPost200ResponseMetadata) Get() *PredictPost200ResponseMetadata
- func (v NullablePredictPost200ResponseMetadata) IsSet() bool
- func (v NullablePredictPost200ResponseMetadata) MarshalJSON() ([]byte, error)
- func (v *NullablePredictPost200ResponseMetadata) Set(val *PredictPost200ResponseMetadata)
- func (v *NullablePredictPost200ResponseMetadata) UnmarshalJSON(src []byte) error
- func (v *NullablePredictPost200ResponseMetadata) Unset()
- type NullablePredictPost200ResponseTopFactorsInner
- func (v NullablePredictPost200ResponseTopFactorsInner) Get() *PredictPost200ResponseTopFactorsInner
- func (v NullablePredictPost200ResponseTopFactorsInner) IsSet() bool
- func (v NullablePredictPost200ResponseTopFactorsInner) MarshalJSON() ([]byte, error)
- func (v *NullablePredictPost200ResponseTopFactorsInner) Set(val *PredictPost200ResponseTopFactorsInner)
- func (v *NullablePredictPost200ResponseTopFactorsInner) UnmarshalJSON(src []byte) error
- func (v *NullablePredictPost200ResponseTopFactorsInner) Unset()
- type NullablePredictPost400Response
- func (v NullablePredictPost400Response) Get() *PredictPost400Response
- func (v NullablePredictPost400Response) IsSet() bool
- func (v NullablePredictPost400Response) MarshalJSON() ([]byte, error)
- func (v *NullablePredictPost400Response) Set(val *PredictPost400Response)
- func (v *NullablePredictPost400Response) UnmarshalJSON(src []byte) error
- func (v *NullablePredictPost400Response) Unset()
- type NullablePredictPostRequest
- func (v NullablePredictPostRequest) Get() *PredictPostRequest
- func (v NullablePredictPostRequest) IsSet() bool
- func (v NullablePredictPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePredictPostRequest) Set(val *PredictPostRequest)
- func (v *NullablePredictPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePredictPostRequest) Unset()
- type NullablePredictionsIdFeedbackPost200Response
- func (v NullablePredictionsIdFeedbackPost200Response) Get() *PredictionsIdFeedbackPost200Response
- func (v NullablePredictionsIdFeedbackPost200Response) IsSet() bool
- func (v NullablePredictionsIdFeedbackPost200Response) MarshalJSON() ([]byte, error)
- func (v *NullablePredictionsIdFeedbackPost200Response) Set(val *PredictionsIdFeedbackPost200Response)
- func (v *NullablePredictionsIdFeedbackPost200Response) UnmarshalJSON(src []byte) error
- func (v *NullablePredictionsIdFeedbackPost200Response) Unset()
- type NullablePredictionsIdFeedbackPostRequest
- func (v NullablePredictionsIdFeedbackPostRequest) Get() *PredictionsIdFeedbackPostRequest
- func (v NullablePredictionsIdFeedbackPostRequest) IsSet() bool
- func (v NullablePredictionsIdFeedbackPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePredictionsIdFeedbackPostRequest) Set(val *PredictionsIdFeedbackPostRequest)
- func (v *NullablePredictionsIdFeedbackPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePredictionsIdFeedbackPostRequest) Unset()
- type NullableString
- type NullableTime
- type PredictPost200Response
- func (o *PredictPost200Response) GetConfidence() PredictPost200ResponseConfidence
- func (o *PredictPost200Response) GetConfidenceInterval() PredictPost200ResponseConfidenceInterval
- func (o *PredictPost200Response) GetConfidenceIntervalOk() (*PredictPost200ResponseConfidenceInterval, bool)
- func (o *PredictPost200Response) GetConfidenceLevel() float32
- func (o *PredictPost200Response) GetConfidenceLevelOk() (*float32, bool)
- func (o *PredictPost200Response) GetConfidenceOk() (*PredictPost200ResponseConfidence, bool)
- func (o *PredictPost200Response) GetFeedbackUrl() string
- func (o *PredictPost200Response) GetFeedbackUrlOk() (*string, bool)
- func (o *PredictPost200Response) GetInterval() []float32
- func (o *PredictPost200Response) GetIntervalOk() ([]float32, bool)
- func (o *PredictPost200Response) GetLatencyMs() float32
- func (o *PredictPost200Response) GetLatencyMsOk() (*float32, bool)
- func (o *PredictPost200Response) GetMetadata() PredictPost200ResponseMetadata
- func (o *PredictPost200Response) GetMetadataOk() (*PredictPost200ResponseMetadata, bool)
- func (o *PredictPost200Response) GetModel() string
- func (o *PredictPost200Response) GetModelOk() (*string, bool)
- func (o *PredictPost200Response) GetPredictionId() string
- func (o *PredictPost200Response) GetPredictionIdOk() (*string, bool)
- func (o *PredictPost200Response) GetTopFactors() []PredictPost200ResponseTopFactorsInner
- func (o *PredictPost200Response) GetTopFactorsOk() ([]PredictPost200ResponseTopFactorsInner, bool)
- func (o *PredictPost200Response) GetValue() float32
- func (o *PredictPost200Response) GetValueOk() (*float32, bool)
- func (o *PredictPost200Response) HasConfidence() bool
- func (o *PredictPost200Response) HasConfidenceInterval() bool
- func (o *PredictPost200Response) HasConfidenceLevel() bool
- func (o *PredictPost200Response) HasInterval() bool
- func (o *PredictPost200Response) HasMetadata() bool
- func (o *PredictPost200Response) HasTopFactors() bool
- func (o PredictPost200Response) MarshalJSON() ([]byte, error)
- func (o *PredictPost200Response) SetConfidence(v PredictPost200ResponseConfidence)
- func (o *PredictPost200Response) SetConfidenceInterval(v PredictPost200ResponseConfidenceInterval)
- func (o *PredictPost200Response) SetConfidenceLevel(v float32)
- func (o *PredictPost200Response) SetFeedbackUrl(v string)
- func (o *PredictPost200Response) SetInterval(v []float32)
- func (o *PredictPost200Response) SetLatencyMs(v float32)
- func (o *PredictPost200Response) SetMetadata(v PredictPost200ResponseMetadata)
- func (o *PredictPost200Response) SetModel(v string)
- func (o *PredictPost200Response) SetPredictionId(v string)
- func (o *PredictPost200Response) SetTopFactors(v []PredictPost200ResponseTopFactorsInner)
- func (o *PredictPost200Response) SetValue(v float32)
- func (o PredictPost200Response) ToMap() (map[string]interface{}, error)
- func (o *PredictPost200Response) UnmarshalJSON(data []byte) (err error)
- type PredictPost200ResponseConfidence
- func (o *PredictPost200ResponseConfidence) GetLevel() float32
- func (o *PredictPost200ResponseConfidence) GetLevelOk() (*float32, bool)
- func (o *PredictPost200ResponseConfidence) GetScore() float32
- func (o *PredictPost200ResponseConfidence) GetScoreOk() (*float32, bool)
- func (o PredictPost200ResponseConfidence) MarshalJSON() ([]byte, error)
- func (o *PredictPost200ResponseConfidence) SetLevel(v float32)
- func (o *PredictPost200ResponseConfidence) SetScore(v float32)
- func (o PredictPost200ResponseConfidence) ToMap() (map[string]interface{}, error)
- func (o *PredictPost200ResponseConfidence) UnmarshalJSON(data []byte) (err error)
- type PredictPost200ResponseConfidenceInterval
- func (o *PredictPost200ResponseConfidenceInterval) GetCoverage() float32
- func (o *PredictPost200ResponseConfidenceInterval) GetCoverageOk() (*float32, bool)
- func (o *PredictPost200ResponseConfidenceInterval) GetLower() float32
- func (o *PredictPost200ResponseConfidenceInterval) GetLowerOk() (*float32, bool)
- func (o *PredictPost200ResponseConfidenceInterval) GetUpper() float32
- func (o *PredictPost200ResponseConfidenceInterval) GetUpperOk() (*float32, bool)
- func (o PredictPost200ResponseConfidenceInterval) MarshalJSON() ([]byte, error)
- func (o *PredictPost200ResponseConfidenceInterval) SetCoverage(v float32)
- func (o *PredictPost200ResponseConfidenceInterval) SetLower(v float32)
- func (o *PredictPost200ResponseConfidenceInterval) SetUpper(v float32)
- func (o PredictPost200ResponseConfidenceInterval) ToMap() (map[string]interface{}, error)
- func (o *PredictPost200ResponseConfidenceInterval) UnmarshalJSON(data []byte) (err error)
- type PredictPost200ResponseMetadata
- func (o *PredictPost200ResponseMetadata) GetModelVersion() string
- func (o *PredictPost200ResponseMetadata) GetModelVersionOk() (*string, bool)
- func (o *PredictPost200ResponseMetadata) GetPredictionBasis() string
- func (o *PredictPost200ResponseMetadata) GetPredictionBasisOk() (*string, bool)
- func (o *PredictPost200ResponseMetadata) GetTrainingData() string
- func (o *PredictPost200ResponseMetadata) GetTrainingDataOk() (*string, bool)
- func (o PredictPost200ResponseMetadata) MarshalJSON() ([]byte, error)
- func (o *PredictPost200ResponseMetadata) SetModelVersion(v string)
- func (o *PredictPost200ResponseMetadata) SetPredictionBasis(v string)
- func (o *PredictPost200ResponseMetadata) SetTrainingData(v string)
- func (o PredictPost200ResponseMetadata) ToMap() (map[string]interface{}, error)
- func (o *PredictPost200ResponseMetadata) UnmarshalJSON(data []byte) (err error)
- type PredictPost200ResponseTopFactorsInner
- func (o *PredictPost200ResponseTopFactorsInner) GetFeature() string
- func (o *PredictPost200ResponseTopFactorsInner) GetFeatureOk() (*string, bool)
- func (o *PredictPost200ResponseTopFactorsInner) GetImpact() float32
- func (o *PredictPost200ResponseTopFactorsInner) GetImpactOk() (*float32, bool)
- func (o PredictPost200ResponseTopFactorsInner) MarshalJSON() ([]byte, error)
- func (o *PredictPost200ResponseTopFactorsInner) SetFeature(v string)
- func (o *PredictPost200ResponseTopFactorsInner) SetImpact(v float32)
- func (o PredictPost200ResponseTopFactorsInner) ToMap() (map[string]interface{}, error)
- func (o *PredictPost200ResponseTopFactorsInner) UnmarshalJSON(data []byte) (err error)
- type PredictPost400Response
- func (o *PredictPost400Response) GetError() string
- func (o *PredictPost400Response) GetErrorOk() (*string, bool)
- func (o PredictPost400Response) MarshalJSON() ([]byte, error)
- func (o *PredictPost400Response) SetError(v string)
- func (o PredictPost400Response) ToMap() (map[string]interface{}, error)
- func (o *PredictPost400Response) UnmarshalJSON(data []byte) (err error)
- type PredictPostRequest
- func (o *PredictPostRequest) GetFeatures() map[string]interface{}
- func (o *PredictPostRequest) GetFeaturesOk() (map[string]interface{}, bool)
- func (o *PredictPostRequest) GetModel() string
- func (o *PredictPostRequest) GetModelOk() (*string, bool)
- func (o *PredictPostRequest) GetTrainConsent() bool
- func (o *PredictPostRequest) GetTrainConsentOk() (*bool, bool)
- func (o *PredictPostRequest) HasTrainConsent() bool
- func (o PredictPostRequest) MarshalJSON() ([]byte, error)
- func (o *PredictPostRequest) SetFeatures(v map[string]interface{})
- func (o *PredictPostRequest) SetModel(v string)
- func (o *PredictPostRequest) SetTrainConsent(v bool)
- func (o PredictPostRequest) ToMap() (map[string]interface{}, error)
- func (o *PredictPostRequest) UnmarshalJSON(data []byte) (err error)
- type PredictionsIdFeedbackPost200Response
- func (o *PredictionsIdFeedbackPost200Response) GetCreditsAwarded() float32
- func (o *PredictionsIdFeedbackPost200Response) GetCreditsAwardedOk() (*float32, bool)
- func (o *PredictionsIdFeedbackPost200Response) GetDuplicate() bool
- func (o *PredictionsIdFeedbackPost200Response) GetDuplicateOk() (*bool, bool)
- func (o *PredictionsIdFeedbackPost200Response) GetReceived() bool
- func (o *PredictionsIdFeedbackPost200Response) GetReceivedOk() (*bool, bool)
- func (o *PredictionsIdFeedbackPost200Response) HasDuplicate() bool
- func (o PredictionsIdFeedbackPost200Response) MarshalJSON() ([]byte, error)
- func (o *PredictionsIdFeedbackPost200Response) SetCreditsAwarded(v float32)
- func (o *PredictionsIdFeedbackPost200Response) SetDuplicate(v bool)
- func (o *PredictionsIdFeedbackPost200Response) SetReceived(v bool)
- func (o PredictionsIdFeedbackPost200Response) ToMap() (map[string]interface{}, error)
- func (o *PredictionsIdFeedbackPost200Response) UnmarshalJSON(data []byte) (err error)
- type PredictionsIdFeedbackPostRequest
- func (o *PredictionsIdFeedbackPostRequest) GetActualClass() bool
- func (o *PredictionsIdFeedbackPostRequest) GetActualClassOk() (*bool, bool)
- func (o *PredictionsIdFeedbackPostRequest) GetActualValue() float32
- func (o *PredictionsIdFeedbackPostRequest) GetActualValueOk() (*float32, bool)
- func (o *PredictionsIdFeedbackPostRequest) GetComment() string
- func (o *PredictionsIdFeedbackPostRequest) GetCommentOk() (*string, bool)
- func (o *PredictionsIdFeedbackPostRequest) GetConfidenceInMeasurement() float32
- func (o *PredictionsIdFeedbackPostRequest) GetConfidenceInMeasurementOk() (*float32, bool)
- func (o *PredictionsIdFeedbackPostRequest) GetIssue() string
- func (o *PredictionsIdFeedbackPostRequest) GetIssueOk() (*string, bool)
- func (o *PredictionsIdFeedbackPostRequest) GetOutcomeDate() string
- func (o *PredictionsIdFeedbackPostRequest) GetOutcomeDateOk() (*string, bool)
- func (o *PredictionsIdFeedbackPostRequest) GetRating() int32
- func (o *PredictionsIdFeedbackPostRequest) GetRatingOk() (*int32, bool)
- func (o *PredictionsIdFeedbackPostRequest) HasActualClass() bool
- func (o *PredictionsIdFeedbackPostRequest) HasActualValue() bool
- func (o *PredictionsIdFeedbackPostRequest) HasComment() bool
- func (o *PredictionsIdFeedbackPostRequest) HasConfidenceInMeasurement() bool
- func (o *PredictionsIdFeedbackPostRequest) HasIssue() bool
- func (o *PredictionsIdFeedbackPostRequest) HasOutcomeDate() bool
- func (o *PredictionsIdFeedbackPostRequest) HasRating() bool
- func (o PredictionsIdFeedbackPostRequest) MarshalJSON() ([]byte, error)
- func (o *PredictionsIdFeedbackPostRequest) SetActualClass(v bool)
- func (o *PredictionsIdFeedbackPostRequest) SetActualValue(v float32)
- func (o *PredictionsIdFeedbackPostRequest) SetComment(v string)
- func (o *PredictionsIdFeedbackPostRequest) SetConfidenceInMeasurement(v float32)
- func (o *PredictionsIdFeedbackPostRequest) SetIssue(v string)
- func (o *PredictionsIdFeedbackPostRequest) SetOutcomeDate(v string)
- func (o *PredictionsIdFeedbackPostRequest) SetRating(v int32)
- func (o PredictionsIdFeedbackPostRequest) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // 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 ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI *DefaultAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the DryAPI API v0.32.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 ¶
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 ApiHealthGetRequest ¶
type ApiHealthGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiHealthGetRequest) Execute ¶
func (r ApiHealthGetRequest) Execute() (*HealthGet200Response, *http.Response, error)
type ApiModelsGetRequest ¶
type ApiModelsGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
type ApiModelsIdGetRequest ¶
type ApiModelsIdGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiModelsIdGetRequest) Execute ¶
func (r ApiModelsIdGetRequest) Execute() (*ModelsIdGet200Response, *http.Response, error)
type ApiPredictPostRequest ¶
type ApiPredictPostRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiPredictPostRequest) Execute ¶
func (r ApiPredictPostRequest) Execute() (*PredictPost200Response, *http.Response, error)
func (ApiPredictPostRequest) PredictPostRequest ¶
func (r ApiPredictPostRequest) PredictPostRequest(predictPostRequest PredictPostRequest) ApiPredictPostRequest
type ApiPredictionsIdFeedbackPostRequest ¶
type ApiPredictionsIdFeedbackPostRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiPredictionsIdFeedbackPostRequest) Execute ¶
func (r ApiPredictionsIdFeedbackPostRequest) Execute() (*PredictionsIdFeedbackPost200Response, *http.Response, error)
func (ApiPredictionsIdFeedbackPostRequest) PredictionsIdFeedbackPostRequest ¶
func (r ApiPredictionsIdFeedbackPostRequest) PredictionsIdFeedbackPostRequest(predictionsIdFeedbackPostRequest PredictionsIdFeedbackPostRequest) ApiPredictionsIdFeedbackPostRequest
Ground-truth fields vary per endpoint. Only records containing an actual outcome (actual_value, actual_class, or a domain-specific actual_* field) earn credits back.
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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) HealthGet ¶
func (a *DefaultAPIService) HealthGet(ctx context.Context) ApiHealthGetRequest
HealthGet Method for HealthGet
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiHealthGetRequest
func (*DefaultAPIService) HealthGetExecute ¶
func (a *DefaultAPIService) HealthGetExecute(r ApiHealthGetRequest) (*HealthGet200Response, *http.Response, error)
Execute executes the request
@return HealthGet200Response
func (*DefaultAPIService) ModelsGet ¶
func (a *DefaultAPIService) ModelsGet(ctx context.Context) ApiModelsGetRequest
ModelsGet Method for ModelsGet
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiModelsGetRequest
func (*DefaultAPIService) ModelsGetExecute ¶
func (a *DefaultAPIService) ModelsGetExecute(r ApiModelsGetRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*DefaultAPIService) ModelsIdGet ¶
func (a *DefaultAPIService) ModelsIdGet(ctx context.Context, id string) ApiModelsIdGetRequest
ModelsIdGet Method for ModelsIdGet
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiModelsIdGetRequest
func (*DefaultAPIService) ModelsIdGetExecute ¶
func (a *DefaultAPIService) ModelsIdGetExecute(r ApiModelsIdGetRequest) (*ModelsIdGet200Response, *http.Response, error)
Execute executes the request
@return ModelsIdGet200Response
func (*DefaultAPIService) PredictPost ¶
func (a *DefaultAPIService) PredictPost(ctx context.Context) ApiPredictPostRequest
PredictPost Method for PredictPost
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPredictPostRequest
func (*DefaultAPIService) PredictPostExecute ¶
func (a *DefaultAPIService) PredictPostExecute(r ApiPredictPostRequest) (*PredictPost200Response, *http.Response, error)
Execute executes the request
@return PredictPost200Response
func (*DefaultAPIService) PredictionsIdFeedbackPost ¶
func (a *DefaultAPIService) PredictionsIdFeedbackPost(ctx context.Context, id string) ApiPredictionsIdFeedbackPostRequest
PredictionsIdFeedbackPost Method for PredictionsIdFeedbackPost
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiPredictionsIdFeedbackPostRequest
func (*DefaultAPIService) PredictionsIdFeedbackPostExecute ¶
func (a *DefaultAPIService) PredictionsIdFeedbackPostExecute(r ApiPredictionsIdFeedbackPostRequest) (*PredictionsIdFeedbackPost200Response, *http.Response, error)
Execute executes the request
@return PredictionsIdFeedbackPost200Response
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 HealthGet200Response ¶
type HealthGet200Response struct {
Status string `json:"status"`
}
HealthGet200Response struct for HealthGet200Response
func NewHealthGet200Response ¶
func NewHealthGet200Response(status string) *HealthGet200Response
NewHealthGet200Response instantiates a new HealthGet200Response 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 NewHealthGet200ResponseWithDefaults ¶
func NewHealthGet200ResponseWithDefaults() *HealthGet200Response
NewHealthGet200ResponseWithDefaults instantiates a new HealthGet200Response 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 (*HealthGet200Response) GetStatus ¶
func (o *HealthGet200Response) GetStatus() string
GetStatus returns the Status field value
func (*HealthGet200Response) GetStatusOk ¶
func (o *HealthGet200Response) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (HealthGet200Response) MarshalJSON ¶
func (o HealthGet200Response) MarshalJSON() ([]byte, error)
func (*HealthGet200Response) SetStatus ¶
func (o *HealthGet200Response) SetStatus(v string)
SetStatus sets field value
func (HealthGet200Response) ToMap ¶
func (o HealthGet200Response) ToMap() (map[string]interface{}, error)
func (*HealthGet200Response) UnmarshalJSON ¶
func (o *HealthGet200Response) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type ModelsIdGet200Response ¶
type ModelsIdGet200Response struct {
Id string `json:"id"`
Schema map[string]interface{} `json:"schema"`
Metrics map[string]interface{} `json:"metrics"`
}
ModelsIdGet200Response struct for ModelsIdGet200Response
func NewModelsIdGet200Response ¶
func NewModelsIdGet200Response(id string, schema map[string]interface{}, metrics map[string]interface{}) *ModelsIdGet200Response
NewModelsIdGet200Response instantiates a new ModelsIdGet200Response 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 NewModelsIdGet200ResponseWithDefaults ¶
func NewModelsIdGet200ResponseWithDefaults() *ModelsIdGet200Response
NewModelsIdGet200ResponseWithDefaults instantiates a new ModelsIdGet200Response 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 (*ModelsIdGet200Response) GetId ¶
func (o *ModelsIdGet200Response) GetId() string
GetId returns the Id field value
func (*ModelsIdGet200Response) GetIdOk ¶
func (o *ModelsIdGet200Response) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ModelsIdGet200Response) GetMetrics ¶
func (o *ModelsIdGet200Response) GetMetrics() map[string]interface{}
GetMetrics returns the Metrics field value
func (*ModelsIdGet200Response) GetMetricsOk ¶
func (o *ModelsIdGet200Response) GetMetricsOk() (map[string]interface{}, bool)
GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set.
func (*ModelsIdGet200Response) GetSchema ¶
func (o *ModelsIdGet200Response) GetSchema() map[string]interface{}
GetSchema returns the Schema field value
func (*ModelsIdGet200Response) GetSchemaOk ¶
func (o *ModelsIdGet200Response) GetSchemaOk() (map[string]interface{}, bool)
GetSchemaOk returns a tuple with the Schema field value and a boolean to check if the value has been set.
func (ModelsIdGet200Response) MarshalJSON ¶
func (o ModelsIdGet200Response) MarshalJSON() ([]byte, error)
func (*ModelsIdGet200Response) SetId ¶
func (o *ModelsIdGet200Response) SetId(v string)
SetId sets field value
func (*ModelsIdGet200Response) SetMetrics ¶
func (o *ModelsIdGet200Response) SetMetrics(v map[string]interface{})
SetMetrics sets field value
func (*ModelsIdGet200Response) SetSchema ¶
func (o *ModelsIdGet200Response) SetSchema(v map[string]interface{})
SetSchema sets field value
func (ModelsIdGet200Response) ToMap ¶
func (o ModelsIdGet200Response) ToMap() (map[string]interface{}, error)
func (*ModelsIdGet200Response) UnmarshalJSON ¶
func (o *ModelsIdGet200Response) UnmarshalJSON(data []byte) (err error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type 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 NullableHealthGet200Response ¶
type NullableHealthGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableHealthGet200Response ¶
func NewNullableHealthGet200Response(val *HealthGet200Response) *NullableHealthGet200Response
func (NullableHealthGet200Response) Get ¶
func (v NullableHealthGet200Response) Get() *HealthGet200Response
func (NullableHealthGet200Response) IsSet ¶
func (v NullableHealthGet200Response) IsSet() bool
func (NullableHealthGet200Response) MarshalJSON ¶
func (v NullableHealthGet200Response) MarshalJSON() ([]byte, error)
func (*NullableHealthGet200Response) Set ¶
func (v *NullableHealthGet200Response) Set(val *HealthGet200Response)
func (*NullableHealthGet200Response) UnmarshalJSON ¶
func (v *NullableHealthGet200Response) UnmarshalJSON(src []byte) error
func (*NullableHealthGet200Response) Unset ¶
func (v *NullableHealthGet200Response) 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 NullableModelsIdGet200Response ¶
type NullableModelsIdGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableModelsIdGet200Response ¶
func NewNullableModelsIdGet200Response(val *ModelsIdGet200Response) *NullableModelsIdGet200Response
func (NullableModelsIdGet200Response) Get ¶
func (v NullableModelsIdGet200Response) Get() *ModelsIdGet200Response
func (NullableModelsIdGet200Response) IsSet ¶
func (v NullableModelsIdGet200Response) IsSet() bool
func (NullableModelsIdGet200Response) MarshalJSON ¶
func (v NullableModelsIdGet200Response) MarshalJSON() ([]byte, error)
func (*NullableModelsIdGet200Response) Set ¶
func (v *NullableModelsIdGet200Response) Set(val *ModelsIdGet200Response)
func (*NullableModelsIdGet200Response) UnmarshalJSON ¶
func (v *NullableModelsIdGet200Response) UnmarshalJSON(src []byte) error
func (*NullableModelsIdGet200Response) Unset ¶
func (v *NullableModelsIdGet200Response) Unset()
type NullablePredictPost200Response ¶
type NullablePredictPost200Response struct {
// contains filtered or unexported fields
}
func NewNullablePredictPost200Response ¶
func NewNullablePredictPost200Response(val *PredictPost200Response) *NullablePredictPost200Response
func (NullablePredictPost200Response) Get ¶
func (v NullablePredictPost200Response) Get() *PredictPost200Response
func (NullablePredictPost200Response) IsSet ¶
func (v NullablePredictPost200Response) IsSet() bool
func (NullablePredictPost200Response) MarshalJSON ¶
func (v NullablePredictPost200Response) MarshalJSON() ([]byte, error)
func (*NullablePredictPost200Response) Set ¶
func (v *NullablePredictPost200Response) Set(val *PredictPost200Response)
func (*NullablePredictPost200Response) UnmarshalJSON ¶
func (v *NullablePredictPost200Response) UnmarshalJSON(src []byte) error
func (*NullablePredictPost200Response) Unset ¶
func (v *NullablePredictPost200Response) Unset()
type NullablePredictPost200ResponseConfidence ¶
type NullablePredictPost200ResponseConfidence struct {
// contains filtered or unexported fields
}
func NewNullablePredictPost200ResponseConfidence ¶
func NewNullablePredictPost200ResponseConfidence(val *PredictPost200ResponseConfidence) *NullablePredictPost200ResponseConfidence
func (NullablePredictPost200ResponseConfidence) IsSet ¶
func (v NullablePredictPost200ResponseConfidence) IsSet() bool
func (NullablePredictPost200ResponseConfidence) MarshalJSON ¶
func (v NullablePredictPost200ResponseConfidence) MarshalJSON() ([]byte, error)
func (*NullablePredictPost200ResponseConfidence) Set ¶
func (v *NullablePredictPost200ResponseConfidence) Set(val *PredictPost200ResponseConfidence)
func (*NullablePredictPost200ResponseConfidence) UnmarshalJSON ¶
func (v *NullablePredictPost200ResponseConfidence) UnmarshalJSON(src []byte) error
func (*NullablePredictPost200ResponseConfidence) Unset ¶
func (v *NullablePredictPost200ResponseConfidence) Unset()
type NullablePredictPost200ResponseConfidenceInterval ¶
type NullablePredictPost200ResponseConfidenceInterval struct {
// contains filtered or unexported fields
}
func NewNullablePredictPost200ResponseConfidenceInterval ¶
func NewNullablePredictPost200ResponseConfidenceInterval(val *PredictPost200ResponseConfidenceInterval) *NullablePredictPost200ResponseConfidenceInterval
func (NullablePredictPost200ResponseConfidenceInterval) IsSet ¶
func (v NullablePredictPost200ResponseConfidenceInterval) IsSet() bool
func (NullablePredictPost200ResponseConfidenceInterval) MarshalJSON ¶
func (v NullablePredictPost200ResponseConfidenceInterval) MarshalJSON() ([]byte, error)
func (*NullablePredictPost200ResponseConfidenceInterval) UnmarshalJSON ¶
func (v *NullablePredictPost200ResponseConfidenceInterval) UnmarshalJSON(src []byte) error
func (*NullablePredictPost200ResponseConfidenceInterval) Unset ¶
func (v *NullablePredictPost200ResponseConfidenceInterval) Unset()
type NullablePredictPost200ResponseMetadata ¶
type NullablePredictPost200ResponseMetadata struct {
// contains filtered or unexported fields
}
func NewNullablePredictPost200ResponseMetadata ¶
func NewNullablePredictPost200ResponseMetadata(val *PredictPost200ResponseMetadata) *NullablePredictPost200ResponseMetadata
func (NullablePredictPost200ResponseMetadata) Get ¶
func (v NullablePredictPost200ResponseMetadata) Get() *PredictPost200ResponseMetadata
func (NullablePredictPost200ResponseMetadata) IsSet ¶
func (v NullablePredictPost200ResponseMetadata) IsSet() bool
func (NullablePredictPost200ResponseMetadata) MarshalJSON ¶
func (v NullablePredictPost200ResponseMetadata) MarshalJSON() ([]byte, error)
func (*NullablePredictPost200ResponseMetadata) Set ¶
func (v *NullablePredictPost200ResponseMetadata) Set(val *PredictPost200ResponseMetadata)
func (*NullablePredictPost200ResponseMetadata) UnmarshalJSON ¶
func (v *NullablePredictPost200ResponseMetadata) UnmarshalJSON(src []byte) error
func (*NullablePredictPost200ResponseMetadata) Unset ¶
func (v *NullablePredictPost200ResponseMetadata) Unset()
type NullablePredictPost200ResponseTopFactorsInner ¶
type NullablePredictPost200ResponseTopFactorsInner struct {
// contains filtered or unexported fields
}
func NewNullablePredictPost200ResponseTopFactorsInner ¶
func NewNullablePredictPost200ResponseTopFactorsInner(val *PredictPost200ResponseTopFactorsInner) *NullablePredictPost200ResponseTopFactorsInner
func (NullablePredictPost200ResponseTopFactorsInner) IsSet ¶
func (v NullablePredictPost200ResponseTopFactorsInner) IsSet() bool
func (NullablePredictPost200ResponseTopFactorsInner) MarshalJSON ¶
func (v NullablePredictPost200ResponseTopFactorsInner) MarshalJSON() ([]byte, error)
func (*NullablePredictPost200ResponseTopFactorsInner) Set ¶
func (v *NullablePredictPost200ResponseTopFactorsInner) Set(val *PredictPost200ResponseTopFactorsInner)
func (*NullablePredictPost200ResponseTopFactorsInner) UnmarshalJSON ¶
func (v *NullablePredictPost200ResponseTopFactorsInner) UnmarshalJSON(src []byte) error
func (*NullablePredictPost200ResponseTopFactorsInner) Unset ¶
func (v *NullablePredictPost200ResponseTopFactorsInner) Unset()
type NullablePredictPost400Response ¶
type NullablePredictPost400Response struct {
// contains filtered or unexported fields
}
func NewNullablePredictPost400Response ¶
func NewNullablePredictPost400Response(val *PredictPost400Response) *NullablePredictPost400Response
func (NullablePredictPost400Response) Get ¶
func (v NullablePredictPost400Response) Get() *PredictPost400Response
func (NullablePredictPost400Response) IsSet ¶
func (v NullablePredictPost400Response) IsSet() bool
func (NullablePredictPost400Response) MarshalJSON ¶
func (v NullablePredictPost400Response) MarshalJSON() ([]byte, error)
func (*NullablePredictPost400Response) Set ¶
func (v *NullablePredictPost400Response) Set(val *PredictPost400Response)
func (*NullablePredictPost400Response) UnmarshalJSON ¶
func (v *NullablePredictPost400Response) UnmarshalJSON(src []byte) error
func (*NullablePredictPost400Response) Unset ¶
func (v *NullablePredictPost400Response) Unset()
type NullablePredictPostRequest ¶
type NullablePredictPostRequest struct {
// contains filtered or unexported fields
}
func NewNullablePredictPostRequest ¶
func NewNullablePredictPostRequest(val *PredictPostRequest) *NullablePredictPostRequest
func (NullablePredictPostRequest) Get ¶
func (v NullablePredictPostRequest) Get() *PredictPostRequest
func (NullablePredictPostRequest) IsSet ¶
func (v NullablePredictPostRequest) IsSet() bool
func (NullablePredictPostRequest) MarshalJSON ¶
func (v NullablePredictPostRequest) MarshalJSON() ([]byte, error)
func (*NullablePredictPostRequest) Set ¶
func (v *NullablePredictPostRequest) Set(val *PredictPostRequest)
func (*NullablePredictPostRequest) UnmarshalJSON ¶
func (v *NullablePredictPostRequest) UnmarshalJSON(src []byte) error
func (*NullablePredictPostRequest) Unset ¶
func (v *NullablePredictPostRequest) Unset()
type NullablePredictionsIdFeedbackPost200Response ¶
type NullablePredictionsIdFeedbackPost200Response struct {
// contains filtered or unexported fields
}
func NewNullablePredictionsIdFeedbackPost200Response ¶
func NewNullablePredictionsIdFeedbackPost200Response(val *PredictionsIdFeedbackPost200Response) *NullablePredictionsIdFeedbackPost200Response
func (NullablePredictionsIdFeedbackPost200Response) IsSet ¶
func (v NullablePredictionsIdFeedbackPost200Response) IsSet() bool
func (NullablePredictionsIdFeedbackPost200Response) MarshalJSON ¶
func (v NullablePredictionsIdFeedbackPost200Response) MarshalJSON() ([]byte, error)
func (*NullablePredictionsIdFeedbackPost200Response) Set ¶
func (v *NullablePredictionsIdFeedbackPost200Response) Set(val *PredictionsIdFeedbackPost200Response)
func (*NullablePredictionsIdFeedbackPost200Response) UnmarshalJSON ¶
func (v *NullablePredictionsIdFeedbackPost200Response) UnmarshalJSON(src []byte) error
func (*NullablePredictionsIdFeedbackPost200Response) Unset ¶
func (v *NullablePredictionsIdFeedbackPost200Response) Unset()
type NullablePredictionsIdFeedbackPostRequest ¶
type NullablePredictionsIdFeedbackPostRequest struct {
// contains filtered or unexported fields
}
func NewNullablePredictionsIdFeedbackPostRequest ¶
func NewNullablePredictionsIdFeedbackPostRequest(val *PredictionsIdFeedbackPostRequest) *NullablePredictionsIdFeedbackPostRequest
func (NullablePredictionsIdFeedbackPostRequest) IsSet ¶
func (v NullablePredictionsIdFeedbackPostRequest) IsSet() bool
func (NullablePredictionsIdFeedbackPostRequest) MarshalJSON ¶
func (v NullablePredictionsIdFeedbackPostRequest) MarshalJSON() ([]byte, error)
func (*NullablePredictionsIdFeedbackPostRequest) Set ¶
func (v *NullablePredictionsIdFeedbackPostRequest) Set(val *PredictionsIdFeedbackPostRequest)
func (*NullablePredictionsIdFeedbackPostRequest) UnmarshalJSON ¶
func (v *NullablePredictionsIdFeedbackPostRequest) UnmarshalJSON(src []byte) error
func (*NullablePredictionsIdFeedbackPostRequest) Unset ¶
func (v *NullablePredictionsIdFeedbackPostRequest) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type PredictPost200Response ¶
type PredictPost200Response struct {
Value float32 `json:"value"`
Interval []float32 `json:"interval,omitempty"`
ConfidenceLevel *float32 `json:"confidence_level,omitempty"`
ConfidenceInterval *PredictPost200ResponseConfidenceInterval `json:"confidence_interval,omitempty"`
Confidence *PredictPost200ResponseConfidence `json:"confidence,omitempty"`
TopFactors []PredictPost200ResponseTopFactorsInner `json:"top_factors,omitempty"`
Metadata *PredictPost200ResponseMetadata `json:"metadata,omitempty"`
Model string `json:"model"`
LatencyMs float32 `json:"latency_ms"`
PredictionId string `json:"prediction_id"`
FeedbackUrl string `json:"feedback_url"`
}
PredictPost200Response struct for PredictPost200Response
func NewPredictPost200Response ¶
func NewPredictPost200Response(value float32, model string, latencyMs float32, predictionId string, feedbackUrl string) *PredictPost200Response
NewPredictPost200Response instantiates a new PredictPost200Response 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 NewPredictPost200ResponseWithDefaults ¶
func NewPredictPost200ResponseWithDefaults() *PredictPost200Response
NewPredictPost200ResponseWithDefaults instantiates a new PredictPost200Response 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 (*PredictPost200Response) GetConfidence ¶
func (o *PredictPost200Response) GetConfidence() PredictPost200ResponseConfidence
GetConfidence returns the Confidence field value if set, zero value otherwise.
func (*PredictPost200Response) GetConfidenceInterval ¶
func (o *PredictPost200Response) GetConfidenceInterval() PredictPost200ResponseConfidenceInterval
GetConfidenceInterval returns the ConfidenceInterval field value if set, zero value otherwise.
func (*PredictPost200Response) GetConfidenceIntervalOk ¶
func (o *PredictPost200Response) GetConfidenceIntervalOk() (*PredictPost200ResponseConfidenceInterval, bool)
GetConfidenceIntervalOk returns a tuple with the ConfidenceInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictPost200Response) GetConfidenceLevel ¶
func (o *PredictPost200Response) GetConfidenceLevel() float32
GetConfidenceLevel returns the ConfidenceLevel field value if set, zero value otherwise.
func (*PredictPost200Response) GetConfidenceLevelOk ¶
func (o *PredictPost200Response) GetConfidenceLevelOk() (*float32, bool)
GetConfidenceLevelOk returns a tuple with the ConfidenceLevel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictPost200Response) GetConfidenceOk ¶
func (o *PredictPost200Response) GetConfidenceOk() (*PredictPost200ResponseConfidence, bool)
GetConfidenceOk returns a tuple with the Confidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictPost200Response) GetFeedbackUrl ¶
func (o *PredictPost200Response) GetFeedbackUrl() string
GetFeedbackUrl returns the FeedbackUrl field value
func (*PredictPost200Response) GetFeedbackUrlOk ¶
func (o *PredictPost200Response) GetFeedbackUrlOk() (*string, bool)
GetFeedbackUrlOk returns a tuple with the FeedbackUrl field value and a boolean to check if the value has been set.
func (*PredictPost200Response) GetInterval ¶
func (o *PredictPost200Response) GetInterval() []float32
GetInterval returns the Interval field value if set, zero value otherwise.
func (*PredictPost200Response) GetIntervalOk ¶
func (o *PredictPost200Response) GetIntervalOk() ([]float32, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictPost200Response) GetLatencyMs ¶
func (o *PredictPost200Response) GetLatencyMs() float32
GetLatencyMs returns the LatencyMs field value
func (*PredictPost200Response) GetLatencyMsOk ¶
func (o *PredictPost200Response) GetLatencyMsOk() (*float32, bool)
GetLatencyMsOk returns a tuple with the LatencyMs field value and a boolean to check if the value has been set.
func (*PredictPost200Response) GetMetadata ¶
func (o *PredictPost200Response) GetMetadata() PredictPost200ResponseMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*PredictPost200Response) GetMetadataOk ¶
func (o *PredictPost200Response) GetMetadataOk() (*PredictPost200ResponseMetadata, 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 (*PredictPost200Response) GetModel ¶
func (o *PredictPost200Response) GetModel() string
GetModel returns the Model field value
func (*PredictPost200Response) GetModelOk ¶
func (o *PredictPost200Response) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*PredictPost200Response) GetPredictionId ¶
func (o *PredictPost200Response) GetPredictionId() string
GetPredictionId returns the PredictionId field value
func (*PredictPost200Response) GetPredictionIdOk ¶
func (o *PredictPost200Response) GetPredictionIdOk() (*string, bool)
GetPredictionIdOk returns a tuple with the PredictionId field value and a boolean to check if the value has been set.
func (*PredictPost200Response) GetTopFactors ¶
func (o *PredictPost200Response) GetTopFactors() []PredictPost200ResponseTopFactorsInner
GetTopFactors returns the TopFactors field value if set, zero value otherwise.
func (*PredictPost200Response) GetTopFactorsOk ¶
func (o *PredictPost200Response) GetTopFactorsOk() ([]PredictPost200ResponseTopFactorsInner, bool)
GetTopFactorsOk returns a tuple with the TopFactors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictPost200Response) GetValue ¶
func (o *PredictPost200Response) GetValue() float32
GetValue returns the Value field value
func (*PredictPost200Response) GetValueOk ¶
func (o *PredictPost200Response) GetValueOk() (*float32, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*PredictPost200Response) HasConfidence ¶
func (o *PredictPost200Response) HasConfidence() bool
HasConfidence returns a boolean if a field has been set.
func (*PredictPost200Response) HasConfidenceInterval ¶
func (o *PredictPost200Response) HasConfidenceInterval() bool
HasConfidenceInterval returns a boolean if a field has been set.
func (*PredictPost200Response) HasConfidenceLevel ¶
func (o *PredictPost200Response) HasConfidenceLevel() bool
HasConfidenceLevel returns a boolean if a field has been set.
func (*PredictPost200Response) HasInterval ¶
func (o *PredictPost200Response) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*PredictPost200Response) HasMetadata ¶
func (o *PredictPost200Response) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*PredictPost200Response) HasTopFactors ¶
func (o *PredictPost200Response) HasTopFactors() bool
HasTopFactors returns a boolean if a field has been set.
func (PredictPost200Response) MarshalJSON ¶
func (o PredictPost200Response) MarshalJSON() ([]byte, error)
func (*PredictPost200Response) SetConfidence ¶
func (o *PredictPost200Response) SetConfidence(v PredictPost200ResponseConfidence)
SetConfidence gets a reference to the given PredictPost200ResponseConfidence and assigns it to the Confidence field.
func (*PredictPost200Response) SetConfidenceInterval ¶
func (o *PredictPost200Response) SetConfidenceInterval(v PredictPost200ResponseConfidenceInterval)
SetConfidenceInterval gets a reference to the given PredictPost200ResponseConfidenceInterval and assigns it to the ConfidenceInterval field.
func (*PredictPost200Response) SetConfidenceLevel ¶
func (o *PredictPost200Response) SetConfidenceLevel(v float32)
SetConfidenceLevel gets a reference to the given float32 and assigns it to the ConfidenceLevel field.
func (*PredictPost200Response) SetFeedbackUrl ¶
func (o *PredictPost200Response) SetFeedbackUrl(v string)
SetFeedbackUrl sets field value
func (*PredictPost200Response) SetInterval ¶
func (o *PredictPost200Response) SetInterval(v []float32)
SetInterval gets a reference to the given []float32 and assigns it to the Interval field.
func (*PredictPost200Response) SetLatencyMs ¶
func (o *PredictPost200Response) SetLatencyMs(v float32)
SetLatencyMs sets field value
func (*PredictPost200Response) SetMetadata ¶
func (o *PredictPost200Response) SetMetadata(v PredictPost200ResponseMetadata)
SetMetadata gets a reference to the given PredictPost200ResponseMetadata and assigns it to the Metadata field.
func (*PredictPost200Response) SetModel ¶
func (o *PredictPost200Response) SetModel(v string)
SetModel sets field value
func (*PredictPost200Response) SetPredictionId ¶
func (o *PredictPost200Response) SetPredictionId(v string)
SetPredictionId sets field value
func (*PredictPost200Response) SetTopFactors ¶
func (o *PredictPost200Response) SetTopFactors(v []PredictPost200ResponseTopFactorsInner)
SetTopFactors gets a reference to the given []PredictPost200ResponseTopFactorsInner and assigns it to the TopFactors field.
func (*PredictPost200Response) SetValue ¶
func (o *PredictPost200Response) SetValue(v float32)
SetValue sets field value
func (PredictPost200Response) ToMap ¶
func (o PredictPost200Response) ToMap() (map[string]interface{}, error)
func (*PredictPost200Response) UnmarshalJSON ¶
func (o *PredictPost200Response) UnmarshalJSON(data []byte) (err error)
type PredictPost200ResponseConfidence ¶
type PredictPost200ResponseConfidence struct {
Level float32 `json:"level"`
Score float32 `json:"score"`
}
PredictPost200ResponseConfidence struct for PredictPost200ResponseConfidence
func NewPredictPost200ResponseConfidence ¶
func NewPredictPost200ResponseConfidence(level float32, score float32) *PredictPost200ResponseConfidence
NewPredictPost200ResponseConfidence instantiates a new PredictPost200ResponseConfidence 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 NewPredictPost200ResponseConfidenceWithDefaults ¶
func NewPredictPost200ResponseConfidenceWithDefaults() *PredictPost200ResponseConfidence
NewPredictPost200ResponseConfidenceWithDefaults instantiates a new PredictPost200ResponseConfidence 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 (*PredictPost200ResponseConfidence) GetLevel ¶
func (o *PredictPost200ResponseConfidence) GetLevel() float32
GetLevel returns the Level field value
func (*PredictPost200ResponseConfidence) GetLevelOk ¶
func (o *PredictPost200ResponseConfidence) GetLevelOk() (*float32, bool)
GetLevelOk returns a tuple with the Level field value and a boolean to check if the value has been set.
func (*PredictPost200ResponseConfidence) GetScore ¶
func (o *PredictPost200ResponseConfidence) GetScore() float32
GetScore returns the Score field value
func (*PredictPost200ResponseConfidence) GetScoreOk ¶
func (o *PredictPost200ResponseConfidence) GetScoreOk() (*float32, bool)
GetScoreOk returns a tuple with the Score field value and a boolean to check if the value has been set.
func (PredictPost200ResponseConfidence) MarshalJSON ¶
func (o PredictPost200ResponseConfidence) MarshalJSON() ([]byte, error)
func (*PredictPost200ResponseConfidence) SetLevel ¶
func (o *PredictPost200ResponseConfidence) SetLevel(v float32)
SetLevel sets field value
func (*PredictPost200ResponseConfidence) SetScore ¶
func (o *PredictPost200ResponseConfidence) SetScore(v float32)
SetScore sets field value
func (PredictPost200ResponseConfidence) ToMap ¶
func (o PredictPost200ResponseConfidence) ToMap() (map[string]interface{}, error)
func (*PredictPost200ResponseConfidence) UnmarshalJSON ¶
func (o *PredictPost200ResponseConfidence) UnmarshalJSON(data []byte) (err error)
type PredictPost200ResponseConfidenceInterval ¶
type PredictPost200ResponseConfidenceInterval struct {
Lower float32 `json:"lower"`
Upper float32 `json:"upper"`
Coverage float32 `json:"coverage"`
}
PredictPost200ResponseConfidenceInterval struct for PredictPost200ResponseConfidenceInterval
func NewPredictPost200ResponseConfidenceInterval ¶
func NewPredictPost200ResponseConfidenceInterval(lower float32, upper float32, coverage float32) *PredictPost200ResponseConfidenceInterval
NewPredictPost200ResponseConfidenceInterval instantiates a new PredictPost200ResponseConfidenceInterval 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 NewPredictPost200ResponseConfidenceIntervalWithDefaults ¶
func NewPredictPost200ResponseConfidenceIntervalWithDefaults() *PredictPost200ResponseConfidenceInterval
NewPredictPost200ResponseConfidenceIntervalWithDefaults instantiates a new PredictPost200ResponseConfidenceInterval 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 (*PredictPost200ResponseConfidenceInterval) GetCoverage ¶
func (o *PredictPost200ResponseConfidenceInterval) GetCoverage() float32
GetCoverage returns the Coverage field value
func (*PredictPost200ResponseConfidenceInterval) GetCoverageOk ¶
func (o *PredictPost200ResponseConfidenceInterval) GetCoverageOk() (*float32, bool)
GetCoverageOk returns a tuple with the Coverage field value and a boolean to check if the value has been set.
func (*PredictPost200ResponseConfidenceInterval) GetLower ¶
func (o *PredictPost200ResponseConfidenceInterval) GetLower() float32
GetLower returns the Lower field value
func (*PredictPost200ResponseConfidenceInterval) GetLowerOk ¶
func (o *PredictPost200ResponseConfidenceInterval) GetLowerOk() (*float32, bool)
GetLowerOk returns a tuple with the Lower field value and a boolean to check if the value has been set.
func (*PredictPost200ResponseConfidenceInterval) GetUpper ¶
func (o *PredictPost200ResponseConfidenceInterval) GetUpper() float32
GetUpper returns the Upper field value
func (*PredictPost200ResponseConfidenceInterval) GetUpperOk ¶
func (o *PredictPost200ResponseConfidenceInterval) GetUpperOk() (*float32, bool)
GetUpperOk returns a tuple with the Upper field value and a boolean to check if the value has been set.
func (PredictPost200ResponseConfidenceInterval) MarshalJSON ¶
func (o PredictPost200ResponseConfidenceInterval) MarshalJSON() ([]byte, error)
func (*PredictPost200ResponseConfidenceInterval) SetCoverage ¶
func (o *PredictPost200ResponseConfidenceInterval) SetCoverage(v float32)
SetCoverage sets field value
func (*PredictPost200ResponseConfidenceInterval) SetLower ¶
func (o *PredictPost200ResponseConfidenceInterval) SetLower(v float32)
SetLower sets field value
func (*PredictPost200ResponseConfidenceInterval) SetUpper ¶
func (o *PredictPost200ResponseConfidenceInterval) SetUpper(v float32)
SetUpper sets field value
func (PredictPost200ResponseConfidenceInterval) ToMap ¶
func (o PredictPost200ResponseConfidenceInterval) ToMap() (map[string]interface{}, error)
func (*PredictPost200ResponseConfidenceInterval) UnmarshalJSON ¶
func (o *PredictPost200ResponseConfidenceInterval) UnmarshalJSON(data []byte) (err error)
type PredictPost200ResponseMetadata ¶
type PredictPost200ResponseMetadata struct {
ModelVersion string `json:"model_version"`
TrainingData string `json:"training_data"`
PredictionBasis string `json:"prediction_basis"`
}
PredictPost200ResponseMetadata struct for PredictPost200ResponseMetadata
func NewPredictPost200ResponseMetadata ¶
func NewPredictPost200ResponseMetadata(modelVersion string, trainingData string, predictionBasis string) *PredictPost200ResponseMetadata
NewPredictPost200ResponseMetadata instantiates a new PredictPost200ResponseMetadata 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 NewPredictPost200ResponseMetadataWithDefaults ¶
func NewPredictPost200ResponseMetadataWithDefaults() *PredictPost200ResponseMetadata
NewPredictPost200ResponseMetadataWithDefaults instantiates a new PredictPost200ResponseMetadata 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 (*PredictPost200ResponseMetadata) GetModelVersion ¶
func (o *PredictPost200ResponseMetadata) GetModelVersion() string
GetModelVersion returns the ModelVersion field value
func (*PredictPost200ResponseMetadata) GetModelVersionOk ¶
func (o *PredictPost200ResponseMetadata) GetModelVersionOk() (*string, bool)
GetModelVersionOk returns a tuple with the ModelVersion field value and a boolean to check if the value has been set.
func (*PredictPost200ResponseMetadata) GetPredictionBasis ¶
func (o *PredictPost200ResponseMetadata) GetPredictionBasis() string
GetPredictionBasis returns the PredictionBasis field value
func (*PredictPost200ResponseMetadata) GetPredictionBasisOk ¶
func (o *PredictPost200ResponseMetadata) GetPredictionBasisOk() (*string, bool)
GetPredictionBasisOk returns a tuple with the PredictionBasis field value and a boolean to check if the value has been set.
func (*PredictPost200ResponseMetadata) GetTrainingData ¶
func (o *PredictPost200ResponseMetadata) GetTrainingData() string
GetTrainingData returns the TrainingData field value
func (*PredictPost200ResponseMetadata) GetTrainingDataOk ¶
func (o *PredictPost200ResponseMetadata) GetTrainingDataOk() (*string, bool)
GetTrainingDataOk returns a tuple with the TrainingData field value and a boolean to check if the value has been set.
func (PredictPost200ResponseMetadata) MarshalJSON ¶
func (o PredictPost200ResponseMetadata) MarshalJSON() ([]byte, error)
func (*PredictPost200ResponseMetadata) SetModelVersion ¶
func (o *PredictPost200ResponseMetadata) SetModelVersion(v string)
SetModelVersion sets field value
func (*PredictPost200ResponseMetadata) SetPredictionBasis ¶
func (o *PredictPost200ResponseMetadata) SetPredictionBasis(v string)
SetPredictionBasis sets field value
func (*PredictPost200ResponseMetadata) SetTrainingData ¶
func (o *PredictPost200ResponseMetadata) SetTrainingData(v string)
SetTrainingData sets field value
func (PredictPost200ResponseMetadata) ToMap ¶
func (o PredictPost200ResponseMetadata) ToMap() (map[string]interface{}, error)
func (*PredictPost200ResponseMetadata) UnmarshalJSON ¶
func (o *PredictPost200ResponseMetadata) UnmarshalJSON(data []byte) (err error)
type PredictPost200ResponseTopFactorsInner ¶
type PredictPost200ResponseTopFactorsInner struct {
Feature string `json:"feature"`
Impact float32 `json:"impact"`
}
PredictPost200ResponseTopFactorsInner struct for PredictPost200ResponseTopFactorsInner
func NewPredictPost200ResponseTopFactorsInner ¶
func NewPredictPost200ResponseTopFactorsInner(feature string, impact float32) *PredictPost200ResponseTopFactorsInner
NewPredictPost200ResponseTopFactorsInner instantiates a new PredictPost200ResponseTopFactorsInner 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 NewPredictPost200ResponseTopFactorsInnerWithDefaults ¶
func NewPredictPost200ResponseTopFactorsInnerWithDefaults() *PredictPost200ResponseTopFactorsInner
NewPredictPost200ResponseTopFactorsInnerWithDefaults instantiates a new PredictPost200ResponseTopFactorsInner 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 (*PredictPost200ResponseTopFactorsInner) GetFeature ¶
func (o *PredictPost200ResponseTopFactorsInner) GetFeature() string
GetFeature returns the Feature field value
func (*PredictPost200ResponseTopFactorsInner) GetFeatureOk ¶
func (o *PredictPost200ResponseTopFactorsInner) GetFeatureOk() (*string, bool)
GetFeatureOk returns a tuple with the Feature field value and a boolean to check if the value has been set.
func (*PredictPost200ResponseTopFactorsInner) GetImpact ¶
func (o *PredictPost200ResponseTopFactorsInner) GetImpact() float32
GetImpact returns the Impact field value
func (*PredictPost200ResponseTopFactorsInner) GetImpactOk ¶
func (o *PredictPost200ResponseTopFactorsInner) GetImpactOk() (*float32, bool)
GetImpactOk returns a tuple with the Impact field value and a boolean to check if the value has been set.
func (PredictPost200ResponseTopFactorsInner) MarshalJSON ¶
func (o PredictPost200ResponseTopFactorsInner) MarshalJSON() ([]byte, error)
func (*PredictPost200ResponseTopFactorsInner) SetFeature ¶
func (o *PredictPost200ResponseTopFactorsInner) SetFeature(v string)
SetFeature sets field value
func (*PredictPost200ResponseTopFactorsInner) SetImpact ¶
func (o *PredictPost200ResponseTopFactorsInner) SetImpact(v float32)
SetImpact sets field value
func (PredictPost200ResponseTopFactorsInner) ToMap ¶
func (o PredictPost200ResponseTopFactorsInner) ToMap() (map[string]interface{}, error)
func (*PredictPost200ResponseTopFactorsInner) UnmarshalJSON ¶
func (o *PredictPost200ResponseTopFactorsInner) UnmarshalJSON(data []byte) (err error)
type PredictPost400Response ¶
type PredictPost400Response struct {
Error string `json:"error"`
}
PredictPost400Response struct for PredictPost400Response
func NewPredictPost400Response ¶
func NewPredictPost400Response(error_ string) *PredictPost400Response
NewPredictPost400Response instantiates a new PredictPost400Response 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 NewPredictPost400ResponseWithDefaults ¶
func NewPredictPost400ResponseWithDefaults() *PredictPost400Response
NewPredictPost400ResponseWithDefaults instantiates a new PredictPost400Response 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 (*PredictPost400Response) GetError ¶
func (o *PredictPost400Response) GetError() string
GetError returns the Error field value
func (*PredictPost400Response) GetErrorOk ¶
func (o *PredictPost400Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (PredictPost400Response) MarshalJSON ¶
func (o PredictPost400Response) MarshalJSON() ([]byte, error)
func (*PredictPost400Response) SetError ¶
func (o *PredictPost400Response) SetError(v string)
SetError sets field value
func (PredictPost400Response) ToMap ¶
func (o PredictPost400Response) ToMap() (map[string]interface{}, error)
func (*PredictPost400Response) UnmarshalJSON ¶
func (o *PredictPost400Response) UnmarshalJSON(data []byte) (err error)
type PredictPostRequest ¶
type PredictPostRequest struct {
Model string `json:"model"`
Features map[string]interface{} `json:"features"`
TrainConsent *bool `json:"train_consent,omitempty"`
}
PredictPostRequest struct for PredictPostRequest
func NewPredictPostRequest ¶
func NewPredictPostRequest(model string, features map[string]interface{}) *PredictPostRequest
NewPredictPostRequest instantiates a new PredictPostRequest 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 NewPredictPostRequestWithDefaults ¶
func NewPredictPostRequestWithDefaults() *PredictPostRequest
NewPredictPostRequestWithDefaults instantiates a new PredictPostRequest 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 (*PredictPostRequest) GetFeatures ¶
func (o *PredictPostRequest) GetFeatures() map[string]interface{}
GetFeatures returns the Features field value
func (*PredictPostRequest) GetFeaturesOk ¶
func (o *PredictPostRequest) GetFeaturesOk() (map[string]interface{}, bool)
GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set.
func (*PredictPostRequest) GetModel ¶
func (o *PredictPostRequest) GetModel() string
GetModel returns the Model field value
func (*PredictPostRequest) GetModelOk ¶
func (o *PredictPostRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*PredictPostRequest) GetTrainConsent ¶
func (o *PredictPostRequest) GetTrainConsent() bool
GetTrainConsent returns the TrainConsent field value if set, zero value otherwise.
func (*PredictPostRequest) GetTrainConsentOk ¶
func (o *PredictPostRequest) GetTrainConsentOk() (*bool, bool)
GetTrainConsentOk returns a tuple with the TrainConsent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictPostRequest) HasTrainConsent ¶
func (o *PredictPostRequest) HasTrainConsent() bool
HasTrainConsent returns a boolean if a field has been set.
func (PredictPostRequest) MarshalJSON ¶
func (o PredictPostRequest) MarshalJSON() ([]byte, error)
func (*PredictPostRequest) SetFeatures ¶
func (o *PredictPostRequest) SetFeatures(v map[string]interface{})
SetFeatures sets field value
func (*PredictPostRequest) SetModel ¶
func (o *PredictPostRequest) SetModel(v string)
SetModel sets field value
func (*PredictPostRequest) SetTrainConsent ¶
func (o *PredictPostRequest) SetTrainConsent(v bool)
SetTrainConsent gets a reference to the given bool and assigns it to the TrainConsent field.
func (PredictPostRequest) ToMap ¶
func (o PredictPostRequest) ToMap() (map[string]interface{}, error)
func (*PredictPostRequest) UnmarshalJSON ¶
func (o *PredictPostRequest) UnmarshalJSON(data []byte) (err error)
type PredictionsIdFeedbackPost200Response ¶
type PredictionsIdFeedbackPost200Response struct {
Received bool `json:"received"`
CreditsAwarded float32 `json:"credits_awarded"`
Duplicate *bool `json:"duplicate,omitempty"`
}
PredictionsIdFeedbackPost200Response struct for PredictionsIdFeedbackPost200Response
func NewPredictionsIdFeedbackPost200Response ¶
func NewPredictionsIdFeedbackPost200Response(received bool, creditsAwarded float32) *PredictionsIdFeedbackPost200Response
NewPredictionsIdFeedbackPost200Response instantiates a new PredictionsIdFeedbackPost200Response 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 NewPredictionsIdFeedbackPost200ResponseWithDefaults ¶
func NewPredictionsIdFeedbackPost200ResponseWithDefaults() *PredictionsIdFeedbackPost200Response
NewPredictionsIdFeedbackPost200ResponseWithDefaults instantiates a new PredictionsIdFeedbackPost200Response 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 (*PredictionsIdFeedbackPost200Response) GetCreditsAwarded ¶
func (o *PredictionsIdFeedbackPost200Response) GetCreditsAwarded() float32
GetCreditsAwarded returns the CreditsAwarded field value
func (*PredictionsIdFeedbackPost200Response) GetCreditsAwardedOk ¶
func (o *PredictionsIdFeedbackPost200Response) GetCreditsAwardedOk() (*float32, bool)
GetCreditsAwardedOk returns a tuple with the CreditsAwarded field value and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPost200Response) GetDuplicate ¶
func (o *PredictionsIdFeedbackPost200Response) GetDuplicate() bool
GetDuplicate returns the Duplicate field value if set, zero value otherwise.
func (*PredictionsIdFeedbackPost200Response) GetDuplicateOk ¶
func (o *PredictionsIdFeedbackPost200Response) GetDuplicateOk() (*bool, bool)
GetDuplicateOk returns a tuple with the Duplicate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPost200Response) GetReceived ¶
func (o *PredictionsIdFeedbackPost200Response) GetReceived() bool
GetReceived returns the Received field value
func (*PredictionsIdFeedbackPost200Response) GetReceivedOk ¶
func (o *PredictionsIdFeedbackPost200Response) GetReceivedOk() (*bool, bool)
GetReceivedOk returns a tuple with the Received field value and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPost200Response) HasDuplicate ¶
func (o *PredictionsIdFeedbackPost200Response) HasDuplicate() bool
HasDuplicate returns a boolean if a field has been set.
func (PredictionsIdFeedbackPost200Response) MarshalJSON ¶
func (o PredictionsIdFeedbackPost200Response) MarshalJSON() ([]byte, error)
func (*PredictionsIdFeedbackPost200Response) SetCreditsAwarded ¶
func (o *PredictionsIdFeedbackPost200Response) SetCreditsAwarded(v float32)
SetCreditsAwarded sets field value
func (*PredictionsIdFeedbackPost200Response) SetDuplicate ¶
func (o *PredictionsIdFeedbackPost200Response) SetDuplicate(v bool)
SetDuplicate gets a reference to the given bool and assigns it to the Duplicate field.
func (*PredictionsIdFeedbackPost200Response) SetReceived ¶
func (o *PredictionsIdFeedbackPost200Response) SetReceived(v bool)
SetReceived sets field value
func (PredictionsIdFeedbackPost200Response) ToMap ¶
func (o PredictionsIdFeedbackPost200Response) ToMap() (map[string]interface{}, error)
func (*PredictionsIdFeedbackPost200Response) UnmarshalJSON ¶
func (o *PredictionsIdFeedbackPost200Response) UnmarshalJSON(data []byte) (err error)
type PredictionsIdFeedbackPostRequest ¶
type PredictionsIdFeedbackPostRequest struct {
ActualValue *float32 `json:"actual_value,omitempty"`
ActualClass *bool `json:"actual_class,omitempty"`
OutcomeDate *string `json:"outcome_date,omitempty"`
ConfidenceInMeasurement *float32 `json:"confidence_in_measurement,omitempty"`
Rating *int32 `json:"rating,omitempty"`
Comment *string `json:"comment,omitempty"`
Issue *string `json:"issue,omitempty"`
}
PredictionsIdFeedbackPostRequest struct for PredictionsIdFeedbackPostRequest
func NewPredictionsIdFeedbackPostRequest ¶
func NewPredictionsIdFeedbackPostRequest() *PredictionsIdFeedbackPostRequest
NewPredictionsIdFeedbackPostRequest instantiates a new PredictionsIdFeedbackPostRequest 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 NewPredictionsIdFeedbackPostRequestWithDefaults ¶
func NewPredictionsIdFeedbackPostRequestWithDefaults() *PredictionsIdFeedbackPostRequest
NewPredictionsIdFeedbackPostRequestWithDefaults instantiates a new PredictionsIdFeedbackPostRequest 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 (*PredictionsIdFeedbackPostRequest) GetActualClass ¶
func (o *PredictionsIdFeedbackPostRequest) GetActualClass() bool
GetActualClass returns the ActualClass field value if set, zero value otherwise.
func (*PredictionsIdFeedbackPostRequest) GetActualClassOk ¶
func (o *PredictionsIdFeedbackPostRequest) GetActualClassOk() (*bool, bool)
GetActualClassOk returns a tuple with the ActualClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPostRequest) GetActualValue ¶
func (o *PredictionsIdFeedbackPostRequest) GetActualValue() float32
GetActualValue returns the ActualValue field value if set, zero value otherwise.
func (*PredictionsIdFeedbackPostRequest) GetActualValueOk ¶
func (o *PredictionsIdFeedbackPostRequest) GetActualValueOk() (*float32, bool)
GetActualValueOk returns a tuple with the ActualValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPostRequest) GetComment ¶
func (o *PredictionsIdFeedbackPostRequest) GetComment() string
GetComment returns the Comment field value if set, zero value otherwise.
func (*PredictionsIdFeedbackPostRequest) GetCommentOk ¶
func (o *PredictionsIdFeedbackPostRequest) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPostRequest) GetConfidenceInMeasurement ¶
func (o *PredictionsIdFeedbackPostRequest) GetConfidenceInMeasurement() float32
GetConfidenceInMeasurement returns the ConfidenceInMeasurement field value if set, zero value otherwise.
func (*PredictionsIdFeedbackPostRequest) GetConfidenceInMeasurementOk ¶
func (o *PredictionsIdFeedbackPostRequest) GetConfidenceInMeasurementOk() (*float32, bool)
GetConfidenceInMeasurementOk returns a tuple with the ConfidenceInMeasurement field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPostRequest) GetIssue ¶
func (o *PredictionsIdFeedbackPostRequest) GetIssue() string
GetIssue returns the Issue field value if set, zero value otherwise.
func (*PredictionsIdFeedbackPostRequest) GetIssueOk ¶
func (o *PredictionsIdFeedbackPostRequest) GetIssueOk() (*string, bool)
GetIssueOk returns a tuple with the Issue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPostRequest) GetOutcomeDate ¶
func (o *PredictionsIdFeedbackPostRequest) GetOutcomeDate() string
GetOutcomeDate returns the OutcomeDate field value if set, zero value otherwise.
func (*PredictionsIdFeedbackPostRequest) GetOutcomeDateOk ¶
func (o *PredictionsIdFeedbackPostRequest) GetOutcomeDateOk() (*string, bool)
GetOutcomeDateOk returns a tuple with the OutcomeDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPostRequest) GetRating ¶
func (o *PredictionsIdFeedbackPostRequest) GetRating() int32
GetRating returns the Rating field value if set, zero value otherwise.
func (*PredictionsIdFeedbackPostRequest) GetRatingOk ¶
func (o *PredictionsIdFeedbackPostRequest) GetRatingOk() (*int32, bool)
GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PredictionsIdFeedbackPostRequest) HasActualClass ¶
func (o *PredictionsIdFeedbackPostRequest) HasActualClass() bool
HasActualClass returns a boolean if a field has been set.
func (*PredictionsIdFeedbackPostRequest) HasActualValue ¶
func (o *PredictionsIdFeedbackPostRequest) HasActualValue() bool
HasActualValue returns a boolean if a field has been set.
func (*PredictionsIdFeedbackPostRequest) HasComment ¶
func (o *PredictionsIdFeedbackPostRequest) HasComment() bool
HasComment returns a boolean if a field has been set.
func (*PredictionsIdFeedbackPostRequest) HasConfidenceInMeasurement ¶
func (o *PredictionsIdFeedbackPostRequest) HasConfidenceInMeasurement() bool
HasConfidenceInMeasurement returns a boolean if a field has been set.
func (*PredictionsIdFeedbackPostRequest) HasIssue ¶
func (o *PredictionsIdFeedbackPostRequest) HasIssue() bool
HasIssue returns a boolean if a field has been set.
func (*PredictionsIdFeedbackPostRequest) HasOutcomeDate ¶
func (o *PredictionsIdFeedbackPostRequest) HasOutcomeDate() bool
HasOutcomeDate returns a boolean if a field has been set.
func (*PredictionsIdFeedbackPostRequest) HasRating ¶
func (o *PredictionsIdFeedbackPostRequest) HasRating() bool
HasRating returns a boolean if a field has been set.
func (PredictionsIdFeedbackPostRequest) MarshalJSON ¶
func (o PredictionsIdFeedbackPostRequest) MarshalJSON() ([]byte, error)
func (*PredictionsIdFeedbackPostRequest) SetActualClass ¶
func (o *PredictionsIdFeedbackPostRequest) SetActualClass(v bool)
SetActualClass gets a reference to the given bool and assigns it to the ActualClass field.
func (*PredictionsIdFeedbackPostRequest) SetActualValue ¶
func (o *PredictionsIdFeedbackPostRequest) SetActualValue(v float32)
SetActualValue gets a reference to the given float32 and assigns it to the ActualValue field.
func (*PredictionsIdFeedbackPostRequest) SetComment ¶
func (o *PredictionsIdFeedbackPostRequest) SetComment(v string)
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*PredictionsIdFeedbackPostRequest) SetConfidenceInMeasurement ¶
func (o *PredictionsIdFeedbackPostRequest) SetConfidenceInMeasurement(v float32)
SetConfidenceInMeasurement gets a reference to the given float32 and assigns it to the ConfidenceInMeasurement field.
func (*PredictionsIdFeedbackPostRequest) SetIssue ¶
func (o *PredictionsIdFeedbackPostRequest) SetIssue(v string)
SetIssue gets a reference to the given string and assigns it to the Issue field.
func (*PredictionsIdFeedbackPostRequest) SetOutcomeDate ¶
func (o *PredictionsIdFeedbackPostRequest) SetOutcomeDate(v string)
SetOutcomeDate gets a reference to the given string and assigns it to the OutcomeDate field.
func (*PredictionsIdFeedbackPostRequest) SetRating ¶
func (o *PredictionsIdFeedbackPostRequest) SetRating(v int32)
SetRating gets a reference to the given int32 and assigns it to the Rating field.
func (PredictionsIdFeedbackPostRequest) ToMap ¶
func (o PredictionsIdFeedbackPostRequest) 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
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model__health_get_200_response.go
- model__models__id__get_200_response.go
- model__predict_post_200_response.go
- model__predict_post_200_response_confidence.go
- model__predict_post_200_response_confidence_interval.go
- model__predict_post_200_response_metadata.go
- model__predict_post_200_response_top_factors_inner.go
- model__predict_post_400_response.go
- model__predict_post_request.go
- model__predictions__id__feedback_post_200_response.go
- model__predictions__id__feedback_post_request.go
- response.go
- utils.go