id
- Long
: the unique id of this attribute.version
- Long
: the database version of this attribute.dataType
- String
: The type of data that is stored in this attribute; possible values are:
ENUM
: any of a predetermined list of possible String valuesSTRING
: a String
valueDYNAMIC_ENUM
: not currently differentiated from other String
values (not recommended for use)JSON_OBJECT
: a JSON stringNUMBER
: a numeric type like Integer or BigDecimalDATE
:VECTOR3
: not currently standardized, but a format like "[x:1,y:2,z:3]"
is conventionalname
- String
: the name of this attribute.possibleValues
- List<String>
: a list of possible values for this attribute if dataType is ENUM.Returns a list of possible values for an ENUM
type attribute (e.g., ["on", "off"]
for the switch
attribute from a capability "Switch"
device).
List<String> getValues()
none
List<String>
- the list of possible values for the attribute.