interface DeviceCreateInfoLegacy {
    active?: boolean;
    configuration_params?: ConfigurationParams[];
    connector: string;
    connector_parse?: boolean;
    description?: string;
    name: string;
    network: string;
    parse_function?: string;
    serie_number?: string;
    tags?: TagsObj[];
    type: "legacy";
    visible?: boolean;



active?: boolean

Set if the device will be active.

configuration_params?: ConfigurationParams[]

An array of configuration params

connector: string

Connector ID.

connector_parse?: boolean

If device will use connector parser

description?: string

Description of the device.

name: string

Device name.

network: string

Network ID.

parse_function?: string

Javascript code for use as payload parser

serie_number?: string

Device serial number.

tags?: TagsObj[]

An array of tags

type: "legacy"
visible?: boolean

Set if the device will be visible.