Shade
Toggle table of contents
latest
common
Target filter
common
Switch theme
Search in API
Skip to content
Shade
resources
/
inkapplications.shade.resources.structures
/
Resource
Resource
@
Serializable
data
class
Resource
(
val
id
:
ResourceId
,
val
type
:
ResourceType
?
=
null
,
val
v1Id
:
String
?
=
null
)
Hue API resource.
Members
Constructors
Resource
Link copied to clipboard
constructor
(
id
:
ResourceId
,
type
:
ResourceType
?
=
null
,
v1Id
:
String
?
=
null
)
Properties
id
Link copied to clipboard
val
id
:
ResourceId
Unique ID for the resource.
type
Link copied to clipboard
val
type
:
ResourceType
?
Resource object type.
v1Id
Link copied to clipboard
@
SerialName
(
value
=
"id_v1"
)
val
v1Id
:
String
?