model

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Concept

type Concept = models.Concept

type ConverterExtension

type ConverterExtension = models.ConverterExtension

type Device

type Device = models.Device

type DeviceGroup

type DeviceGroup = models.DeviceGroup

type DeviceTypeSelectable

type DeviceTypeSelectable struct {
	DeviceTypeId       string                         `json:"device_type_id,omitempty"`
	Services           []models.Service               `json:"services,omitempty"`
	ServicePathOptions map[string][]ServicePathOption `json:"service_path_options,omitempty"`
}

type FilterCriteria

type FilterCriteria = struct {
	FunctionId    string `json:"function_id"`
	DeviceClassId string `json:"device_class_id"`
	AspectId      string `json:"aspect_id"`
}

type Function

type Function = models.Function

type GroupEventDescription

type GroupEventDescription struct {
	GenericEventSource *deploymentmodel.GenericEventSource
	ImportId           string
	Path               string
	DeviceGroupId      string
	DeviceIds          []string //optional
	EventId            string
	DeploymentId       string
	FunctionId         string
	AspectId           string
	FlowId             string
	OperatorValue      string
	CharacteristicId   string
	UseMarshaller      bool
}

type PathAndCharacteristic

type PathAndCharacteristic struct {
	JsonPath         string `json:"json_path"`
	CharacteristicId string `json:"characteristic_id"`
}

type PathOptionsResultElement

type PathOptionsResultElement struct {
	ServiceId              string            `json:"service_id"`
	JsonPath               []string          `json:"json_path"`
	PathToCharacteristicId map[string]string `json:"path_to_characteristic_id"`
}

type ServicePathOption

type ServicePathOption struct {
	ServiceId        string `json:"service_id"`
	Path             string `json:"path"`
	CharacteristicId string `json:"characteristic_id"`
	//AspectNode            AspectNode     `json:"aspect_node"`
	FunctionId            string      `json:"function_id"`
	IsVoid                bool        `json:"is_void"`
	Value                 interface{} `json:"value,omitempty"`
	IsControllingFunction bool        `json:"is_controlling_function"`
}

Jump to

Keyboard shortcuts

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