models

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CreateNodeRequestInspectionTypeNumeric captures enum value "numeric"
	CreateNodeRequestInspectionTypeNumeric string = "numeric"

	// CreateNodeRequestInspectionTypeSingleChoice captures enum value "single_choice"
	CreateNodeRequestInspectionTypeSingleChoice string = "single_choice"

	// CreateNodeRequestInspectionTypeMultiChoice captures enum value "multi_choice"
	CreateNodeRequestInspectionTypeMultiChoice string = "multi_choice"
)
View Source
const (

	// CreateNodeRequestLubricationActivityAssetStateMustBeOn captures enum value "must_be_on"
	CreateNodeRequestLubricationActivityAssetStateMustBeOn string = "must_be_on"

	// CreateNodeRequestLubricationActivityAssetStateMustBeOff captures enum value "must_be_off"
	CreateNodeRequestLubricationActivityAssetStateMustBeOff string = "must_be_off"
)
View Source
const (

	// CreateNodeRequestMeasurementTypeDisplacement captures enum value "displacement"
	CreateNodeRequestMeasurementTypeDisplacement string = "displacement"

	// CreateNodeRequestMeasurementTypeAcceleration captures enum value "acceleration"
	CreateNodeRequestMeasurementTypeAcceleration string = "acceleration"

	// CreateNodeRequestMeasurementTypeVelocity captures enum value "velocity"
	CreateNodeRequestMeasurementTypeVelocity string = "velocity"

	// CreateNodeRequestMeasurementTypeTemperature captures enum value "temperature"
	CreateNodeRequestMeasurementTypeTemperature string = "temperature"

	// CreateNodeRequestMeasurementTypeDcGap captures enum value "dc_gap"
	CreateNodeRequestMeasurementTypeDcGap string = "dc_gap"

	// CreateNodeRequestMeasurementTypeAmplPhase captures enum value "ampl_phase"
	CreateNodeRequestMeasurementTypeAmplPhase string = "ampl_phase"

	// CreateNodeRequestMeasurementTypeBox captures enum value "box"
	CreateNodeRequestMeasurementTypeBox string = "box"

	// CreateNodeRequestMeasurementTypeSpeed captures enum value "speed"
	CreateNodeRequestMeasurementTypeSpeed string = "speed"

	// CreateNodeRequestMeasurementTypeEnvelope2 captures enum value "envelope_2"
	CreateNodeRequestMeasurementTypeEnvelope2 string = "envelope_2"

	// CreateNodeRequestMeasurementTypeEnvelope3 captures enum value "envelope_3"
	CreateNodeRequestMeasurementTypeEnvelope3 string = "envelope_3"

	// CreateNodeRequestMeasurementTypeUnknown captures enum value "unknown"
	CreateNodeRequestMeasurementTypeUnknown string = "unknown"
)
View Source
const (

	// CreateNodeRequestOrientationAxial captures enum value "axial"
	CreateNodeRequestOrientationAxial string = "axial"

	// CreateNodeRequestOrientationRadial captures enum value "radial"
	CreateNodeRequestOrientationRadial string = "radial"

	// CreateNodeRequestOrientationRadial90 captures enum value "radial90"
	CreateNodeRequestOrientationRadial90 string = "radial90"

	// CreateNodeRequestOrientationHorizontal captures enum value "horizontal"
	CreateNodeRequestOrientationHorizontal string = "horizontal"

	// CreateNodeRequestOrientationVertical captures enum value "vertical"
	CreateNodeRequestOrientationVertical string = "vertical"

	// CreateNodeRequestOrientationUnknown captures enum value "unknown"
	CreateNodeRequestOrientationUnknown string = "unknown"
)
View Source
const (

	// CreateNodeRequestSubtypeRoot captures enum value "root"
	CreateNodeRequestSubtypeRoot string = "root"

	// CreateNodeRequestSubtypeCompany captures enum value "company"
	CreateNodeRequestSubtypeCompany string = "company"

	// CreateNodeRequestSubtypeSite captures enum value "site"
	CreateNodeRequestSubtypeSite string = "site"

	// CreateNodeRequestSubtypePlant captures enum value "plant"
	CreateNodeRequestSubtypePlant string = "plant"

	// CreateNodeRequestSubtypeShip captures enum value "ship"
	CreateNodeRequestSubtypeShip string = "ship"

	// CreateNodeRequestSubtypeSystem captures enum value "system"
	CreateNodeRequestSubtypeSystem string = "system"

	// CreateNodeRequestSubtypeFunctionalLocation captures enum value "functional_location"
	CreateNodeRequestSubtypeFunctionalLocation string = "functional_location"

	// CreateNodeRequestSubtypeAsset captures enum value "asset"
	CreateNodeRequestSubtypeAsset string = "asset"

	// CreateNodeRequestSubtypeMeasurementLocation captures enum value "measurement_location"
	CreateNodeRequestSubtypeMeasurementLocation string = "measurement_location"

	// CreateNodeRequestSubtypeMeasurementPoint captures enum value "measurement_point"
	CreateNodeRequestSubtypeMeasurementPoint string = "measurement_point"

	// CreateNodeRequestSubtypeInspectionPoint captures enum value "inspection_point"
	CreateNodeRequestSubtypeInspectionPoint string = "inspection_point"

	// CreateNodeRequestSubtypeLubricationPoint captures enum value "lubrication_point"
	CreateNodeRequestSubtypeLubricationPoint string = "lubrication_point"
)
View Source
const (

	// CreateNodeRequestTypeRoot captures enum value "root"
	CreateNodeRequestTypeRoot string = "root"

	// CreateNodeRequestTypeCompany captures enum value "company"
	CreateNodeRequestTypeCompany string = "company"

	// CreateNodeRequestTypeSite captures enum value "site"
	CreateNodeRequestTypeSite string = "site"

	// CreateNodeRequestTypePlant captures enum value "plant"
	CreateNodeRequestTypePlant string = "plant"

	// CreateNodeRequestTypeSystem captures enum value "system"
	CreateNodeRequestTypeSystem string = "system"

	// CreateNodeRequestTypeFunctionalLocation captures enum value "functional_location"
	CreateNodeRequestTypeFunctionalLocation string = "functional_location"

	// CreateNodeRequestTypeAsset captures enum value "asset"
	CreateNodeRequestTypeAsset string = "asset"

	// CreateNodeRequestTypeMeasurementLocation captures enum value "measurement_location"
	CreateNodeRequestTypeMeasurementLocation string = "measurement_location"

	// CreateNodeRequestTypeMeasurementPoint captures enum value "measurement_point"
	CreateNodeRequestTypeMeasurementPoint string = "measurement_point"

	// CreateNodeRequestTypeInspectionPoint captures enum value "inspection_point"
	CreateNodeRequestTypeInspectionPoint string = "inspection_point"

	// CreateNodeRequestTypeLubricationPoint captures enum value "lubrication_point"
	CreateNodeRequestTypeLubricationPoint string = "lubrication_point"

	// CreateNodeRequestTypeUnknown captures enum value "unknown"
	CreateNodeRequestTypeUnknown string = "unknown"
)
View Source
const (

	// CreateNodeRequestVisualizationTypeVisualizationNone captures enum value "visualization_none"
	CreateNodeRequestVisualizationTypeVisualizationNone string = "visualization_none"

	// CreateNodeRequestVisualizationTypeVisualizationCircularGauge captures enum value "visualization_circular_gauge"
	CreateNodeRequestVisualizationTypeVisualizationCircularGauge string = "visualization_circular_gauge"

	// CreateNodeRequestVisualizationTypeVisualizationLevelGauge captures enum value "visualization_level_gauge"
	CreateNodeRequestVisualizationTypeVisualizationLevelGauge string = "visualization_level_gauge"
)
View Source
const (

	// NodeInspectionTypeNumeric captures enum value "numeric"
	NodeInspectionTypeNumeric string = "numeric"

	// NodeInspectionTypeSingleChoice captures enum value "single_choice"
	NodeInspectionTypeSingleChoice string = "single_choice"

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

	// 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"

	// NodeMeasurementTypeSpeed captures enum value "speed"
	NodeMeasurementTypeSpeed string = "speed"

	// NodeMeasurementTypeEnvelope2 captures enum value "envelope_2"
	NodeMeasurementTypeEnvelope2 string = "envelope_2"

	// NodeMeasurementTypeEnvelope3 captures enum value "envelope_3"
	NodeMeasurementTypeEnvelope3 string = "envelope_3"

	// NodeMeasurementTypeUnknown captures enum value "unknown"
	NodeMeasurementTypeUnknown string = "unknown"
)
View Source
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"
)
View Source
const (

	// NodeSubtypeRoot captures enum value "root"
	NodeSubtypeRoot string = "root"

	// NodeSubtypeCompany captures enum value "company"
	NodeSubtypeCompany string = "company"

	// NodeSubtypeSite captures enum value "site"
	NodeSubtypeSite string = "site"

	// NodeSubtypePlant captures enum value "plant"
	NodeSubtypePlant string = "plant"

	// NodeSubtypeShip captures enum value "ship"
	NodeSubtypeShip string = "ship"

	// NodeSubtypeSystem captures enum value "system"
	NodeSubtypeSystem string = "system"

	// NodeSubtypeFunctionalLocation captures enum value "functional_location"
	NodeSubtypeFunctionalLocation string = "functional_location"

	// NodeSubtypeAsset captures enum value "asset"
	NodeSubtypeAsset string = "asset"

	// NodeSubtypeMeasurementLocation captures enum value "measurement_location"
	NodeSubtypeMeasurementLocation string = "measurement_location"

	// NodeSubtypeMeasurementPoint captures enum value "measurement_point"
	NodeSubtypeMeasurementPoint string = "measurement_point"

	// NodeSubtypeInspectionPoint captures enum value "inspection_point"
	NodeSubtypeInspectionPoint string = "inspection_point"

	// NodeSubtypeLubricationPoint captures enum value "lubrication_point"
	NodeSubtypeLubricationPoint string = "lubrication_point"
)
View Source
const (

	// NodeTypeRoot captures enum value "root"
	NodeTypeRoot string = "root"

	// NodeTypeCompany captures enum value "company"
	NodeTypeCompany string = "company"

	// NodeTypeSite captures enum value "site"
	NodeTypeSite string = "site"

	// NodeTypePlant captures enum value "plant"
	NodeTypePlant string = "plant"

	// NodeTypeSystem captures enum value "system"
	NodeTypeSystem string = "system"

	// NodeTypeFunctionalLocation captures enum value "functional_location"
	NodeTypeFunctionalLocation string = "functional_location"

	// NodeTypeAsset captures enum value "asset"
	NodeTypeAsset string = "asset"

	// NodeTypeMeasurementLocation captures enum value "measurement_location"
	NodeTypeMeasurementLocation string = "measurement_location"

	// NodeTypeMeasurementPoint captures enum value "measurement_point"
	NodeTypeMeasurementPoint string = "measurement_point"

	// NodeTypeInspectionPoint captures enum value "inspection_point"
	NodeTypeInspectionPoint string = "inspection_point"

	// NodeTypeLubricationPoint captures enum value "lubrication_point"
	NodeTypeLubricationPoint string = "lubrication_point"

	// NodeTypeUnknown captures enum value "unknown"
	NodeTypeUnknown string = "unknown"
)
View Source
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"
)
View Source
const (

	// UpdateNodeRequestInspectionTypeNumeric captures enum value "numeric"
	UpdateNodeRequestInspectionTypeNumeric string = "numeric"

	// UpdateNodeRequestInspectionTypeSingleChoice captures enum value "single_choice"
	UpdateNodeRequestInspectionTypeSingleChoice string = "single_choice"

	// UpdateNodeRequestInspectionTypeMultiChoice captures enum value "multi_choice"
	UpdateNodeRequestInspectionTypeMultiChoice string = "multi_choice"
)
View Source
const (

	// UpdateNodeRequestLubricationActivityAssetStateMustBeOn captures enum value "must_be_on"
	UpdateNodeRequestLubricationActivityAssetStateMustBeOn string = "must_be_on"

	// UpdateNodeRequestLubricationActivityAssetStateMustBeOff captures enum value "must_be_off"
	UpdateNodeRequestLubricationActivityAssetStateMustBeOff string = "must_be_off"
)
View Source
const (

	// UpdateNodeRequestMeasurementTypeDisplacement captures enum value "displacement"
	UpdateNodeRequestMeasurementTypeDisplacement string = "displacement"

	// UpdateNodeRequestMeasurementTypeAcceleration captures enum value "acceleration"
	UpdateNodeRequestMeasurementTypeAcceleration string = "acceleration"

	// UpdateNodeRequestMeasurementTypeVelocity captures enum value "velocity"
	UpdateNodeRequestMeasurementTypeVelocity string = "velocity"

	// UpdateNodeRequestMeasurementTypeTemperature captures enum value "temperature"
	UpdateNodeRequestMeasurementTypeTemperature string = "temperature"

	// UpdateNodeRequestMeasurementTypeDcGap captures enum value "dc_gap"
	UpdateNodeRequestMeasurementTypeDcGap string = "dc_gap"

	// UpdateNodeRequestMeasurementTypeAmplPhase captures enum value "ampl_phase"
	UpdateNodeRequestMeasurementTypeAmplPhase string = "ampl_phase"

	// UpdateNodeRequestMeasurementTypeBox captures enum value "box"
	UpdateNodeRequestMeasurementTypeBox string = "box"

	// UpdateNodeRequestMeasurementTypeSpeed captures enum value "speed"
	UpdateNodeRequestMeasurementTypeSpeed string = "speed"

	// UpdateNodeRequestMeasurementTypeEnvelope2 captures enum value "envelope_2"
	UpdateNodeRequestMeasurementTypeEnvelope2 string = "envelope_2"

	// UpdateNodeRequestMeasurementTypeEnvelope3 captures enum value "envelope_3"
	UpdateNodeRequestMeasurementTypeEnvelope3 string = "envelope_3"

	// UpdateNodeRequestMeasurementTypeUnknown captures enum value "unknown"
	UpdateNodeRequestMeasurementTypeUnknown string = "unknown"
)
View Source
const (

	// UpdateNodeRequestOrientationAxial captures enum value "axial"
	UpdateNodeRequestOrientationAxial string = "axial"

	// UpdateNodeRequestOrientationRadial captures enum value "radial"
	UpdateNodeRequestOrientationRadial string = "radial"

	// UpdateNodeRequestOrientationRadial90 captures enum value "radial90"
	UpdateNodeRequestOrientationRadial90 string = "radial90"

	// UpdateNodeRequestOrientationHorizontal captures enum value "horizontal"
	UpdateNodeRequestOrientationHorizontal string = "horizontal"

	// UpdateNodeRequestOrientationVertical captures enum value "vertical"
	UpdateNodeRequestOrientationVertical string = "vertical"

	// UpdateNodeRequestOrientationUnknown captures enum value "unknown"
	UpdateNodeRequestOrientationUnknown string = "unknown"
)
View Source
const (

	// UpdateNodeRequestSubtypeRoot captures enum value "root"
	UpdateNodeRequestSubtypeRoot string = "root"

	// UpdateNodeRequestSubtypeCompany captures enum value "company"
	UpdateNodeRequestSubtypeCompany string = "company"

	// UpdateNodeRequestSubtypeSite captures enum value "site"
	UpdateNodeRequestSubtypeSite string = "site"

	// UpdateNodeRequestSubtypePlant captures enum value "plant"
	UpdateNodeRequestSubtypePlant string = "plant"

	// UpdateNodeRequestSubtypeShip captures enum value "ship"
	UpdateNodeRequestSubtypeShip string = "ship"

	// UpdateNodeRequestSubtypeSystem captures enum value "system"
	UpdateNodeRequestSubtypeSystem string = "system"

	// UpdateNodeRequestSubtypeFunctionalLocation captures enum value "functional_location"
	UpdateNodeRequestSubtypeFunctionalLocation string = "functional_location"

	// UpdateNodeRequestSubtypeAsset captures enum value "asset"
	UpdateNodeRequestSubtypeAsset string = "asset"

	// UpdateNodeRequestSubtypeMeasurementLocation captures enum value "measurement_location"
	UpdateNodeRequestSubtypeMeasurementLocation string = "measurement_location"

	// UpdateNodeRequestSubtypeMeasurementPoint captures enum value "measurement_point"
	UpdateNodeRequestSubtypeMeasurementPoint string = "measurement_point"

	// UpdateNodeRequestSubtypeInspectionPoint captures enum value "inspection_point"
	UpdateNodeRequestSubtypeInspectionPoint string = "inspection_point"

	// UpdateNodeRequestSubtypeLubricationPoint captures enum value "lubrication_point"
	UpdateNodeRequestSubtypeLubricationPoint string = "lubrication_point"
)
View Source
const (

	// UpdateNodeRequestTypeRoot captures enum value "root"
	UpdateNodeRequestTypeRoot string = "root"

	// UpdateNodeRequestTypeCompany captures enum value "company"
	UpdateNodeRequestTypeCompany string = "company"

	// UpdateNodeRequestTypeSite captures enum value "site"
	UpdateNodeRequestTypeSite string = "site"

	// UpdateNodeRequestTypePlant captures enum value "plant"
	UpdateNodeRequestTypePlant string = "plant"

	// UpdateNodeRequestTypeSystem captures enum value "system"
	UpdateNodeRequestTypeSystem string = "system"

	// UpdateNodeRequestTypeFunctionalLocation captures enum value "functional_location"
	UpdateNodeRequestTypeFunctionalLocation string = "functional_location"

	// UpdateNodeRequestTypeAsset captures enum value "asset"
	UpdateNodeRequestTypeAsset string = "asset"

	// UpdateNodeRequestTypeMeasurementLocation captures enum value "measurement_location"
	UpdateNodeRequestTypeMeasurementLocation string = "measurement_location"

	// UpdateNodeRequestTypeMeasurementPoint captures enum value "measurement_point"
	UpdateNodeRequestTypeMeasurementPoint string = "measurement_point"

	// UpdateNodeRequestTypeInspectionPoint captures enum value "inspection_point"
	UpdateNodeRequestTypeInspectionPoint string = "inspection_point"

	// UpdateNodeRequestTypeLubricationPoint captures enum value "lubrication_point"
	UpdateNodeRequestTypeLubricationPoint string = "lubrication_point"

	// UpdateNodeRequestTypeUnknown captures enum value "unknown"
	UpdateNodeRequestTypeUnknown string = "unknown"
)
View Source
const (

	// UpdateNodeRequestVisualizationTypeVisualizationNone captures enum value "visualization_none"
	UpdateNodeRequestVisualizationTypeVisualizationNone string = "visualization_none"

	// UpdateNodeRequestVisualizationTypeVisualizationCircularGauge captures enum value "visualization_circular_gauge"
	UpdateNodeRequestVisualizationTypeVisualizationCircularGauge string = "visualization_circular_gauge"

	// UpdateNodeRequestVisualizationTypeVisualizationLevelGauge captures enum value "visualization_level_gauge"
	UpdateNodeRequestVisualizationTypeVisualizationLevelGauge string = "visualization_level_gauge"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {

	// Unique identifier of this specific answer
	ID uuid.UUID `json:"id,omitempty"`

	// Textual representation of this inspection answer
	Text string `json:"text,omitempty"`
}

Answer answer

swagger:model Answer

func (*Answer) MarshalBinary

func (m *Answer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Answer) UnmarshalBinary

func (m *Answer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Answer) Validate

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

Validate validates this answer

type AssetType

type AssetType struct {

	// class
	// Required: true
	Class *string `json:"class"`

	// code
	Code string `json:"code,omitempty"`

	// sequence
	Sequence string `json:"sequence,omitempty"`
}

AssetType asset type

swagger:model AssetType

func (*AssetType) MarshalBinary

func (m *AssetType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssetType) UnmarshalBinary

func (m *AssetType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssetType) Validate

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

Validate validates this asset type

type CreateNodeRequest

type CreateNodeRequest struct {

	// Possible answers to a single choice or multi choice inspection.
	Answers []*Answer `json:"answers"`

	// Only valid for asset type nodes
	AssetType *AssetType `json:"assetType,omitempty"`

	// Which country the node is in. Only valid for site type node
	Country string `json:"country,omitempty"`

	// Timestamp of node creation
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Only valid for asset type nodes
	// Required: true
	Criticality *string `json:"criticality"`

	// 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"`

	// ID of node, as a UUID
	ID uuid.UUID `json:"id,omitempty"`

	// Industry segment of this node. Only valid for site type node
	Industry *Industry `json:"industry,omitempty"`

	// Type of value to record.
	// Required: true
	// Enum: [numeric single_choice multi_choice]
	InspectionType *string `json:"inspectionType"`

	// Descriptive name of the node
	// Required: true
	Label *string `json:"label"`

	// Locked indicates if this node is locked for editing by someone
	Locked *Lock `json:"locked,omitempty"`

	// Type of lubricant used. Only valid for lubrication point type nodes
	// Required: true
	Lubricant *string `json:"lubricant"`

	// Amount of lubricant to be used. Only valid for lubrication point type nodes
	LubricantQuantity *NaturalQuantity `json:"lubricantQuantity,omitempty"`

	// Instruction for lubrication activity. Only valid for lubrication point type nodes
	LubricateInstructions string `json:"lubricateInstructions,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
	// Required: true
	// Enum: [displacement acceleration velocity temperature dc_gap ampl_phase box speed envelope_2 envelope_3 unknown]
	MeasurementType *string `json:"measurementType"`

	// Metadata with keys and optional values
	Metadata NodeMetaData `json:"metadata,omitempty"`

	// Only valid for asset type nodes
	Model string `json:"model,omitempty"`

	// Orientation of measurement. Only valid for measurement point type nodes
	// Required: true
	// Enum: [axial radial radial90 horizontal vertical unknown]
	Orientation *string `json:"orientation"`

	// Origin of node, if imported from another system
	Origin *Origin `json:"origin,omitempty"`

	// ID of parent node, as a UUID
	// Required: true
	ParentID *string `json:"parentId"`

	// 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"`

	// Subtype of node
	// Required: true
	// Enum: [root company site plant ship system functional_location asset measurement_location measurement_point inspection_point lubrication_point]
	Subtype *string `json:"subtype"`

	// Type of node
	// Required: true
	// Enum: [root company site plant system functional_location asset measurement_location measurement_point inspection_point lubrication_point unknown]
	Type *string `json:"type"`

	// Unit of value recorded. Only valid for inspection points of type `numeric`.
	Unit string `json:"unit,omitempty"`

	// Timestamp of last node update
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Maximum value used when visualizing the value of the point on a scale. Only valid for inspection points of type `numeric`.
	VisualizationMaxValue float64 `json:"visualizationMaxValue,omitempty"`

	// Minimum value used when visualizing the value of the point on a scale. Only valid for inspection points of type `numeric`.
	VisualizationMinValue float64 `json:"visualizationMinValue,omitempty"`

	// Type of visualization in Enlight Centre. Only valid for inspection points of type `numeric`.
	// Enum: [visualization_none visualization_circular_gauge visualization_level_gauge]
	VisualizationType string `json:"visualizationType,omitempty"`
}

CreateNodeRequest create node request

swagger:model CreateNodeRequest

func (*CreateNodeRequest) MarshalBinary

func (m *CreateNodeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNodeRequest) UnmarshalBinary

func (m *CreateNodeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNodeRequest) Validate

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

Validate validates this create node request

type CreateNodeResponse

type CreateNodeResponse struct {

	// node
	Node Node `json:"node,omitempty"`
}

CreateNodeResponse create node response

swagger:model CreateNodeResponse

func (*CreateNodeResponse) MarshalBinary

func (m *CreateNodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNodeResponse) UnmarshalBinary

func (m *CreateNodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNodeResponse) Validate

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

Validate validates this create node response

type DuplicateNodeResponse

type DuplicateNodeResponse struct {

	// new node Id
	NewNodeID string `json:"newNodeId,omitempty"`
}

DuplicateNodeResponse duplicate node response

swagger:model DuplicateNodeResponse

func (*DuplicateNodeResponse) MarshalBinary

func (m *DuplicateNodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DuplicateNodeResponse) UnmarshalBinary

func (m *DuplicateNodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DuplicateNodeResponse) Validate

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

Validate validates this duplicate node response

type GetAncestorsResponse

type GetAncestorsResponse struct {

	// nodes
	Nodes []Node `json:"nodes"`
}

GetAncestorsResponse get ancestors response

swagger:model GetAncestorsResponse

func (*GetAncestorsResponse) MarshalBinary

func (m *GetAncestorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAncestorsResponse) UnmarshalBinary

func (m *GetAncestorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAncestorsResponse) Validate

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

Validate validates this get ancestors response

type GetCompanyResponse

type GetCompanyResponse struct {

	// node
	Node Node `json:"node,omitempty"`
}

GetCompanyResponse get company response

swagger:model GetCompanyResponse

func (*GetCompanyResponse) MarshalBinary

func (m *GetCompanyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCompanyResponse) UnmarshalBinary

func (m *GetCompanyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCompanyResponse) Validate

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

Validate validates this get company response

type GetNodeByOriginResponse

type GetNodeByOriginResponse struct {

	// node Id
	NodeID uuid.UUID `json:"nodeId,omitempty"`
}

GetNodeByOriginResponse get node by origin response

swagger:model GetNodeByOriginResponse

func (*GetNodeByOriginResponse) MarshalBinary

func (m *GetNodeByOriginResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNodeByOriginResponse) UnmarshalBinary

func (m *GetNodeByOriginResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNodeByOriginResponse) Validate

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

Validate validates this get node by origin response

type GetNodeResponse

type GetNodeResponse struct {

	// node
	Node Node `json:"node,omitempty"`
}

GetNodeResponse get node response

swagger:model GetNodeResponse

func (*GetNodeResponse) MarshalBinary

func (m *GetNodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNodeResponse) UnmarshalBinary

func (m *GetNodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNodeResponse) Validate

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

Validate validates this get node response

type GetNodesByPartialOriginResponse

type GetNodesByPartialOriginResponse struct {

	// links
	Links *OriginPaginationLinks `json:"links,omitempty"`

	// node ids
	NodeIds []string `json:"nodeIds"`
}

GetNodesByPartialOriginResponse get nodes by partial origin response

swagger:model GetNodesByPartialOriginResponse

func (*GetNodesByPartialOriginResponse) MarshalBinary

func (m *GetNodesByPartialOriginResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNodesByPartialOriginResponse) UnmarshalBinary

func (m *GetNodesByPartialOriginResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNodesByPartialOriginResponse) Validate

Validate validates this get nodes by partial origin response

type GetOriginsResponse

type GetOriginsResponse struct {

	// links
	Links *OriginPaginationLinks `json:"links,omitempty"`

	// origins
	Origins []*Origin `json:"origins"`
}

GetOriginsResponse get origins response

swagger:model GetOriginsResponse

func (*GetOriginsResponse) MarshalBinary

func (m *GetOriginsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOriginsResponse) UnmarshalBinary

func (m *GetOriginsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOriginsResponse) Validate

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

Validate validates this get origins response

type GetSubtreeCountResponse

type GetSubtreeCountResponse struct {

	// count
	Count int64 `json:"count,omitempty"`
}

GetSubtreeCountResponse get subtree count response

swagger:model GetSubtreeCountResponse

func (*GetSubtreeCountResponse) MarshalBinary

func (m *GetSubtreeCountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSubtreeCountResponse) UnmarshalBinary

func (m *GetSubtreeCountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSubtreeCountResponse) Validate

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

Validate validates this get subtree count response

type GetSubtreeResponse

type GetSubtreeResponse struct {

	// links
	Links *SubtreePaginationLinks `json:"links,omitempty"`

	// nodes
	Nodes []Node `json:"nodes"`
}

GetSubtreeResponse get subtree response

swagger:model GetSubtreeResponse

func (*GetSubtreeResponse) MarshalBinary

func (m *GetSubtreeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSubtreeResponse) UnmarshalBinary

func (m *GetSubtreeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSubtreeResponse) Validate

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

Validate validates this get subtree response

type GetTaxonomyResponse

type GetTaxonomyResponse struct {

	// terms
	Terms TaxonomyTerms `json:"terms,omitempty"`
}

GetTaxonomyResponse get taxonomy response

swagger:model GetTaxonomyResponse

func (*GetTaxonomyResponse) MarshalBinary

func (m *GetTaxonomyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetTaxonomyResponse) UnmarshalBinary

func (m *GetTaxonomyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetTaxonomyResponse) Validate

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

Validate validates this get taxonomy response

type Industry

type Industry struct {

	// code
	Code string `json:"code,omitempty"`

	// sector
	// Required: true
	Sector *string `json:"sector"`

	// segment
	Segment string `json:"segment,omitempty"`
}

Industry industry

swagger:model Industry

func (*Industry) MarshalBinary

func (m *Industry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Industry) UnmarshalBinary

func (m *Industry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Industry) Validate

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

Validate validates this industry

type Lock

type Lock struct {

	// owner
	Owner uuid.UUID `json:"owner,omitempty"`
}

Lock lock

swagger:model Lock

func (*Lock) MarshalBinary

func (m *Lock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Lock) UnmarshalBinary

func (m *Lock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Lock) Validate

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

Validate validates this lock

type NaturalQuantity

type NaturalQuantity struct {

	// unit
	// Required: true
	Unit *string `json:"unit"`

	// value
	// Required: true
	// Maximum: 2.147483647e+09
	// Minimum: 0
	Value *float64 `json:"value"`
}

NaturalQuantity natural quantity

swagger:model NaturalQuantity

func (*NaturalQuantity) MarshalBinary

func (m *NaturalQuantity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NaturalQuantity) UnmarshalBinary

func (m *NaturalQuantity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NaturalQuantity) Validate

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

Validate validates this natural quantity

type Node

type Node struct {

	// Possible answers to a single choice or multi choice inspection.
	Answers []*Answer `json:"answers"`

	// Only valid for asset type nodes
	AssetType *AssetType `json:"assetType,omitempty"`

	// Which country the node is in. Only valid for site type node
	Country string `json:"country,omitempty"`

	// Timestamp of node creation
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Only valid for asset type nodes
	// Required: true
	Criticality *string `json:"criticality"`

	// 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"`

	// ID of node, as a UUID
	ID uuid.UUID `json:"id,omitempty"`

	// Industry segment of this node. Only valid for site type node
	Industry *Industry `json:"industry,omitempty"`

	// Type of value to record.
	// Required: true
	// Enum: [numeric single_choice multi_choice]
	InspectionType *string `json:"inspectionType"`

	// Descriptive name of the node
	// Required: true
	Label *string `json:"label"`

	// Locked indicates if this node is locked for editing by someone
	Locked *Lock `json:"locked,omitempty"`

	// Type of lubricant used. Only valid for lubrication point type nodes
	// Required: true
	Lubricant *string `json:"lubricant"`

	// Amount of lubricant to be used. Only valid for lubrication point type nodes
	LubricantQuantity *NaturalQuantity `json:"lubricantQuantity,omitempty"`

	// Instruction for lubrication activity. Only valid for lubrication point type nodes
	LubricateInstructions string `json:"lubricateInstructions,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
	// Required: true
	// Enum: [displacement acceleration velocity temperature dc_gap ampl_phase box speed envelope_2 envelope_3 unknown]
	MeasurementType *string `json:"measurementType"`

	// Metadata with keys and optional values
	Metadata NodeMetaData `json:"metadata,omitempty"`

	// Only valid for asset type nodes
	Model string `json:"model,omitempty"`

	// Orientation of measurement. Only valid for measurement point type nodes
	// Required: true
	// Enum: [axial radial radial90 horizontal vertical unknown]
	Orientation *string `json:"orientation"`

	// Origin of node, if imported from another system
	Origin *Origin `json:"origin,omitempty"`

	// ID of parent node, as a UUID
	// Required: true
	ParentID *string `json:"parentId"`

	// 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"`

	// Subtype of node
	// Required: true
	// Enum: [root company site plant ship system functional_location asset measurement_location measurement_point inspection_point lubrication_point]
	Subtype *string `json:"subtype"`

	// Type of node
	// Required: true
	// Enum: [root company site plant system functional_location asset measurement_location measurement_point inspection_point lubrication_point unknown]
	Type *string `json:"type"`

	// Unit of value recorded. Only valid for inspection points of type `numeric`.
	Unit string `json:"unit,omitempty"`

	// Timestamp of last node update
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Maximum value used when visualizing the value of the point on a scale. Only valid for inspection points of type `numeric`.
	VisualizationMaxValue float64 `json:"visualizationMaxValue,omitempty"`

	// Minimum value used when visualizing the value of the point on a scale. Only valid for inspection points of type `numeric`.
	VisualizationMinValue float64 `json:"visualizationMinValue,omitempty"`

	// Type of visualization in Enlight Centre. Only valid for inspection points of type `numeric`.
	// Enum: [visualization_none visualization_circular_gauge visualization_level_gauge]
	VisualizationType string `json:"visualizationType,omitempty"`
}

Node node

swagger:model Node

func (*Node) MarshalBinary

func (m *Node) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Node) UnmarshalBinary

func (m *Node) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Node) Validate

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

Validate validates this node

type NodeMetaData

type NodeMetaData map[string]*string

NodeMetaData node meta data

swagger:model NodeMetaData

func (NodeMetaData) Validate

func (m NodeMetaData) Validate(formats strfmt.Registry) error

Validate validates this node meta data

type Origin

type Origin struct {

	// Origin identity
	// Required: true
	ID *string `json:"id"`

	// Origin provider
	// Required: true
	Provider *string `json:"provider"`

	// Origin type
	// Required: true
	Type *string `json:"type"`
}

Origin origin

swagger:model Origin

func (*Origin) MarshalBinary

func (m *Origin) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Origin) UnmarshalBinary

func (m *Origin) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Origin) Validate

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

Validate validates this origin

type OriginPaginationLinks struct {

	// next
	Next string `json:"next,omitempty"`

	// self
	Self string `json:"self,omitempty"`
}

OriginPaginationLinks origin pagination links

swagger:model OriginPaginationLinks

func (*OriginPaginationLinks) MarshalBinary

func (m *OriginPaginationLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OriginPaginationLinks) UnmarshalBinary

func (m *OriginPaginationLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OriginPaginationLinks) Validate

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

Validate validates this origin pagination links

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) 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 ProblemsNodeNotFoundProblem

type ProblemsNodeNotFoundProblem 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"`

	// id
	ID string `json:"id,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"`
}

ProblemsNodeNotFoundProblem problems node not found problem

swagger:model problems.NodeNotFoundProblem

func (*ProblemsNodeNotFoundProblem) MarshalBinary

func (m *ProblemsNodeNotFoundProblem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProblemsNodeNotFoundProblem) UnmarshalBinary

func (m *ProblemsNodeNotFoundProblem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProblemsNodeNotFoundProblem) Validate

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

Validate validates this problems node not found problem

type SubtreePaginationLinks struct {

	// next
	Next string `json:"next,omitempty"`

	// self
	Self string `json:"self,omitempty"`
}

SubtreePaginationLinks subtree pagination links

swagger:model SubtreePaginationLinks

func (*SubtreePaginationLinks) MarshalBinary

func (m *SubtreePaginationLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubtreePaginationLinks) UnmarshalBinary

func (m *SubtreePaginationLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubtreePaginationLinks) Validate

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

Validate validates this subtree pagination links

type TaxonomyTerm

type TaxonomyTerm struct {

	// name
	Name string `json:"name,omitempty"`

	// rank
	Rank string `json:"rank,omitempty"`

	// subterms
	Subterms TaxonomyTerms `json:"subterms,omitempty"`

	// taxon
	Taxon string `json:"taxon,omitempty"`
}

TaxonomyTerm taxonomy term

swagger:model taxonomy.Term

func (*TaxonomyTerm) MarshalBinary

func (m *TaxonomyTerm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaxonomyTerm) UnmarshalBinary

func (m *TaxonomyTerm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaxonomyTerm) Validate

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

Validate validates this taxonomy term

type TaxonomyTerms

type TaxonomyTerms map[string]TaxonomyTerm

TaxonomyTerms taxonomy terms

swagger:model taxonomy.Terms

func (TaxonomyTerms) Validate

func (m TaxonomyTerms) Validate(formats strfmt.Registry) error

Validate validates this taxonomy terms

type UpdateNodeRequest

type UpdateNodeRequest struct {

	// Possible answers to a single choice or multi choice inspection.
	Answers []*Answer `json:"answers"`

	// Only valid for asset type nodes
	AssetType *AssetType `json:"assetType,omitempty"`

	// Which country the node is in. Only valid for site type node
	Country string `json:"country,omitempty"`

	// Timestamp of node creation
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Only valid for asset type nodes
	// Required: true
	Criticality *string `json:"criticality"`

	// 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"`

	// ID of node, as a UUID
	ID uuid.UUID `json:"id,omitempty"`

	// Industry segment of this node. Only valid for site type node
	Industry *Industry `json:"industry,omitempty"`

	// Type of value to record.
	// Required: true
	// Enum: [numeric single_choice multi_choice]
	InspectionType *string `json:"inspectionType"`

	// Descriptive name of the node
	// Required: true
	Label *string `json:"label"`

	// Locked indicates if this node is locked for editing by someone
	Locked *Lock `json:"locked,omitempty"`

	// Type of lubricant used. Only valid for lubrication point type nodes
	// Required: true
	Lubricant *string `json:"lubricant"`

	// Amount of lubricant to be used. Only valid for lubrication point type nodes
	LubricantQuantity *NaturalQuantity `json:"lubricantQuantity,omitempty"`

	// Instruction for lubrication activity. Only valid for lubrication point type nodes
	LubricateInstructions string `json:"lubricateInstructions,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
	// Required: true
	// Enum: [displacement acceleration velocity temperature dc_gap ampl_phase box speed envelope_2 envelope_3 unknown]
	MeasurementType *string `json:"measurementType"`

	// Metadata with keys and optional values
	Metadata NodeMetaData `json:"metadata,omitempty"`

	// Only valid for asset type nodes
	Model string `json:"model,omitempty"`

	// Orientation of measurement. Only valid for measurement point type nodes
	// Required: true
	// Enum: [axial radial radial90 horizontal vertical unknown]
	Orientation *string `json:"orientation"`

	// Origin of node, if imported from another system
	Origin *Origin `json:"origin,omitempty"`

	// ID of parent node, as a UUID
	// Required: true
	ParentID *string `json:"parentId"`

	// 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"`

	// Subtype of node
	// Required: true
	// Enum: [root company site plant ship system functional_location asset measurement_location measurement_point inspection_point lubrication_point]
	Subtype *string `json:"subtype"`

	// Type of node
	// Required: true
	// Enum: [root company site plant system functional_location asset measurement_location measurement_point inspection_point lubrication_point unknown]
	Type *string `json:"type"`

	// Unit of value recorded. Only valid for inspection points of type `numeric`.
	Unit string `json:"unit,omitempty"`

	// Timestamp of last node update
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Maximum value used when visualizing the value of the point on a scale. Only valid for inspection points of type `numeric`.
	VisualizationMaxValue float64 `json:"visualizationMaxValue,omitempty"`

	// Minimum value used when visualizing the value of the point on a scale. Only valid for inspection points of type `numeric`.
	VisualizationMinValue float64 `json:"visualizationMinValue,omitempty"`

	// Type of visualization in Enlight Centre. Only valid for inspection points of type `numeric`.
	// Enum: [visualization_none visualization_circular_gauge visualization_level_gauge]
	VisualizationType string `json:"visualizationType,omitempty"`
}

UpdateNodeRequest update node request

swagger:model UpdateNodeRequest

func (*UpdateNodeRequest) MarshalBinary

func (m *UpdateNodeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNodeRequest) UnmarshalBinary

func (m *UpdateNodeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNodeRequest) Validate

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

Validate validates this update node request

type UpdateNodeResponse

type UpdateNodeResponse struct {

	// node
	Node Node `json:"node,omitempty"`
}

UpdateNodeResponse update node response

swagger:model UpdateNodeResponse

func (*UpdateNodeResponse) MarshalBinary

func (m *UpdateNodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNodeResponse) UnmarshalBinary

func (m *UpdateNodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNodeResponse) Validate

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

Validate validates this update node response

Jump to

Keyboard shortcuts

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