Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1001 Bytes

File metadata and controls

32 lines (26 loc) · 1001 Bytes

PrimaryConnectClient::Device

Properties

Name Type Description Notes
identifiers Array<Identifier> List of IDs and types that identify the device [optional]
manufacturer String [optional]
model_number String [optional]
serial_number String [optional]
address Address [optional]
location Location [optional]
config Object Arbitrary key/value pairs for Device specific use [optional]
model_name String [optional]

Example

require 'primary_connect_client'

instance = PrimaryConnectClient::Device.new(
  identifiers: null,
  manufacturer: null,
  model_number: null,
  serial_number: null,
  address: null,
  location: null,
  config: {&quot;key1&quot;:&quot;value1&quot;,&quot;key2&quot;:&quot;value2&quot;},
  model_name: null
)