Resource

@Serializable
data class Resource(val id: ResourceId, val type: ResourceType? = null, val v1Id: String? = null)

Hue API resource.

Constructors

Link copied to clipboard
fun Resource(id: ResourceId, type: ResourceType? = null, v1Id: String? = null)

Properties

Link copied to clipboard

Unique ID for the resource.

Link copied to clipboard
val type: ResourceType? = null

Resource object type.

Link copied to clipboard
val v1Id: String? = null