models

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ModelsHALAlarmHalAlarmTypeGLOBAL captures enum value "GLOBAL"
	ModelsHALAlarmHalAlarmTypeGLOBAL string = "GLOBAL"

	// ModelsHALAlarmHalAlarmTypeFREQUENCY captures enum value "FREQUENCY"
	ModelsHALAlarmHalAlarmTypeFREQUENCY string = "FREQUENCY"
)
View Source
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"
)
View Source
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

func (m *ModelsBandAlarm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsBandAlarm) Validate

func (m *ModelsBandAlarm) Validate(formats strfmt.Registry) error

Validate validates this models band alarm

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

func (*ModelsBandAlarmFrequency) Validate

func (m *ModelsBandAlarmFrequency) Validate(formats strfmt.Registry) error

Validate validates this models band alarm frequency

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

func (*ModelsBandAlarmOverallThreshold) Validate

Validate validates this models band alarm overall threshold

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

func (*ModelsBandAlarmThreshold) Validate

func (m *ModelsBandAlarmThreshold) Validate(formats strfmt.Registry) error

Validate validates this models band alarm threshold

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

func (*ModelsBandCalculatedOverall) Validate

func (m *ModelsBandCalculatedOverall) Validate(formats strfmt.Registry) error

Validate validates this models band calculated overall

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

func (m *ModelsBearing) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsBearing) Validate

func (m *ModelsBearing) Validate(formats strfmt.Registry) error

Validate validates this models bearing

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

func (m *ModelsCoordinate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsCoordinate) Validate

func (m *ModelsCoordinate) Validate(formats strfmt.Registry) error

Validate validates this models coordinate

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

func (m *ModelsDataPoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsDataPoint) Validate

func (m *ModelsDataPoint) Validate(formats strfmt.Registry) error

Validate validates this models data point

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

func (*ModelsGetAlarmStatusResponse) Validate

func (m *ModelsGetAlarmStatusResponse) Validate(formats strfmt.Registry) error

Validate validates this models get alarm status response

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

func (*ModelsGetAlarmStatusResponseBandAlarm) Validate

Validate validates this models get alarm status response band alarm

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

func (*ModelsGetAlarmStatusResponseExternal) Validate

Validate validates this models get alarm status response external

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

func (*ModelsGetAlarmStatusResponseFrequency) Validate

Validate validates this models get alarm status response frequency

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

func (*ModelsGetAlarmStatusResponseGeneric) Validate

Validate validates this models get alarm status response generic

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

func (*ModelsGetAlarmStatusResponseHALAlarm) Validate

Validate validates this models get alarm status response h a l alarm

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

func (*ModelsGetPointAlarmThresholdResponse) Validate

Validate validates this models get point alarm threshold response

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

func (m *ModelsHALAlarm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsHALAlarm) Validate

func (m *ModelsHALAlarm) Validate(formats strfmt.Registry) error

Validate validates this models h a l alarm

type ModelsInspection

type ModelsInspection struct {

	// choices
	Choices []*ModelsInspectionChoice `json:"choices,omitempty"`
}

ModelsInspection models inspection

swagger:model models.Inspection

func (*ModelsInspection) ContextValidate

func (m *ModelsInspection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsInspection) Validate

func (m *ModelsInspection) Validate(formats strfmt.Registry) error

Validate validates this models inspection

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

func (*ModelsInspectionChoice) Validate

func (m *ModelsInspectionChoice) Validate(formats strfmt.Registry) error

Validate validates this models inspection choice

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

func (m *ModelsOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsOperation) Validate

func (m *ModelsOperation) Validate(formats strfmt.Registry) error

Validate validates this models operation

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

func (m *ModelsOrigin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsOrigin) Validate

func (m *ModelsOrigin) Validate(formats strfmt.Registry) error

Validate validates this models origin

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

func (m *ModelsOverall) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsOverall) Validate

func (m *ModelsOverall) Validate(formats strfmt.Registry) error

Validate validates this models overall

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

func (m *ModelsRateOfChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsRateOfChange) Validate

func (m *ModelsRateOfChange) Validate(formats strfmt.Registry) error

Validate validates this models rate of change

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

func (*ModelsSetExternalAlarmStatusRequest) Validate

Validate validates this models set external alarm status request

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

func (*ModelsSetPointAlarmThresholdRequest) Validate

Validate validates this models set point alarm threshold request

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

func (m *ModelsSpectrum) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsSpectrum) Validate

func (m *ModelsSpectrum) Validate(formats strfmt.Registry) error

Validate validates this models spectrum

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

func (*ModelsUpdateAlarmStatusRequest) Validate

func (m *ModelsUpdateAlarmStatusRequest) Validate(formats strfmt.Registry) error

Validate validates this models update alarm status request

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

func (m *ProblemsBasicProblem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ProblemsBasicProblem) Validate

func (m *ProblemsBasicProblem) Validate(formats strfmt.Registry) error

Validate validates this problems basic problem

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

func (*ProblemsInternalProblem) Validate

func (m *ProblemsInternalProblem) Validate(formats strfmt.Registry) error

Validate validates this problems internal problem

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

func (*ProblemsRouteNotFoundProblem) Validate

func (m *ProblemsRouteNotFoundProblem) Validate(formats strfmt.Registry) error

Validate validates this problems route not found problem

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

func (*ProblemsValidationProblem) Validate

func (m *ProblemsValidationProblem) Validate(formats strfmt.Registry) error

Validate validates this problems validation problem

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

func (*ProblemsValidationReason) Validate

func (m *ProblemsValidationReason) Validate(formats strfmt.Registry) error

Validate validates this problems validation reason

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL