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 AdminAPIService
- func (a *AdminAPIService) Health(ctx context.Context) ApiHealthRequest
- func (a *AdminAPIService) HealthExecute(r ApiHealthRequest) (*HealthResponse, *http.Response, error)
- func (a *AdminAPIService) Metrics(ctx context.Context) ApiMetricsRequest
- func (a *AdminAPIService) MetricsExecute(r ApiMetricsRequest) (string, *http.Response, error)
- func (a *AdminAPIService) ModelsCount(ctx context.Context) ApiModelsCountRequest
- func (a *AdminAPIService) ModelsCountExecute(r ApiModelsCountRequest) (*ModelCountResponse, *http.Response, error)
- func (a *AdminAPIService) Ready(ctx context.Context) ApiReadyRequest
- func (a *AdminAPIService) ReadyExecute(r ApiReadyRequest) (*ReadyResponse, *http.Response, error)
- func (a *AdminAPIService) Status(ctx context.Context) ApiStatusRequest
- func (a *AdminAPIService) StatusExecute(r ApiStatusRequest) (map[string]interface{}, *http.Response, error)
- func (a *AdminAPIService) Version(ctx context.Context) ApiVersionRequest
- func (a *AdminAPIService) VersionExecute(r ApiVersionRequest) (*VersionResponse, *http.Response, error)
- type ApiCreateRecordRequest
- type ApiHealthRequest
- type ApiListModelsRequest
- type ApiMetricsRequest
- type ApiModelsCountRequest
- type ApiQueryRecordsRequest
- type ApiReadyRequest
- type ApiStatusRequest
- type ApiValidateModelPayloadRequest
- type ApiVersionRequest
- type BasicAuth
- type Configuration
- type CreateRequest
- func (o *CreateRequest) GetPayload() map[string]interface{}
- func (o *CreateRequest) GetPayloadOk() (map[string]interface{}, bool)
- func (o CreateRequest) MarshalJSON() ([]byte, error)
- func (o *CreateRequest) SetPayload(v map[string]interface{})
- func (o CreateRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateRequest) UnmarshalJSON(data []byte) (err error)
- type DiscoveryAPIService
- type ErrorResponse
- func (o *ErrorResponse) GetCode() string
- func (o *ErrorResponse) GetCodeOk() (*string, bool)
- func (o *ErrorResponse) GetDetails() interface{}
- func (o *ErrorResponse) GetDetailsOk() (*interface{}, bool)
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) HasDetails() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetCode(v string)
- func (o *ErrorResponse) SetDetails(v interface{})
- func (o *ErrorResponse) SetMessage(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type HealthResponse
- func (o *HealthResponse) GetStatus() string
- func (o *HealthResponse) GetStatusOk() (*string, bool)
- func (o HealthResponse) MarshalJSON() ([]byte, error)
- func (o *HealthResponse) SetStatus(v string)
- func (o HealthResponse) ToMap() (map[string]interface{}, error)
- func (o *HealthResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type ModelCountResponse
- func (o *ModelCountResponse) GetModelsCount() int64
- func (o *ModelCountResponse) GetModelsCountOk() (*int64, bool)
- func (o ModelCountResponse) MarshalJSON() ([]byte, error)
- func (o *ModelCountResponse) SetModelsCount(v int64)
- func (o ModelCountResponse) ToMap() (map[string]interface{}, error)
- func (o *ModelCountResponse) UnmarshalJSON(data []byte) (err error)
- type ModelVersion
- func (o *ModelVersion) GetId() string
- func (o *ModelVersion) GetIdOk() (*string, bool)
- func (o *ModelVersion) GetVersion() string
- func (o *ModelVersion) GetVersionOk() (*string, bool)
- func (o ModelVersion) MarshalJSON() ([]byte, error)
- func (o *ModelVersion) SetId(v string)
- func (o *ModelVersion) SetVersion(v string)
- func (o ModelVersion) ToMap() (map[string]interface{}, error)
- func (o *ModelVersion) UnmarshalJSON(data []byte) (err error)
- type ModelsAPIService
- func (a *ModelsAPIService) CreateRecord(ctx context.Context, model string, version string) ApiCreateRecordRequest
- func (a *ModelsAPIService) CreateRecordExecute(r ApiCreateRecordRequest) (*Record, *http.Response, error)
- func (a *ModelsAPIService) QueryRecords(ctx context.Context, model string, version string) ApiQueryRecordsRequest
- func (a *ModelsAPIService) QueryRecordsExecute(r ApiQueryRecordsRequest) (*QueryResponse, *http.Response, error)
- func (a *ModelsAPIService) ValidateModelPayload(ctx context.Context, model string, version string) ApiValidateModelPayloadRequest
- func (a *ModelsAPIService) ValidateModelPayloadExecute(r ApiValidateModelPayloadRequest) (*ValidationReport, *http.Response, error)
- type ModelsResponse
- func (o *ModelsResponse) GetModels() []ModelVersion
- func (o *ModelsResponse) GetModelsOk() ([]ModelVersion, bool)
- func (o ModelsResponse) MarshalJSON() ([]byte, error)
- func (o *ModelsResponse) SetModels(v []ModelVersion)
- func (o ModelsResponse) ToMap() (map[string]interface{}, error)
- func (o *ModelsResponse) UnmarshalJSON(data []byte) (err error)
- type NullableBool
- type NullableCreateRequest
- func (v NullableCreateRequest) Get() *CreateRequest
- func (v NullableCreateRequest) IsSet() bool
- func (v NullableCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRequest) Set(val *CreateRequest)
- func (v *NullableCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRequest) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHealthResponse
- func (v NullableHealthResponse) Get() *HealthResponse
- func (v NullableHealthResponse) IsSet() bool
- func (v NullableHealthResponse) MarshalJSON() ([]byte, error)
- func (v *NullableHealthResponse) Set(val *HealthResponse)
- func (v *NullableHealthResponse) UnmarshalJSON(src []byte) error
- func (v *NullableHealthResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableModelCountResponse
- func (v NullableModelCountResponse) Get() *ModelCountResponse
- func (v NullableModelCountResponse) IsSet() bool
- func (v NullableModelCountResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModelCountResponse) Set(val *ModelCountResponse)
- func (v *NullableModelCountResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModelCountResponse) Unset()
- type NullableModelVersion
- func (v NullableModelVersion) Get() *ModelVersion
- func (v NullableModelVersion) IsSet() bool
- func (v NullableModelVersion) MarshalJSON() ([]byte, error)
- func (v *NullableModelVersion) Set(val *ModelVersion)
- func (v *NullableModelVersion) UnmarshalJSON(src []byte) error
- func (v *NullableModelVersion) Unset()
- type NullableModelsResponse
- func (v NullableModelsResponse) Get() *ModelsResponse
- func (v NullableModelsResponse) IsSet() bool
- func (v NullableModelsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModelsResponse) Set(val *ModelsResponse)
- func (v *NullableModelsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModelsResponse) Unset()
- type NullableQueryRequest
- func (v NullableQueryRequest) Get() *QueryRequest
- func (v NullableQueryRequest) IsSet() bool
- func (v NullableQueryRequest) MarshalJSON() ([]byte, error)
- func (v *NullableQueryRequest) Set(val *QueryRequest)
- func (v *NullableQueryRequest) UnmarshalJSON(src []byte) error
- func (v *NullableQueryRequest) Unset()
- type NullableQueryResponse
- func (v NullableQueryResponse) Get() *QueryResponse
- func (v NullableQueryResponse) IsSet() bool
- func (v NullableQueryResponse) MarshalJSON() ([]byte, error)
- func (v *NullableQueryResponse) Set(val *QueryResponse)
- func (v *NullableQueryResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQueryResponse) Unset()
- type NullableReadyResponse
- func (v NullableReadyResponse) Get() *ReadyResponse
- func (v NullableReadyResponse) IsSet() bool
- func (v NullableReadyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableReadyResponse) Set(val *ReadyResponse)
- func (v *NullableReadyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableReadyResponse) Unset()
- type NullableRecord
- type NullableRecordQueryCondition
- func (v NullableRecordQueryCondition) Get() *RecordQueryCondition
- func (v NullableRecordQueryCondition) IsSet() bool
- func (v NullableRecordQueryCondition) MarshalJSON() ([]byte, error)
- func (v *NullableRecordQueryCondition) Set(val *RecordQueryCondition)
- func (v *NullableRecordQueryCondition) UnmarshalJSON(src []byte) error
- func (v *NullableRecordQueryCondition) Unset()
- type NullableRecordQueryFilter
- func (v NullableRecordQueryFilter) Get() *RecordQueryFilter
- func (v NullableRecordQueryFilter) IsSet() bool
- func (v NullableRecordQueryFilter) MarshalJSON() ([]byte, error)
- func (v *NullableRecordQueryFilter) Set(val *RecordQueryFilter)
- func (v *NullableRecordQueryFilter) UnmarshalJSON(src []byte) error
- func (v *NullableRecordQueryFilter) Unset()
- type NullableRecordQuerySort
- func (v NullableRecordQuerySort) Get() *RecordQuerySort
- func (v NullableRecordQuerySort) IsSet() bool
- func (v NullableRecordQuerySort) MarshalJSON() ([]byte, error)
- func (v *NullableRecordQuerySort) Set(val *RecordQuerySort)
- func (v *NullableRecordQuerySort) UnmarshalJSON(src []byte) error
- func (v *NullableRecordQuerySort) Unset()
- type NullableString
- type NullableTime
- type NullableValidateRequest
- func (v NullableValidateRequest) Get() *ValidateRequest
- func (v NullableValidateRequest) IsSet() bool
- func (v NullableValidateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableValidateRequest) Set(val *ValidateRequest)
- func (v *NullableValidateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableValidateRequest) Unset()
- type NullableValidationReport
- func (v NullableValidationReport) Get() *ValidationReport
- func (v NullableValidationReport) IsSet() bool
- func (v NullableValidationReport) MarshalJSON() ([]byte, error)
- func (v *NullableValidationReport) Set(val *ValidationReport)
- func (v *NullableValidationReport) UnmarshalJSON(src []byte) error
- func (v *NullableValidationReport) Unset()
- type NullableValidationResult
- func (v NullableValidationResult) Get() *ValidationResult
- func (v NullableValidationResult) IsSet() bool
- func (v NullableValidationResult) MarshalJSON() ([]byte, error)
- func (v *NullableValidationResult) Set(val *ValidationResult)
- func (v *NullableValidationResult) UnmarshalJSON(src []byte) error
- func (v *NullableValidationResult) Unset()
- type NullableVersionResponse
- func (v NullableVersionResponse) Get() *VersionResponse
- func (v NullableVersionResponse) IsSet() bool
- func (v NullableVersionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableVersionResponse) Set(val *VersionResponse)
- func (v *NullableVersionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVersionResponse) Unset()
- type QueryRequest
- func (o *QueryRequest) GetFilter() RecordQueryFilter
- func (o *QueryRequest) GetFilterOk() (*RecordQueryFilter, bool)
- func (o QueryRequest) MarshalJSON() ([]byte, error)
- func (o *QueryRequest) SetFilter(v RecordQueryFilter)
- func (o QueryRequest) ToMap() (map[string]interface{}, error)
- func (o *QueryRequest) UnmarshalJSON(data []byte) (err error)
- type QueryResponse
- func (o *QueryResponse) GetRecords() []Record
- func (o *QueryResponse) GetRecordsOk() ([]Record, bool)
- func (o QueryResponse) MarshalJSON() ([]byte, error)
- func (o *QueryResponse) SetRecords(v []Record)
- func (o QueryResponse) ToMap() (map[string]interface{}, error)
- func (o *QueryResponse) UnmarshalJSON(data []byte) (err error)
- type ReadyResponse
- func (o *ReadyResponse) GetStatus() string
- func (o *ReadyResponse) GetStatusOk() (*string, bool)
- func (o ReadyResponse) MarshalJSON() ([]byte, error)
- func (o *ReadyResponse) SetStatus(v string)
- func (o ReadyResponse) ToMap() (map[string]interface{}, error)
- func (o *ReadyResponse) UnmarshalJSON(data []byte) (err error)
- type Record
- func (o *Record) GetId() string
- func (o *Record) GetIdOk() (*string, bool)
- func (o *Record) GetModel() string
- func (o *Record) GetModelOk() (*string, bool)
- func (o *Record) GetPayload() map[string]interface{}
- func (o *Record) GetPayloadOk() (map[string]interface{}, bool)
- func (o *Record) GetVersion() string
- func (o *Record) GetVersionOk() (*string, bool)
- func (o Record) MarshalJSON() ([]byte, error)
- func (o *Record) SetId(v string)
- func (o *Record) SetModel(v string)
- func (o *Record) SetPayload(v map[string]interface{})
- func (o *Record) SetVersion(v string)
- func (o Record) ToMap() (map[string]interface{}, error)
- func (o *Record) UnmarshalJSON(data []byte) (err error)
- type RecordQueryCondition
- func (o *RecordQueryCondition) GetField() string
- func (o *RecordQueryCondition) GetFieldOk() (*string, bool)
- func (o *RecordQueryCondition) GetOp() string
- func (o *RecordQueryCondition) GetOpOk() (*string, bool)
- func (o *RecordQueryCondition) GetValue() interface{}
- func (o *RecordQueryCondition) GetValueOk() (*interface{}, bool)
- func (o RecordQueryCondition) MarshalJSON() ([]byte, error)
- func (o *RecordQueryCondition) SetField(v string)
- func (o *RecordQueryCondition) SetOp(v string)
- func (o *RecordQueryCondition) SetValue(v interface{})
- func (o RecordQueryCondition) ToMap() (map[string]interface{}, error)
- func (o *RecordQueryCondition) UnmarshalJSON(data []byte) (err error)
- type RecordQueryFilter
- func (o *RecordQueryFilter) GetLimit() int64
- func (o *RecordQueryFilter) GetLimitOk() (*int64, bool)
- func (o *RecordQueryFilter) GetOffset() int64
- func (o *RecordQueryFilter) GetOffsetOk() (*int64, bool)
- func (o *RecordQueryFilter) GetSort() []RecordQuerySort
- func (o *RecordQueryFilter) GetSortOk() ([]RecordQuerySort, bool)
- func (o *RecordQueryFilter) GetWhere() []RecordQueryCondition
- func (o *RecordQueryFilter) GetWhereOk() ([]RecordQueryCondition, bool)
- func (o *RecordQueryFilter) HasLimit() bool
- func (o *RecordQueryFilter) HasOffset() bool
- func (o *RecordQueryFilter) HasSort() bool
- func (o RecordQueryFilter) MarshalJSON() ([]byte, error)
- func (o *RecordQueryFilter) SetLimit(v int64)
- func (o *RecordQueryFilter) SetOffset(v int64)
- func (o *RecordQueryFilter) SetSort(v []RecordQuerySort)
- func (o *RecordQueryFilter) SetWhere(v []RecordQueryCondition)
- func (o RecordQueryFilter) ToMap() (map[string]interface{}, error)
- func (o *RecordQueryFilter) UnmarshalJSON(data []byte) (err error)
- type RecordQuerySort
- func (o *RecordQuerySort) GetDirection() string
- func (o *RecordQuerySort) GetDirectionOk() (*string, bool)
- func (o *RecordQuerySort) GetField() string
- func (o *RecordQuerySort) GetFieldOk() (*string, bool)
- func (o RecordQuerySort) MarshalJSON() ([]byte, error)
- func (o *RecordQuerySort) SetDirection(v string)
- func (o *RecordQuerySort) SetField(v string)
- func (o RecordQuerySort) ToMap() (map[string]interface{}, error)
- func (o *RecordQuerySort) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ValidateRequest
- func (o *ValidateRequest) GetPayload() map[string]interface{}
- func (o *ValidateRequest) GetPayloadOk() (map[string]interface{}, bool)
- func (o ValidateRequest) MarshalJSON() ([]byte, error)
- func (o *ValidateRequest) SetPayload(v map[string]interface{})
- func (o ValidateRequest) ToMap() (map[string]interface{}, error)
- func (o *ValidateRequest) UnmarshalJSON(data []byte) (err error)
- type ValidationReport
- func (o *ValidationReport) GetPassed() bool
- func (o *ValidationReport) GetPassedOk() (*bool, bool)
- func (o *ValidationReport) GetResults() []ValidationResult
- func (o *ValidationReport) GetResultsOk() ([]ValidationResult, bool)
- func (o ValidationReport) MarshalJSON() ([]byte, error)
- func (o *ValidationReport) SetPassed(v bool)
- func (o *ValidationReport) SetResults(v []ValidationResult)
- func (o ValidationReport) ToMap() (map[string]interface{}, error)
- func (o *ValidationReport) UnmarshalJSON(data []byte) (err error)
- type ValidationResult
- func (o *ValidationResult) GetMessage() string
- func (o *ValidationResult) GetMessageOk() (*string, bool)
- func (o *ValidationResult) GetPath() string
- func (o *ValidationResult) GetPathOk() (*string, bool)
- func (o *ValidationResult) GetSeverity() string
- func (o *ValidationResult) GetSeverityOk() (*string, bool)
- func (o *ValidationResult) HasMessage() bool
- func (o *ValidationResult) HasPath() bool
- func (o *ValidationResult) HasSeverity() bool
- func (o ValidationResult) MarshalJSON() ([]byte, error)
- func (o *ValidationResult) SetMessage(v string)
- func (o *ValidationResult) SetPath(v string)
- func (o *ValidationResult) SetSeverity(v string)
- func (o ValidationResult) ToMap() (map[string]interface{}, error)
- type VersionResponse
- func (o *VersionResponse) GetOpenapiVersion() string
- func (o *VersionResponse) GetOpenapiVersionOk() (*string, bool)
- func (o *VersionResponse) GetService() string
- func (o *VersionResponse) GetServiceOk() (*string, bool)
- func (o *VersionResponse) GetServiceVersion() string
- func (o *VersionResponse) GetServiceVersionOk() (*string, bool)
- func (o VersionResponse) MarshalJSON() ([]byte, error)
- func (o *VersionResponse) SetOpenapiVersion(v string)
- func (o *VersionResponse) SetService(v string)
- func (o *VersionResponse) SetServiceVersion(v string)
- func (o VersionResponse) ToMap() (map[string]interface{}, error)
- func (o *VersionResponse) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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 ¶
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 {
AdminAPI *AdminAPIService
DiscoveryAPI *DiscoveryAPIService
ModelsAPI *ModelsAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the CE-RISE Hex Core Service API API v0.0.9 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 AdminAPIService ¶
type AdminAPIService service
AdminAPIService AdminAPI service
func (*AdminAPIService) Health ¶
func (a *AdminAPIService) Health(ctx context.Context) ApiHealthRequest
Health Liveness probe
Returns service process liveness.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiHealthRequest
func (*AdminAPIService) HealthExecute ¶
func (a *AdminAPIService) HealthExecute(r ApiHealthRequest) (*HealthResponse, *http.Response, error)
Execute executes the request
@return HealthResponse
func (*AdminAPIService) Metrics ¶
func (a *AdminAPIService) Metrics(ctx context.Context) ApiMetricsRequest
Metrics Prometheus metrics
Returns Prometheus exposition format when metrics are enabled.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiMetricsRequest
func (*AdminAPIService) MetricsExecute ¶
func (a *AdminAPIService) MetricsExecute(r ApiMetricsRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*AdminAPIService) ModelsCount ¶ added in v0.0.4
func (a *AdminAPIService) ModelsCount(ctx context.Context) ApiModelsCountRequest
ModelsCount Current model count
Returns the number of model/version entries currently loaded in the active registry index.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiModelsCountRequest
func (*AdminAPIService) ModelsCountExecute ¶ added in v0.0.4
func (a *AdminAPIService) ModelsCountExecute(r ApiModelsCountRequest) (*ModelCountResponse, *http.Response, error)
Execute executes the request
@return ModelCountResponse
func (*AdminAPIService) Ready ¶
func (a *AdminAPIService) Ready(ctx context.Context) ApiReadyRequest
Ready Readiness probe
Returns readiness based on runtime adapter and registry state.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiReadyRequest
func (*AdminAPIService) ReadyExecute ¶
func (a *AdminAPIService) ReadyExecute(r ApiReadyRequest) (*ReadyResponse, *http.Response, error)
Execute executes the request
@return ReadyResponse
func (*AdminAPIService) Status ¶
func (a *AdminAPIService) Status(ctx context.Context) ApiStatusRequest
Status Runtime status
Returns runtime status payload useful for operations dashboards.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStatusRequest
func (*AdminAPIService) StatusExecute ¶
func (a *AdminAPIService) StatusExecute(r ApiStatusRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*AdminAPIService) Version ¶ added in v0.0.3
func (a *AdminAPIService) Version(ctx context.Context) ApiVersionRequest
Version Service and OpenAPI version
Returns running service version and bundled OpenAPI specification version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVersionRequest
func (*AdminAPIService) VersionExecute ¶ added in v0.0.3
func (a *AdminAPIService) VersionExecute(r ApiVersionRequest) (*VersionResponse, *http.Response, error)
Execute executes the request
@return VersionResponse
type ApiCreateRecordRequest ¶
type ApiCreateRecordRequest struct {
ApiService *ModelsAPIService
// contains filtered or unexported fields
}
func (ApiCreateRecordRequest) CreateRequest ¶
func (r ApiCreateRecordRequest) CreateRequest(createRequest CreateRequest) ApiCreateRecordRequest
func (ApiCreateRecordRequest) Execute ¶
func (r ApiCreateRecordRequest) Execute() (*Record, *http.Response, error)
func (ApiCreateRecordRequest) IdempotencyKey ¶
func (r ApiCreateRecordRequest) IdempotencyKey(idempotencyKey string) ApiCreateRecordRequest
Client-generated key used to deduplicate retries for side-effecting requests.
type ApiHealthRequest ¶
type ApiHealthRequest struct {
ApiService *AdminAPIService
// contains filtered or unexported fields
}
func (ApiHealthRequest) Execute ¶
func (r ApiHealthRequest) Execute() (*HealthResponse, *http.Response, error)
type ApiListModelsRequest ¶
type ApiListModelsRequest struct {
ApiService *DiscoveryAPIService
// contains filtered or unexported fields
}
func (ApiListModelsRequest) Execute ¶
func (r ApiListModelsRequest) Execute() (*ModelsResponse, *http.Response, error)
type ApiMetricsRequest ¶
type ApiMetricsRequest struct {
ApiService *AdminAPIService
// contains filtered or unexported fields
}
type ApiModelsCountRequest ¶ added in v0.0.4
type ApiModelsCountRequest struct {
ApiService *AdminAPIService
// contains filtered or unexported fields
}
func (ApiModelsCountRequest) Execute ¶ added in v0.0.4
func (r ApiModelsCountRequest) Execute() (*ModelCountResponse, *http.Response, error)
type ApiQueryRecordsRequest ¶
type ApiQueryRecordsRequest struct {
ApiService *ModelsAPIService
// contains filtered or unexported fields
}
func (ApiQueryRecordsRequest) Execute ¶
func (r ApiQueryRecordsRequest) Execute() (*QueryResponse, *http.Response, error)
func (ApiQueryRecordsRequest) QueryRequest ¶
func (r ApiQueryRecordsRequest) QueryRequest(queryRequest QueryRequest) ApiQueryRecordsRequest
type ApiReadyRequest ¶
type ApiReadyRequest struct {
ApiService *AdminAPIService
// contains filtered or unexported fields
}
func (ApiReadyRequest) Execute ¶
func (r ApiReadyRequest) Execute() (*ReadyResponse, *http.Response, error)
type ApiStatusRequest ¶
type ApiStatusRequest struct {
ApiService *AdminAPIService
// contains filtered or unexported fields
}
type ApiValidateModelPayloadRequest ¶
type ApiValidateModelPayloadRequest struct {
ApiService *ModelsAPIService
// contains filtered or unexported fields
}
func (ApiValidateModelPayloadRequest) Execute ¶
func (r ApiValidateModelPayloadRequest) Execute() (*ValidationReport, *http.Response, error)
func (ApiValidateModelPayloadRequest) ValidateRequest ¶
func (r ApiValidateModelPayloadRequest) ValidateRequest(validateRequest ValidateRequest) ApiValidateModelPayloadRequest
type ApiVersionRequest ¶ added in v0.0.3
type ApiVersionRequest struct {
ApiService *AdminAPIService
// contains filtered or unexported fields
}
func (ApiVersionRequest) Execute ¶ added in v0.0.3
func (r ApiVersionRequest) Execute() (*VersionResponse, *http.Response, error)
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type 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 CreateRequest ¶
type CreateRequest struct {
// Payload to validate and persist as a new record.
Payload map[string]interface{} `json:"payload"`
}
CreateRequest struct for CreateRequest
func NewCreateRequest ¶
func NewCreateRequest(payload map[string]interface{}) *CreateRequest
NewCreateRequest instantiates a new CreateRequest 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 NewCreateRequestWithDefaults ¶
func NewCreateRequestWithDefaults() *CreateRequest
NewCreateRequestWithDefaults instantiates a new CreateRequest 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 (*CreateRequest) GetPayload ¶
func (o *CreateRequest) GetPayload() map[string]interface{}
GetPayload returns the Payload field value
func (*CreateRequest) GetPayloadOk ¶
func (o *CreateRequest) GetPayloadOk() (map[string]interface{}, bool)
GetPayloadOk returns a tuple with the Payload field value and a boolean to check if the value has been set.
func (CreateRequest) MarshalJSON ¶
func (o CreateRequest) MarshalJSON() ([]byte, error)
func (*CreateRequest) SetPayload ¶
func (o *CreateRequest) SetPayload(v map[string]interface{})
SetPayload sets field value
func (CreateRequest) ToMap ¶
func (o CreateRequest) ToMap() (map[string]interface{}, error)
func (*CreateRequest) UnmarshalJSON ¶
func (o *CreateRequest) UnmarshalJSON(data []byte) (err error)
type DiscoveryAPIService ¶
type DiscoveryAPIService service
DiscoveryAPIService DiscoveryAPI service
func (*DiscoveryAPIService) ListModels ¶
func (a *DiscoveryAPIService) ListModels(ctx context.Context) ApiListModelsRequest
ListModels List available model versions
Returns model/version pairs currently loaded in the active registry index.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListModelsRequest
func (*DiscoveryAPIService) ListModelsExecute ¶
func (a *DiscoveryAPIService) ListModelsExecute(r ApiListModelsRequest) (*ModelsResponse, *http.Response, error)
Execute executes the request
@return ModelsResponse
type ErrorResponse ¶
type ErrorResponse struct {
// Stable machine-readable error code.
Code string `json:"code"`
// Human-readable error message.
Message string `json:"message"`
// Optional error details payload.
Details interface{} `json:"details,omitempty"`
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse(code string, message string) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetCode ¶
func (o *ErrorResponse) GetCode() string
GetCode returns the Code field value
func (*ErrorResponse) GetCodeOk ¶
func (o *ErrorResponse) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetDetails ¶
func (o *ErrorResponse) GetDetails() interface{}
GetDetails returns the Details field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ErrorResponse) GetDetailsOk ¶
func (o *ErrorResponse) GetDetailsOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorResponse) GetMessage ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorResponse) HasDetails ¶
func (o *ErrorResponse) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetDetails ¶
func (o *ErrorResponse) SetDetails(v interface{})
SetDetails gets a reference to the given interface{} and assigns it to the Details field.
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage sets field value
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type 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 {
// Health status string.
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 ModelCountResponse ¶ added in v0.0.4
type ModelCountResponse struct {
// Number of models currently indexed by the registry.
ModelsCount int64 `json:"models_count"`
}
ModelCountResponse struct for ModelCountResponse
func NewModelCountResponse ¶ added in v0.0.4
func NewModelCountResponse(modelsCount int64) *ModelCountResponse
NewModelCountResponse instantiates a new ModelCountResponse 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 NewModelCountResponseWithDefaults ¶ added in v0.0.4
func NewModelCountResponseWithDefaults() *ModelCountResponse
NewModelCountResponseWithDefaults instantiates a new ModelCountResponse 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 (*ModelCountResponse) GetModelsCount ¶ added in v0.0.4
func (o *ModelCountResponse) GetModelsCount() int64
GetModelsCount returns the ModelsCount field value
func (*ModelCountResponse) GetModelsCountOk ¶ added in v0.0.4
func (o *ModelCountResponse) GetModelsCountOk() (*int64, bool)
GetModelsCountOk returns a tuple with the ModelsCount field value and a boolean to check if the value has been set.
func (ModelCountResponse) MarshalJSON ¶ added in v0.0.4
func (o ModelCountResponse) MarshalJSON() ([]byte, error)
func (*ModelCountResponse) SetModelsCount ¶ added in v0.0.4
func (o *ModelCountResponse) SetModelsCount(v int64)
SetModelsCount sets field value
func (ModelCountResponse) ToMap ¶ added in v0.0.4
func (o ModelCountResponse) ToMap() (map[string]interface{}, error)
func (*ModelCountResponse) UnmarshalJSON ¶ added in v0.0.4
func (o *ModelCountResponse) UnmarshalJSON(data []byte) (err error)
type ModelVersion ¶
type ModelVersion struct {
// Model identifier.
Id string `json:"id"`
// Model version string.
Version string `json:"version"`
}
ModelVersion struct for ModelVersion
func NewModelVersion ¶
func NewModelVersion(id string, version string) *ModelVersion
NewModelVersion instantiates a new ModelVersion 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 NewModelVersionWithDefaults ¶
func NewModelVersionWithDefaults() *ModelVersion
NewModelVersionWithDefaults instantiates a new ModelVersion 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 (*ModelVersion) GetIdOk ¶
func (o *ModelVersion) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ModelVersion) GetVersion ¶
func (o *ModelVersion) GetVersion() string
GetVersion returns the Version field value
func (*ModelVersion) GetVersionOk ¶
func (o *ModelVersion) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (ModelVersion) MarshalJSON ¶
func (o ModelVersion) MarshalJSON() ([]byte, error)
func (*ModelVersion) SetVersion ¶
func (o *ModelVersion) SetVersion(v string)
SetVersion sets field value
func (ModelVersion) ToMap ¶
func (o ModelVersion) ToMap() (map[string]interface{}, error)
func (*ModelVersion) UnmarshalJSON ¶
func (o *ModelVersion) UnmarshalJSON(data []byte) (err error)
type ModelsAPIService ¶
type ModelsAPIService service
ModelsAPIService ModelsAPI service
func (*ModelsAPIService) CreateRecord ¶
func (a *ModelsAPIService) CreateRecord(ctx context.Context, model string, version string) ApiCreateRecordRequest
CreateRecord Validate and create a record
Validates input payload and writes a new record through the configured record store adapter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param model Model identifier. @param version Model version. @return ApiCreateRecordRequest
func (*ModelsAPIService) CreateRecordExecute ¶
func (a *ModelsAPIService) CreateRecordExecute(r ApiCreateRecordRequest) (*Record, *http.Response, error)
Execute executes the request
@return Record
func (*ModelsAPIService) QueryRecords ¶
func (a *ModelsAPIService) QueryRecords(ctx context.Context, model string, version string) ApiQueryRecordsRequest
QueryRecords Query records for a model version
Applies a filter object and returns matching records provided by the record store adapter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param model Model identifier. @param version Model version. @return ApiQueryRecordsRequest
func (*ModelsAPIService) QueryRecordsExecute ¶
func (a *ModelsAPIService) QueryRecordsExecute(r ApiQueryRecordsRequest) (*QueryResponse, *http.Response, error)
Execute executes the request
@return QueryResponse
func (*ModelsAPIService) ValidateModelPayload ¶
func (a *ModelsAPIService) ValidateModelPayload(ctx context.Context, model string, version string) ApiValidateModelPayloadRequest
ValidateModelPayload Validate payload against model rules
Runs configured validators for the selected model/version and returns a merged validation report.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param model Model identifier, for example `re-indicators-specification`. @param version Model version string, for example `0.0.3`. @return ApiValidateModelPayloadRequest
func (*ModelsAPIService) ValidateModelPayloadExecute ¶
func (a *ModelsAPIService) ValidateModelPayloadExecute(r ApiValidateModelPayloadRequest) (*ValidationReport, *http.Response, error)
Execute executes the request
@return ValidationReport
type ModelsResponse ¶
type ModelsResponse struct {
Models []ModelVersion `json:"models"`
}
ModelsResponse struct for ModelsResponse
func NewModelsResponse ¶
func NewModelsResponse(models []ModelVersion) *ModelsResponse
NewModelsResponse instantiates a new ModelsResponse 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 NewModelsResponseWithDefaults ¶
func NewModelsResponseWithDefaults() *ModelsResponse
NewModelsResponseWithDefaults instantiates a new ModelsResponse 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 (*ModelsResponse) GetModels ¶
func (o *ModelsResponse) GetModels() []ModelVersion
GetModels returns the Models field value
func (*ModelsResponse) GetModelsOk ¶
func (o *ModelsResponse) GetModelsOk() ([]ModelVersion, bool)
GetModelsOk returns a tuple with the Models field value and a boolean to check if the value has been set.
func (ModelsResponse) MarshalJSON ¶
func (o ModelsResponse) MarshalJSON() ([]byte, error)
func (*ModelsResponse) SetModels ¶
func (o *ModelsResponse) SetModels(v []ModelVersion)
SetModels sets field value
func (ModelsResponse) ToMap ¶
func (o ModelsResponse) ToMap() (map[string]interface{}, error)
func (*ModelsResponse) UnmarshalJSON ¶
func (o *ModelsResponse) 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 NullableCreateRequest ¶
type NullableCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateRequest ¶
func NewNullableCreateRequest(val *CreateRequest) *NullableCreateRequest
func (NullableCreateRequest) Get ¶
func (v NullableCreateRequest) Get() *CreateRequest
func (NullableCreateRequest) IsSet ¶
func (v NullableCreateRequest) IsSet() bool
func (NullableCreateRequest) MarshalJSON ¶
func (v NullableCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateRequest) Set ¶
func (v *NullableCreateRequest) Set(val *CreateRequest)
func (*NullableCreateRequest) UnmarshalJSON ¶
func (v *NullableCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateRequest) Unset ¶
func (v *NullableCreateRequest) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type 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 (v NullableHealthResponse) Get() *HealthResponse
func (NullableHealthResponse) IsSet ¶
func (v NullableHealthResponse) IsSet() bool
func (NullableHealthResponse) MarshalJSON ¶
func (v NullableHealthResponse) MarshalJSON() ([]byte, error)
func (*NullableHealthResponse) Set ¶
func (v *NullableHealthResponse) Set(val *HealthResponse)
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 NullableModelCountResponse ¶ added in v0.0.4
type NullableModelCountResponse struct {
// contains filtered or unexported fields
}
func NewNullableModelCountResponse ¶ added in v0.0.4
func NewNullableModelCountResponse(val *ModelCountResponse) *NullableModelCountResponse
func (NullableModelCountResponse) Get ¶ added in v0.0.4
func (v NullableModelCountResponse) Get() *ModelCountResponse
func (NullableModelCountResponse) IsSet ¶ added in v0.0.4
func (v NullableModelCountResponse) IsSet() bool
func (NullableModelCountResponse) MarshalJSON ¶ added in v0.0.4
func (v NullableModelCountResponse) MarshalJSON() ([]byte, error)
func (*NullableModelCountResponse) Set ¶ added in v0.0.4
func (v *NullableModelCountResponse) Set(val *ModelCountResponse)
func (*NullableModelCountResponse) UnmarshalJSON ¶ added in v0.0.4
func (v *NullableModelCountResponse) UnmarshalJSON(src []byte) error
func (*NullableModelCountResponse) Unset ¶ added in v0.0.4
func (v *NullableModelCountResponse) Unset()
type NullableModelVersion ¶
type NullableModelVersion struct {
// contains filtered or unexported fields
}
func NewNullableModelVersion ¶
func NewNullableModelVersion(val *ModelVersion) *NullableModelVersion
func (NullableModelVersion) Get ¶
func (v NullableModelVersion) Get() *ModelVersion
func (NullableModelVersion) IsSet ¶
func (v NullableModelVersion) IsSet() bool
func (NullableModelVersion) MarshalJSON ¶
func (v NullableModelVersion) MarshalJSON() ([]byte, error)
func (*NullableModelVersion) Set ¶
func (v *NullableModelVersion) Set(val *ModelVersion)
func (*NullableModelVersion) UnmarshalJSON ¶
func (v *NullableModelVersion) UnmarshalJSON(src []byte) error
func (*NullableModelVersion) Unset ¶
func (v *NullableModelVersion) Unset()
type NullableModelsResponse ¶
type NullableModelsResponse struct {
// contains filtered or unexported fields
}
func NewNullableModelsResponse ¶
func NewNullableModelsResponse(val *ModelsResponse) *NullableModelsResponse
func (NullableModelsResponse) Get ¶
func (v NullableModelsResponse) Get() *ModelsResponse
func (NullableModelsResponse) IsSet ¶
func (v NullableModelsResponse) IsSet() bool
func (NullableModelsResponse) MarshalJSON ¶
func (v NullableModelsResponse) MarshalJSON() ([]byte, error)
func (*NullableModelsResponse) Set ¶
func (v *NullableModelsResponse) Set(val *ModelsResponse)
func (*NullableModelsResponse) UnmarshalJSON ¶
func (v *NullableModelsResponse) UnmarshalJSON(src []byte) error
func (*NullableModelsResponse) Unset ¶
func (v *NullableModelsResponse) Unset()
type NullableQueryRequest ¶
type NullableQueryRequest struct {
// contains filtered or unexported fields
}
func NewNullableQueryRequest ¶
func NewNullableQueryRequest(val *QueryRequest) *NullableQueryRequest
func (NullableQueryRequest) Get ¶
func (v NullableQueryRequest) Get() *QueryRequest
func (NullableQueryRequest) IsSet ¶
func (v NullableQueryRequest) IsSet() bool
func (NullableQueryRequest) MarshalJSON ¶
func (v NullableQueryRequest) MarshalJSON() ([]byte, error)
func (*NullableQueryRequest) Set ¶
func (v *NullableQueryRequest) Set(val *QueryRequest)
func (*NullableQueryRequest) UnmarshalJSON ¶
func (v *NullableQueryRequest) UnmarshalJSON(src []byte) error
func (*NullableQueryRequest) Unset ¶
func (v *NullableQueryRequest) Unset()
type NullableQueryResponse ¶
type NullableQueryResponse struct {
// contains filtered or unexported fields
}
func NewNullableQueryResponse ¶
func NewNullableQueryResponse(val *QueryResponse) *NullableQueryResponse
func (NullableQueryResponse) Get ¶
func (v NullableQueryResponse) Get() *QueryResponse
func (NullableQueryResponse) IsSet ¶
func (v NullableQueryResponse) IsSet() bool
func (NullableQueryResponse) MarshalJSON ¶
func (v NullableQueryResponse) MarshalJSON() ([]byte, error)
func (*NullableQueryResponse) Set ¶
func (v *NullableQueryResponse) Set(val *QueryResponse)
func (*NullableQueryResponse) UnmarshalJSON ¶
func (v *NullableQueryResponse) UnmarshalJSON(src []byte) error
func (*NullableQueryResponse) Unset ¶
func (v *NullableQueryResponse) Unset()
type NullableReadyResponse ¶
type NullableReadyResponse struct {
// contains filtered or unexported fields
}
func NewNullableReadyResponse ¶
func NewNullableReadyResponse(val *ReadyResponse) *NullableReadyResponse
func (NullableReadyResponse) Get ¶
func (v NullableReadyResponse) Get() *ReadyResponse
func (NullableReadyResponse) IsSet ¶
func (v NullableReadyResponse) IsSet() bool
func (NullableReadyResponse) MarshalJSON ¶
func (v NullableReadyResponse) MarshalJSON() ([]byte, error)
func (*NullableReadyResponse) Set ¶
func (v *NullableReadyResponse) Set(val *ReadyResponse)
func (*NullableReadyResponse) UnmarshalJSON ¶
func (v *NullableReadyResponse) UnmarshalJSON(src []byte) error
func (*NullableReadyResponse) Unset ¶
func (v *NullableReadyResponse) Unset()
type NullableRecord ¶
type NullableRecord struct {
// contains filtered or unexported fields
}
func NewNullableRecord ¶
func NewNullableRecord(val *Record) *NullableRecord
func (NullableRecord) Get ¶
func (v NullableRecord) Get() *Record
func (NullableRecord) IsSet ¶
func (v NullableRecord) IsSet() bool
func (NullableRecord) MarshalJSON ¶
func (v NullableRecord) MarshalJSON() ([]byte, error)
func (*NullableRecord) Set ¶
func (v *NullableRecord) Set(val *Record)
func (*NullableRecord) UnmarshalJSON ¶
func (v *NullableRecord) UnmarshalJSON(src []byte) error
func (*NullableRecord) Unset ¶
func (v *NullableRecord) Unset()
type NullableRecordQueryCondition ¶ added in v0.0.5
type NullableRecordQueryCondition struct {
// contains filtered or unexported fields
}
func NewNullableRecordQueryCondition ¶ added in v0.0.5
func NewNullableRecordQueryCondition(val *RecordQueryCondition) *NullableRecordQueryCondition
func (NullableRecordQueryCondition) Get ¶ added in v0.0.5
func (v NullableRecordQueryCondition) Get() *RecordQueryCondition
func (NullableRecordQueryCondition) IsSet ¶ added in v0.0.5
func (v NullableRecordQueryCondition) IsSet() bool
func (NullableRecordQueryCondition) MarshalJSON ¶ added in v0.0.5
func (v NullableRecordQueryCondition) MarshalJSON() ([]byte, error)
func (*NullableRecordQueryCondition) Set ¶ added in v0.0.5
func (v *NullableRecordQueryCondition) Set(val *RecordQueryCondition)
func (*NullableRecordQueryCondition) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableRecordQueryCondition) UnmarshalJSON(src []byte) error
func (*NullableRecordQueryCondition) Unset ¶ added in v0.0.5
func (v *NullableRecordQueryCondition) Unset()
type NullableRecordQueryFilter ¶ added in v0.0.5
type NullableRecordQueryFilter struct {
// contains filtered or unexported fields
}
func NewNullableRecordQueryFilter ¶ added in v0.0.5
func NewNullableRecordQueryFilter(val *RecordQueryFilter) *NullableRecordQueryFilter
func (NullableRecordQueryFilter) Get ¶ added in v0.0.5
func (v NullableRecordQueryFilter) Get() *RecordQueryFilter
func (NullableRecordQueryFilter) IsSet ¶ added in v0.0.5
func (v NullableRecordQueryFilter) IsSet() bool
func (NullableRecordQueryFilter) MarshalJSON ¶ added in v0.0.5
func (v NullableRecordQueryFilter) MarshalJSON() ([]byte, error)
func (*NullableRecordQueryFilter) Set ¶ added in v0.0.5
func (v *NullableRecordQueryFilter) Set(val *RecordQueryFilter)
func (*NullableRecordQueryFilter) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableRecordQueryFilter) UnmarshalJSON(src []byte) error
func (*NullableRecordQueryFilter) Unset ¶ added in v0.0.5
func (v *NullableRecordQueryFilter) Unset()
type NullableRecordQuerySort ¶ added in v0.0.5
type NullableRecordQuerySort struct {
// contains filtered or unexported fields
}
func NewNullableRecordQuerySort ¶ added in v0.0.5
func NewNullableRecordQuerySort(val *RecordQuerySort) *NullableRecordQuerySort
func (NullableRecordQuerySort) Get ¶ added in v0.0.5
func (v NullableRecordQuerySort) Get() *RecordQuerySort
func (NullableRecordQuerySort) IsSet ¶ added in v0.0.5
func (v NullableRecordQuerySort) IsSet() bool
func (NullableRecordQuerySort) MarshalJSON ¶ added in v0.0.5
func (v NullableRecordQuerySort) MarshalJSON() ([]byte, error)
func (*NullableRecordQuerySort) Set ¶ added in v0.0.5
func (v *NullableRecordQuerySort) Set(val *RecordQuerySort)
func (*NullableRecordQuerySort) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableRecordQuerySort) UnmarshalJSON(src []byte) error
func (*NullableRecordQuerySort) Unset ¶ added in v0.0.5
func (v *NullableRecordQuerySort) 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 NullableValidateRequest ¶
type NullableValidateRequest struct {
// contains filtered or unexported fields
}
func NewNullableValidateRequest ¶
func NewNullableValidateRequest(val *ValidateRequest) *NullableValidateRequest
func (NullableValidateRequest) Get ¶
func (v NullableValidateRequest) Get() *ValidateRequest
func (NullableValidateRequest) IsSet ¶
func (v NullableValidateRequest) IsSet() bool
func (NullableValidateRequest) MarshalJSON ¶
func (v NullableValidateRequest) MarshalJSON() ([]byte, error)
func (*NullableValidateRequest) Set ¶
func (v *NullableValidateRequest) Set(val *ValidateRequest)
func (*NullableValidateRequest) UnmarshalJSON ¶
func (v *NullableValidateRequest) UnmarshalJSON(src []byte) error
func (*NullableValidateRequest) Unset ¶
func (v *NullableValidateRequest) Unset()
type NullableValidationReport ¶
type NullableValidationReport struct {
// contains filtered or unexported fields
}
func NewNullableValidationReport ¶
func NewNullableValidationReport(val *ValidationReport) *NullableValidationReport
func (NullableValidationReport) Get ¶
func (v NullableValidationReport) Get() *ValidationReport
func (NullableValidationReport) IsSet ¶
func (v NullableValidationReport) IsSet() bool
func (NullableValidationReport) MarshalJSON ¶
func (v NullableValidationReport) MarshalJSON() ([]byte, error)
func (*NullableValidationReport) Set ¶
func (v *NullableValidationReport) Set(val *ValidationReport)
func (*NullableValidationReport) UnmarshalJSON ¶
func (v *NullableValidationReport) UnmarshalJSON(src []byte) error
func (*NullableValidationReport) Unset ¶
func (v *NullableValidationReport) Unset()
type NullableValidationResult ¶
type NullableValidationResult struct {
// contains filtered or unexported fields
}
func NewNullableValidationResult ¶
func NewNullableValidationResult(val *ValidationResult) *NullableValidationResult
func (NullableValidationResult) Get ¶
func (v NullableValidationResult) Get() *ValidationResult
func (NullableValidationResult) IsSet ¶
func (v NullableValidationResult) IsSet() bool
func (NullableValidationResult) MarshalJSON ¶
func (v NullableValidationResult) MarshalJSON() ([]byte, error)
func (*NullableValidationResult) Set ¶
func (v *NullableValidationResult) Set(val *ValidationResult)
func (*NullableValidationResult) UnmarshalJSON ¶
func (v *NullableValidationResult) UnmarshalJSON(src []byte) error
func (*NullableValidationResult) Unset ¶
func (v *NullableValidationResult) Unset()
type NullableVersionResponse ¶ added in v0.0.3
type NullableVersionResponse struct {
// contains filtered or unexported fields
}
func NewNullableVersionResponse ¶ added in v0.0.3
func NewNullableVersionResponse(val *VersionResponse) *NullableVersionResponse
func (NullableVersionResponse) Get ¶ added in v0.0.3
func (v NullableVersionResponse) Get() *VersionResponse
func (NullableVersionResponse) IsSet ¶ added in v0.0.3
func (v NullableVersionResponse) IsSet() bool
func (NullableVersionResponse) MarshalJSON ¶ added in v0.0.3
func (v NullableVersionResponse) MarshalJSON() ([]byte, error)
func (*NullableVersionResponse) Set ¶ added in v0.0.3
func (v *NullableVersionResponse) Set(val *VersionResponse)
func (*NullableVersionResponse) UnmarshalJSON ¶ added in v0.0.3
func (v *NullableVersionResponse) UnmarshalJSON(src []byte) error
func (*NullableVersionResponse) Unset ¶ added in v0.0.3
func (v *NullableVersionResponse) Unset()
type QueryRequest ¶
type QueryRequest struct {
Filter RecordQueryFilter `json:"filter"`
}
QueryRequest struct for QueryRequest
func NewQueryRequest ¶
func NewQueryRequest(filter RecordQueryFilter) *QueryRequest
NewQueryRequest instantiates a new QueryRequest 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 NewQueryRequestWithDefaults ¶
func NewQueryRequestWithDefaults() *QueryRequest
NewQueryRequestWithDefaults instantiates a new QueryRequest 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 (*QueryRequest) GetFilter ¶
func (o *QueryRequest) GetFilter() RecordQueryFilter
GetFilter returns the Filter field value
func (*QueryRequest) GetFilterOk ¶
func (o *QueryRequest) GetFilterOk() (*RecordQueryFilter, bool)
GetFilterOk returns a tuple with the Filter field value and a boolean to check if the value has been set.
func (QueryRequest) MarshalJSON ¶
func (o QueryRequest) MarshalJSON() ([]byte, error)
func (*QueryRequest) SetFilter ¶
func (o *QueryRequest) SetFilter(v RecordQueryFilter)
SetFilter sets field value
func (QueryRequest) ToMap ¶
func (o QueryRequest) ToMap() (map[string]interface{}, error)
func (*QueryRequest) UnmarshalJSON ¶
func (o *QueryRequest) UnmarshalJSON(data []byte) (err error)
type QueryResponse ¶
type QueryResponse struct {
Records []Record `json:"records"`
}
QueryResponse struct for QueryResponse
func NewQueryResponse ¶
func NewQueryResponse(records []Record) *QueryResponse
NewQueryResponse instantiates a new QueryResponse 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 NewQueryResponseWithDefaults ¶
func NewQueryResponseWithDefaults() *QueryResponse
NewQueryResponseWithDefaults instantiates a new QueryResponse 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 (*QueryResponse) GetRecords ¶
func (o *QueryResponse) GetRecords() []Record
GetRecords returns the Records field value
func (*QueryResponse) GetRecordsOk ¶
func (o *QueryResponse) GetRecordsOk() ([]Record, bool)
GetRecordsOk returns a tuple with the Records field value and a boolean to check if the value has been set.
func (QueryResponse) MarshalJSON ¶
func (o QueryResponse) MarshalJSON() ([]byte, error)
func (*QueryResponse) SetRecords ¶
func (o *QueryResponse) SetRecords(v []Record)
SetRecords sets field value
func (QueryResponse) ToMap ¶
func (o QueryResponse) ToMap() (map[string]interface{}, error)
func (*QueryResponse) UnmarshalJSON ¶
func (o *QueryResponse) UnmarshalJSON(data []byte) (err error)
type ReadyResponse ¶
type ReadyResponse struct {
// Readiness status string.
Status string `json:"status"`
}
ReadyResponse struct for ReadyResponse
func NewReadyResponse ¶
func NewReadyResponse(status string) *ReadyResponse
NewReadyResponse instantiates a new ReadyResponse 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 NewReadyResponseWithDefaults ¶
func NewReadyResponseWithDefaults() *ReadyResponse
NewReadyResponseWithDefaults instantiates a new ReadyResponse 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 (*ReadyResponse) GetStatus ¶
func (o *ReadyResponse) GetStatus() string
GetStatus returns the Status field value
func (*ReadyResponse) GetStatusOk ¶
func (o *ReadyResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ReadyResponse) MarshalJSON ¶
func (o ReadyResponse) MarshalJSON() ([]byte, error)
func (*ReadyResponse) SetStatus ¶
func (o *ReadyResponse) SetStatus(v string)
SetStatus sets field value
func (ReadyResponse) ToMap ¶
func (o ReadyResponse) ToMap() (map[string]interface{}, error)
func (*ReadyResponse) UnmarshalJSON ¶
func (o *ReadyResponse) UnmarshalJSON(data []byte) (err error)
type Record ¶
type Record struct {
// Record identifier returned by the store adapter.
Id string `json:"id"`
// Model identifier used for this record.
Model string `json:"model"`
// Model version used for this record.
Version string `json:"version"`
// Opaque business payload routed to the IO adapter.
Payload map[string]interface{} `json:"payload"`
}
Record struct for Record
func NewRecord ¶
NewRecord instantiates a new Record 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 NewRecordWithDefaults ¶
func NewRecordWithDefaults() *Record
NewRecordWithDefaults instantiates a new Record 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 (*Record) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Record) GetModelOk ¶
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*Record) GetPayload ¶
GetPayload returns the Payload field value
func (*Record) GetPayloadOk ¶
GetPayloadOk returns a tuple with the Payload field value and a boolean to check if the value has been set.
func (*Record) GetVersion ¶
GetVersion returns the Version field value
func (*Record) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (Record) MarshalJSON ¶
func (*Record) SetPayload ¶
SetPayload sets field value
func (*Record) UnmarshalJSON ¶
type RecordQueryCondition ¶ added in v0.0.5
type RecordQueryCondition struct {
// Field path such as `id` or `payload.record_scope`.
Field string `json:"field"`
// Comparison operator.
Op string `json:"op"`
// Operand value. For `in` this must be an array. For `exists` this should be boolean.
Value interface{} `json:"value"`
}
RecordQueryCondition struct for RecordQueryCondition
func NewRecordQueryCondition ¶ added in v0.0.5
func NewRecordQueryCondition(field string, op string, value interface{}) *RecordQueryCondition
NewRecordQueryCondition instantiates a new RecordQueryCondition 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 NewRecordQueryConditionWithDefaults ¶ added in v0.0.5
func NewRecordQueryConditionWithDefaults() *RecordQueryCondition
NewRecordQueryConditionWithDefaults instantiates a new RecordQueryCondition 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 (*RecordQueryCondition) GetField ¶ added in v0.0.5
func (o *RecordQueryCondition) GetField() string
GetField returns the Field field value
func (*RecordQueryCondition) GetFieldOk ¶ added in v0.0.5
func (o *RecordQueryCondition) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*RecordQueryCondition) GetOp ¶ added in v0.0.5
func (o *RecordQueryCondition) GetOp() string
GetOp returns the Op field value
func (*RecordQueryCondition) GetOpOk ¶ added in v0.0.5
func (o *RecordQueryCondition) GetOpOk() (*string, bool)
GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.
func (*RecordQueryCondition) GetValue ¶ added in v0.0.5
func (o *RecordQueryCondition) GetValue() interface{}
GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned
func (*RecordQueryCondition) GetValueOk ¶ added in v0.0.5
func (o *RecordQueryCondition) GetValueOk() (*interface{}, bool)
GetValueOk returns a tuple with the Value 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 (RecordQueryCondition) MarshalJSON ¶ added in v0.0.5
func (o RecordQueryCondition) MarshalJSON() ([]byte, error)
func (*RecordQueryCondition) SetField ¶ added in v0.0.5
func (o *RecordQueryCondition) SetField(v string)
SetField sets field value
func (*RecordQueryCondition) SetOp ¶ added in v0.0.5
func (o *RecordQueryCondition) SetOp(v string)
SetOp sets field value
func (*RecordQueryCondition) SetValue ¶ added in v0.0.5
func (o *RecordQueryCondition) SetValue(v interface{})
SetValue sets field value
func (RecordQueryCondition) ToMap ¶ added in v0.0.5
func (o RecordQueryCondition) ToMap() (map[string]interface{}, error)
func (*RecordQueryCondition) UnmarshalJSON ¶ added in v0.0.5
func (o *RecordQueryCondition) UnmarshalJSON(data []byte) (err error)
type RecordQueryFilter ¶ added in v0.0.5
type RecordQueryFilter struct {
// AND-only list of query predicates.
Where []RecordQueryCondition `json:"where"`
// Optional list of sort directives applied in order.
Sort []RecordQuerySort `json:"sort,omitempty"`
// Maximum number of records to return.
Limit *int64 `json:"limit,omitempty"`
// Zero-based row offset for pagination.
Offset *int64 `json:"offset,omitempty"`
}
RecordQueryFilter Canonical backend query dialect shared across record store adapters.
func NewRecordQueryFilter ¶ added in v0.0.5
func NewRecordQueryFilter(where []RecordQueryCondition) *RecordQueryFilter
NewRecordQueryFilter instantiates a new RecordQueryFilter 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 NewRecordQueryFilterWithDefaults ¶ added in v0.0.5
func NewRecordQueryFilterWithDefaults() *RecordQueryFilter
NewRecordQueryFilterWithDefaults instantiates a new RecordQueryFilter 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 (*RecordQueryFilter) GetLimit ¶ added in v0.0.5
func (o *RecordQueryFilter) GetLimit() int64
GetLimit returns the Limit field value if set, zero value otherwise.
func (*RecordQueryFilter) GetLimitOk ¶ added in v0.0.5
func (o *RecordQueryFilter) GetLimitOk() (*int64, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordQueryFilter) GetOffset ¶ added in v0.0.5
func (o *RecordQueryFilter) GetOffset() int64
GetOffset returns the Offset field value if set, zero value otherwise.
func (*RecordQueryFilter) GetOffsetOk ¶ added in v0.0.5
func (o *RecordQueryFilter) GetOffsetOk() (*int64, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordQueryFilter) GetSort ¶ added in v0.0.5
func (o *RecordQueryFilter) GetSort() []RecordQuerySort
GetSort returns the Sort field value if set, zero value otherwise.
func (*RecordQueryFilter) GetSortOk ¶ added in v0.0.5
func (o *RecordQueryFilter) GetSortOk() ([]RecordQuerySort, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordQueryFilter) GetWhere ¶ added in v0.0.5
func (o *RecordQueryFilter) GetWhere() []RecordQueryCondition
GetWhere returns the Where field value
func (*RecordQueryFilter) GetWhereOk ¶ added in v0.0.5
func (o *RecordQueryFilter) GetWhereOk() ([]RecordQueryCondition, bool)
GetWhereOk returns a tuple with the Where field value and a boolean to check if the value has been set.
func (*RecordQueryFilter) HasLimit ¶ added in v0.0.5
func (o *RecordQueryFilter) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*RecordQueryFilter) HasOffset ¶ added in v0.0.5
func (o *RecordQueryFilter) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*RecordQueryFilter) HasSort ¶ added in v0.0.5
func (o *RecordQueryFilter) HasSort() bool
HasSort returns a boolean if a field has been set.
func (RecordQueryFilter) MarshalJSON ¶ added in v0.0.5
func (o RecordQueryFilter) MarshalJSON() ([]byte, error)
func (*RecordQueryFilter) SetLimit ¶ added in v0.0.5
func (o *RecordQueryFilter) SetLimit(v int64)
SetLimit gets a reference to the given int64 and assigns it to the Limit field.
func (*RecordQueryFilter) SetOffset ¶ added in v0.0.5
func (o *RecordQueryFilter) SetOffset(v int64)
SetOffset gets a reference to the given int64 and assigns it to the Offset field.
func (*RecordQueryFilter) SetSort ¶ added in v0.0.5
func (o *RecordQueryFilter) SetSort(v []RecordQuerySort)
SetSort gets a reference to the given []RecordQuerySort and assigns it to the Sort field.
func (*RecordQueryFilter) SetWhere ¶ added in v0.0.5
func (o *RecordQueryFilter) SetWhere(v []RecordQueryCondition)
SetWhere sets field value
func (RecordQueryFilter) ToMap ¶ added in v0.0.5
func (o RecordQueryFilter) ToMap() (map[string]interface{}, error)
func (*RecordQueryFilter) UnmarshalJSON ¶ added in v0.0.5
func (o *RecordQueryFilter) UnmarshalJSON(data []byte) (err error)
type RecordQuerySort ¶ added in v0.0.5
type RecordQuerySort struct {
// Sortable field path such as `created_at` or `payload.record_scope`.
Field string `json:"field"`
// Sort direction.
Direction string `json:"direction"`
}
RecordQuerySort struct for RecordQuerySort
func NewRecordQuerySort ¶ added in v0.0.5
func NewRecordQuerySort(field string, direction string) *RecordQuerySort
NewRecordQuerySort instantiates a new RecordQuerySort 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 NewRecordQuerySortWithDefaults ¶ added in v0.0.5
func NewRecordQuerySortWithDefaults() *RecordQuerySort
NewRecordQuerySortWithDefaults instantiates a new RecordQuerySort 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 (*RecordQuerySort) GetDirection ¶ added in v0.0.5
func (o *RecordQuerySort) GetDirection() string
GetDirection returns the Direction field value
func (*RecordQuerySort) GetDirectionOk ¶ added in v0.0.5
func (o *RecordQuerySort) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value and a boolean to check if the value has been set.
func (*RecordQuerySort) GetField ¶ added in v0.0.5
func (o *RecordQuerySort) GetField() string
GetField returns the Field field value
func (*RecordQuerySort) GetFieldOk ¶ added in v0.0.5
func (o *RecordQuerySort) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (RecordQuerySort) MarshalJSON ¶ added in v0.0.5
func (o RecordQuerySort) MarshalJSON() ([]byte, error)
func (*RecordQuerySort) SetDirection ¶ added in v0.0.5
func (o *RecordQuerySort) SetDirection(v string)
SetDirection sets field value
func (*RecordQuerySort) SetField ¶ added in v0.0.5
func (o *RecordQuerySort) SetField(v string)
SetField sets field value
func (RecordQuerySort) ToMap ¶ added in v0.0.5
func (o RecordQuerySort) ToMap() (map[string]interface{}, error)
func (*RecordQuerySort) UnmarshalJSON ¶ added in v0.0.5
func (o *RecordQuerySort) UnmarshalJSON(data []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ValidateRequest ¶
type ValidateRequest struct {
// Candidate record payload to validate.
Payload map[string]interface{} `json:"payload"`
}
ValidateRequest struct for ValidateRequest
func NewValidateRequest ¶
func NewValidateRequest(payload map[string]interface{}) *ValidateRequest
NewValidateRequest instantiates a new ValidateRequest 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 NewValidateRequestWithDefaults ¶
func NewValidateRequestWithDefaults() *ValidateRequest
NewValidateRequestWithDefaults instantiates a new ValidateRequest 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 (*ValidateRequest) GetPayload ¶
func (o *ValidateRequest) GetPayload() map[string]interface{}
GetPayload returns the Payload field value
func (*ValidateRequest) GetPayloadOk ¶
func (o *ValidateRequest) GetPayloadOk() (map[string]interface{}, bool)
GetPayloadOk returns a tuple with the Payload field value and a boolean to check if the value has been set.
func (ValidateRequest) MarshalJSON ¶
func (o ValidateRequest) MarshalJSON() ([]byte, error)
func (*ValidateRequest) SetPayload ¶
func (o *ValidateRequest) SetPayload(v map[string]interface{})
SetPayload sets field value
func (ValidateRequest) ToMap ¶
func (o ValidateRequest) ToMap() (map[string]interface{}, error)
func (*ValidateRequest) UnmarshalJSON ¶
func (o *ValidateRequest) UnmarshalJSON(data []byte) (err error)
type ValidationReport ¶
type ValidationReport struct {
// True when no blocking validation issues were found.
Passed bool `json:"passed"`
Results []ValidationResult `json:"results"`
}
ValidationReport struct for ValidationReport
func NewValidationReport ¶
func NewValidationReport(passed bool, results []ValidationResult) *ValidationReport
NewValidationReport instantiates a new ValidationReport 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 NewValidationReportWithDefaults ¶
func NewValidationReportWithDefaults() *ValidationReport
NewValidationReportWithDefaults instantiates a new ValidationReport 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 (*ValidationReport) GetPassed ¶
func (o *ValidationReport) GetPassed() bool
GetPassed returns the Passed field value
func (*ValidationReport) GetPassedOk ¶
func (o *ValidationReport) GetPassedOk() (*bool, bool)
GetPassedOk returns a tuple with the Passed field value and a boolean to check if the value has been set.
func (*ValidationReport) GetResults ¶
func (o *ValidationReport) GetResults() []ValidationResult
GetResults returns the Results field value
func (*ValidationReport) GetResultsOk ¶
func (o *ValidationReport) GetResultsOk() ([]ValidationResult, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (ValidationReport) MarshalJSON ¶
func (o ValidationReport) MarshalJSON() ([]byte, error)
func (*ValidationReport) SetPassed ¶
func (o *ValidationReport) SetPassed(v bool)
SetPassed sets field value
func (*ValidationReport) SetResults ¶
func (o *ValidationReport) SetResults(v []ValidationResult)
SetResults sets field value
func (ValidationReport) ToMap ¶
func (o ValidationReport) ToMap() (map[string]interface{}, error)
func (*ValidationReport) UnmarshalJSON ¶
func (o *ValidationReport) UnmarshalJSON(data []byte) (err error)
type ValidationResult ¶
type ValidationResult struct {
// JSON path or pointer of the failing field when available.
Path *string `json:"path,omitempty"`
// Human-readable validation message.
Message *string `json:"message,omitempty"`
// Validation severity label when provided by validator.
Severity *string `json:"severity,omitempty"`
}
ValidationResult struct for ValidationResult
func NewValidationResult ¶
func NewValidationResult() *ValidationResult
NewValidationResult instantiates a new ValidationResult 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 NewValidationResultWithDefaults ¶
func NewValidationResultWithDefaults() *ValidationResult
NewValidationResultWithDefaults instantiates a new ValidationResult 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 (*ValidationResult) GetMessage ¶
func (o *ValidationResult) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ValidationResult) GetMessageOk ¶
func (o *ValidationResult) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationResult) GetPath ¶
func (o *ValidationResult) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*ValidationResult) GetPathOk ¶
func (o *ValidationResult) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationResult) GetSeverity ¶
func (o *ValidationResult) GetSeverity() string
GetSeverity returns the Severity field value if set, zero value otherwise.
func (*ValidationResult) GetSeverityOk ¶
func (o *ValidationResult) GetSeverityOk() (*string, bool)
GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationResult) HasMessage ¶
func (o *ValidationResult) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ValidationResult) HasPath ¶
func (o *ValidationResult) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*ValidationResult) HasSeverity ¶
func (o *ValidationResult) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (ValidationResult) MarshalJSON ¶
func (o ValidationResult) MarshalJSON() ([]byte, error)
func (*ValidationResult) SetMessage ¶
func (o *ValidationResult) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ValidationResult) SetPath ¶
func (o *ValidationResult) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*ValidationResult) SetSeverity ¶
func (o *ValidationResult) SetSeverity(v string)
SetSeverity gets a reference to the given string and assigns it to the Severity field.
func (ValidationResult) ToMap ¶
func (o ValidationResult) ToMap() (map[string]interface{}, error)
type VersionResponse ¶ added in v0.0.3
type VersionResponse struct {
// Stable service identifier.
Service string `json:"service"`
// Running service build version from crate metadata.
ServiceVersion string `json:"service_version"`
// Bundled OpenAPI document version from info.version.
OpenapiVersion string `json:"openapi_version"`
}
VersionResponse struct for VersionResponse
func NewVersionResponse ¶ added in v0.0.3
func NewVersionResponse(service string, serviceVersion string, openapiVersion string) *VersionResponse
NewVersionResponse instantiates a new VersionResponse 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 NewVersionResponseWithDefaults ¶ added in v0.0.3
func NewVersionResponseWithDefaults() *VersionResponse
NewVersionResponseWithDefaults instantiates a new VersionResponse 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 (*VersionResponse) GetOpenapiVersion ¶ added in v0.0.3
func (o *VersionResponse) GetOpenapiVersion() string
GetOpenapiVersion returns the OpenapiVersion field value
func (*VersionResponse) GetOpenapiVersionOk ¶ added in v0.0.3
func (o *VersionResponse) GetOpenapiVersionOk() (*string, bool)
GetOpenapiVersionOk returns a tuple with the OpenapiVersion field value and a boolean to check if the value has been set.
func (*VersionResponse) GetService ¶ added in v0.0.3
func (o *VersionResponse) GetService() string
GetService returns the Service field value
func (*VersionResponse) GetServiceOk ¶ added in v0.0.3
func (o *VersionResponse) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.
func (*VersionResponse) GetServiceVersion ¶ added in v0.0.3
func (o *VersionResponse) GetServiceVersion() string
GetServiceVersion returns the ServiceVersion field value
func (*VersionResponse) GetServiceVersionOk ¶ added in v0.0.3
func (o *VersionResponse) GetServiceVersionOk() (*string, bool)
GetServiceVersionOk returns a tuple with the ServiceVersion field value and a boolean to check if the value has been set.
func (VersionResponse) MarshalJSON ¶ added in v0.0.3
func (o VersionResponse) MarshalJSON() ([]byte, error)
func (*VersionResponse) SetOpenapiVersion ¶ added in v0.0.3
func (o *VersionResponse) SetOpenapiVersion(v string)
SetOpenapiVersion sets field value
func (*VersionResponse) SetService ¶ added in v0.0.3
func (o *VersionResponse) SetService(v string)
SetService sets field value
func (*VersionResponse) SetServiceVersion ¶ added in v0.0.3
func (o *VersionResponse) SetServiceVersion(v string)
SetServiceVersion sets field value
func (VersionResponse) ToMap ¶ added in v0.0.3
func (o VersionResponse) ToMap() (map[string]interface{}, error)
func (*VersionResponse) UnmarshalJSON ¶ added in v0.0.3
func (o *VersionResponse) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_admin.go
- api_discovery.go
- api_models.go
- client.go
- configuration.go
- model_create_request.go
- model_error_response.go
- model_health_response.go
- model_model_count_response.go
- model_model_version.go
- model_models_response.go
- model_query_request.go
- model_query_response.go
- model_ready_response.go
- model_record.go
- model_record_query_condition.go
- model_record_query_filter.go
- model_record_query_sort.go
- model_validate_request.go
- model_validation_report.go
- model_validation_result.go
- model_version_response.go
- response.go
- utils.go