Documentation ¶
Index ¶
- Constants
- type ModelsBandAlarm
- type ModelsBandAlarmFrequency
- func (m *ModelsBandAlarmFrequency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsBandAlarmFrequency) MarshalBinary() ([]byte, error)
- func (m *ModelsBandAlarmFrequency) UnmarshalBinary(b []byte) error
- func (m *ModelsBandAlarmFrequency) Validate(formats strfmt.Registry) error
- type ModelsBandAlarmOverallThreshold
- func (m *ModelsBandAlarmOverallThreshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsBandAlarmOverallThreshold) MarshalBinary() ([]byte, error)
- func (m *ModelsBandAlarmOverallThreshold) UnmarshalBinary(b []byte) error
- func (m *ModelsBandAlarmOverallThreshold) Validate(formats strfmt.Registry) error
- type ModelsBandAlarmThreshold
- func (m *ModelsBandAlarmThreshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsBandAlarmThreshold) MarshalBinary() ([]byte, error)
- func (m *ModelsBandAlarmThreshold) UnmarshalBinary(b []byte) error
- func (m *ModelsBandAlarmThreshold) Validate(formats strfmt.Registry) error
- type ModelsBandCalculatedOverall
- func (m *ModelsBandCalculatedOverall) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsBandCalculatedOverall) MarshalBinary() ([]byte, error)
- func (m *ModelsBandCalculatedOverall) UnmarshalBinary(b []byte) error
- func (m *ModelsBandCalculatedOverall) Validate(formats strfmt.Registry) error
- type ModelsBearing
- type ModelsCoordinate
- type ModelsDataPoint
- type ModelsGetAlarmStatusResponse
- func (m *ModelsGetAlarmStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsGetAlarmStatusResponse) MarshalBinary() ([]byte, error)
- func (m *ModelsGetAlarmStatusResponse) UnmarshalBinary(b []byte) error
- func (m *ModelsGetAlarmStatusResponse) Validate(formats strfmt.Registry) error
- type ModelsGetAlarmStatusResponseBandAlarm
- func (m *ModelsGetAlarmStatusResponseBandAlarm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsGetAlarmStatusResponseBandAlarm) MarshalBinary() ([]byte, error)
- func (m *ModelsGetAlarmStatusResponseBandAlarm) UnmarshalBinary(b []byte) error
- func (m *ModelsGetAlarmStatusResponseBandAlarm) Validate(formats strfmt.Registry) error
- type ModelsGetAlarmStatusResponseExternal
- func (m *ModelsGetAlarmStatusResponseExternal) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsGetAlarmStatusResponseExternal) MarshalBinary() ([]byte, error)
- func (m *ModelsGetAlarmStatusResponseExternal) UnmarshalBinary(b []byte) error
- func (m *ModelsGetAlarmStatusResponseExternal) Validate(formats strfmt.Registry) error
- type ModelsGetAlarmStatusResponseFrequency
- func (m *ModelsGetAlarmStatusResponseFrequency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsGetAlarmStatusResponseFrequency) MarshalBinary() ([]byte, error)
- func (m *ModelsGetAlarmStatusResponseFrequency) UnmarshalBinary(b []byte) error
- func (m *ModelsGetAlarmStatusResponseFrequency) Validate(formats strfmt.Registry) error
- type ModelsGetAlarmStatusResponseGeneric
- func (m *ModelsGetAlarmStatusResponseGeneric) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsGetAlarmStatusResponseGeneric) MarshalBinary() ([]byte, error)
- func (m *ModelsGetAlarmStatusResponseGeneric) UnmarshalBinary(b []byte) error
- func (m *ModelsGetAlarmStatusResponseGeneric) Validate(formats strfmt.Registry) error
- type ModelsGetAlarmStatusResponseHALAlarm
- func (m *ModelsGetAlarmStatusResponseHALAlarm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsGetAlarmStatusResponseHALAlarm) MarshalBinary() ([]byte, error)
- func (m *ModelsGetAlarmStatusResponseHALAlarm) UnmarshalBinary(b []byte) error
- func (m *ModelsGetAlarmStatusResponseHALAlarm) Validate(formats strfmt.Registry) error
- type ModelsGetPointAlarmThresholdResponse
- func (m *ModelsGetPointAlarmThresholdResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsGetPointAlarmThresholdResponse) MarshalBinary() ([]byte, error)
- func (m *ModelsGetPointAlarmThresholdResponse) UnmarshalBinary(b []byte) error
- func (m *ModelsGetPointAlarmThresholdResponse) Validate(formats strfmt.Registry) error
- type ModelsHALAlarm
- type ModelsInspection
- type ModelsInspectionChoice
- func (m *ModelsInspectionChoice) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsInspectionChoice) MarshalBinary() ([]byte, error)
- func (m *ModelsInspectionChoice) UnmarshalBinary(b []byte) error
- func (m *ModelsInspectionChoice) Validate(formats strfmt.Registry) error
- type ModelsOperation
- type ModelsOrigin
- type ModelsOverall
- type ModelsRateOfChange
- type ModelsSetExternalAlarmStatusRequest
- func (m *ModelsSetExternalAlarmStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsSetExternalAlarmStatusRequest) MarshalBinary() ([]byte, error)
- func (m *ModelsSetExternalAlarmStatusRequest) UnmarshalBinary(b []byte) error
- func (m *ModelsSetExternalAlarmStatusRequest) Validate(formats strfmt.Registry) error
- type ModelsSetPointAlarmThresholdRequest
- func (m *ModelsSetPointAlarmThresholdRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsSetPointAlarmThresholdRequest) MarshalBinary() ([]byte, error)
- func (m *ModelsSetPointAlarmThresholdRequest) UnmarshalBinary(b []byte) error
- func (m *ModelsSetPointAlarmThresholdRequest) Validate(formats strfmt.Registry) error
- type ModelsSpectrum
- type ModelsUpdateAlarmStatusRequest
- func (m *ModelsUpdateAlarmStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsUpdateAlarmStatusRequest) MarshalBinary() ([]byte, error)
- func (m *ModelsUpdateAlarmStatusRequest) UnmarshalBinary(b []byte) error
- func (m *ModelsUpdateAlarmStatusRequest) Validate(formats strfmt.Registry) error
- type ProblemsBasicProblem
- type ProblemsInternalProblem
- func (m *ProblemsInternalProblem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProblemsInternalProblem) MarshalBinary() ([]byte, error)
- func (m *ProblemsInternalProblem) UnmarshalBinary(b []byte) error
- func (m *ProblemsInternalProblem) Validate(formats strfmt.Registry) error
- type ProblemsRouteNotFoundProblem
- func (m *ProblemsRouteNotFoundProblem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProblemsRouteNotFoundProblem) MarshalBinary() ([]byte, error)
- func (m *ProblemsRouteNotFoundProblem) UnmarshalBinary(b []byte) error
- func (m *ProblemsRouteNotFoundProblem) Validate(formats strfmt.Registry) error
- type ProblemsValidationProblem
- func (m *ProblemsValidationProblem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProblemsValidationProblem) MarshalBinary() ([]byte, error)
- func (m *ProblemsValidationProblem) UnmarshalBinary(b []byte) error
- func (m *ProblemsValidationProblem) Validate(formats strfmt.Registry) error
- type ProblemsValidationReason
- func (m *ProblemsValidationReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProblemsValidationReason) MarshalBinary() ([]byte, error)
- func (m *ProblemsValidationReason) UnmarshalBinary(b []byte) error
- func (m *ProblemsValidationReason) Validate(formats strfmt.Registry) error
Constants ¶
const ( // ModelsHALAlarmHalAlarmTypeGLOBAL captures enum value "GLOBAL" ModelsHALAlarmHalAlarmTypeGLOBAL string = "GLOBAL" // ModelsHALAlarmHalAlarmTypeFREQUENCY captures enum value "FREQUENCY" ModelsHALAlarmHalAlarmTypeFREQUENCY string = "FREQUENCY" )
const ( // ModelsOperationOpAdd captures enum value "add" ModelsOperationOpAdd string = "add" // ModelsOperationOpRemove captures enum value "remove" ModelsOperationOpRemove string = "remove" // ModelsOperationOpReplace captures enum value "replace" ModelsOperationOpReplace string = "replace" // ModelsOperationOpMove captures enum value "move" ModelsOperationOpMove string = "move" // ModelsOperationOpCopy captures enum value "copy" ModelsOperationOpCopy string = "copy" // ModelsOperationOpTest captures enum value "test" ModelsOperationOpTest string = "test" )
const ( // ModelsUpdateAlarmStatusRequestContentTypeDATAPOINT captures enum value "DATA_POINT" ModelsUpdateAlarmStatusRequestContentTypeDATAPOINT string = "DATA_POINT" // ModelsUpdateAlarmStatusRequestContentTypeSPECTRUM captures enum value "SPECTRUM" ModelsUpdateAlarmStatusRequestContentTypeSPECTRUM string = "SPECTRUM" // ModelsUpdateAlarmStatusRequestContentTypeQUESTIONANSWERS captures enum value "QUESTION_ANSWERS" ModelsUpdateAlarmStatusRequestContentTypeQUESTIONANSWERS string = "QUESTION_ANSWERS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelsBandAlarm ¶
type ModelsBandAlarm struct { // label // Example: 10x RPM Label string `json:"label,omitempty"` // max frequency MaxFrequency *ModelsBandAlarmFrequency `json:"maxFrequency,omitempty"` // min frequency MinFrequency *ModelsBandAlarmFrequency `json:"minFrequency,omitempty"` // overall threshold OverallThreshold *ModelsBandAlarmOverallThreshold `json:"overallThreshold,omitempty"` }
ModelsBandAlarm models band alarm
swagger:model models.BandAlarm
func (*ModelsBandAlarm) ContextValidate ¶
ContextValidate validate this models band alarm based on the context it is used
func (*ModelsBandAlarm) MarshalBinary ¶
func (m *ModelsBandAlarm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBandAlarm) UnmarshalBinary ¶
func (m *ModelsBandAlarm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBandAlarmFrequency ¶
type ModelsBandAlarmFrequency struct { // value // Example: 100 // Required: true Value *float64 `json:"value"` // The type values are available [here](/v1/docs/service#band-alarm-frequency-value-type). // Example: 1 // Required: true // Maximum: 2 // Minimum: 1 ValueType *int32 `json:"valueType"` }
ModelsBandAlarmFrequency models band alarm frequency
swagger:model models.BandAlarmFrequency
func (*ModelsBandAlarmFrequency) ContextValidate ¶
func (m *ModelsBandAlarmFrequency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models band alarm frequency based on context it is used
func (*ModelsBandAlarmFrequency) MarshalBinary ¶
func (m *ModelsBandAlarmFrequency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBandAlarmFrequency) UnmarshalBinary ¶
func (m *ModelsBandAlarmFrequency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBandAlarmOverallThreshold ¶
type ModelsBandAlarmOverallThreshold struct { // unit Unit string `json:"unit,omitempty"` // upper alert UpperAlert *ModelsBandAlarmThreshold `json:"upperAlert,omitempty"` // upper danger UpperDanger *ModelsBandAlarmThreshold `json:"upperDanger,omitempty"` }
ModelsBandAlarmOverallThreshold models band alarm overall threshold
swagger:model models.BandAlarmOverallThreshold
func (*ModelsBandAlarmOverallThreshold) ContextValidate ¶
func (m *ModelsBandAlarmOverallThreshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models band alarm overall threshold based on the context it is used
func (*ModelsBandAlarmOverallThreshold) MarshalBinary ¶
func (m *ModelsBandAlarmOverallThreshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBandAlarmOverallThreshold) UnmarshalBinary ¶
func (m *ModelsBandAlarmOverallThreshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBandAlarmThreshold ¶
type ModelsBandAlarmThreshold struct { // value // Example: 3.14 // Required: true Value *float64 `json:"value"` // The type values are available [here](/v1/docs/service#band-alarm-threshold-value-type). // Example: 1 // Required: true // Maximum: 3 // Minimum: 1 ValueType *int32 `json:"valueType"` }
ModelsBandAlarmThreshold models band alarm threshold
swagger:model models.BandAlarmThreshold
func (*ModelsBandAlarmThreshold) ContextValidate ¶
func (m *ModelsBandAlarmThreshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models band alarm threshold based on context it is used
func (*ModelsBandAlarmThreshold) MarshalBinary ¶
func (m *ModelsBandAlarmThreshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBandAlarmThreshold) UnmarshalBinary ¶
func (m *ModelsBandAlarmThreshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBandCalculatedOverall ¶
type ModelsBandCalculatedOverall struct { // unit // Example: gE Unit string `json:"unit,omitempty"` // value // Example: 3.14 // Required: true Value *float64 `json:"value"` }
ModelsBandCalculatedOverall models band calculated overall
swagger:model models.BandCalculatedOverall
func (*ModelsBandCalculatedOverall) ContextValidate ¶
func (m *ModelsBandCalculatedOverall) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models band calculated overall based on context it is used
func (*ModelsBandCalculatedOverall) MarshalBinary ¶
func (m *ModelsBandCalculatedOverall) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBandCalculatedOverall) UnmarshalBinary ¶
func (m *ModelsBandCalculatedOverall) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBearing ¶
type ModelsBearing struct { // manufacturer // Example: SKF // Required: true Manufacturer *string `json:"manufacturer"` // model number // Example: 2222 // Required: true ModelNumber *string `json:"modelNumber"` }
ModelsBearing models bearing
swagger:model models.Bearing
func (*ModelsBearing) ContextValidate ¶
ContextValidate validates this models bearing based on context it is used
func (*ModelsBearing) MarshalBinary ¶
func (m *ModelsBearing) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBearing) UnmarshalBinary ¶
func (m *ModelsBearing) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCoordinate ¶
type ModelsCoordinate struct { // x // Example: 1615280620000 // Required: true X *float64 `json:"x"` // y // Example: 3.14159 // Required: true Y *float64 `json:"y"` }
ModelsCoordinate models coordinate
swagger:model models.Coordinate
func (*ModelsCoordinate) ContextValidate ¶
ContextValidate validates this models coordinate based on context it is used
func (*ModelsCoordinate) MarshalBinary ¶
func (m *ModelsCoordinate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCoordinate) UnmarshalBinary ¶
func (m *ModelsCoordinate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDataPoint ¶
type ModelsDataPoint struct { // coordinate // Required: true Coordinate *ModelsCoordinate `json:"coordinate"` // x unit // Example: ms // Required: true XUnit *string `json:"xUnit"` // y unit // Example: mm/s // Required: true YUnit *string `json:"yUnit"` }
ModelsDataPoint models data point
swagger:model models.DataPoint
func (*ModelsDataPoint) ContextValidate ¶
ContextValidate validate this models data point based on the context it is used
func (*ModelsDataPoint) MarshalBinary ¶
func (m *ModelsDataPoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDataPoint) UnmarshalBinary ¶
func (m *ModelsDataPoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAlarmStatusResponse ¶
type ModelsGetAlarmStatusResponse struct { // band alarms BandAlarms []*ModelsGetAlarmStatusResponseBandAlarm `json:"bandAlarms,omitempty"` // external alarm ExternalAlarm *ModelsGetAlarmStatusResponseExternal `json:"externalAlarm,omitempty"` // hal alarms HalAlarms []*ModelsGetAlarmStatusResponseHALAlarm `json:"halAlarms,omitempty"` // inspection alarm InspectionAlarm *ModelsGetAlarmStatusResponseGeneric `json:"inspectionAlarm,omitempty"` // The alarm node ID. // Example: 123e4567-e89b-12d3-a456-426614174000 // Required: true // Format: uuid NodeID *strfmt.UUID `json:"nodeId"` // overall alarm OverallAlarm *ModelsGetAlarmStatusResponseGeneric `json:"overallAlarm,omitempty"` // rate of change alarm RateOfChangeAlarm *ModelsGetAlarmStatusResponseGeneric `json:"rateOfChangeAlarm,omitempty"` // The type values are available [here](/v1/docs/service#alarm-status-type). // Example: 2 // Required: true // Maximum: 4 // Minimum: 0 Status *int32 `json:"status"` // This is a timestamp represented as epoch in milliseconds. // Example: 1631267558299 UpdatedAt int64 `json:"updatedAt"` }
ModelsGetAlarmStatusResponse models get alarm status response
swagger:model models.GetAlarmStatusResponse
func (*ModelsGetAlarmStatusResponse) ContextValidate ¶
func (m *ModelsGetAlarmStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models get alarm status response based on the context it is used
func (*ModelsGetAlarmStatusResponse) MarshalBinary ¶
func (m *ModelsGetAlarmStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAlarmStatusResponse) UnmarshalBinary ¶
func (m *ModelsGetAlarmStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAlarmStatusResponseBandAlarm ¶
type ModelsGetAlarmStatusResponseBandAlarm struct { // calculated overall CalculatedOverall *ModelsBandCalculatedOverall `json:"calculatedOverall,omitempty"` // label Label string `json:"label,omitempty"` // max frequency MaxFrequency *ModelsGetAlarmStatusResponseFrequency `json:"maxFrequency,omitempty"` // min frequency MinFrequency *ModelsGetAlarmStatusResponseFrequency `json:"minFrequency,omitempty"` // The type values are available [here](/v1/docs/service#alarm-status-type). // Example: 2 // Required: true // Maximum: 4 // Minimum: 0 Status *int32 `json:"status"` // triggering measurement // Example: 123e4567-e89b-12d3-a456-426614174000 // Format: uuid TriggeringMeasurement strfmt.UUID `json:"triggeringMeasurement,omitempty"` }
ModelsGetAlarmStatusResponseBandAlarm models get alarm status response band alarm
swagger:model models.GetAlarmStatusResponseBandAlarm
func (*ModelsGetAlarmStatusResponseBandAlarm) ContextValidate ¶
func (m *ModelsGetAlarmStatusResponseBandAlarm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models get alarm status response band alarm based on the context it is used
func (*ModelsGetAlarmStatusResponseBandAlarm) MarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseBandAlarm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAlarmStatusResponseBandAlarm) UnmarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseBandAlarm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAlarmStatusResponseExternal ¶
type ModelsGetAlarmStatusResponseExternal struct { // This value is optional. // Example: 123e4567-e89b-12d3-a456-426614174000 // Format: uuid SetBy *strfmt.UUID `json:"setBy,omitempty"` // The type values are available [here](/v1/docs/service#alarm-status-type). // Example: 2 // Required: true // Maximum: 4 // Minimum: 0 Status *int32 `json:"status"` }
ModelsGetAlarmStatusResponseExternal models get alarm status response external
swagger:model models.GetAlarmStatusResponseExternal
func (*ModelsGetAlarmStatusResponseExternal) ContextValidate ¶
func (m *ModelsGetAlarmStatusResponseExternal) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models get alarm status response external based on context it is used
func (*ModelsGetAlarmStatusResponseExternal) MarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseExternal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAlarmStatusResponseExternal) UnmarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseExternal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAlarmStatusResponseFrequency ¶
type ModelsGetAlarmStatusResponseFrequency struct { // value // Example: 100 // Required: true Value *float64 `json:"value"` // The type values are available [here](/v1/docs/service#frequency-value-type). // Example: 1 // Required: true // Maximum: 2 // Minimum: 1 ValueType *int32 `json:"valueType"` }
ModelsGetAlarmStatusResponseFrequency models get alarm status response frequency
swagger:model models.GetAlarmStatusResponseFrequency
func (*ModelsGetAlarmStatusResponseFrequency) ContextValidate ¶
func (m *ModelsGetAlarmStatusResponseFrequency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models get alarm status response frequency based on context it is used
func (*ModelsGetAlarmStatusResponseFrequency) MarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseFrequency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAlarmStatusResponseFrequency) UnmarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseFrequency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAlarmStatusResponseGeneric ¶
type ModelsGetAlarmStatusResponseGeneric struct { // The type values are available [here](/v1/docs/service#alarm-status-type). // Example: 2 // Required: true // Maximum: 4 // Minimum: 0 Status *int32 `json:"status"` // triggering measurement // Example: 123e4567-e89b-12d3-a456-426614174000 // Format: uuid TriggeringMeasurement strfmt.UUID `json:"triggeringMeasurement,omitempty"` }
ModelsGetAlarmStatusResponseGeneric models get alarm status response generic
swagger:model models.GetAlarmStatusResponseGeneric
func (*ModelsGetAlarmStatusResponseGeneric) ContextValidate ¶
func (m *ModelsGetAlarmStatusResponseGeneric) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models get alarm status response generic based on context it is used
func (*ModelsGetAlarmStatusResponseGeneric) MarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseGeneric) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAlarmStatusResponseGeneric) UnmarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseGeneric) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAlarmStatusResponseHALAlarm ¶
type ModelsGetAlarmStatusResponseHALAlarm struct { // bearing Bearing *ModelsBearing `json:"bearing,omitempty"` // error description ErrorDescription *string `json:"errorDescription,omitempty"` // fault frequency FaultFrequency *float64 `json:"faultFrequency,omitempty"` // hal index HalIndex *float64 `json:"halIndex,omitempty"` // label // Example: 10x RPM // Required: true Label *string `json:"label"` // number of harmonics used NumberOfHarmonicsUsed *int64 `json:"numberOfHarmonicsUsed,omitempty"` // rpm factor RpmFactor *float64 `json:"rpmFactor,omitempty"` // The type values are available [here](/v1/docs/service#alarm-status-type). // Example: 2 // Required: true // Maximum: 4 // Minimum: 0 Status *int32 `json:"status"` // triggering measurement // Example: 123e4567-e89b-12d3-a456-426614174000 // Required: true // Format: uuid TriggeringMeasurement *strfmt.UUID `json:"triggeringMeasurement"` }
ModelsGetAlarmStatusResponseHALAlarm models get alarm status response h a l alarm
swagger:model models.GetAlarmStatusResponseHALAlarm
func (*ModelsGetAlarmStatusResponseHALAlarm) ContextValidate ¶
func (m *ModelsGetAlarmStatusResponseHALAlarm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models get alarm status response h a l alarm based on the context it is used
func (*ModelsGetAlarmStatusResponseHALAlarm) MarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseHALAlarm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAlarmStatusResponseHALAlarm) UnmarshalBinary ¶
func (m *ModelsGetAlarmStatusResponseHALAlarm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetPointAlarmThresholdResponse ¶
type ModelsGetPointAlarmThresholdResponse struct { // band alarms BandAlarms []*ModelsBandAlarm `json:"bandAlarms,omitempty"` // full scale // Example: 0.5 FullScale *float64 `json:"fullScale,omitempty"` // hal alarms HalAlarms []*ModelsHALAlarm `json:"halAlarms,omitempty"` // inspection Inspection *ModelsInspection `json:"inspection,omitempty"` // node Id // Example: 123e4567-e89b-12d3-a456-426614174000 // Required: true // Format: uuid NodeID *strfmt.UUID `json:"nodeId"` // overall Overall *ModelsOverall `json:"overall,omitempty"` // rate of change RateOfChange *ModelsRateOfChange `json:"rateOfChange,omitempty"` // The type values are available [here](/v1/docs/service#threshold-type). // Example: 2 // Required: true // Maximum: 3 // Minimum: 0 ThresholdType *int32 `json:"thresholdType"` }
ModelsGetPointAlarmThresholdResponse models get point alarm threshold response
swagger:model models.GetPointAlarmThresholdResponse
func (*ModelsGetPointAlarmThresholdResponse) ContextValidate ¶
func (m *ModelsGetPointAlarmThresholdResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models get point alarm threshold response based on the context it is used
func (*ModelsGetPointAlarmThresholdResponse) MarshalBinary ¶
func (m *ModelsGetPointAlarmThresholdResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetPointAlarmThresholdResponse) UnmarshalBinary ¶
func (m *ModelsGetPointAlarmThresholdResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsHALAlarm ¶
type ModelsHALAlarm struct { // bearing Bearing *ModelsBearing `json:"bearing,omitempty"` // hal alarm type // Enum: [GLOBAL FREQUENCY] HalAlarmType string `json:"halAlarmType,omitempty"` // label // Required: true Label string `json:"label"` // upper alert UpperAlert *float64 `json:"upperAlert,omitempty"` // upper danger UpperDanger *float64 `json:"upperDanger,omitempty"` }
ModelsHALAlarm models h a l alarm
swagger:model models.HALAlarm
func (*ModelsHALAlarm) ContextValidate ¶
ContextValidate validate this models h a l alarm based on the context it is used
func (*ModelsHALAlarm) MarshalBinary ¶
func (m *ModelsHALAlarm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsHALAlarm) UnmarshalBinary ¶
func (m *ModelsHALAlarm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsInspection ¶
type ModelsInspection struct { // choices Choices []*ModelsInspectionChoice `json:"choices,omitempty"` }
ModelsInspection models inspection
swagger:model models.Inspection
func (*ModelsInspection) ContextValidate ¶
ContextValidate validate this models inspection based on the context it is used
func (*ModelsInspection) MarshalBinary ¶
func (m *ModelsInspection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsInspection) UnmarshalBinary ¶
func (m *ModelsInspection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsInspectionChoice ¶
type ModelsInspectionChoice struct { // answer Answer string `json:"answer,omitempty"` // instruction Instruction string `json:"instruction,omitempty"` // status // Required: true // Maximum: 4 // Minimum: 0 Status *int32 `json:"status"` }
ModelsInspectionChoice models inspection choice
swagger:model models.InspectionChoice
func (*ModelsInspectionChoice) ContextValidate ¶
func (m *ModelsInspectionChoice) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models inspection choice based on context it is used
func (*ModelsInspectionChoice) MarshalBinary ¶
func (m *ModelsInspectionChoice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsInspectionChoice) UnmarshalBinary ¶
func (m *ModelsInspectionChoice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsOperation ¶
type ModelsOperation struct { // from // Example: /overall/innerHigh From string `json:"from,omitempty"` // op // Example: replace // Required: true // Enum: [add remove replace move copy test] Op *string `json:"op"` // path // Example: /overall/outerHigh // Required: true Path *string `json:"path"` // value Value interface{} `json:"value,omitempty"` }
ModelsOperation models operation
swagger:model models.Operation
func (*ModelsOperation) ContextValidate ¶
ContextValidate validates this models operation based on context it is used
func (*ModelsOperation) MarshalBinary ¶
func (m *ModelsOperation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsOperation) UnmarshalBinary ¶
func (m *ModelsOperation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsOrigin ¶
type ModelsOrigin struct { // id ID string `json:"id,omitempty"` // provider Provider string `json:"provider,omitempty"` // type Type string `json:"type,omitempty"` }
ModelsOrigin models origin
swagger:model models.Origin
func (*ModelsOrigin) ContextValidate ¶
ContextValidate validates this models origin based on context it is used
func (*ModelsOrigin) MarshalBinary ¶
func (m *ModelsOrigin) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsOrigin) UnmarshalBinary ¶
func (m *ModelsOrigin) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsOverall ¶
type ModelsOverall struct { // inner high // Example: 50 InnerHigh *float64 `json:"innerHigh,omitempty"` // inner low // Example: 10 InnerLow *float64 `json:"innerLow,omitempty"` // outer high // Example: 70 OuterHigh *float64 `json:"outerHigh,omitempty"` // outer low // Example: 5 OuterLow *float64 `json:"outerLow,omitempty"` // unit // Example: gE Unit string `json:"unit,omitempty"` }
ModelsOverall models overall
swagger:model models.Overall
func (*ModelsOverall) ContextValidate ¶
ContextValidate validates this models overall based on context it is used
func (*ModelsOverall) MarshalBinary ¶
func (m *ModelsOverall) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsOverall) UnmarshalBinary ¶
func (m *ModelsOverall) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsRateOfChange ¶
type ModelsRateOfChange struct { // inner high // Example: 5 InnerHigh *float64 `json:"innerHigh,omitempty"` // inner low // Example: -5 InnerLow *float64 `json:"innerLow,omitempty"` // outer high // Example: 10 OuterHigh *float64 `json:"outerHigh,omitempty"` // outer low // Example: -10 OuterLow *float64 `json:"outerLow,omitempty"` // unit // Example: gE Unit string `json:"unit,omitempty"` }
ModelsRateOfChange models rate of change
swagger:model models.RateOfChange
func (*ModelsRateOfChange) ContextValidate ¶
ContextValidate validates this models rate of change based on context it is used
func (*ModelsRateOfChange) MarshalBinary ¶
func (m *ModelsRateOfChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsRateOfChange) UnmarshalBinary ¶
func (m *ModelsRateOfChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsSetExternalAlarmStatusRequest ¶
type ModelsSetExternalAlarmStatusRequest struct { // This value is optional // Example: 123e4567-e89b-12d3-a456-426614174000 // Format: uuid SetBy *strfmt.UUID `json:"setBy,omitempty"` // The type values are available [here](/v1/docs/service#alarm-status-type) // Example: 2 // Required: true // Maximum: 4 // Minimum: 0 Status *int32 `json:"status"` }
ModelsSetExternalAlarmStatusRequest models set external alarm status request
swagger:model models.SetExternalAlarmStatusRequest
func (*ModelsSetExternalAlarmStatusRequest) ContextValidate ¶
func (m *ModelsSetExternalAlarmStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models set external alarm status request based on context it is used
func (*ModelsSetExternalAlarmStatusRequest) MarshalBinary ¶
func (m *ModelsSetExternalAlarmStatusRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsSetExternalAlarmStatusRequest) UnmarshalBinary ¶
func (m *ModelsSetExternalAlarmStatusRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsSetPointAlarmThresholdRequest ¶
type ModelsSetPointAlarmThresholdRequest struct { // band alarms BandAlarms []*ModelsBandAlarm `json:"bandAlarms,omitempty"` // full scale FullScale *float64 `json:"fullScale,omitempty"` // hal alarms HalAlarms []*ModelsHALAlarm `json:"halAlarms,omitempty"` // inspection Inspection *ModelsInspection `json:"inspection,omitempty"` // origin Origin *ModelsOrigin `json:"origin,omitempty"` // overall Overall *ModelsOverall `json:"overall,omitempty"` // rate of change RateOfChange *ModelsRateOfChange `json:"rateOfChange,omitempty"` // The type values are available [here](/v1/docs/service#threshold-type). // Example: 2 // Maximum: 3 // Minimum: 0 ThresholdType *int32 `json:"thresholdType,omitempty"` }
ModelsSetPointAlarmThresholdRequest models set point alarm threshold request
swagger:model models.SetPointAlarmThresholdRequest
func (*ModelsSetPointAlarmThresholdRequest) ContextValidate ¶
func (m *ModelsSetPointAlarmThresholdRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models set point alarm threshold request based on the context it is used
func (*ModelsSetPointAlarmThresholdRequest) MarshalBinary ¶
func (m *ModelsSetPointAlarmThresholdRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsSetPointAlarmThresholdRequest) UnmarshalBinary ¶
func (m *ModelsSetPointAlarmThresholdRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsSpectrum ¶
type ModelsSpectrum struct { // RPM // Example: 1600 // Required: true Speed *float64 `json:"speed"` // x unit // Example: ms // Required: true XUnit *string `json:"xUnit"` // y unit // Example: mm/s // Required: true YUnit *string `json:"yUnit"` }
ModelsSpectrum models spectrum
swagger:model models.Spectrum
func (*ModelsSpectrum) ContextValidate ¶
ContextValidate validates this models spectrum based on context it is used
func (*ModelsSpectrum) MarshalBinary ¶
func (m *ModelsSpectrum) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsSpectrum) UnmarshalBinary ¶
func (m *ModelsSpectrum) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateAlarmStatusRequest ¶
type ModelsUpdateAlarmStatusRequest struct { // content type // Example: DATA_POINT // Required: true // Enum: [DATA_POINT SPECTRUM QUESTION_ANSWERS] ContentType *string `json:"contentType"` // created at // Example: 2021-09-10T11:52:38.299Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // data point DataPoint *ModelsDataPoint `json:"dataPoint,omitempty"` // measurement Id // Example: 123e4567-e89b-12d3-a456-426614174000 // Required: true // Format: uuid MeasurementID *strfmt.UUID `json:"measurementId"` // question answers // Example: ["yes","no","maybe"] QuestionAnswers []string `json:"questionAnswers,omitempty"` // rate of change // Example: 5 RateOfChange *float64 `json:"rateOfChange,omitempty"` // spectrum Spectrum *ModelsSpectrum `json:"spectrum,omitempty"` // tags Tags map[string]interface{} `json:"tags,omitempty"` }
ModelsUpdateAlarmStatusRequest models update alarm status request
swagger:model models.UpdateAlarmStatusRequest
func (*ModelsUpdateAlarmStatusRequest) ContextValidate ¶
func (m *ModelsUpdateAlarmStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models update alarm status request based on the context it is used
func (*ModelsUpdateAlarmStatusRequest) MarshalBinary ¶
func (m *ModelsUpdateAlarmStatusRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateAlarmStatusRequest) UnmarshalBinary ¶
func (m *ModelsUpdateAlarmStatusRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProblemsBasicProblem ¶
type ProblemsBasicProblem struct { // CorrelationID, an unique identifier for tracing this issue in server logs. CorrelationID string `json:"correlationId,omitempty"` // Detail, a human-readable explanation specific to this occurrence of the problem. Detail string `json:"detail,omitempty"` // Instance, a URI reference that identifies the specific resource on which the problem occurred. Instance string `json:"instance,omitempty"` // Status, the HTTP status code associated with this problem occurrence. Status int64 `json:"status,omitempty"` // Title, a short, human-readable summary of the problem type. // This should always be the same value for the same Type. Title string `json:"title,omitempty"` // Type, a URI reference that identifies the problem type. // When dereferenced this should provide human-readable documentation for the // problem type. When member is not present it is assumed to be "about:blank". Type string `json:"type,omitempty"` }
ProblemsBasicProblem problems basic problem
swagger:model problems.BasicProblem
func (*ProblemsBasicProblem) ContextValidate ¶
ContextValidate validates this problems basic problem based on context it is used
func (*ProblemsBasicProblem) MarshalBinary ¶
func (m *ProblemsBasicProblem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProblemsBasicProblem) UnmarshalBinary ¶
func (m *ProblemsBasicProblem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProblemsInternalProblem ¶
type ProblemsInternalProblem struct { // CorrelationID, an unique identifier for tracing this issue in server logs. CorrelationID string `json:"correlationId,omitempty"` // Detail, a human-readable explanation specific to this occurrence of the problem. Detail string `json:"detail,omitempty"` // Instance, a URI reference that identifies the specific resource on which the problem occurred. Instance string `json:"instance,omitempty"` // Status, the HTTP status code associated with this problem occurrence. Status int64 `json:"status,omitempty"` // Title, a short, human-readable summary of the problem type. // This should always be the same value for the same Type. Title string `json:"title,omitempty"` // Type, a URI reference that identifies the problem type. // When dereferenced this should provide human-readable documentation for the // problem type. When member is not present it is assumed to be "about:blank". Type string `json:"type,omitempty"` }
ProblemsInternalProblem problems internal problem
swagger:model problems.InternalProblem
func (*ProblemsInternalProblem) ContextValidate ¶
func (m *ProblemsInternalProblem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this problems internal problem based on context it is used
func (*ProblemsInternalProblem) MarshalBinary ¶
func (m *ProblemsInternalProblem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProblemsInternalProblem) UnmarshalBinary ¶
func (m *ProblemsInternalProblem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProblemsRouteNotFoundProblem ¶
type ProblemsRouteNotFoundProblem struct { // CorrelationID, an unique identifier for tracing this issue in server logs. CorrelationID string `json:"correlationId,omitempty"` // Detail, a human-readable explanation specific to this occurrence of the problem. Detail string `json:"detail,omitempty"` // Instance, a URI reference that identifies the specific resource on which the problem occurred. Instance string `json:"instance,omitempty"` // Status, the HTTP status code associated with this problem occurrence. Status int64 `json:"status,omitempty"` // Title, a short, human-readable summary of the problem type. // This should always be the same value for the same Type. Title string `json:"title,omitempty"` // Type, a URI reference that identifies the problem type. // When dereferenced this should provide human-readable documentation for the // problem type. When member is not present it is assumed to be "about:blank". Type string `json:"type,omitempty"` }
ProblemsRouteNotFoundProblem problems route not found problem
swagger:model problems.RouteNotFoundProblem
func (*ProblemsRouteNotFoundProblem) ContextValidate ¶
func (m *ProblemsRouteNotFoundProblem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this problems route not found problem based on context it is used
func (*ProblemsRouteNotFoundProblem) MarshalBinary ¶
func (m *ProblemsRouteNotFoundProblem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProblemsRouteNotFoundProblem) UnmarshalBinary ¶
func (m *ProblemsRouteNotFoundProblem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProblemsValidationProblem ¶
type ProblemsValidationProblem struct { // CorrelationID, an unique identifier for tracing this issue in server logs. CorrelationID string `json:"correlationId,omitempty"` // Detail, a human-readable explanation specific to this occurrence of the problem. Detail string `json:"detail,omitempty"` // Instance, a URI reference that identifies the specific resource on which the problem occurred. Instance string `json:"instance,omitempty"` // reasons Reasons []*ProblemsValidationReason `json:"reasons"` // Status, the HTTP status code associated with this problem occurrence. Status int64 `json:"status,omitempty"` // Title, a short, human-readable summary of the problem type. // This should always be the same value for the same Type. Title string `json:"title,omitempty"` // Type, a URI reference that identifies the problem type. // When dereferenced this should provide human-readable documentation for the // problem type. When member is not present it is assumed to be "about:blank". Type string `json:"type,omitempty"` }
ProblemsValidationProblem problems validation problem
swagger:model problems.ValidationProblem
func (*ProblemsValidationProblem) ContextValidate ¶
func (m *ProblemsValidationProblem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this problems validation problem based on the context it is used
func (*ProblemsValidationProblem) MarshalBinary ¶
func (m *ProblemsValidationProblem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProblemsValidationProblem) UnmarshalBinary ¶
func (m *ProblemsValidationProblem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProblemsValidationReason ¶
type ProblemsValidationReason struct { // name Name string `json:"name,omitempty"` // reason Reason string `json:"reason,omitempty"` }
ProblemsValidationReason problems validation reason
swagger:model problems.ValidationReason
func (*ProblemsValidationReason) ContextValidate ¶
func (m *ProblemsValidationReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this problems validation reason based on context it is used
func (*ProblemsValidationReason) MarshalBinary ¶
func (m *ProblemsValidationReason) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProblemsValidationReason) UnmarshalBinary ¶
func (m *ProblemsValidationReason) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- models_band_alarm.go
- models_band_alarm_frequency.go
- models_band_alarm_overall_threshold.go
- models_band_alarm_threshold.go
- models_band_calculated_overall.go
- models_bearing.go
- models_coordinate.go
- models_data_point.go
- models_get_alarm_status_response.go
- models_get_alarm_status_response_band_alarm.go
- models_get_alarm_status_response_external.go
- models_get_alarm_status_response_frequency.go
- models_get_alarm_status_response_generic.go
- models_get_alarm_status_response_h_a_l_alarm.go
- models_get_point_alarm_threshold_response.go
- models_h_a_l_alarm.go
- models_inspection.go
- models_inspection_choice.go
- models_operation.go
- models_origin.go
- models_overall.go
- models_rate_of_change.go
- models_set_external_alarm_status_request.go
- models_set_point_alarm_threshold_request.go
- models_spectrum.go
- models_update_alarm_status_request.go
- problems_basic_problem.go
- problems_internal_problem.go
- problems_route_not_found_problem.go
- problems_validation_problem.go
- problems_validation_reason.go