Documentation
¶
Index ¶
- Constants
- type AssetClass
- type AssetSequence
- type AssetType
- type Component
- type EventsourceRecord
- type HttpmodelErrorResponse
- type HttpmodelErrorResponseError
- type Node
- type NodeMetaData
- type Origin
- type WebmodelsAssetClasses
- type WebmodelsAssetTaxonomy
- type WebmodelsComponent
- type WebmodelsComponentInput
- type WebmodelsComponents
- type WebmodelsEmptyResponse
- type WebmodelsEvents
- type WebmodelsNode
- type WebmodelsNodeCount
- type WebmodelsNodeID
- type WebmodelsNodeIDs
- type WebmodelsNodeInput
- type WebmodelsNodes
- type WebmodelsOrigins
Constants ¶
const ( // ComponentRotatingRingInner captures enum value "inner" ComponentRotatingRingInner string = "inner" // ComponentRotatingRingOuter captures enum value "outer" ComponentRotatingRingOuter string = "outer" // ComponentRotatingRingBoth captures enum value "both" ComponentRotatingRingBoth string = "both" )
const ( // ComponentShaftSideDe captures enum value "de" ComponentShaftSideDe string = "de" // ComponentShaftSideNde captures enum value "nde" ComponentShaftSideNde string = "nde" // ComponentShaftSideUnknown captures enum value "unknown" ComponentShaftSideUnknown string = "unknown" )
const ( // ComponentTypeShaft captures enum value "shaft" ComponentTypeShaft string = "shaft" // ComponentTypeBearing captures enum value "bearing" ComponentTypeBearing string = "bearing" )
const ( // NodeIndustrySegmentAgriculture captures enum value "agriculture" NodeIndustrySegmentAgriculture string = "agriculture" // NodeIndustrySegmentConstruction captures enum value "construction" NodeIndustrySegmentConstruction string = "construction" // NodeIndustrySegmentFoodAndBeverage captures enum value "food_and_beverage" NodeIndustrySegmentFoodAndBeverage string = "food_and_beverage" // NodeIndustrySegmentHydrocarbonProcessing captures enum value "hydrocarbon_processing" NodeIndustrySegmentHydrocarbonProcessing string = "hydrocarbon_processing" // NodeIndustrySegmentMachineTool captures enum value "machine_tool" NodeIndustrySegmentMachineTool string = "machine_tool" // NodeIndustrySegmentMarine captures enum value "marine" NodeIndustrySegmentMarine string = "marine" // NodeIndustrySegmentMetal captures enum value "metal" NodeIndustrySegmentMetal string = "metal" // NodeIndustrySegmentMining captures enum value "mining" NodeIndustrySegmentMining string = "mining" // NodeIndustrySegmentPowerGeneration captures enum value "power_generation" NodeIndustrySegmentPowerGeneration string = "power_generation" // NodeIndustrySegmentPulpAndPaper captures enum value "pulp_and_paper" NodeIndustrySegmentPulpAndPaper string = "pulp_and_paper" // NodeIndustrySegmentRenewable captures enum value "renewable" NodeIndustrySegmentRenewable string = "renewable" // NodeIndustrySegmentUndefined captures enum value "undefined" NodeIndustrySegmentUndefined string = "undefined" )
const ( // NodeLubricantUnitGram captures enum value "gram" NodeLubricantUnitGram string = "gram" // NodeLubricantUnitOunce captures enum value "ounce" NodeLubricantUnitOunce string = "ounce" // NodeLubricantUnitCm3 captures enum value "cm3" NodeLubricantUnitCm3 string = "cm3" // NodeLubricantUnitUnknown captures enum value "unknown" NodeLubricantUnitUnknown string = "unknown" )
const ( // NodeLubricationActivityAssetStateMustBeOn captures enum value "must_be_on" NodeLubricationActivityAssetStateMustBeOn string = "must_be_on" // NodeLubricationActivityAssetStateMustBeOff captures enum value "must_be_off" NodeLubricationActivityAssetStateMustBeOff string = "must_be_off" )
const ( // NodeMeasurementTypeDisplacement captures enum value "displacement" NodeMeasurementTypeDisplacement string = "displacement" // NodeMeasurementTypeAcceleration captures enum value "acceleration" NodeMeasurementTypeAcceleration string = "acceleration" // NodeMeasurementTypeVelocity captures enum value "velocity" NodeMeasurementTypeVelocity string = "velocity" // NodeMeasurementTypeTemperature captures enum value "temperature" NodeMeasurementTypeTemperature string = "temperature" // NodeMeasurementTypeDc captures enum value "dc" NodeMeasurementTypeDc string = "dc" // NodeMeasurementTypeDcGap captures enum value "dc_gap" NodeMeasurementTypeDcGap string = "dc_gap" // NodeMeasurementTypeAmplPhase captures enum value "ampl_phase" NodeMeasurementTypeAmplPhase string = "ampl_phase" // NodeMeasurementTypeBox captures enum value "box" NodeMeasurementTypeBox string = "box" // NodeMeasurementTypeManual captures enum value "manual" NodeMeasurementTypeManual string = "manual" // NodeMeasurementTypeSpeed captures enum value "speed" NodeMeasurementTypeSpeed string = "speed" // NodeMeasurementTypeEnvelope1 captures enum value "envelope_1" NodeMeasurementTypeEnvelope1 string = "envelope_1" // NodeMeasurementTypeEnvelope2 captures enum value "envelope_2" NodeMeasurementTypeEnvelope2 string = "envelope_2" // NodeMeasurementTypeEnvelope3 captures enum value "envelope_3" NodeMeasurementTypeEnvelope3 string = "envelope_3" // NodeMeasurementTypeEnvelope4 captures enum value "envelope_4" NodeMeasurementTypeEnvelope4 string = "envelope_4" // NodeMeasurementTypeUnknown captures enum value "unknown" NodeMeasurementTypeUnknown string = "unknown" )
const ( // NodeNodeSubTypeRoot captures enum value "root" NodeNodeSubTypeRoot string = "root" // NodeNodeSubTypeCompany captures enum value "company" NodeNodeSubTypeCompany string = "company" // NodeNodeSubTypeSite captures enum value "site" NodeNodeSubTypeSite string = "site" // NodeNodeSubTypePlant captures enum value "plant" NodeNodeSubTypePlant string = "plant" // NodeNodeSubTypeShip captures enum value "ship" NodeNodeSubTypeShip string = "ship" // NodeNodeSubTypeSystem captures enum value "system" NodeNodeSubTypeSystem string = "system" // NodeNodeSubTypeFunctionalLocation captures enum value "functional_location" NodeNodeSubTypeFunctionalLocation string = "functional_location" // NodeNodeSubTypeAsset captures enum value "asset" NodeNodeSubTypeAsset string = "asset" // NodeNodeSubTypeMeasurementPoint captures enum value "measurement_point" NodeNodeSubTypeMeasurementPoint string = "measurement_point" // NodeNodeSubTypeInspectionPoint captures enum value "inspection_point" NodeNodeSubTypeInspectionPoint string = "inspection_point" // NodeNodeSubTypeLubricationPoint captures enum value "lubrication_point" NodeNodeSubTypeLubricationPoint string = "lubrication_point" )
const ( // NodeNodeTypeRoot captures enum value "root" NodeNodeTypeRoot string = "root" // NodeNodeTypeCompany captures enum value "company" NodeNodeTypeCompany string = "company" // NodeNodeTypeSite captures enum value "site" NodeNodeTypeSite string = "site" // NodeNodeTypePlant captures enum value "plant" NodeNodeTypePlant string = "plant" // NodeNodeTypeSystem captures enum value "system" NodeNodeTypeSystem string = "system" // NodeNodeTypeFunctionalLocation captures enum value "functional_location" NodeNodeTypeFunctionalLocation string = "functional_location" // NodeNodeTypeAsset captures enum value "asset" NodeNodeTypeAsset string = "asset" // NodeNodeTypeMeasurementPoint captures enum value "measurement_point" NodeNodeTypeMeasurementPoint string = "measurement_point" // NodeNodeTypeInspectionPoint captures enum value "inspection_point" NodeNodeTypeInspectionPoint string = "inspection_point" // NodeNodeTypeLubricationPoint captures enum value "lubrication_point" NodeNodeTypeLubricationPoint string = "lubrication_point" // NodeNodeTypeUnknown captures enum value "unknown" NodeNodeTypeUnknown string = "unknown" )
const ( // NodeOrientationAxial captures enum value "axial" NodeOrientationAxial string = "axial" // NodeOrientationRadial captures enum value "radial" NodeOrientationRadial string = "radial" // NodeOrientationRadial90 captures enum value "radial90" NodeOrientationRadial90 string = "radial90" // NodeOrientationHorizontal captures enum value "horizontal" NodeOrientationHorizontal string = "horizontal" // NodeOrientationVertical captures enum value "vertical" NodeOrientationVertical string = "vertical" // NodeOrientationUnknown captures enum value "unknown" NodeOrientationUnknown string = "unknown" )
const ( // NodeShaftSideDe captures enum value "de" NodeShaftSideDe string = "de" // NodeShaftSideNde captures enum value "nde" NodeShaftSideNde string = "nde" )
const ( // NodeValueTypeNumeric captures enum value "numeric" NodeValueTypeNumeric string = "numeric" // NodeValueTypeSingleChoice captures enum value "single_choice" NodeValueTypeSingleChoice string = "single_choice" // NodeValueTypeMultiChoice captures enum value "multi_choice" NodeValueTypeMultiChoice string = "multi_choice" // NodeValueTypeUnknown captures enum value "unknown" NodeValueTypeUnknown string = "unknown" )
const ( // NodeVisualizationTypeVisualizationNone captures enum value "visualization_none" NodeVisualizationTypeVisualizationNone string = "visualization_none" // NodeVisualizationTypeVisualizationCircularGauge captures enum value "visualization_circular_gauge" NodeVisualizationTypeVisualizationCircularGauge string = "visualization_circular_gauge" // NodeVisualizationTypeVisualizationLevelGauge captures enum value "visualization_level_gauge" NodeVisualizationTypeVisualizationLevelGauge string = "visualization_level_gauge" )
const ( // WebmodelsComponentInputRotatingRingInner captures enum value "inner" WebmodelsComponentInputRotatingRingInner string = "inner" // WebmodelsComponentInputRotatingRingOuter captures enum value "outer" WebmodelsComponentInputRotatingRingOuter string = "outer" // WebmodelsComponentInputRotatingRingBoth captures enum value "both" WebmodelsComponentInputRotatingRingBoth string = "both" )
const ( // WebmodelsComponentInputShaftSideDe captures enum value "de" WebmodelsComponentInputShaftSideDe string = "de" // WebmodelsComponentInputShaftSideNde captures enum value "nde" WebmodelsComponentInputShaftSideNde string = "nde" // WebmodelsComponentInputShaftSideUnknown captures enum value "unknown" WebmodelsComponentInputShaftSideUnknown string = "unknown" )
const ( // WebmodelsComponentInputTypeShaft captures enum value "shaft" WebmodelsComponentInputTypeShaft string = "shaft" // WebmodelsComponentInputTypeBearing captures enum value "bearing" WebmodelsComponentInputTypeBearing string = "bearing" )
const ( // WebmodelsNodeInputIndustrySegmentAgriculture captures enum value "agriculture" WebmodelsNodeInputIndustrySegmentAgriculture string = "agriculture" // WebmodelsNodeInputIndustrySegmentConstruction captures enum value "construction" WebmodelsNodeInputIndustrySegmentConstruction string = "construction" // WebmodelsNodeInputIndustrySegmentFoodAndBeverage captures enum value "food_and_beverage" WebmodelsNodeInputIndustrySegmentFoodAndBeverage string = "food_and_beverage" // WebmodelsNodeInputIndustrySegmentHydrocarbonProcessing captures enum value "hydrocarbon_processing" WebmodelsNodeInputIndustrySegmentHydrocarbonProcessing string = "hydrocarbon_processing" // WebmodelsNodeInputIndustrySegmentMachineTool captures enum value "machine_tool" WebmodelsNodeInputIndustrySegmentMachineTool string = "machine_tool" // WebmodelsNodeInputIndustrySegmentMarine captures enum value "marine" WebmodelsNodeInputIndustrySegmentMarine string = "marine" // WebmodelsNodeInputIndustrySegmentMetal captures enum value "metal" WebmodelsNodeInputIndustrySegmentMetal string = "metal" // WebmodelsNodeInputIndustrySegmentMining captures enum value "mining" WebmodelsNodeInputIndustrySegmentMining string = "mining" // WebmodelsNodeInputIndustrySegmentPowerGeneration captures enum value "power_generation" WebmodelsNodeInputIndustrySegmentPowerGeneration string = "power_generation" // WebmodelsNodeInputIndustrySegmentPulpAndPaper captures enum value "pulp_and_paper" WebmodelsNodeInputIndustrySegmentPulpAndPaper string = "pulp_and_paper" // WebmodelsNodeInputIndustrySegmentRenewable captures enum value "renewable" WebmodelsNodeInputIndustrySegmentRenewable string = "renewable" // WebmodelsNodeInputIndustrySegmentUndefined captures enum value "undefined" WebmodelsNodeInputIndustrySegmentUndefined string = "undefined" )
const ( // WebmodelsNodeInputLubricantUnitGram captures enum value "gram" WebmodelsNodeInputLubricantUnitGram string = "gram" // WebmodelsNodeInputLubricantUnitOunce captures enum value "ounce" WebmodelsNodeInputLubricantUnitOunce string = "ounce" // WebmodelsNodeInputLubricantUnitCm3 captures enum value "cm3" WebmodelsNodeInputLubricantUnitCm3 string = "cm3" // WebmodelsNodeInputLubricantUnitUnknown captures enum value "unknown" WebmodelsNodeInputLubricantUnitUnknown string = "unknown" )
const ( // WebmodelsNodeInputLubricationActivityAssetStateMustBeOn captures enum value "must_be_on" WebmodelsNodeInputLubricationActivityAssetStateMustBeOn string = "must_be_on" // WebmodelsNodeInputLubricationActivityAssetStateMustBeOff captures enum value "must_be_off" WebmodelsNodeInputLubricationActivityAssetStateMustBeOff string = "must_be_off" )
const ( // WebmodelsNodeInputMeasurementTypeDisplacement captures enum value "displacement" WebmodelsNodeInputMeasurementTypeDisplacement string = "displacement" // WebmodelsNodeInputMeasurementTypeAcceleration captures enum value "acceleration" WebmodelsNodeInputMeasurementTypeAcceleration string = "acceleration" // WebmodelsNodeInputMeasurementTypeVelocity captures enum value "velocity" WebmodelsNodeInputMeasurementTypeVelocity string = "velocity" // WebmodelsNodeInputMeasurementTypeTemperature captures enum value "temperature" WebmodelsNodeInputMeasurementTypeTemperature string = "temperature" // WebmodelsNodeInputMeasurementTypeDc captures enum value "dc" WebmodelsNodeInputMeasurementTypeDc string = "dc" // WebmodelsNodeInputMeasurementTypeDcGap captures enum value "dc_gap" WebmodelsNodeInputMeasurementTypeDcGap string = "dc_gap" // WebmodelsNodeInputMeasurementTypeAmplPhase captures enum value "ampl_phase" WebmodelsNodeInputMeasurementTypeAmplPhase string = "ampl_phase" // WebmodelsNodeInputMeasurementTypeBox captures enum value "box" WebmodelsNodeInputMeasurementTypeBox string = "box" // WebmodelsNodeInputMeasurementTypeManual captures enum value "manual" WebmodelsNodeInputMeasurementTypeManual string = "manual" // WebmodelsNodeInputMeasurementTypeSpeed captures enum value "speed" WebmodelsNodeInputMeasurementTypeSpeed string = "speed" // WebmodelsNodeInputMeasurementTypeEnvelope1 captures enum value "envelope_1" WebmodelsNodeInputMeasurementTypeEnvelope1 string = "envelope_1" // WebmodelsNodeInputMeasurementTypeEnvelope2 captures enum value "envelope_2" WebmodelsNodeInputMeasurementTypeEnvelope2 string = "envelope_2" // WebmodelsNodeInputMeasurementTypeEnvelope3 captures enum value "envelope_3" WebmodelsNodeInputMeasurementTypeEnvelope3 string = "envelope_3" // WebmodelsNodeInputMeasurementTypeEnvelope4 captures enum value "envelope_4" WebmodelsNodeInputMeasurementTypeEnvelope4 string = "envelope_4" // WebmodelsNodeInputMeasurementTypeUnknown captures enum value "unknown" WebmodelsNodeInputMeasurementTypeUnknown string = "unknown" )
const ( // WebmodelsNodeInputNodeSubTypeRoot captures enum value "root" WebmodelsNodeInputNodeSubTypeRoot string = "root" // WebmodelsNodeInputNodeSubTypeCompany captures enum value "company" WebmodelsNodeInputNodeSubTypeCompany string = "company" // WebmodelsNodeInputNodeSubTypeSite captures enum value "site" WebmodelsNodeInputNodeSubTypeSite string = "site" // WebmodelsNodeInputNodeSubTypePlant captures enum value "plant" WebmodelsNodeInputNodeSubTypePlant string = "plant" // WebmodelsNodeInputNodeSubTypeShip captures enum value "ship" WebmodelsNodeInputNodeSubTypeShip string = "ship" // WebmodelsNodeInputNodeSubTypeSystem captures enum value "system" WebmodelsNodeInputNodeSubTypeSystem string = "system" // WebmodelsNodeInputNodeSubTypeFunctionalLocation captures enum value "functional_location" WebmodelsNodeInputNodeSubTypeFunctionalLocation string = "functional_location" // WebmodelsNodeInputNodeSubTypeAsset captures enum value "asset" WebmodelsNodeInputNodeSubTypeAsset string = "asset" // WebmodelsNodeInputNodeSubTypeMeasurementPoint captures enum value "measurement_point" WebmodelsNodeInputNodeSubTypeMeasurementPoint string = "measurement_point" // WebmodelsNodeInputNodeSubTypeInspectionPoint captures enum value "inspection_point" WebmodelsNodeInputNodeSubTypeInspectionPoint string = "inspection_point" // WebmodelsNodeInputNodeSubTypeLubricationPoint captures enum value "lubrication_point" WebmodelsNodeInputNodeSubTypeLubricationPoint string = "lubrication_point" )
const ( // WebmodelsNodeInputNodeTypeRoot captures enum value "root" WebmodelsNodeInputNodeTypeRoot string = "root" // WebmodelsNodeInputNodeTypeCompany captures enum value "company" WebmodelsNodeInputNodeTypeCompany string = "company" // WebmodelsNodeInputNodeTypeSite captures enum value "site" WebmodelsNodeInputNodeTypeSite string = "site" // WebmodelsNodeInputNodeTypePlant captures enum value "plant" WebmodelsNodeInputNodeTypePlant string = "plant" // WebmodelsNodeInputNodeTypeSystem captures enum value "system" WebmodelsNodeInputNodeTypeSystem string = "system" // WebmodelsNodeInputNodeTypeFunctionalLocation captures enum value "functional_location" WebmodelsNodeInputNodeTypeFunctionalLocation string = "functional_location" // WebmodelsNodeInputNodeTypeAsset captures enum value "asset" WebmodelsNodeInputNodeTypeAsset string = "asset" // WebmodelsNodeInputNodeTypeMeasurementPoint captures enum value "measurement_point" WebmodelsNodeInputNodeTypeMeasurementPoint string = "measurement_point" // WebmodelsNodeInputNodeTypeInspectionPoint captures enum value "inspection_point" WebmodelsNodeInputNodeTypeInspectionPoint string = "inspection_point" // WebmodelsNodeInputNodeTypeLubricationPoint captures enum value "lubrication_point" WebmodelsNodeInputNodeTypeLubricationPoint string = "lubrication_point" // WebmodelsNodeInputNodeTypeUnknown captures enum value "unknown" WebmodelsNodeInputNodeTypeUnknown string = "unknown" )
const ( // WebmodelsNodeInputOrientationAxial captures enum value "axial" WebmodelsNodeInputOrientationAxial string = "axial" // WebmodelsNodeInputOrientationRadial captures enum value "radial" WebmodelsNodeInputOrientationRadial string = "radial" // WebmodelsNodeInputOrientationRadial90 captures enum value "radial90" WebmodelsNodeInputOrientationRadial90 string = "radial90" // WebmodelsNodeInputOrientationHorizontal captures enum value "horizontal" WebmodelsNodeInputOrientationHorizontal string = "horizontal" // WebmodelsNodeInputOrientationVertical captures enum value "vertical" WebmodelsNodeInputOrientationVertical string = "vertical" // WebmodelsNodeInputOrientationUnknown captures enum value "unknown" WebmodelsNodeInputOrientationUnknown string = "unknown" )
const ( // WebmodelsNodeInputShaftSideDe captures enum value "de" WebmodelsNodeInputShaftSideDe string = "de" // WebmodelsNodeInputShaftSideNde captures enum value "nde" WebmodelsNodeInputShaftSideNde string = "nde" )
const ( // WebmodelsNodeInputValueTypeNumeric captures enum value "numeric" WebmodelsNodeInputValueTypeNumeric string = "numeric" // WebmodelsNodeInputValueTypeSingleChoice captures enum value "single_choice" WebmodelsNodeInputValueTypeSingleChoice string = "single_choice" // WebmodelsNodeInputValueTypeMultiChoice captures enum value "multi_choice" WebmodelsNodeInputValueTypeMultiChoice string = "multi_choice" // WebmodelsNodeInputValueTypeUnknown captures enum value "unknown" WebmodelsNodeInputValueTypeUnknown string = "unknown" )
const ( // WebmodelsNodeInputVisualizationTypeVisualizationNone captures enum value "visualization_none" WebmodelsNodeInputVisualizationTypeVisualizationNone string = "visualization_none" // WebmodelsNodeInputVisualizationTypeVisualizationCircularGauge captures enum value "visualization_circular_gauge" WebmodelsNodeInputVisualizationTypeVisualizationCircularGauge string = "visualization_circular_gauge" // WebmodelsNodeInputVisualizationTypeVisualizationLevelGauge captures enum value "visualization_level_gauge" WebmodelsNodeInputVisualizationTypeVisualizationLevelGauge string = "visualization_level_gauge" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetClass ¶
type AssetClass struct {
// code
Code string `json:"code,omitempty"`
// name
Name string `json:"name,omitempty"`
// types
Types []*AssetType `json:"types"`
}
AssetClass asset class
swagger:model AssetClass
func (*AssetClass) MarshalBinary ¶
func (m *AssetClass) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssetClass) UnmarshalBinary ¶
func (m *AssetClass) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssetSequence ¶
type AssetSequence struct {
// code
Code string `json:"code,omitempty"`
// name
Name string `json:"name,omitempty"`
}
AssetSequence asset sequence
swagger:model AssetSequence
func (*AssetSequence) MarshalBinary ¶
func (m *AssetSequence) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssetSequence) UnmarshalBinary ¶
func (m *AssetSequence) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssetType ¶
type AssetType struct {
// code
Code string `json:"code,omitempty"`
// name
Name string `json:"name,omitempty"`
// sequences
Sequences []*AssetSequence `json:"sequences"`
}
AssetType asset type
swagger:model AssetType
func (*AssetType) MarshalBinary ¶
MarshalBinary interface implementation
func (*AssetType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Component ¶
type Component struct {
// attached to
AttachedTo uuid.UUID `json:"attachedTo,omitempty"`
// designation
Designation string `json:"designation,omitempty"`
// fixed speed
FixedSpeed float64 `json:"fixedSpeed,omitempty"`
// id
ID uuid.UUID `json:"id,omitempty"`
// manufacturer
Manufacturer string `json:"manufacturer,omitempty"`
// position
Position int64 `json:"position,omitempty"`
// position description
PositionDescription string `json:"positionDescription,omitempty"`
// rotating ring
// Enum: [inner outer both]
RotatingRing string `json:"rotatingRing,omitempty"`
// serial number
SerialNumber string `json:"serialNumber,omitempty"`
// shaft side
// Enum: [de nde unknown]
ShaftSide string `json:"shaftSide,omitempty"`
// type
// Enum: [shaft bearing]
Type string `json:"type,omitempty"`
}
Component component
swagger:model Component
func (*Component) MarshalBinary ¶
MarshalBinary interface implementation
func (*Component) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EventsourceRecord ¶
type EventsourceRecord struct {
// aggregate Id
AggregateID string `json:"aggregateId,omitempty"`
// data
Data []int64 `json:"data"`
// sequence Id
SequenceID string `json:"sequenceId,omitempty"`
// timestamp
Timestamp int64 `json:"timestamp,omitempty"`
// type
Type string `json:"type,omitempty"`
// user Id
UserID string `json:"userId,omitempty"`
}
EventsourceRecord eventsource record
swagger:model eventsource.Record
func (*EventsourceRecord) MarshalBinary ¶
func (m *EventsourceRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventsourceRecord) UnmarshalBinary ¶
func (m *EventsourceRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HttpmodelErrorResponse ¶
type HttpmodelErrorResponse struct {
// error
Error *HttpmodelErrorResponseError `json:"error,omitempty"`
}
HttpmodelErrorResponse httpmodel error response
swagger:model httpmodel.ErrorResponse
func (*HttpmodelErrorResponse) MarshalBinary ¶
func (m *HttpmodelErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HttpmodelErrorResponse) UnmarshalBinary ¶
func (m *HttpmodelErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HttpmodelErrorResponseError ¶
type HttpmodelErrorResponseError struct {
// message
Message string `json:"message,omitempty"`
}
HttpmodelErrorResponseError httpmodel error response error
swagger:model HttpmodelErrorResponseError
func (*HttpmodelErrorResponseError) MarshalBinary ¶
func (m *HttpmodelErrorResponseError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HttpmodelErrorResponseError) UnmarshalBinary ¶
func (m *HttpmodelErrorResponseError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Node ¶
type Node struct {
// Possible answers for single_choice and multi_choice inspections. Only valid for inspection point type nodes
Answers []string `json:"answers"`
// Only valid for asset type nodes
AssetClass string `json:"assetClass,omitempty"`
// Only valid for asset type nodes
AssetSequence string `json:"assetSequence,omitempty"`
// Only valid for asset type nodes
AssetType string `json:"assetType,omitempty"`
// Bearing number on this asset. Only valid for measurement point type nodes
Bearing int64 `json:"bearing,omitempty"`
// Which country the node is in. Only valid for site type node
Country string `json:"country,omitempty"`
// Only valid for asset type nodes
Criticality string `json:"criticality,omitempty"`
// Type of device used to take measurements on this point. Only valid for measurement point type nodes
DadType string `json:"dadType,omitempty"`
// Description of the node
Description string `json:"description,omitempty"`
// Speed in RPM if this shaft has a fixed speed. Only valid for measurement point type nodes
FixedSpeedRpm float64 `json:"fixedSpeedRpm,omitempty"`
// ID of node, as a UUID
ID uuid.UUID `json:"id,omitempty"`
// Industry segment of this node. Only valid for site type node
// Enum: [agriculture construction food_and_beverage hydrocarbon_processing machine_tool marine metal mining power_generation pulp_and_paper renewable undefined]
IndustrySegment string `json:"industrySegment,omitempty"`
// Descriptive name of the node
Label string `json:"label,omitempty"`
// ID of measurement point location. Only valid for measurement point type nodes
LocationID uuid.UUID `json:"locationId,omitempty"`
// Type of lubricant used. Only valid for lubrication point type nodes
Lubricant string `json:"lubricant,omitempty"`
// Unit that the volume is specified in. Only valid for lubrication point type nodes
// Enum: [gram ounce cm3 unknown]
LubricantUnit string `json:"lubricantUnit,omitempty"`
// Volume of lubricant, in the given unit. Only valid for lubrication point type nodes
LubricantVolume int64 `json:"lubricantVolume,omitempty"`
// Instruction for lubrication activity. Only valid for lubrication point type nodes
LubricateInstructions string `json:"lubricateInstructions,omitempty"`
// Interval between lubrication in days. Only valid for lubrication point type nodes
LubricateInterval int64 `json:"lubricateInterval,omitempty"`
// ActivityAssetState the asset should be in during the lubrication activity. Only valid for lubrication point type nodes
// Enum: [must_be_on must_be_off]
LubricationActivityAssetState string `json:"lubricationActivityAssetState,omitempty"`
// Only valid for asset type nodes
Manufacturer string `json:"manufacturer,omitempty"`
// Type of measurement. Only valid for measurement point type nodes
// Enum: [displacement acceleration velocity temperature dc dc_gap ampl_phase box manual speed envelope_1 envelope_2 envelope_3 envelope_4 unknown]
MeasurementType string `json:"measurementType,omitempty"`
// Metadata with keys and optional values
MetaData NodeMetaData `json:"metaData,omitempty"`
// Only valid for asset type nodes
Model string `json:"model,omitempty"`
// Type of node
// Enum: [root company site plant ship system functional_location asset measurement_point inspection_point lubrication_point]
NodeSubType string `json:"nodeSubType,omitempty"`
// Type of node
// Enum: [root company site plant system functional_location asset measurement_point inspection_point lubrication_point unknown]
NodeType string `json:"nodeType,omitempty"`
// Orientation of measurement. Only valid for measurement point type nodes
// Enum: [axial radial radial90 horizontal vertical unknown]
Orientation string `json:"orientation,omitempty"`
// Origin of node, if imported from another system
Origin *Origin `json:"origin,omitempty"`
// ID of parent node, as a UUID
ParentID uuid.UUID `json:"parentId,omitempty"`
// Relative position of node in the Enlight Centre UI
// Minimum: 0
Position *int64 `json:"position,omitempty"`
// Which postal code the site has. Only valid for site type node
PostalCode string `json:"postalCode,omitempty"`
// Only valid for asset type nodes
SerialNumber string `json:"serialNumber,omitempty"`
// Identifier of shaft that this measurement point belongs to. Only valid for measurement point type nodes
Shaft string `json:"shaft,omitempty"`
// Which side of the given shaft this measurement point belongs to. Only valid for measurement point type nodes
// Enum: [de nde]
ShaftSide string `json:"shaftSide,omitempty"`
// Comma separated list of free form tags on this node
Tags string `json:"tags,omitempty"`
// Unit of the value recorded, in case of numeric inspection. Only valid for inspection point type nodes
Unit string `json:"unit,omitempty"`
// Type of value to record. Only valid for inspection point type nodes
// Enum: [numeric single_choice multi_choice unknown]
ValueType string `json:"valueType,omitempty"`
// Only valid for inspection point type nodes
VisualizationMaxValue string `json:"visualizationMaxValue,omitempty"`
// Only valid for inspection point type nodes
VisualizationMinValue string `json:"visualizationMinValue,omitempty"`
// Type of visualization in Enlight Centre. Only valid for inspection point type nodes
// Enum: [visualization_none visualization_circular_gauge visualization_level_gauge]
VisualizationType string `json:"visualizationType,omitempty"`
}
Node node
swagger:model Node
func (*Node) MarshalBinary ¶
MarshalBinary interface implementation
func (*Node) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Origin ¶
type Origin struct {
// Origin identity
ID string `json:"id,omitempty"`
// Origin provider
Provider string `json:"provider,omitempty"`
// Origin type
Type string `json:"type,omitempty"`
}
Origin origin
swagger:model Origin
func (*Origin) MarshalBinary ¶
MarshalBinary interface implementation
func (*Origin) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WebmodelsAssetClasses ¶
type WebmodelsAssetClasses struct {
// classes
Classes []*AssetClass `json:"classes"`
}
WebmodelsAssetClasses webmodels asset classes
swagger:model webmodels.AssetClasses
func (*WebmodelsAssetClasses) MarshalBinary ¶
func (m *WebmodelsAssetClasses) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsAssetClasses) UnmarshalBinary ¶
func (m *WebmodelsAssetClasses) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsAssetTaxonomy ¶
type WebmodelsAssetTaxonomy struct {
// asset taxonomy
AssetTaxonomy *WebmodelsAssetClasses `json:"assetTaxonomy,omitempty"`
}
WebmodelsAssetTaxonomy webmodels asset taxonomy
swagger:model webmodels.AssetTaxonomy
func (*WebmodelsAssetTaxonomy) MarshalBinary ¶
func (m *WebmodelsAssetTaxonomy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsAssetTaxonomy) UnmarshalBinary ¶
func (m *WebmodelsAssetTaxonomy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsComponent ¶
type WebmodelsComponent struct {
// component
Component *Component `json:"component,omitempty"`
}
WebmodelsComponent webmodels component
swagger:model webmodels.Component
func (*WebmodelsComponent) MarshalBinary ¶
func (m *WebmodelsComponent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsComponent) UnmarshalBinary ¶
func (m *WebmodelsComponent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsComponentInput ¶
type WebmodelsComponentInput struct {
// attached to
AttachedTo uuid.UUID `json:"attachedTo,omitempty"`
// designation
Designation string `json:"designation,omitempty"`
// fixed speed
FixedSpeed float64 `json:"fixedSpeed,omitempty"`
// id
ID uuid.UUID `json:"id,omitempty"`
// manufacturer
Manufacturer string `json:"manufacturer,omitempty"`
// position
Position int64 `json:"position,omitempty"`
// position description
PositionDescription string `json:"positionDescription,omitempty"`
// rotating ring
// Enum: [inner outer both]
RotatingRing string `json:"rotatingRing,omitempty"`
// serial number
SerialNumber string `json:"serialNumber,omitempty"`
// shaft side
// Enum: [de nde unknown]
ShaftSide string `json:"shaftSide,omitempty"`
// type
// Enum: [shaft bearing]
Type string `json:"type,omitempty"`
}
WebmodelsComponentInput webmodels component input
swagger:model webmodels.ComponentInput
func (*WebmodelsComponentInput) MarshalBinary ¶
func (m *WebmodelsComponentInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsComponentInput) UnmarshalBinary ¶
func (m *WebmodelsComponentInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsComponents ¶
type WebmodelsComponents struct {
// components
Components []*Component `json:"components"`
// count
Count int64 `json:"count,omitempty"`
}
WebmodelsComponents webmodels components
swagger:model webmodels.Components
func (*WebmodelsComponents) MarshalBinary ¶
func (m *WebmodelsComponents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsComponents) UnmarshalBinary ¶
func (m *WebmodelsComponents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsEmptyResponse ¶
type WebmodelsEmptyResponse interface{}
WebmodelsEmptyResponse webmodels empty response
swagger:model webmodels.EmptyResponse
type WebmodelsEvents ¶
type WebmodelsEvents struct {
// events
Events []*EventsourceRecord `json:"events"`
}
WebmodelsEvents webmodels events
swagger:model webmodels.Events
func (*WebmodelsEvents) MarshalBinary ¶
func (m *WebmodelsEvents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsEvents) UnmarshalBinary ¶
func (m *WebmodelsEvents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsNode ¶
type WebmodelsNode struct {
// node
Node Node `json:"node,omitempty"`
}
WebmodelsNode webmodels node
swagger:model webmodels.Node
func (*WebmodelsNode) MarshalBinary ¶
func (m *WebmodelsNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsNode) UnmarshalBinary ¶
func (m *WebmodelsNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsNodeCount ¶
type WebmodelsNodeCount struct {
// node count
NodeCount int64 `json:"nodeCount,omitempty"`
}
WebmodelsNodeCount webmodels node count
swagger:model webmodels.NodeCount
func (*WebmodelsNodeCount) MarshalBinary ¶
func (m *WebmodelsNodeCount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsNodeCount) UnmarshalBinary ¶
func (m *WebmodelsNodeCount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsNodeID ¶
WebmodelsNodeID webmodels node ID
swagger:model webmodels.NodeID
func (*WebmodelsNodeID) MarshalBinary ¶
func (m *WebmodelsNodeID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsNodeID) UnmarshalBinary ¶
func (m *WebmodelsNodeID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsNodeIDs ¶
type WebmodelsNodeIDs struct {
// node ids
NodeIds []string `json:"nodeIds"`
}
WebmodelsNodeIDs webmodels node i ds
swagger:model webmodels.NodeIDs
func (*WebmodelsNodeIDs) MarshalBinary ¶
func (m *WebmodelsNodeIDs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsNodeIDs) UnmarshalBinary ¶
func (m *WebmodelsNodeIDs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsNodeInput ¶
type WebmodelsNodeInput struct {
// Possible answers for single_choice and multi_choice inspections. Only valid for inspection point type nodes
Answers []string `json:"answers"`
// Only valid for asset type nodes
AssetClass string `json:"assetClass,omitempty"`
// Only valid for asset type nodes
AssetSequence string `json:"assetSequence,omitempty"`
// Only valid for asset type nodes
AssetType string `json:"assetType,omitempty"`
// Bearing number on this asset. Only valid for measurement point type nodes
Bearing int64 `json:"bearing,omitempty"`
// Which country the node is in. Only valid for site type node
Country string `json:"country,omitempty"`
// Only valid for asset type nodes
Criticality string `json:"criticality,omitempty"`
// Type of device used to take measurements on this point. Only valid for measurement point type nodes
DadType string `json:"dadType,omitempty"`
// Description of the node
Description string `json:"description,omitempty"`
// Speed in RPM if this shaft has a fixed speed. Only valid for measurement point type nodes
FixedSpeedRpm float64 `json:"fixedSpeedRpm,omitempty"`
// ID of node, as a UUID
ID uuid.UUID `json:"id,omitempty"`
// Industry segment of this node. Only valid for site type node
// Enum: [agriculture construction food_and_beverage hydrocarbon_processing machine_tool marine metal mining power_generation pulp_and_paper renewable undefined]
IndustrySegment string `json:"industrySegment,omitempty"`
// Descriptive name of the node
Label string `json:"label,omitempty"`
// ID of measurement point location. Only valid for measurement point type nodes
LocationID uuid.UUID `json:"locationId,omitempty"`
// Type of lubricant used. Only valid for lubrication point type nodes
Lubricant string `json:"lubricant,omitempty"`
// Unit that the volume is specified in. Only valid for lubrication point type nodes
// Enum: [gram ounce cm3 unknown]
LubricantUnit string `json:"lubricantUnit,omitempty"`
// Volume of lubricant, in the given unit. Only valid for lubrication point type nodes
LubricantVolume int64 `json:"lubricantVolume,omitempty"`
// Instruction for lubrication activity. Only valid for lubrication point type nodes
LubricateInstructions string `json:"lubricateInstructions,omitempty"`
// Interval between lubrication in days. Only valid for lubrication point type nodes
LubricateInterval int64 `json:"lubricateInterval,omitempty"`
// ActivityAssetState the asset should be in during the lubrication activity. Only valid for lubrication point type nodes
// Enum: [must_be_on must_be_off]
LubricationActivityAssetState string `json:"lubricationActivityAssetState,omitempty"`
// Only valid for asset type nodes
Manufacturer string `json:"manufacturer,omitempty"`
// Type of measurement. Only valid for measurement point type nodes
// Enum: [displacement acceleration velocity temperature dc dc_gap ampl_phase box manual speed envelope_1 envelope_2 envelope_3 envelope_4 unknown]
MeasurementType string `json:"measurementType,omitempty"`
// Metadata with keys and optional values
MetaData NodeMetaData `json:"metaData,omitempty"`
// Only valid for asset type nodes
Model string `json:"model,omitempty"`
// Type of node
// Enum: [root company site plant ship system functional_location asset measurement_point inspection_point lubrication_point]
NodeSubType string `json:"nodeSubType,omitempty"`
// Type of node
// Enum: [root company site plant system functional_location asset measurement_point inspection_point lubrication_point unknown]
NodeType string `json:"nodeType,omitempty"`
// Orientation of measurement. Only valid for measurement point type nodes
// Enum: [axial radial radial90 horizontal vertical unknown]
Orientation string `json:"orientation,omitempty"`
// Origin of node, if imported from another system
Origin *Origin `json:"origin,omitempty"`
// ID of parent node, as a UUID
ParentID uuid.UUID `json:"parentId,omitempty"`
// Relative position of node in the Enlight Centre UI
// Minimum: 0
Position *int64 `json:"position,omitempty"`
// Which postal code the site has. Only valid for site type node
PostalCode string `json:"postalCode,omitempty"`
// Only valid for asset type nodes
SerialNumber string `json:"serialNumber,omitempty"`
// Identifier of shaft that this measurement point belongs to. Only valid for measurement point type nodes
Shaft string `json:"shaft,omitempty"`
// Which side of the given shaft this measurement point belongs to. Only valid for measurement point type nodes
// Enum: [de nde]
ShaftSide string `json:"shaftSide,omitempty"`
// Comma separated list of free form tags on this node
Tags string `json:"tags,omitempty"`
// Unit of the value recorded, in case of numeric inspection. Only valid for inspection point type nodes
Unit string `json:"unit,omitempty"`
// Type of value to record. Only valid for inspection point type nodes
// Enum: [numeric single_choice multi_choice unknown]
ValueType string `json:"valueType,omitempty"`
// Only valid for inspection point type nodes
VisualizationMaxValue string `json:"visualizationMaxValue,omitempty"`
// Only valid for inspection point type nodes
VisualizationMinValue string `json:"visualizationMinValue,omitempty"`
// Type of visualization in Enlight Centre. Only valid for inspection point type nodes
// Enum: [visualization_none visualization_circular_gauge visualization_level_gauge]
VisualizationType string `json:"visualizationType,omitempty"`
}
WebmodelsNodeInput webmodels node input
swagger:model webmodels.NodeInput
func (*WebmodelsNodeInput) MarshalBinary ¶
func (m *WebmodelsNodeInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsNodeInput) UnmarshalBinary ¶
func (m *WebmodelsNodeInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsNodes ¶
type WebmodelsNodes struct {
// nodes
Nodes []Node `json:"nodes"`
}
WebmodelsNodes webmodels nodes
swagger:model webmodels.Nodes
func (*WebmodelsNodes) MarshalBinary ¶
func (m *WebmodelsNodes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsNodes) UnmarshalBinary ¶
func (m *WebmodelsNodes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebmodelsOrigins ¶
type WebmodelsOrigins struct {
// origins
Origins []*Origin `json:"origins"`
}
WebmodelsOrigins webmodels origins
swagger:model webmodels.Origins
func (*WebmodelsOrigins) MarshalBinary ¶
func (m *WebmodelsOrigins) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebmodelsOrigins) UnmarshalBinary ¶
func (m *WebmodelsOrigins) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- asset_class.go
- asset_sequence.go
- asset_type.go
- component.go
- eventsource_record.go
- httpmodel_error_response.go
- node.go
- node_meta_data.go
- origin.go
- webmodels_asset_classes.go
- webmodels_asset_taxonomy.go
- webmodels_component.go
- webmodels_component_input.go
- webmodels_components.go
- webmodels_empty_response.go
- webmodels_events.go
- webmodels_node.go
- webmodels_node_count.go
- webmodels_node_i_ds.go
- webmodels_node_id.go
- webmodels_node_input.go
- webmodels_nodes.go
- webmodels_origins.go