import "github.com/boonlogic/amber-go-sdk"
## func LoadCsvRecords
func LoadCsvRecords(csvFile string) ([]string, error)
utility function to create csv payloads given a csv data file. output will be one continuous string of comma separated values
## func PackCsvAsByteSlice
func PackCsvAsByteSlice(csv string) ([]byte, error)
## type AmberClient
type AmberClient struct {
// contains filtered or unexported fields
}
### func NewAmberClientFromFile
func NewAmberClientFromFile(licenseId *string, licenseFile *string) (*AmberClient, error)
Create new AmberClient using Amber license file
### func NewAmberClientFromProfile
func NewAmberClientFromProfile(profile LicenseProfile) (*AmberClient, error)
Create new AmberClient given LicenseProfile structure
### func (*AmberClient) ConfigureFusion
func (a *AmberClient) ConfigureFusion(sensorId string, payload amberModels.PutConfigRequest) (*amberModels.PutConfigResponse, *amberModels.Error)
### func (*AmberClient) ConfigureSensor
func (a *AmberClient) ConfigureSensor(sensorId string, payload amberModels.PostConfigRequest) (*amberModels.PostConfigResponse, *amberModels.Error)
### func (*AmberClient) CreateSensor
func (a *AmberClient) CreateSensor(label string) (*amberModels.PostSensorResponse, *amberModels.Error)
### func (*AmberClient) DeleteSensor
func (a *AmberClient) DeleteSensor(sensorId string) *amberModels.Error
### func (*AmberClient) EnableLearning
func (a *AmberClient) EnableLearning(sensorId string, payload amberModels.PutConfigRequest) (*amberModels.PutConfigResponse, *amberModels.Error)
### func (*AmberClient) GetConfig
func (a *AmberClient) GetConfig(sensorId string) (*amberModels.GetConfigResponse, *amberModels.Error)
### func (*AmberClient) GetPretrainState
func (a *AmberClient) GetPretrainState(sensorId string) (*amberModels.GetPretrainResponse, *amberModels.Error)
### func (*AmberClient) GetRootCause
func (a *AmberClient) GetRootCause(sensorId string, clusterIds []int32, patterns [][]float32) (*amberModels.GetRootCauseResponse, *amberModels.Error)
### func (*AmberClient) GetSensor
func (a *AmberClient) GetSensor(sensorId string) (*amberModels.GetSensorResponse, *amberModels.Error)
### func (*AmberClient) GetStatus
func (a *AmberClient) GetStatus(sensorId string) (*amberModels.GetStatusResponse, *amberModels.Error)
### func (*AmberClient) GetVersion
func (a *AmberClient) GetVersion() (*amberModels.Version, *amberModels.Error)
### func (*AmberClient) ListSensors
func (a *AmberClient) ListSensors() (*amberModels.GetSensorsResponse, *amberModels.Error)
### func (*AmberClient) PostOutage
func (a *AmberClient) PostOutage(sensorId string) (*amberModels.PostOutageResponse, *amberModels.Error)
### func (*AmberClient) PretrainSensor
func (a *AmberClient) PretrainSensor(sensorId string, payload amberModels.PostPretrainRequest) (*amberModels.PostPretrainResponse, *amberModels.Error)
### func (*AmberClient) PretrainSensorXL
func (a *AmberClient) PretrainSensorXL(sensorId string, request amberModels.PostPretrainRequest) (*amberModels.PostPretrainResponse, *amberModels.Error)
### func (*AmberClient) SetCert
func (a *AmberClient) SetCert(cert string) error
### func (*AmberClient) SetProxy
func (a *AmberClient) SetProxy(proxy string) error
### func (*AmberClient) SetTimeout
func (a *AmberClient) SetTimeout(timeout int) error
### func (*AmberClient) SetVerify
func (a *AmberClient) SetVerify(value bool) error
### func (*AmberClient) StreamFusion
func (a *AmberClient) StreamFusion(sensorId string, payload amberModels.PutStreamRequest) (*amberModels.PutStreamResponse, *amberModels.Error)
### func (*AmberClient) StreamSensor
func (a *AmberClient) StreamSensor(sensorId string, payload amberModels.PostStreamRequest) (*amberModels.PostStreamResponse, *amberModels.Error)
### func (*AmberClient) UpdateLabel
func (a *AmberClient) UpdateLabel(sensorId string, label string) (*amberModels.PutSensorResponse, *amberModels.Error)
## type CustomRoundTripper
type CustomRoundTripper struct {
Proxied http.RoundTripper }
### func (CustomRoundTripper) RoundTrip
func (crt CustomRoundTripper) RoundTrip(req *http.Request) (res *http.Response, e error)
## type LicenseProfile
type LicenseProfile struct {
string `json:"username"`
Username string `json:"password"`
Password string `json:"server"`
Server string `json:"oauth-server"`
OauthServer }
import "github.com/boonlogic/amber-go-sdk/v1/models"
const (
// FeatureConfigSubmitRuleSubmit captures enum value "submit"
string = "submit"
FeatureConfigSubmitRuleSubmit
// FeatureConfigSubmitRuleNosubmit captures enum value "nosubmit"
string = "nosubmit"
FeatureConfigSubmitRuleNosubmit )
const (
// FusionConfigSubmitRuleSubmit captures enum value "submit"
string = "submit"
FusionConfigSubmitRuleSubmit
// FusionConfigSubmitRuleNosubmit captures enum value "nosubmit"
string = "nosubmit"
FusionConfigSubmitRuleNosubmit )
const (
// PutStreamRequestSubmitRuleDefault captures enum value "default"
string = "default"
PutStreamRequestSubmitRuleDefault
// PutStreamRequestSubmitRuleSubmit captures enum value "submit"
string = "submit"
PutStreamRequestSubmitRuleSubmit
// PutStreamRequestSubmitRuleNosubmit captures enum value "nosubmit"
string = "nosubmit"
PutStreamRequestSubmitRuleNosubmit )
## type EndpointUsageInfo
EndpointUsageInfo endpoint usage info
swagger:model endpointUsageInfo
type EndpointUsageInfo struct {
// number of calls to this endpoint during the current billing period
// Required: true
uint64 `json:"callsThisPeriod"`
CallsThisPeriod *
// total number of calls to this endpoint
// Required: true
uint64 `json:"callsTotal"`
CallsTotal *
// ISO formatted time of last call to this endpoint
// Required: true
string `json:"lastCalled"`
LastCalled * }
### func (*EndpointUsageInfo) ContextValidate
func (m *EndpointUsageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this endpoint usage info based on context it is used
### func (*EndpointUsageInfo) MarshalBinary
func (m *EndpointUsageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*EndpointUsageInfo) UnmarshalBinary
func (m *EndpointUsageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*EndpointUsageInfo) Validate
func (m *EndpointUsageInfo) Validate(formats strfmt.Registry) error
Validate validates this endpoint usage info
## type Error
Error error
swagger:model Error
type Error struct {
// code
uint16 `json:"code,omitempty"`
Code
// message
string `json:"message,omitempty"`
Message }
### func (*Error) ContextValidate
func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this error based on context it is used
### func (*Error) MarshalBinary
func (m *Error) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*Error) UnmarshalBinary
func (m *Error) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*Error) Validate
func (m *Error) Validate(formats strfmt.Registry) error
Validate validates this error
## type FeatureConfig
FeatureConfig feature config
swagger:model featureConfig
type FeatureConfig struct {
// label associated with feature
string `json:"label,omitempty"`
Label
// corresponding maximum value
float32 `json:"maxVal"`
MaxVal
// the value that should be considered the minimum value for this feature. This can be set to a value larger than the actual min if you want to treat all value less than that as the same (for instance, to keep a noise spike from having undue influence in the clustering
float32 `json:"minVal"`
MinVal
// policy for submitting sensor fusion vector when this feature is updated. One of "submit", "nosubmit" (defaults to "submit")
// Enum: [submit nosubmit]
string `json:"submitRule,omitempty"`
SubmitRule
// corresponding weight
uint16 `json:"weight,omitempty"`
Weight }
### func (*FeatureConfig) ContextValidate
func (m *FeatureConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this feature config based on context it is used
### func (*FeatureConfig) MarshalBinary
func (m *FeatureConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*FeatureConfig) UnmarshalBinary
func (m *FeatureConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*FeatureConfig) Validate
func (m *FeatureConfig) Validate(formats strfmt.Registry) error
Validate validates this feature config
## type Float32Array
Float32Array float32 array
swagger:model float32Array
type Float32Array []float32
### func (Float32Array) ContextValidate
func (m Float32Array) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this float32 array based on context it is used
### func (Float32Array) Validate
func (m Float32Array) Validate(formats strfmt.Registry) error
Validate validates this float32 array
## type FusionConfig
FusionConfig fusion config
swagger:model fusionConfig
type FusionConfig struct {
// label associated with feature
// Required: true
string `json:"label"`
Label *
// policy for submitting sensor fusion vector when this feature is updated. One of "submit", "nosubmit" (defaults to "submit")
// Enum: [submit nosubmit]
string `json:"submitRule,omitempty"`
SubmitRule }
### func (*FusionConfig) ContextValidate
func (m *FusionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this fusion config based on context it is used
### func (*FusionConfig) MarshalBinary
func (m *FusionConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*FusionConfig) UnmarshalBinary
func (m *FusionConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*FusionConfig) Validate
func (m *FusionConfig) Validate(formats strfmt.Registry) error
Validate validates this fusion config
## type GetConfigResponse
GetConfigResponse get config response
swagger:model getConfigResponse
type GetConfigResponse struct {
StreamingParameters
// number of features per sample
// Required: true
uint16 `json:"featureCount"`
FeatureCount *
// features
// Required: true
`json:"features"`
Features []*FeatureConfig
// the percent variation (for instance, 0.025 gives 2.5% variation) used for clustering
// Required: true
float32 `json:"percentVariation"`
PercentVariation *
// override autotuned percent variation with this value
float32 `json:"percentVariationOverride,omitempty"`
PercentVariationOverride
// the number of samples to be applied before autotuning begins
// Required: true
uint32 `json:"samplesToBuffer"`
SamplesToBuffer *
// streaming window size
// Required: true
// Maximum: 500
uint16 `json:"streamingWindowSize"`
StreamingWindowSize * }
### func (*GetConfigResponse) ContextValidate
func (m *GetConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get config response based on the context it is used
### func (*GetConfigResponse) MarshalBinary
func (m *GetConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (GetConfigResponse) MarshalJSON
func (m GetConfigResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
### func (*GetConfigResponse) UnmarshalBinary
func (m *GetConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*GetConfigResponse) UnmarshalJSON
func (m *GetConfigResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
### func (*GetConfigResponse) Validate
func (m *GetConfigResponse) Validate(formats strfmt.Registry) error
Validate validates this get config response
## type GetPretrainResponse
GetPretrainResponse get pretrain response
swagger:model getPretrainResponse
type GetPretrainResponse struct {
// latest pretrain message
string `json:"message,omitempty"`
Message
// state of pretraining, one of: None, Chunking, Pretraining, Pretrained, Error
// Required: true
string `json:"state"`
State * }
### func (*GetPretrainResponse) ContextValidate
func (m *GetPretrainResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get pretrain response based on context it is used
### func (*GetPretrainResponse) MarshalBinary
func (m *GetPretrainResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*GetPretrainResponse) UnmarshalBinary
func (m *GetPretrainResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*GetPretrainResponse) Validate
func (m *GetPretrainResponse) Validate(formats strfmt.Registry) error
Validate validates this get pretrain response
## type GetRootCauseResponse
GetRootCauseResponse get root cause response
swagger:model getRootCauseResponse
type GetRootCauseResponse []Float32Array
### func (GetRootCauseResponse) ContextValidate
func (m GetRootCauseResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get root cause response based on the context it is used
### func (GetRootCauseResponse) Validate
func (m GetRootCauseResponse) Validate(formats strfmt.Registry) error
Validate validates this get root cause response
## type GetSensorResponse
GetSensorResponse get sensor response
swagger:model getSensorResponse
type GetSensorResponse struct {
// Additional label to be assigned for sensor
// Required: true
string `json:"label"`
Label *
// Unique identifier for sensor
// Required: true
string `json:"sensorId"`
SensorID *
// Sensor usage info
// Required: true
`json:"usageInfo"`
UsageInfo *SensorUsageInfo }
### func (*GetSensorResponse) ContextValidate
func (m *GetSensorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get sensor response based on the context it is used
### func (*GetSensorResponse) MarshalBinary
func (m *GetSensorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*GetSensorResponse) UnmarshalBinary
func (m *GetSensorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*GetSensorResponse) Validate
func (m *GetSensorResponse) Validate(formats strfmt.Registry) error
Validate validates this get sensor response
## type GetSensorsResponse
GetSensorsResponse get sensors response
swagger:model getSensorsResponse
type GetSensorsResponse []*SensorInstance
### func (GetSensorsResponse) ContextValidate
func (m GetSensorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get sensors response based on the context it is used
### func (GetSensorsResponse) Validate
func (m GetSensorsResponse) Validate(formats strfmt.Registry) error
Validate validates this get sensors response
## type GetStatusResponse
GetStatusResponse get status response
swagger:model getStatusResponse
type GetStatusResponse struct {
// anomaly indexes
// Required: true
`json:"anomalyIndexes"`
AnomalyIndexes Uint16Array
// anomaly threshold
// Required: true
uint16 `json:"anomalyThreshold"`
AnomalyThreshold *
// cluster growth
// Required: true
`json:"clusterGrowth"`
ClusterGrowth Uint64Array
// cluster sizes
// Required: true
`json:"clusterSizes"`
ClusterSizes Uint64Array
// distance indexes
// Required: true
`json:"distanceIndexes"`
DistanceIndexes Uint16Array
// frequency indexes
// Required: true
`json:"frequencyIndexes"`
FrequencyIndexes Uint16Array
// num clusters
// Required: true
uint64 `json:"numClusters"`
NumClusters *
// pca
// Required: true
`json:"pca"`
Pca PCA
// state of the sensor. Possible state variables are: Error, Buffering, Autotuning, Learning, Monitoring
// Required: true
string `json:"state"`
State *
// inferences since the most recent restart
// Required: true
uint64 `json:"totalInferences"`
TotalInferences * }
### func (*GetStatusResponse) ContextValidate
func (m *GetStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get status response based on the context it is used
### func (*GetStatusResponse) MarshalBinary
func (m *GetStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*GetStatusResponse) UnmarshalBinary
func (m *GetStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*GetStatusResponse) Validate
func (m *GetStatusResponse) Validate(formats strfmt.Registry) error
Validate validates this get status response
## type GetSummaryResponse
GetSummaryResponse get summary response
swagger:model getSummaryResponse
type GetSummaryResponse struct {
// magic number
`json:"MagicNumber,omitempty"`
MagicNumber MagicNumber
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m amber alert critical value
// Required: true
uint64 `json:"m_AmberAlertCriticalValue"`
MAmberAlertCriticalValue *
// m amber status
// Required: true
`json:"m_AmberStatus"`
MAmberStatus *MAmberStatus
// m amber warning critical value
// Required: true
uint64 `json:"m_AmberWarningCriticalValue"`
MAmberWarningCriticalValue *
// m anomaly metric by anomaly count
float32 `json:"m_AnomalyMetricByAnomalyCount"`
MAnomalyMetricByAnomalyCount []
// m anomaly threshold
// Required: true
uint16 `json:"m_AnomalyThreshold"`
MAnomalyThreshold *
// m autotune
// Required: true
`json:"m_Autotune"`
MAutotune *MAutotune
// m autotuning elbow cluster counts
// Required: true
uint16 `json:"m_AutotuningElbowClusterCounts"`
MAutotuningElbowClusterCounts []
// m autotuning elbow p v array
// Required: true
float32 `json:"m_AutotuningElbowPVArray"`
MAutotuningElbowPVArray []
// m buffer stats
`json:"m_BufferStats,omitempty"`
MBufferStats *MBufferStats
// m clustering parameters initialized
bool `json:"m_ClusteringParametersInitialized,omitempty"`
MClusteringParametersInitialized
// m error string buffer
string `json:"m_ErrorStringBuffer,omitempty"`
MErrorStringBuffer
// m modified at
uint64 `json:"m_ModifiedAt,omitempty"`
MModifiedAt
// m nano
// Required: true
`json:"m_Nano"`
MNano *MNano
// m recent a ds
// Required: true
`json:"m_RecentADs"`
MRecentADs *MRecentAnalytics
// m recent a hs
// Required: true
`json:"m_RecentAHs"`
MRecentAHs *MRecentAnalytics
// m recent a ms
`json:"m_RecentAMs,omitempty"`
MRecentAMs *MRecentAMs
// m recent a ws
// Required: true
`json:"m_RecentAWs"`
MRecentAWs *MRecentAnalytics
// m recent anomaly count
uint16 `json:"m_RecentAnomalyCount,omitempty"`
MRecentAnomalyCount
// m recent h ss
// Required: true
`json:"m_RecentHSs"`
MRecentHSs *MRecentHSs
// m recent i ds
`json:"m_RecentIDs,omitempty"`
MRecentIDs *MRecentIDs
// m recent n is
// Required: true
`json:"m_RecentNIs"`
MRecentNIs *MRecentAnalytics
// m recent n ss
// Required: true
`json:"m_RecentNSs"`
MRecentNSs *MRecentAnalytics
// m recent o ms
// Required: true
`json:"m_RecentOMs"`
MRecentOMs *MRecentOMs
// m recent p is
// Required: true
`json:"m_RecentPIs"`
MRecentPIs *MRecentAnalytics
// m recent r is
// Required: true
`json:"m_RecentRIs"`
MRecentRIs *MRecentAnalytics
// m recent raw samples
// Required: true
`json:"m_RecentRawSamples"`
MRecentRawSamples *MRecentSamples
// m recent s is
// Required: true
`json:"m_RecentSIs"`
MRecentSIs *MRecentAnalytics
// m recent samples
// Required: true
`json:"m_RecentSamples"`
MRecentSamples *MRecentSamples
// m recent times
// Required: true
`json:"m_RecentTimes"`
MRecentTimes *MRecentTimes
// m results ID array
uint32 `json:"m_ResultsIDArray"`
MResultsIDArray []
// m streaming mode
bool `json:"m_StreamingMode,omitempty"`
MStreamingMode
// m streaming mode status
uint16 `json:"m_StreamingModeStatus,omitempty"`
MStreamingModeStatus
// m streaming parameters
// Required: true
`json:"m_StreamingParameters"`
MStreamingParameters *MStreamingParameters
// m training
// Required: true
`json:"m_Training"`
MTraining *MTraining
// m training samples
`json:"m_TrainingSamples,omitempty"`
MTrainingSamples *MRecentSamples }
### func (*GetSummaryResponse) ContextValidate
func (m *GetSummaryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get summary response based on the context it is used
### func (*GetSummaryResponse) MarshalBinary
func (m *GetSummaryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*GetSummaryResponse) UnmarshalBinary
func (m *GetSummaryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*GetSummaryResponse) Validate
func (m *GetSummaryResponse) Validate(formats strfmt.Registry) error
Validate validates this get summary response
## type Int32Array
Int32Array int32 array
swagger:model int32Array
type Int32Array []int32
### func (Int32Array) ContextValidate
func (m Int32Array) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this int32 array based on context it is used
### func (Int32Array) Validate
func (m Int32Array) Validate(formats strfmt.Registry) error
Validate validates this int32 array
## type LearningParameters
LearningParameters learning parameters
swagger:model learningParameters
type LearningParameters struct {
// learning graduation requirement for stopping learning upon reaching this cluster count
uint16 `json:"learningMaxClusters,omitempty"`
LearningMaxClusters *
// learning graduation requirement for stopping learning after acquiring this many samples
uint64 `json:"learningMaxSamples,omitempty"`
LearningMaxSamples *
// enables graduation requirements for learning
uint64 `json:"learningRateDenominator,omitempty"`
LearningRateDenominator *
// enables graduation requirements for learning
uint64 `json:"learningRateNumerator,omitempty"`
LearningRateNumerator * }
### func (*LearningParameters) ContextValidate
func (m *LearningParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this learning parameters based on context it is used
### func (*LearningParameters) MarshalBinary
func (m *LearningParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*LearningParameters) UnmarshalBinary
func (m *LearningParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*LearningParameters) Validate
func (m *LearningParameters) Validate(formats strfmt.Registry) error
Validate validates this learning parameters
## type MAP
MAP m a p
swagger:model m_AP
type MAP struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m autotune by features
// Required: true
bool `json:"m_AutotuneByFeatures"`
MAutotuneByFeatures *
// m autotune p v
// Required: true
bool `json:"m_AutotunePV"`
MAutotunePV *
// m autotune range
// Required: true
bool `json:"m_AutotuneRange"`
MAutotuneRange *
// m features to tune array
uint16 `json:"m_FeaturesToTuneArray"`
MFeaturesToTuneArray []
// m max clusters
uint16 `json:"m_MaxClusters,omitempty"`
MMaxClusters }
### func (*MAP) ContextValidate
func (m *MAP) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m a p based on the context it is used
### func (*MAP) MarshalBinary
func (m *MAP) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MAP) UnmarshalBinary
func (m *MAP) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MAP) Validate
func (m *MAP) Validate(formats strfmt.Registry) error
Validate validates this m a p
## type MAmberStatus
MAmberStatus m amber status
swagger:model m_AmberStatus
type MAmberStatus struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m current cluster count
// Required: true
uint32 `json:"m_CurrentClusterCount"`
MCurrentClusterCount *
// m message
string `json:"m_Message,omitempty"`
MMessage
// m progress
uint16 `json:"m_Progress,omitempty"`
MProgress
// m retry count
// Required: true
uint16 `json:"m_RetryCount"`
MRetryCount *
// m status
// Required: true
string `json:"m_Status"`
MStatus *
// m streaming window size
// Required: true
uint16 `json:"m_StreamingWindowSize"`
MStreamingWindowSize *
// m total inferences
// Required: true
uint64 `json:"m_TotalInferences"`
MTotalInferences *
// m total samples written
uint64 `json:"m_TotalSamplesWritten,omitempty"`
MTotalSamplesWritten }
### func (*MAmberStatus) ContextValidate
func (m *MAmberStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m amber status based on the context it is used
### func (*MAmberStatus) MarshalBinary
func (m *MAmberStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MAmberStatus) UnmarshalBinary
func (m *MAmberStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MAmberStatus) Validate
func (m *MAmberStatus) Validate(formats strfmt.Registry) error
Validate validates this m amber status
## type MAutotune
MAutotune m autotune
swagger:model m_Autotune
type MAutotune struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m a p
// Required: true
`json:"m_AP"`
MAP *MAP
// m autotuning in progress
bool `json:"m_AutotuningInProgress,omitempty"`
MAutotuningInProgress
// m autotuning succeeded
bool `json:"m_AutotuningSucceeded,omitempty"`
MAutotuningSucceeded
// m error string buffer
string `json:"m_ErrorStringBuffer,omitempty"`
MErrorStringBuffer
// m features to tune array
bool `json:"m_FeaturesToTuneArray"`
MFeaturesToTuneArray []
// m n c p
`json:"m_NCP,omitempty"`
MNCP *MNCP
// m num patterns to autotune
uint64 `json:"m_NumPatternsToAutotune,omitempty"`
MNumPatternsToAutotune
// m percent complete
float64 `json:"m_PercentComplete,omitempty"`
MPercentComplete }
### func (*MAutotune) ContextValidate
func (m *MAutotune) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m autotune based on the context it is used
### func (*MAutotune) MarshalBinary
func (m *MAutotune) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MAutotune) UnmarshalBinary
func (m *MAutotune) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MAutotune) Validate
func (m *MAutotune) Validate(formats strfmt.Registry) error
Validate validates this m autotune
## type MBufferStats
MBufferStats m buffer stats
swagger:model m_BufferStats
type MBufferStats struct {
// load buffer capacity
uint64 `json:"LoadBufferCapacity,omitempty"`
LoadBufferCapacity
// load buffer length
uint64 `json:"LoadBufferLength,omitempty"`
LoadBufferLength
// total bytes processed
uint64 `json:"TotalBytesProcessed,omitempty"`
TotalBytesProcessed
// total bytes written
uint64 `json:"TotalBytesWritten,omitempty"`
TotalBytesWritten
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber }
### func (*MBufferStats) ContextValidate
func (m *MBufferStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m buffer stats based on the context it is used
### func (*MBufferStats) MarshalBinary
func (m *MBufferStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MBufferStats) UnmarshalBinary
func (m *MBufferStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MBufferStats) Validate
func (m *MBufferStats) Validate(formats strfmt.Registry) error
Validate validates this m buffer stats
## type MNCP
MNCP m n c p
swagger:model m_NCP
type MNCP struct {
// num of features
uint16 `json:"NumOfFeatures,omitempty"`
NumOfFeatures
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m numeric format
uint16 `json:"m_NumericFormat,omitempty"`
MNumericFormat
// m percent variation
float32 `json:"m_PercentVariation,omitempty"`
MPercentVariation
// m streaming window size
uint16 `json:"m_StreamingWindowSize,omitempty"`
MStreamingWindowSize }
### func (*MNCP) ContextValidate
func (m *MNCP) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m n c p based on the context it is used
### func (*MNCP) MarshalBinary
func (m *MNCP) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MNCP) UnmarshalBinary
func (m *MNCP) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MNCP) Validate
func (m *MNCP) Validate(formats strfmt.Registry) error
Validate validates this m n c p
## type MNano
MNano m nano
swagger:model m_Nano
type MNano struct {
// backend version
uint16 `json:"BackendVersion,omitempty"`
BackendVersion
// magic number
`json:"MagicNumber,omitempty"`
MagicNumber MagicNumber
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m error msg
string `json:"m_ErrorMsg,omitempty"`
MErrorMsg
// m nano backend
`json:"m_NanoBackend,omitempty"`
MNanoBackend *MNanoBackend
// m nano config
// Required: true
`json:"m_NanoConfig"`
MNanoConfig *MNanoConfig }
### func (*MNano) ContextValidate
func (m *MNano) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m nano based on the context it is used
### func (*MNano) MarshalBinary
func (m *MNano) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MNano) UnmarshalBinary
func (m *MNano) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MNano) Validate
func (m *MNano) Validate(formats strfmt.Registry) error
Validate validates this m nano
## type MNanoBackend
MNanoBackend m nano backend
swagger:model m_NanoBackend
type MNanoBackend struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m init complete
bool `json:"m_InitComplete,omitempty"`
MInitComplete
// m learning is on
bool `json:"m_LearningIsOn,omitempty"`
MLearningIsOn
// m num of patterns clustered
uint64 `json:"m_NumOfPatternsClustered,omitempty"`
MNumOfPatternsClustered
// m pattern length
uint16 `json:"m_PatternLength,omitempty"`
MPatternLength
// m pattern memory
`json:"m_PatternMemory,omitempty"`
MPatternMemory *MPatternMemory }
### func (*MNanoBackend) ContextValidate
func (m *MNanoBackend) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m nano backend based on the context it is used
### func (*MNanoBackend) MarshalBinary
func (m *MNanoBackend) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MNanoBackend) UnmarshalBinary
func (m *MNanoBackend) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MNanoBackend) Validate
func (m *MNanoBackend) Validate(formats strfmt.Registry) error
Validate validates this m nano backend
## type MNanoConfig
MNanoConfig m nano config
swagger:model m_NanoConfig
type MNanoConfig struct {
// features
// Required: true
`json:"Features"`
Features []*FeatureConfig
// num of features
// Required: true
uint16 `json:"NumOfFeatures"`
NumOfFeatures *
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m numeric format
uint16 `json:"m_NumericFormat,omitempty"`
MNumericFormat
// the percent variation (for instance, 0.025 gives 2.5% variation) used for clustering
// Required: true
float32 `json:"m_PercentVariation"`
MPercentVariation * }
### func (*MNanoConfig) ContextValidate
func (m *MNanoConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m nano config based on the context it is used
### func (*MNanoConfig) MarshalBinary
func (m *MNanoConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MNanoConfig) UnmarshalBinary
func (m *MNanoConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MNanoConfig) Validate
func (m *MNanoConfig) Validate(formats strfmt.Registry) error
Validate validates this m nano config
## type MPatternMemory
MPatternMemory m pattern memory
swagger:model m_PatternMemory
type MPatternMemory struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber }
### func (*MPatternMemory) ContextValidate
func (m *MPatternMemory) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m pattern memory based on the context it is used
### func (*MPatternMemory) MarshalBinary
func (m *MPatternMemory) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MPatternMemory) UnmarshalBinary
func (m *MPatternMemory) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MPatternMemory) Validate
func (m *MPatternMemory) Validate(formats strfmt.Registry) error
Validate validates this m pattern memory
## type MRecentAMs
MRecentAMs m recent a ms
swagger:model m_RecentAMs
type MRecentAMs struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m values
// Required: true
float32 `json:"m_Values"`
MValues [] }
### func (*MRecentAMs) ContextValidate
func (m *MRecentAMs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m recent a ms based on the context it is used
### func (*MRecentAMs) MarshalBinary
func (m *MRecentAMs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MRecentAMs) UnmarshalBinary
func (m *MRecentAMs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MRecentAMs) Validate
func (m *MRecentAMs) Validate(formats strfmt.Registry) error
Validate validates this m recent a ms
## type MRecentAnalytics
MRecentAnalytics m recent analytics
swagger:model m_RecentAnalytics
type MRecentAnalytics struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m values
// Required: true
uint16 `json:"m_Values"`
MValues [] }
### func (*MRecentAnalytics) ContextValidate
func (m *MRecentAnalytics) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m recent analytics based on the context it is used
### func (*MRecentAnalytics) MarshalBinary
func (m *MRecentAnalytics) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MRecentAnalytics) UnmarshalBinary
func (m *MRecentAnalytics) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MRecentAnalytics) Validate
func (m *MRecentAnalytics) Validate(formats strfmt.Registry) error
Validate validates this m recent analytics
## type MRecentFloats
MRecentFloats m recent floats
swagger:model m_RecentFloats
type MRecentFloats struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m values
// Required: true
float32 `json:"m_Values"`
MValues [] }
### func (*MRecentFloats) ContextValidate
func (m *MRecentFloats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m recent floats based on the context it is used
### func (*MRecentFloats) MarshalBinary
func (m *MRecentFloats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MRecentFloats) UnmarshalBinary
func (m *MRecentFloats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MRecentFloats) Validate
func (m *MRecentFloats) Validate(formats strfmt.Registry) error
Validate validates this m recent floats
## type MRecentHSs
MRecentHSs m recent h ss
swagger:model m_RecentHSs
type MRecentHSs struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m values
// Required: true
float32 `json:"m_Values"`
MValues [] }
### func (*MRecentHSs) ContextValidate
func (m *MRecentHSs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m recent h ss based on the context it is used
### func (*MRecentHSs) MarshalBinary
func (m *MRecentHSs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MRecentHSs) UnmarshalBinary
func (m *MRecentHSs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MRecentHSs) Validate
func (m *MRecentHSs) Validate(formats strfmt.Registry) error
Validate validates this m recent h ss
## type MRecentIDs
MRecentIDs m recent i ds
swagger:model m_RecentIDs
type MRecentIDs struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m values
// Required: true
uint32 `json:"m_Values"`
MValues [] }
### func (*MRecentIDs) ContextValidate
func (m *MRecentIDs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m recent i ds based on the context it is used
### func (*MRecentIDs) MarshalBinary
func (m *MRecentIDs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MRecentIDs) UnmarshalBinary
func (m *MRecentIDs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MRecentIDs) Validate
func (m *MRecentIDs) Validate(formats strfmt.Registry) error
Validate validates this m recent i ds
## type MRecentOMs
MRecentOMs m recent o ms
swagger:model m_RecentOMs
type MRecentOMs struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m values
// Required: true
float32 `json:"m_Values"`
MValues [] }
### func (*MRecentOMs) ContextValidate
func (m *MRecentOMs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m recent o ms based on the context it is used
### func (*MRecentOMs) MarshalBinary
func (m *MRecentOMs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MRecentOMs) UnmarshalBinary
func (m *MRecentOMs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MRecentOMs) Validate
func (m *MRecentOMs) Validate(formats strfmt.Registry) error
Validate validates this m recent o ms
## type MRecentSamples
MRecentSamples m recent samples
swagger:model m_RecentSamples
type MRecentSamples struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m values
// Required: true
float32 `json:"m_Values"`
MValues [][] }
### func (*MRecentSamples) ContextValidate
func (m *MRecentSamples) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m recent samples based on the context it is used
### func (*MRecentSamples) MarshalBinary
func (m *MRecentSamples) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MRecentSamples) UnmarshalBinary
func (m *MRecentSamples) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MRecentSamples) Validate
func (m *MRecentSamples) Validate(formats strfmt.Registry) error
Validate validates this m recent samples
## type MRecentTimes
MRecentTimes m recent times
swagger:model m_RecentTimes
type MRecentTimes struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m values
// Required: true
uint64 `json:"m_Values"`
MValues [] }
### func (*MRecentTimes) ContextValidate
func (m *MRecentTimes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m recent times based on the context it is used
### func (*MRecentTimes) MarshalBinary
func (m *MRecentTimes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MRecentTimes) UnmarshalBinary
func (m *MRecentTimes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MRecentTimes) Validate
func (m *MRecentTimes) Validate(formats strfmt.Registry) error
Validate validates this m recent times
## type MStreamingParameters
MStreamingParameters m streaming parameters
swagger:model m_StreamingParameters
type MStreamingParameters struct {
// version number
`json:"VersionNumber,omitempty"`
VersionNumber VersionNumber
// m enable autotuning
bool `json:"m_EnableAutotuning,omitempty"`
MEnableAutotuning
// m graduate at max clusters
// Required: true
uint16 `json:"m_GraduateAtMaxClusters"`
MGraduateAtMaxClusters *
// m graduate at max samples
// Required: true
uint64 `json:"m_GraduateAtMaxSamples"`
MGraduateAtMaxSamples *
// m graduation at rate denominator
// Required: true
uint64 `json:"m_GraduationAtRateDenominator"`
MGraduationAtRateDenominator *
// m graduation at rate numerator
// Required: true
uint64 `json:"m_GraduationAtRateNumerator"`
MGraduationAtRateNumerator *
// m samples to buffer for autotuning
// Required: true
uint32 `json:"m_SamplesToBufferForAutotuning"`
MSamplesToBufferForAutotuning * }
### func (*MStreamingParameters) ContextValidate
func (m *MStreamingParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m streaming parameters based on the context it is used
### func (*MStreamingParameters) MarshalBinary
func (m *MStreamingParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MStreamingParameters) UnmarshalBinary
func (m *MStreamingParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MStreamingParameters) Validate
func (m *MStreamingParameters) Validate(formats strfmt.Registry) error
Validate validates this m streaming parameters
## type MTraining
MTraining m training
swagger:model m_Training
type MTraining struct {
// version number
`json:"VersionNumber"`
VersionNumber []VersionNumber
// m anomaly indexes
uint32 `json:"m_AnomalyIndexes"`
MAnomalyIndexes []
// m cluster growth
// Required: true
uint64 `json:"m_ClusterGrowth"`
MClusterGrowth []
// m geometric plot x
// Required: true
uint32 `json:"m_GeometricPlotX"`
MGeometricPlotX []
// m geometric plot y
// Required: true
float32 `json:"m_GeometricPlotY"`
MGeometricPlotY [] }
### func (*MTraining) ContextValidate
func (m *MTraining) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m training based on the context it is used
### func (*MTraining) MarshalBinary
func (m *MTraining) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*MTraining) UnmarshalBinary
func (m *MTraining) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*MTraining) Validate
func (m *MTraining) Validate(formats strfmt.Registry) error
Validate validates this m training
## type MagicNumber
MagicNumber magic number
swagger:model MagicNumber
type MagicNumber uint16
### func (MagicNumber) ContextValidate
func (m MagicNumber) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this magic number based on context it is used
### func (MagicNumber) Validate
func (m MagicNumber) Validate(formats strfmt.Registry) error
Validate validates this magic number
## type PCA
PCA array of pca values
swagger:model PCA
type PCA [][]float32
### func (PCA) ContextValidate
func (m PCA) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p c a based on context it is used
### func (PCA) Validate
func (m PCA) Validate(formats strfmt.Registry) error
Validate validates this p c a
## type PostAuth2Request
PostAuth2Request post auth2 request
swagger:model postAuth2Request
type PostAuth2Request struct {
// Password for authenticating
// Required: true
string `json:"password"`
Password *
// Username for authenticating
// Required: true
string `json:"username"`
Username * }
### func (*PostAuth2Request) ContextValidate
func (m *PostAuth2Request) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post auth2 request based on context it is used
### func (*PostAuth2Request) MarshalBinary
func (m *PostAuth2Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PostAuth2Request) UnmarshalBinary
func (m *PostAuth2Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostAuth2Request) Validate
func (m *PostAuth2Request) Validate(formats strfmt.Registry) error
Validate validates this post auth2 request
## type PostAuth2Response
PostAuth2Response post auth2 response
swagger:model postAuth2Response
type PostAuth2Response struct {
// Amount of time before token expires
// Required: true
string `json:"expiresIn"`
ExpiresIn *
// Identifier token to be used as Bearer token
// Required: true
string `json:"idToken"`
IDToken *
// Refresh token identifier
// Required: true
string `json:"refreshToken"`
RefreshToken *
// Type of authentication token
// Required: true
string `json:"tokenType"`
TokenType * }
### func (*PostAuth2Response) ContextValidate
func (m *PostAuth2Response) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post auth2 response based on context it is used
### func (*PostAuth2Response) MarshalBinary
func (m *PostAuth2Response) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PostAuth2Response) UnmarshalBinary
func (m *PostAuth2Response) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostAuth2Response) Validate
func (m *PostAuth2Response) Validate(formats strfmt.Registry) error
Validate validates this post auth2 response
## type PostConfigRequest
PostConfigRequest post config request
swagger:model postConfigRequest
type PostConfigRequest struct {
StreamingParameters
// number of features per sample
// Required: true
// Minimum: 1
uint16 `json:"featureCount"`
FeatureCount *
// features
`json:"features"`
Features []*FeatureConfig
// override autotuned percent variation with this value
float32 `json:"percentVariationOverride,omitempty"`
PercentVariationOverride *
// the number of samples to be applied before autotuning begins
uint32 `json:"samplesToBuffer,omitempty"`
SamplesToBuffer *
// streaming window size
// Required: true
// Maximum: 500
uint16 `json:"streamingWindowSize"`
StreamingWindowSize * }
### func (*PostConfigRequest) ContextValidate
func (m *PostConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post config request based on the context it is used
### func (*PostConfigRequest) MarshalBinary
func (m *PostConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (PostConfigRequest) MarshalJSON
func (m PostConfigRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
### func (*PostConfigRequest) UnmarshalBinary
func (m *PostConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostConfigRequest) UnmarshalJSON
func (m *PostConfigRequest) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
### func (*PostConfigRequest) Validate
func (m *PostConfigRequest) Validate(formats strfmt.Registry) error
Validate validates this post config request
## type PostConfigResponse
PostConfigResponse post config response
swagger:model postConfigResponse
type PostConfigResponse struct {
StreamingParameters
// number of features per sample
// Required: true
uint16 `json:"featureCount"`
FeatureCount *
// features
`json:"features"`
Features []*FeatureConfig
// override autotuned percent variation with this value
float32 `json:"percentVariationOverride,omitempty"`
PercentVariationOverride
// the number of samples to be applied before autotuning begins
// Required: true
uint32 `json:"samplesToBuffer"`
SamplesToBuffer *
// streaming window size
// Required: true
// Maximum: 500
uint16 `json:"streamingWindowSize"`
StreamingWindowSize * }
### func (*PostConfigResponse) ContextValidate
func (m *PostConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post config response based on the context it is used
### func (*PostConfigResponse) MarshalBinary
func (m *PostConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (PostConfigResponse) MarshalJSON
func (m PostConfigResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
### func (*PostConfigResponse) UnmarshalBinary
func (m *PostConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostConfigResponse) UnmarshalJSON
func (m *PostConfigResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
### func (*PostConfigResponse) Validate
func (m *PostConfigResponse) Validate(formats strfmt.Registry) error
Validate validates this post config response
## type PostOutageResponse
PostOutageResponse post outage response
swagger:model postOutageResponse
type PostOutageResponse struct {
StreamStatus }
### func (*PostOutageResponse) ContextValidate
func (m *PostOutageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post outage response based on the context it is used
### func (*PostOutageResponse) MarshalBinary
func (m *PostOutageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (PostOutageResponse) MarshalJSON
func (m PostOutageResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
### func (*PostOutageResponse) UnmarshalBinary
func (m *PostOutageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostOutageResponse) UnmarshalJSON
func (m *PostOutageResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
### func (*PostOutageResponse) Validate
func (m *PostOutageResponse) Validate(formats strfmt.Registry) error
Validate validates this post outage response
## type PostPretrainRequest
PostPretrainRequest post pretrain request
swagger:model postPretrainRequest
type PostPretrainRequest struct {
// autotune config
bool `json:"autotuneConfig,omitempty"`
AutotuneConfig *
// data
// Required: true
string `json:"data"`
Data *
// format of 'data' field, [csv | b64float]
string `json:"format,omitempty"`
Format * }
### func (*PostPretrainRequest) ContextValidate
func (m *PostPretrainRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post pretrain request based on context it is used
### func (*PostPretrainRequest) MarshalBinary
func (m *PostPretrainRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PostPretrainRequest) UnmarshalBinary
func (m *PostPretrainRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostPretrainRequest) Validate
func (m *PostPretrainRequest) Validate(formats strfmt.Registry) error
Validate validates this post pretrain request
## type PostPretrainResponse
PostPretrainResponse post pretrain response
swagger:model postPretrainResponse
type PostPretrainResponse struct {
// amber chunk
string `json:"amberChunk,omitempty"`
AmberChunk
// amber transaction
string `json:"amberTransaction,omitempty"`
AmberTransaction
// latest pretrain message
string `json:"message,omitempty"`
Message
// state of pretraining, one of: Chunking, Pretraining, Pretrained, Error
// Required: true
string `json:"state"`
State * }
### func (*PostPretrainResponse) ContextValidate
func (m *PostPretrainResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post pretrain response based on context it is used
### func (*PostPretrainResponse) MarshalBinary
func (m *PostPretrainResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PostPretrainResponse) UnmarshalBinary
func (m *PostPretrainResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostPretrainResponse) Validate
func (m *PostPretrainResponse) Validate(formats strfmt.Registry) error
Validate validates this post pretrain response
## type PostSensorRequest
PostSensorRequest post sensor request
swagger:model postSensorRequest
type PostSensorRequest struct {
// Additional label to be assigned for sensor
string `json:"label,omitempty"`
Label }
### func (*PostSensorRequest) ContextValidate
func (m *PostSensorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post sensor request based on context it is used
### func (*PostSensorRequest) MarshalBinary
func (m *PostSensorRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PostSensorRequest) UnmarshalBinary
func (m *PostSensorRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostSensorRequest) Validate
func (m *PostSensorRequest) Validate(formats strfmt.Registry) error
Validate validates this post sensor request
## type PostSensorResponse
PostSensorResponse post sensor response
swagger:model postSensorResponse
type PostSensorResponse struct {
// Additional label to be assigned for sensor
// Required: true
string `json:"label"`
Label *
// Unique identifier for sensor
// Required: true
string `json:"sensorId"`
SensorID * }
### func (*PostSensorResponse) ContextValidate
func (m *PostSensorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post sensor response based on context it is used
### func (*PostSensorResponse) MarshalBinary
func (m *PostSensorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PostSensorResponse) UnmarshalBinary
func (m *PostSensorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostSensorResponse) Validate
func (m *PostSensorResponse) Validate(formats strfmt.Registry) error
Validate validates this post sensor response
## type PostStreamRequest
PostStreamRequest post stream request
swagger:model postStreamRequest
type PostStreamRequest struct {
// data
// Required: true
string `json:"data"`
Data *
// save the sensor after calculation
bool `json:"saveImage,omitempty"`
SaveImage * }
### func (*PostStreamRequest) ContextValidate
func (m *PostStreamRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post stream request based on context it is used
### func (*PostStreamRequest) MarshalBinary
func (m *PostStreamRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PostStreamRequest) UnmarshalBinary
func (m *PostStreamRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostStreamRequest) Validate
func (m *PostStreamRequest) Validate(formats strfmt.Registry) error
Validate validates this post stream request
## type PostStreamResponse
PostStreamResponse post stream response
swagger:model postStreamResponse
type PostStreamResponse struct {
StreamStatus
// a d
// Required: true
`json:"AD"`
AD Uint16Array
// a h
// Required: true
`json:"AH"`
AH Uint16Array
// a m
// Required: true
`json:"AM"`
AM Float32Array
// a w
// Required: true
`json:"AW"`
AW Uint16Array
// ID
// Required: true
`json:"ID"`
ID Int32Array
// n i
// Required: true
`json:"NI"`
NI Uint16Array
// n s
// Required: true
`json:"NS"`
NS Uint16Array
// n w
// Required: true
`json:"NW"`
NW Float32Array
// o m
// Required: true
`json:"OM"`
OM Float32Array
// p i
// Required: true
`json:"PI"`
PI Uint16Array
// r i
// Required: true
`json:"RI"`
RI Uint16Array
// s i
// Required: true
`json:"SI"`
SI Uint16Array }
### func (*PostStreamResponse) ContextValidate
func (m *PostStreamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post stream response based on the context it is used
### func (*PostStreamResponse) MarshalBinary
func (m *PostStreamResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (PostStreamResponse) MarshalJSON
func (m PostStreamResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
### func (*PostStreamResponse) UnmarshalBinary
func (m *PostStreamResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PostStreamResponse) UnmarshalJSON
func (m *PostStreamResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
### func (*PostStreamResponse) Validate
func (m *PostStreamResponse) Validate(formats strfmt.Registry) error
Validate validates this post stream response
## type PutConfigRequest
PutConfigRequest put config request
swagger:model putConfigRequest
type PutConfigRequest struct {
// features
`json:"features"`
Features []*FusionConfig
// streaming
`json:"streaming,omitempty"`
Streaming *LearningParameters }
### func (*PutConfigRequest) ContextValidate
func (m *PutConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put config request based on the context it is used
### func (*PutConfigRequest) MarshalBinary
func (m *PutConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PutConfigRequest) UnmarshalBinary
func (m *PutConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PutConfigRequest) Validate
func (m *PutConfigRequest) Validate(formats strfmt.Registry) error
Validate validates this put config request
## type PutConfigResponse
PutConfigResponse put config response
swagger:model putConfigResponse
type PutConfigResponse struct {
// features
`json:"features"`
Features []*FusionConfig
// streaming
`json:"streaming,omitempty"`
Streaming *LearningParameters }
### func (*PutConfigResponse) ContextValidate
func (m *PutConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put config response based on the context it is used
### func (*PutConfigResponse) MarshalBinary
func (m *PutConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PutConfigResponse) UnmarshalBinary
func (m *PutConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PutConfigResponse) Validate
func (m *PutConfigResponse) Validate(formats strfmt.Registry) error
Validate validates this put config response
## type PutSensorRequest
PutSensorRequest put sensor request
swagger:model putSensorRequest
type PutSensorRequest struct {
// Label to be updated for sensor
// Required: true
string `json:"label"`
Label * }
### func (*PutSensorRequest) ContextValidate
func (m *PutSensorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this put sensor request based on context it is used
### func (*PutSensorRequest) MarshalBinary
func (m *PutSensorRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PutSensorRequest) UnmarshalBinary
func (m *PutSensorRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PutSensorRequest) Validate
func (m *PutSensorRequest) Validate(formats strfmt.Registry) error
Validate validates this put sensor request
## type PutSensorResponse
PutSensorResponse put sensor response
swagger:model putSensorResponse
type PutSensorResponse struct {
// Additional label to be assigned for sensor
// Required: true
string `json:"label"`
Label *
// Unique identifier for sensor
// Required: true
string `json:"sensorId"`
SensorID * }
### func (*PutSensorResponse) ContextValidate
func (m *PutSensorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this put sensor response based on context it is used
### func (*PutSensorResponse) MarshalBinary
func (m *PutSensorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PutSensorResponse) UnmarshalBinary
func (m *PutSensorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PutSensorResponse) Validate
func (m *PutSensorResponse) Validate(formats strfmt.Registry) error
Validate validates this put sensor response
## type PutStreamFeature
PutStreamFeature put stream feature
swagger:model putStreamFeature
type PutStreamFeature struct {
// label associated with feature
// Required: true
string `json:"label"`
Label *
// ISO-format timestamp for this data value
string `json:"ts,omitempty"`
Ts
// new value for this feature in sensor fusion vector
// Required: true
float32 `json:"value"`
Value * }
### func (*PutStreamFeature) ContextValidate
func (m *PutStreamFeature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this put stream feature based on context it is used
### func (*PutStreamFeature) MarshalBinary
func (m *PutStreamFeature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PutStreamFeature) UnmarshalBinary
func (m *PutStreamFeature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PutStreamFeature) Validate
func (m *PutStreamFeature) Validate(formats strfmt.Registry) error
Validate validates this put stream feature
## type PutStreamRequest
PutStreamRequest put stream request
swagger:model putStreamRequest
type PutStreamRequest struct {
// Policy for submitting sensor fusion vector on this request, overriding per-feature submit rules in fusion configuration. One of "default", "submit", "nosubmit" (defaults to "default"). Under "default" policy, the per-feature settings of "submit" or "nosubmit" are used to determine whether this update to the fusion vector triggers an inference.
// Enum: [default submit nosubmit]
string `json:"submitRule,omitempty"`
SubmitRule
// vector
// Required: true
`json:"vector"`
Vector []*PutStreamFeature }
### func (*PutStreamRequest) ContextValidate
func (m *PutStreamRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put stream request based on the context it is used
### func (*PutStreamRequest) MarshalBinary
func (m *PutStreamRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PutStreamRequest) UnmarshalBinary
func (m *PutStreamRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PutStreamRequest) Validate
func (m *PutStreamRequest) Validate(formats strfmt.Registry) error
Validate validates this put stream request
## type PutStreamResponse
PutStreamResponse put stream response
swagger:model putStreamResponse
type PutStreamResponse struct {
// streaming results when available
`json:"results,omitempty"`
Results *PostStreamResponse
// updated sensor fusion vector as a string of comma-separated values
// Required: true
string `json:"vector"`
Vector * }
### func (*PutStreamResponse) ContextValidate
func (m *PutStreamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put stream response based on the context it is used
### func (*PutStreamResponse) MarshalBinary
func (m *PutStreamResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*PutStreamResponse) UnmarshalBinary
func (m *PutStreamResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*PutStreamResponse) Validate
func (m *PutStreamResponse) Validate(formats strfmt.Registry) error
Validate validates this put stream response
## type SensorInstance
SensorInstance sensor instance
swagger:model sensorInstance
type SensorInstance struct {
// Additional label to be assigned for sensor
// Required: true
string `json:"label"`
Label *
// Unique identifier for sensor
// Required: true
string `json:"sensorId"`
SensorID * }
### func (*SensorInstance) ContextValidate
func (m *SensorInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sensor instance based on context it is used
### func (*SensorInstance) MarshalBinary
func (m *SensorInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*SensorInstance) UnmarshalBinary
func (m *SensorInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*SensorInstance) Validate
func (m *SensorInstance) Validate(formats strfmt.Registry) error
Validate validates this sensor instance
## type SensorUsageInfo
SensorUsageInfo sensor usage info
swagger:model sensorUsageInfo
type SensorUsageInfo struct {
// getAmberSummary endpoint usage info
// Required: true
`json:"getAmberSummary"`
GetAmberSummary *EndpointUsageInfo
// getConfig endpoint usage info
// Required: true
`json:"getConfig"`
GetConfig *EndpointUsageInfo
// getPretrain endpoint usage info
// Required: true
`json:"getPretrain"`
GetPretrain *EndpointUsageInfo
// getRootCause endpoint usage info
// Required: true
`json:"getRootCause"`
GetRootCause *EndpointUsageInfo
// getSensor endpoint usage info
// Required: true
`json:"getSensor"`
GetSensor *EndpointUsageInfo
// getStatus endpoint usage info
// Required: true
`json:"getStatus"`
GetStatus *EndpointUsageInfo
// postConfig endpoint usage info
// Required: true
`json:"postConfig"`
PostConfig *EndpointUsageInfo
// postOutage endpoint usage info
// Required: true
`json:"postOutage"`
PostOutage *EndpointUsageInfo
// postPretrain endpoint usage info
// Required: true
`json:"postPretrain"`
PostPretrain *EndpointUsageInfo
// postStream endpoint usage info
// Required: true
`json:"postStream"`
PostStream *StreamingEndpointUsageInfo
// putSensor endpoint usage info
// Required: true
`json:"putSensor"`
PutSensor *EndpointUsageInfo }
### func (*SensorUsageInfo) ContextValidate
func (m *SensorUsageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sensor usage info based on the context it is used
### func (*SensorUsageInfo) MarshalBinary
func (m *SensorUsageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*SensorUsageInfo) UnmarshalBinary
func (m *SensorUsageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*SensorUsageInfo) Validate
func (m *SensorUsageInfo) Validate(formats strfmt.Registry) error
Validate validates this sensor usage info
## type StreamStatus
StreamStatus stream status
swagger:model streamStatus
type StreamStatus struct {
// current cluster count (applies to Learning and Monitoring states)
// Required: true
uint32 `json:"clusterCount"`
ClusterCount *
// Unix time stamp of the last posted stream data
// Required: true
uint64 `json:"lastModified"`
LastModified *
// number of seconds since the last posted stream data
// Required: true
uint64 `json:"lastModifiedDelta"`
LastModifiedDelta *
// message to accompany the current state
// Required: true
string `json:"message"`
Message *
// completion percentage (applies to Buffering and Autotuning states)
// Required: true
uint16 `json:"progress"`
Progress *
// number of restarts that have happened during autotuning
// Required: true
uint16 `json:"retryCount"`
RetryCount *
// state of the sensor, states will be prefixed with a state variable followed by a colon followed by a message indicating progress. Possible state variables are: Not streaming, Buffering, Autotuning, Learning, Learning Complete, Monitoring, Streaming error, Autotuning error
// Required: true
string `json:"state"`
State *
// the current streaming window size that is being used
// Required: true
uint16 `json:"streamingWindowSize"`
StreamingWindowSize *
// inferences since the most recent restart
// Required: true
uint64 `json:"totalInferences"`
TotalInferences * }
### func (*StreamStatus) ContextValidate
func (m *StreamStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this stream status based on context it is used
### func (*StreamStatus) MarshalBinary
func (m *StreamStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*StreamStatus) UnmarshalBinary
func (m *StreamStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*StreamStatus) Validate
func (m *StreamStatus) Validate(formats strfmt.Registry) error
Validate validates this stream status
## type StreamingEndpointUsageInfo
StreamingEndpointUsageInfo streaming endpoint usage info
swagger:model streamingEndpointUsageInfo
type StreamingEndpointUsageInfo struct {
// number of calls to this endpoint during the current billing period
// Required: true
uint64 `json:"callsThisPeriod"`
CallsThisPeriod *
// total number of calls to this endpoint
// Required: true
uint64 `json:"callsTotal"`
CallsTotal *
// ISO formatted time of last call to this endpoint
// Required: true
string `json:"lastCalled"`
LastCalled *
// number of samples processed during the current billing period
// Required: true
uint64 `json:"samplesThisPeriod"`
SamplesThisPeriod *
// total number of samples processed
// Required: true
uint64 `json:"samplesTotal"`
SamplesTotal * }
### func (*StreamingEndpointUsageInfo) ContextValidate
func (m *StreamingEndpointUsageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this streaming endpoint usage info based on context it is used
### func (*StreamingEndpointUsageInfo) MarshalBinary
func (m *StreamingEndpointUsageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*StreamingEndpointUsageInfo) UnmarshalBinary
func (m *StreamingEndpointUsageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*StreamingEndpointUsageInfo) Validate
func (m *StreamingEndpointUsageInfo) Validate(formats strfmt.Registry) error
Validate validates this streaming endpoint usage info
## type StreamingParameters
StreamingParameters streaming parameters
swagger:model streamingParameters
type StreamingParameters struct {
// the number of samples to use when calculating AH
uint32 `json:"anomalyHistoryWindow,omitempty"`
AnomalyHistoryWindow *
// learning graduation requirement for stopping learning upon reaching this cluster count
uint16 `json:"learningMaxClusters,omitempty"`
LearningMaxClusters *
// learning graduation requirement for stopping learning after acquiring this many samples
uint64 `json:"learningMaxSamples,omitempty"`
LearningMaxSamples *
// enables graduation requirements for learning
uint64 `json:"learningRateDenominator,omitempty"`
LearningRateDenominator *
// enables graduation requirements for learning
uint64 `json:"learningRateNumerator,omitempty"`
LearningRateNumerator * }
### func (*StreamingParameters) ContextValidate
func (m *StreamingParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this streaming parameters based on context it is used
### func (*StreamingParameters) MarshalBinary
func (m *StreamingParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*StreamingParameters) UnmarshalBinary
func (m *StreamingParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*StreamingParameters) Validate
func (m *StreamingParameters) Validate(formats strfmt.Registry) error
Validate validates this streaming parameters
## type Uint16Array
Uint16Array uint16 array
swagger:model uint16Array
type Uint16Array []uint16
### func (Uint16Array) ContextValidate
func (m Uint16Array) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this uint16 array based on context it is used
### func (Uint16Array) Validate
func (m Uint16Array) Validate(formats strfmt.Registry) error
Validate validates this uint16 array
## type Uint32Array
Uint32Array uint32 array
swagger:model uint32Array
type Uint32Array []uint32
### func (Uint32Array) ContextValidate
func (m Uint32Array) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this uint32 array based on context it is used
### func (Uint32Array) Validate
func (m Uint32Array) Validate(formats strfmt.Registry) error
Validate validates this uint32 array
## type Uint64Array
Uint64Array uint64 array
swagger:model uint64Array
type Uint64Array []uint64
### func (Uint64Array) ContextValidate
func (m Uint64Array) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this uint64 array based on context it is used
### func (Uint64Array) Validate
func (m Uint64Array) Validate(formats strfmt.Registry) error
Validate validates this uint64 array
## type Version
Version version
swagger:model version
type Version struct {
// amber store
// Required: true
string `json:"amber-store"`
AmberStore *
// api version
// Required: true
string `json:"api-version"`
APIVersion *
// builder
// Required: true
string `json:"builder"`
Builder *
// expert api
// Required: true
string `json:"expert-api"`
ExpertAPI *
// expert common
// Required: true
string `json:"expert-common"`
ExpertCommon *
// mongolia
// Required: true
string `json:"mongolia"`
Mongolia *
// nano secure
// Required: true
string `json:"nano-secure"`
NanoSecure *
// release
// Required: true
string `json:"release"`
Release *
// swagger ui
// Required: true
string `json:"swagger-ui"`
SwaggerUI * }
### func (*Version) ContextValidate
func (m *Version) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this version based on context it is used
### func (*Version) MarshalBinary
func (m *Version) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
### func (*Version) UnmarshalBinary
func (m *Version) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
### func (*Version) Validate
func (m *Version) Validate(formats strfmt.Registry) error
Validate validates this version
## type VersionNumber
VersionNumber version number
swagger:model VersionNumber
type VersionNumber uint16
### func (VersionNumber) ContextValidate
func (m VersionNumber) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this version number based on context it is used
### func (VersionNumber) Validate
func (m VersionNumber) Validate(formats strfmt.Registry) error
Validate validates this version number
Generated by gomarkdoc