models

package
v0.0.0-...-555a65a Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IMMEDIATE_RETRIEVAL = "IMMEDIATE_RETRIEVAL"
	INTERVAL_RETRIEVAL  = "INTERVAL_RETRIEVAL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateModel

type CertificateModel struct {
	CertificateId string `json:"certificateId"`
	CertFilePath  string `json:"certFilePath"`
	KeyFilePath   string `json:"keyFilePath"`
}

type ControllCommandModel

type ControllCommandModel struct {
	models.ServiceDefinition
}

type DigitalTwinModel

type DigitalTwinModel struct {
	CertificateId string `json:"certificateId"`

	SensedProperties []SensedPropertyModel  `json:"sensedProperties"`
	ControlCommands  []ControllCommandModel `json:"controlCommands"`

	PhysicalTwinConnectionModel PhysicalTwinConnectionModel `json:"physicalTwinConnection"`
}

type PhysicalTwinConnectionModel

type PhysicalTwinConnectionModel struct {
	ConnectionType  PhysicalTwinConnectionType `json:"connectionType"`
	ConnectionModel map[string]any             `json:"connectionModel"`
}

type PhysicalTwinConnectionType

type PhysicalTwinConnectionType string
const (
	SIMPLE_COAP PhysicalTwinConnectionType = "simple-CoAP"
)

type SensedPropertyModel

type SensedPropertyModel struct {
	models.ServiceDefinition
	SensorEndpointMode SensorEndpointMode `json:"sensorEndpointMode"`
	IntervalTime       int                `json:"intervalTime"`
}

type SensorEndpointMode

type SensorEndpointMode string

Jump to

Keyboard shortcuts

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