model

package
v1.0.28 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const TransformerJsonUnwrapInput = "json-unwrap-input"
View Source
const TransformerJsonUnwrapOutput = "json-unwrap-output"

Variables

This section is empty.

Functions

This section is empty.

Types

type TopicDescription

type TopicDescription struct {
	CmdTopic        string           `json:"cmd_topic" yaml:"cmd_topic"`
	EventTopic      string           `json:"event_topic" yaml:"event_topic"`
	RespTopic       string           `json:"resp_topic" yaml:"resp_topic"`
	DeviceTypeId    string           `json:"device_type_id" yaml:"device_type_id"`
	DeviceLocalId   string           `json:"device_local_id" yaml:"device_local_id"`
	ServiceLocalId  string           `json:"service_local_id" yaml:"service_local_id"`
	Transformations []Transformation `json:"transformations" yaml:"transformations"`
	DeviceName      string           `json:"device_name" yaml:"device_name"`
}

func (TopicDescription) GetCmdTopic

func (this TopicDescription) GetCmdTopic() string

func (TopicDescription) GetDeviceName

func (this TopicDescription) GetDeviceName() string

func (TopicDescription) GetDeviceTypeId

func (this TopicDescription) GetDeviceTypeId() string

func (TopicDescription) GetEventTopic

func (this TopicDescription) GetEventTopic() string

func (TopicDescription) GetLocalDeviceId

func (this TopicDescription) GetLocalDeviceId() string

func (TopicDescription) GetLocalServiceId

func (this TopicDescription) GetLocalServiceId() string

func (TopicDescription) GetResponseTopic

func (this TopicDescription) GetResponseTopic() string

func (TopicDescription) GetTopic

func (this TopicDescription) GetTopic() string

func (TopicDescription) GetTransformations added in v1.0.26

func (this TopicDescription) GetTransformations(kind string) (result []string)

func (TopicDescription) HasTransformations added in v1.0.26

func (this TopicDescription) HasTransformations() bool

type Transformation added in v1.0.26

type Transformation struct {
	Path           string `json:"path" yaml:"path"`
	Transformation string `json:"transformation" yaml:"transformation"`
}

Jump to

Keyboard shortcuts

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