Device

@Serializable
data class Device(val id: ResourceId, val v1Id: String? = null, val productData: ProductData, val metadata: ProductMetadata, val services: List<ResourceReference>)

Attributes for a device configured on the hue bridge.

Constructors

Link copied to clipboard
constructor(id: ResourceId, v1Id: String? = null, productData: ProductData, metadata: ProductMetadata, services: List<ResourceReference>)

Properties

Link copied to clipboard

Unique ID for the device.

Link copied to clipboard

Configured metadata for this device.

Link copied to clipboard
@SerialName(value = "product_data")
val productData: ProductData

Information about the hardware itself.

Link copied to clipboard

References all services providing control and state of the device.

Link copied to clipboard
@SerialName(value = "id_v1")
val v1Id: String?

Clip v1 resource identifier.