amber-go-sdk v1 User Guide

amber_client

import "github.com/boonlogic/amber-go-sdk"

Index

## 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 {
    Username    string `json:"username"`
    Password    string `json:"password"`
    Server      string `json:"server"`
    OauthServer string `json:"oauth-server"`
}

models

import "github.com/boonlogic/amber-go-sdk/v1/models"

Index

Constants

const (

    // FeatureConfigSubmitRuleSubmit captures enum value "submit"
    FeatureConfigSubmitRuleSubmit string = "submit"

    // FeatureConfigSubmitRuleNosubmit captures enum value "nosubmit"
    FeatureConfigSubmitRuleNosubmit string = "nosubmit"
)

const (

    // FusionConfigSubmitRuleSubmit captures enum value "submit"
    FusionConfigSubmitRuleSubmit string = "submit"

    // FusionConfigSubmitRuleNosubmit captures enum value "nosubmit"
    FusionConfigSubmitRuleNosubmit string = "nosubmit"
)

const (

    // PutStreamRequestSubmitRuleDefault captures enum value "default"
    PutStreamRequestSubmitRuleDefault string = "default"

    // PutStreamRequestSubmitRuleSubmit captures enum value "submit"
    PutStreamRequestSubmitRuleSubmit string = "submit"

    // PutStreamRequestSubmitRuleNosubmit captures enum value "nosubmit"
    PutStreamRequestSubmitRuleNosubmit string = "nosubmit"
)

## 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
    CallsThisPeriod *uint64 `json:"callsThisPeriod"`

    // total number of calls to this endpoint
    // Required: true
    CallsTotal *uint64 `json:"callsTotal"`

    // ISO formatted time of last call to this endpoint
    // Required: true
    LastCalled *string `json:"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
    Code uint16 `json:"code,omitempty"`

    // message
    Message string `json:"message,omitempty"`
}

### 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
    Label string `json:"label,omitempty"`

    // corresponding maximum value
    MaxVal float32 `json:"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
    MinVal float32 `json:"minVal"`

    // policy for submitting sensor fusion vector when this feature is updated. One of "submit", "nosubmit" (defaults to "submit")
    // Enum: [submit nosubmit]
    SubmitRule string `json:"submitRule,omitempty"`

    // corresponding weight
    Weight uint16 `json:"weight,omitempty"`
}

### 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
    Label *string `json:"label"`

    // policy for submitting sensor fusion vector when this feature is updated. One of "submit", "nosubmit" (defaults to "submit")
    // Enum: [submit nosubmit]
    SubmitRule string `json:"submitRule,omitempty"`
}

### 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
    FeatureCount *uint16 `json:"featureCount"`

    // features
    // Required: true
    Features []*FeatureConfig `json:"features"`

    // the percent variation (for instance, 0.025 gives 2.5% variation) used for clustering
    // Required: true
    PercentVariation *float32 `json:"percentVariation"`

    // override autotuned percent variation with this value
    PercentVariationOverride float32 `json:"percentVariationOverride,omitempty"`

    // the number of samples to be applied before autotuning begins
    // Required: true
    SamplesToBuffer *uint32 `json:"samplesToBuffer"`

    // streaming window size
    // Required: true
    // Maximum: 500
    StreamingWindowSize *uint16 `json:"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
    Message string `json:"message,omitempty"`

    // state of pretraining, one of: None, Chunking, Pretraining, Pretrained, Error
    // Required: true
    State *string `json:"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
    Label *string `json:"label"`

    // Unique identifier for sensor
    // Required: true
    SensorID *string `json:"sensorId"`

    // Sensor usage info
    // Required: true
    UsageInfo *SensorUsageInfo `json:"usageInfo"`
}

### 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
    AnomalyIndexes Uint16Array `json:"anomalyIndexes"`

    // anomaly threshold
    // Required: true
    AnomalyThreshold *uint16 `json:"anomalyThreshold"`

    // cluster growth
    // Required: true
    ClusterGrowth Uint64Array `json:"clusterGrowth"`

    // cluster sizes
    // Required: true
    ClusterSizes Uint64Array `json:"clusterSizes"`

    // distance indexes
    // Required: true
    DistanceIndexes Uint16Array `json:"distanceIndexes"`

    // frequency indexes
    // Required: true
    FrequencyIndexes Uint16Array `json:"frequencyIndexes"`

    // num clusters
    // Required: true
    NumClusters *uint64 `json:"numClusters"`

    // pca
    // Required: true
    Pca PCA `json:"pca"`

    // state of the sensor. Possible state variables are: Error, Buffering, Autotuning, Learning, Monitoring
    // Required: true
    State *string `json:"state"`

    // inferences since the most recent restart
    // Required: true
    TotalInferences *uint64 `json:"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
    MagicNumber MagicNumber `json:"MagicNumber,omitempty"`

    // version number
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m amber alert critical value
    // Required: true
    MAmberAlertCriticalValue *uint64 `json:"m_AmberAlertCriticalValue"`

    // m amber status
    // Required: true
    MAmberStatus *MAmberStatus `json:"m_AmberStatus"`

    // m amber warning critical value
    // Required: true
    MAmberWarningCriticalValue *uint64 `json:"m_AmberWarningCriticalValue"`

    // m anomaly metric by anomaly count
    MAnomalyMetricByAnomalyCount []float32 `json:"m_AnomalyMetricByAnomalyCount"`

    // m anomaly threshold
    // Required: true
    MAnomalyThreshold *uint16 `json:"m_AnomalyThreshold"`

    // m autotune
    // Required: true
    MAutotune *MAutotune `json:"m_Autotune"`

    // m autotuning elbow cluster counts
    // Required: true
    MAutotuningElbowClusterCounts []uint16 `json:"m_AutotuningElbowClusterCounts"`

    // m autotuning elbow p v array
    // Required: true
    MAutotuningElbowPVArray []float32 `json:"m_AutotuningElbowPVArray"`

    // m buffer stats
    MBufferStats *MBufferStats `json:"m_BufferStats,omitempty"`

    // m clustering parameters initialized
    MClusteringParametersInitialized bool `json:"m_ClusteringParametersInitialized,omitempty"`

    // m error string buffer
    MErrorStringBuffer string `json:"m_ErrorStringBuffer,omitempty"`

    // m modified at
    MModifiedAt uint64 `json:"m_ModifiedAt,omitempty"`

    // m nano
    // Required: true
    MNano *MNano `json:"m_Nano"`

    // m recent a ds
    // Required: true
    MRecentADs *MRecentAnalytics `json:"m_RecentADs"`

    // m recent a hs
    // Required: true
    MRecentAHs *MRecentAnalytics `json:"m_RecentAHs"`

    // m recent a ms
    MRecentAMs *MRecentAMs `json:"m_RecentAMs,omitempty"`

    // m recent a ws
    // Required: true
    MRecentAWs *MRecentAnalytics `json:"m_RecentAWs"`

    // m recent anomaly count
    MRecentAnomalyCount uint16 `json:"m_RecentAnomalyCount,omitempty"`

    // m recent h ss
    // Required: true
    MRecentHSs *MRecentHSs `json:"m_RecentHSs"`

    // m recent i ds
    MRecentIDs *MRecentIDs `json:"m_RecentIDs,omitempty"`

    // m recent n is
    // Required: true
    MRecentNIs *MRecentAnalytics `json:"m_RecentNIs"`

    // m recent n ss
    // Required: true
    MRecentNSs *MRecentAnalytics `json:"m_RecentNSs"`

    // m recent o ms
    // Required: true
    MRecentOMs *MRecentOMs `json:"m_RecentOMs"`

    // m recent p is
    // Required: true
    MRecentPIs *MRecentAnalytics `json:"m_RecentPIs"`

    // m recent r is
    // Required: true
    MRecentRIs *MRecentAnalytics `json:"m_RecentRIs"`

    // m recent raw samples
    // Required: true
    MRecentRawSamples *MRecentSamples `json:"m_RecentRawSamples"`

    // m recent s is
    // Required: true
    MRecentSIs *MRecentAnalytics `json:"m_RecentSIs"`

    // m recent samples
    // Required: true
    MRecentSamples *MRecentSamples `json:"m_RecentSamples"`

    // m recent times
    // Required: true
    MRecentTimes *MRecentTimes `json:"m_RecentTimes"`

    // m results ID array
    MResultsIDArray []uint32 `json:"m_ResultsIDArray"`

    // m streaming mode
    MStreamingMode bool `json:"m_StreamingMode,omitempty"`

    // m streaming mode status
    MStreamingModeStatus uint16 `json:"m_StreamingModeStatus,omitempty"`

    // m streaming parameters
    // Required: true
    MStreamingParameters *MStreamingParameters `json:"m_StreamingParameters"`

    // m training
    // Required: true
    MTraining *MTraining `json:"m_Training"`

    // m training samples
    MTrainingSamples *MRecentSamples `json:"m_TrainingSamples,omitempty"`
}

### 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
    LearningMaxClusters *uint16 `json:"learningMaxClusters,omitempty"`

    // learning graduation requirement for stopping learning after acquiring this many samples
    LearningMaxSamples *uint64 `json:"learningMaxSamples,omitempty"`

    // enables graduation requirements for learning
    LearningRateDenominator *uint64 `json:"learningRateDenominator,omitempty"`

    // enables graduation requirements for learning
    LearningRateNumerator *uint64 `json:"learningRateNumerator,omitempty"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m autotune by features
    // Required: true
    MAutotuneByFeatures *bool `json:"m_AutotuneByFeatures"`

    // m autotune p v
    // Required: true
    MAutotunePV *bool `json:"m_AutotunePV"`

    // m autotune range
    // Required: true
    MAutotuneRange *bool `json:"m_AutotuneRange"`

    // m features to tune array
    MFeaturesToTuneArray []uint16 `json:"m_FeaturesToTuneArray"`

    // m max clusters
    MMaxClusters uint16 `json:"m_MaxClusters,omitempty"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m current cluster count
    // Required: true
    MCurrentClusterCount *uint32 `json:"m_CurrentClusterCount"`

    // m message
    MMessage string `json:"m_Message,omitempty"`

    // m progress
    MProgress uint16 `json:"m_Progress,omitempty"`

    // m retry count
    // Required: true
    MRetryCount *uint16 `json:"m_RetryCount"`

    // m status
    // Required: true
    MStatus *string `json:"m_Status"`

    // m streaming window size
    // Required: true
    MStreamingWindowSize *uint16 `json:"m_StreamingWindowSize"`

    // m total inferences
    // Required: true
    MTotalInferences *uint64 `json:"m_TotalInferences"`

    // m total samples written
    MTotalSamplesWritten uint64 `json:"m_TotalSamplesWritten,omitempty"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m a p
    // Required: true
    MAP *MAP `json:"m_AP"`

    // m autotuning in progress
    MAutotuningInProgress bool `json:"m_AutotuningInProgress,omitempty"`

    // m autotuning succeeded
    MAutotuningSucceeded bool `json:"m_AutotuningSucceeded,omitempty"`

    // m error string buffer
    MErrorStringBuffer string `json:"m_ErrorStringBuffer,omitempty"`

    // m features to tune array
    MFeaturesToTuneArray []bool `json:"m_FeaturesToTuneArray"`

    // m n c p
    MNCP *MNCP `json:"m_NCP,omitempty"`

    // m num patterns to autotune
    MNumPatternsToAutotune uint64 `json:"m_NumPatternsToAutotune,omitempty"`

    // m percent complete
    MPercentComplete float64 `json:"m_PercentComplete,omitempty"`
}

### 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
    LoadBufferCapacity uint64 `json:"LoadBufferCapacity,omitempty"`

    // load buffer length
    LoadBufferLength uint64 `json:"LoadBufferLength,omitempty"`

    // total bytes processed
    TotalBytesProcessed uint64 `json:"TotalBytesProcessed,omitempty"`

    // total bytes written
    TotalBytesWritten uint64 `json:"TotalBytesWritten,omitempty"`

    // version number
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`
}

### 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
    NumOfFeatures uint16 `json:"NumOfFeatures,omitempty"`

    // version number
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m numeric format
    MNumericFormat uint16 `json:"m_NumericFormat,omitempty"`

    // m percent variation
    MPercentVariation float32 `json:"m_PercentVariation,omitempty"`

    // m streaming window size
    MStreamingWindowSize uint16 `json:"m_StreamingWindowSize,omitempty"`
}

### 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
    BackendVersion uint16 `json:"BackendVersion,omitempty"`

    // magic number
    MagicNumber MagicNumber `json:"MagicNumber,omitempty"`

    // version number
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m error msg
    MErrorMsg string `json:"m_ErrorMsg,omitempty"`

    // m nano backend
    MNanoBackend *MNanoBackend `json:"m_NanoBackend,omitempty"`

    // m nano config
    // Required: true
    MNanoConfig *MNanoConfig `json:"m_NanoConfig"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m init complete
    MInitComplete bool `json:"m_InitComplete,omitempty"`

    // m learning is on
    MLearningIsOn bool `json:"m_LearningIsOn,omitempty"`

    // m num of patterns clustered
    MNumOfPatternsClustered uint64 `json:"m_NumOfPatternsClustered,omitempty"`

    // m pattern length
    MPatternLength uint16 `json:"m_PatternLength,omitempty"`

    // m pattern memory
    MPatternMemory *MPatternMemory `json:"m_PatternMemory,omitempty"`
}

### 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
    Features []*FeatureConfig `json:"Features"`

    // num of features
    // Required: true
    NumOfFeatures *uint16 `json:"NumOfFeatures"`

    // version number
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m numeric format
    MNumericFormat uint16 `json:"m_NumericFormat,omitempty"`

    // the percent variation (for instance, 0.025 gives 2.5% variation) used for clustering
    // Required: true
    MPercentVariation *float32 `json:"m_PercentVariation"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m values
    // Required: true
    MValues []float32 `json:"m_Values"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m values
    // Required: true
    MValues []uint16 `json:"m_Values"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m values
    // Required: true
    MValues []float32 `json:"m_Values"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m values
    // Required: true
    MValues []float32 `json:"m_Values"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m values
    // Required: true
    MValues []uint32 `json:"m_Values"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m values
    // Required: true
    MValues []float32 `json:"m_Values"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m values
    // Required: true
    MValues [][]float32 `json:"m_Values"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m values
    // Required: true
    MValues []uint64 `json:"m_Values"`
}

### 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
    VersionNumber VersionNumber `json:"VersionNumber,omitempty"`

    // m enable autotuning
    MEnableAutotuning bool `json:"m_EnableAutotuning,omitempty"`

    // m graduate at max clusters
    // Required: true
    MGraduateAtMaxClusters *uint16 `json:"m_GraduateAtMaxClusters"`

    // m graduate at max samples
    // Required: true
    MGraduateAtMaxSamples *uint64 `json:"m_GraduateAtMaxSamples"`

    // m graduation at rate denominator
    // Required: true
    MGraduationAtRateDenominator *uint64 `json:"m_GraduationAtRateDenominator"`

    // m graduation at rate numerator
    // Required: true
    MGraduationAtRateNumerator *uint64 `json:"m_GraduationAtRateNumerator"`

    // m samples to buffer for autotuning
    // Required: true
    MSamplesToBufferForAutotuning *uint32 `json:"m_SamplesToBufferForAutotuning"`
}

### 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
    VersionNumber []VersionNumber `json:"VersionNumber"`

    // m anomaly indexes
    MAnomalyIndexes []uint32 `json:"m_AnomalyIndexes"`

    // m cluster growth
    // Required: true
    MClusterGrowth []uint64 `json:"m_ClusterGrowth"`

    // m geometric plot x
    // Required: true
    MGeometricPlotX []uint32 `json:"m_GeometricPlotX"`

    // m geometric plot y
    // Required: true
    MGeometricPlotY []float32 `json:"m_GeometricPlotY"`
}

### 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
    Password *string `json:"password"`

    // Username for authenticating
    // Required: true
    Username *string `json:"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
    ExpiresIn *string `json:"expiresIn"`

    // Identifier token to be used as Bearer token
    // Required: true
    IDToken *string `json:"idToken"`

    // Refresh token identifier
    // Required: true
    RefreshToken *string `json:"refreshToken"`

    // Type of authentication token
    // Required: true
    TokenType *string `json:"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
    FeatureCount *uint16 `json:"featureCount"`

    // features
    Features []*FeatureConfig `json:"features"`

    // override autotuned percent variation with this value
    PercentVariationOverride *float32 `json:"percentVariationOverride,omitempty"`

    // the number of samples to be applied before autotuning begins
    SamplesToBuffer *uint32 `json:"samplesToBuffer,omitempty"`

    // streaming window size
    // Required: true
    // Maximum: 500
    StreamingWindowSize *uint16 `json:"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
    FeatureCount *uint16 `json:"featureCount"`

    // features
    Features []*FeatureConfig `json:"features"`

    // override autotuned percent variation with this value
    PercentVariationOverride float32 `json:"percentVariationOverride,omitempty"`

    // the number of samples to be applied before autotuning begins
    // Required: true
    SamplesToBuffer *uint32 `json:"samplesToBuffer"`

    // streaming window size
    // Required: true
    // Maximum: 500
    StreamingWindowSize *uint16 `json:"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
    AutotuneConfig *bool `json:"autotuneConfig,omitempty"`

    // data
    // Required: true
    Data *string `json:"data"`

    // format of 'data' field, [csv | b64float]
    Format *string `json:"format,omitempty"`
}

### 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
    AmberChunk string `json:"amberChunk,omitempty"`

    // amber transaction
    AmberTransaction string `json:"amberTransaction,omitempty"`

    // latest pretrain message
    Message string `json:"message,omitempty"`

    // state of pretraining, one of: Chunking, Pretraining, Pretrained, Error
    // Required: true
    State *string `json:"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
    Label string `json:"label,omitempty"`
}

### 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
    Label *string `json:"label"`

    // Unique identifier for sensor
    // Required: true
    SensorID *string `json:"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
    Data *string `json:"data"`

    // save the sensor after calculation
    SaveImage *bool `json:"saveImage,omitempty"`
}

### 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
    AD  Uint16Array `json:"AD"`

    // a h
    // Required: true
    AH  Uint16Array `json:"AH"`

    // a m
    // Required: true
    AM  Float32Array `json:"AM"`

    // a w
    // Required: true
    AW  Uint16Array `json:"AW"`

    // ID
    // Required: true
    ID  Int32Array `json:"ID"`

    // n i
    // Required: true
    NI  Uint16Array `json:"NI"`

    // n s
    // Required: true
    NS  Uint16Array `json:"NS"`

    // n w
    // Required: true
    NW  Float32Array `json:"NW"`

    // o m
    // Required: true
    OM  Float32Array `json:"OM"`

    // p i
    // Required: true
    PI  Uint16Array `json:"PI"`

    // r i
    // Required: true
    RI  Uint16Array `json:"RI"`

    // s i
    // Required: true
    SI  Uint16Array `json:"SI"`
}

### 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
    Features []*FusionConfig `json:"features"`

    // streaming
    Streaming *LearningParameters `json:"streaming,omitempty"`
}

### 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
    Features []*FusionConfig `json:"features"`

    // streaming
    Streaming *LearningParameters `json:"streaming,omitempty"`
}

### 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
    Label *string `json:"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
    Label *string `json:"label"`

    // Unique identifier for sensor
    // Required: true
    SensorID *string `json:"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
    Label *string `json:"label"`

    // ISO-format timestamp for this data value
    Ts  string `json:"ts,omitempty"`

    // new value for this feature in sensor fusion vector
    // Required: true
    Value *float32 `json:"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]
    SubmitRule string `json:"submitRule,omitempty"`

    // vector
    // Required: true
    Vector []*PutStreamFeature `json:"vector"`
}

### 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
    Results *PostStreamResponse `json:"results,omitempty"`

    // updated sensor fusion vector as a string of comma-separated values
    // Required: true
    Vector *string `json:"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
    Label *string `json:"label"`

    // Unique identifier for sensor
    // Required: true
    SensorID *string `json:"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
    GetAmberSummary *EndpointUsageInfo `json:"getAmberSummary"`

    // getConfig endpoint usage info
    // Required: true
    GetConfig *EndpointUsageInfo `json:"getConfig"`

    // getPretrain endpoint usage info
    // Required: true
    GetPretrain *EndpointUsageInfo `json:"getPretrain"`

    // getRootCause endpoint usage info
    // Required: true
    GetRootCause *EndpointUsageInfo `json:"getRootCause"`

    // getSensor endpoint usage info
    // Required: true
    GetSensor *EndpointUsageInfo `json:"getSensor"`

    // getStatus endpoint usage info
    // Required: true
    GetStatus *EndpointUsageInfo `json:"getStatus"`

    // postConfig endpoint usage info
    // Required: true
    PostConfig *EndpointUsageInfo `json:"postConfig"`

    // postOutage endpoint usage info
    // Required: true
    PostOutage *EndpointUsageInfo `json:"postOutage"`

    // postPretrain endpoint usage info
    // Required: true
    PostPretrain *EndpointUsageInfo `json:"postPretrain"`

    // postStream endpoint usage info
    // Required: true
    PostStream *StreamingEndpointUsageInfo `json:"postStream"`

    // putSensor endpoint usage info
    // Required: true
    PutSensor *EndpointUsageInfo `json:"putSensor"`
}

### 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
    ClusterCount *uint32 `json:"clusterCount"`

    // Unix time stamp of the last posted stream data
    // Required: true
    LastModified *uint64 `json:"lastModified"`

    // number of seconds since the last posted stream data
    // Required: true
    LastModifiedDelta *uint64 `json:"lastModifiedDelta"`

    // message to accompany the current state
    // Required: true
    Message *string `json:"message"`

    // completion percentage (applies to Buffering and Autotuning states)
    // Required: true
    Progress *uint16 `json:"progress"`

    // number of restarts that have happened during autotuning
    // Required: true
    RetryCount *uint16 `json:"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
    State *string `json:"state"`

    // the current streaming window size that is being used
    // Required: true
    StreamingWindowSize *uint16 `json:"streamingWindowSize"`

    // inferences since the most recent restart
    // Required: true
    TotalInferences *uint64 `json:"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
    CallsThisPeriod *uint64 `json:"callsThisPeriod"`

    // total number of calls to this endpoint
    // Required: true
    CallsTotal *uint64 `json:"callsTotal"`

    // ISO formatted time of last call to this endpoint
    // Required: true
    LastCalled *string `json:"lastCalled"`

    // number of samples processed during the current billing period
    // Required: true
    SamplesThisPeriod *uint64 `json:"samplesThisPeriod"`

    // total number of samples processed
    // Required: true
    SamplesTotal *uint64 `json:"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
    AnomalyHistoryWindow *uint32 `json:"anomalyHistoryWindow,omitempty"`

    // learning graduation requirement for stopping learning upon reaching this cluster count
    LearningMaxClusters *uint16 `json:"learningMaxClusters,omitempty"`

    // learning graduation requirement for stopping learning after acquiring this many samples
    LearningMaxSamples *uint64 `json:"learningMaxSamples,omitempty"`

    // enables graduation requirements for learning
    LearningRateDenominator *uint64 `json:"learningRateDenominator,omitempty"`

    // enables graduation requirements for learning
    LearningRateNumerator *uint64 `json:"learningRateNumerator,omitempty"`
}

### 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
    AmberStore *string `json:"amber-store"`

    // api version
    // Required: true
    APIVersion *string `json:"api-version"`

    // builder
    // Required: true
    Builder *string `json:"builder"`

    // expert api
    // Required: true
    ExpertAPI *string `json:"expert-api"`

    // expert common
    // Required: true
    ExpertCommon *string `json:"expert-common"`

    // mongolia
    // Required: true
    Mongolia *string `json:"mongolia"`

    // nano secure
    // Required: true
    NanoSecure *string `json:"nano-secure"`

    // release
    // Required: true
    Release *string `json:"release"`

    // swagger ui
    // Required: true
    SwaggerUI *string `json:"swagger-ui"`
}

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