← All types
ProductionIn Input object

UpsertDeviceInput

Input for creating or updating a device

Fields

id

DeviceIDOptional

ID for update; omit for create

Associated network ID

Exclusive controller binding on this network. Update omission preserves it; upsert omission clears it.

Unique device identifier (required)

name

StringOptional

Display name

Device description

Type of device

Device manufacturer

model

StringOptional

Device model

Device serial number

Outbound protocol configurations

Inbound protocol configurations

Whether the device is active

Referenced by (1)
Exact type SDL
"""Input for creating or updating a device"""
input UpsertDeviceInput {
  """ID for update; omit for create"""
  id: DeviceID
  """Associated network ID"""
  networkId: NetworkID
  """
  Exclusive controller binding on this network. Update omission preserves it; upsert omission clears it.
  """
  controllerId: ControllerID
  """Unique device identifier (required)"""
  identifier: String!
  """Display name"""
  name: String
  """Device description"""
  description: String
  """Type of device"""
  deviceType: String
  """Device manufacturer"""
  manufacturer: String
  """Device model"""
  model: String
  """Device serial number"""
  serialNumber: String
  """Outbound protocol configurations"""
  outboundProtocols: [OutboundProtocolConfigInput!]
  """Inbound protocol configurations"""
  inboundProtocols: [InboundProtocolConfigInput!]
  """Whether the device is active"""
  isActive: Boolean
}