deviceselectionmodel

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkRequest

type BulkRequest []BulkRequestElement

type BulkRequestElement

type BulkRequestElement struct {
	Id                string                   `json:"id"`
	FilterInteraction *devicemodel.Interaction `json:"filter_interaction"`
	FilterProtocols   []string                 `json:"filter_protocols"`
	Criteria          FilterCriteriaAndSet     `json:"criteria"`
	IncludeGroups     bool                     `json:"include_groups"`
	IncludeImports    bool                     `json:"include_imports"`
}

type BulkResult

type BulkResult []BulkResultElement

type BulkResultElement

type BulkResultElement struct {
	Id          string       `json:"id"`
	Selectables []Selectable `json:"selectables"`
}

type Configurable

type Configurable struct {
	Path             string                 `json:"path"`
	CharacteristicId string                 `json:"characteristic_id"`
	AspectNode       devicemodel.AspectNode `json:"aspect_node"`
	FunctionId       string                 `json:"function_id"`
	Value            interface{}            `json:"value,omitempty"`
	Type             string                 `json:"type,omitempty"`
}

type FilterCriteria

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

type FilterCriteriaAndSet

type FilterCriteriaAndSet []FilterCriteria

type FilterCriteriaOrSet

type FilterCriteriaOrSet []FilterCriteria

type PathOption

type PathOption struct {
	Path             string                 `json:"path"`
	CharacteristicId string                 `json:"characteristicId"`
	AspectNode       devicemodel.AspectNode `json:"aspectNode"`
	FunctionId       string                 `json:"functionId"`
	IsVoid           bool                   `json:"isVoid"`
	Value            interface{}            `json:"value,omitempty"`
	Type             string                 `json:"type,omitempty"`
	Configurables    []Configurable         `json:"configurables,omitempty"`
}

type Selectable

type Selectable struct {
	Device             *devicemodel.Device      `json:"device"`
	Services           []devicemodel.Service    `json:"services"`
	DeviceGroup        *devicemodel.DeviceGroup `json:"device_group,omitempty"`
	Import             *importmodel.Import      `json:"import,omitempty"`
	ImportType         *importmodel.ImportType  `json:"importType,omitempty"`
	ServicePathOptions map[string][]PathOption  `json:"servicePathOptions,omitempty"`
}

Jump to

Keyboard shortcuts

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