Attribute Object

From Hubitat Documentation
Revision as of 14:53, 22 May 2019 by Cschwer (talk | contribs)
Jump to: navigation, search

Properties

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, STRING, DYNAMIC_ENUM, JSON_OBJECT, NUMBER, BOOL, DATE, VECTOR3).
name - String: the name of this attribute.
possibleValues - List<String>: a list of possible values for this attribute if dataType is ENUM.

Methods

getValues

Signature
List<String> getValues()
Parameters
none
Returns
List<String> - the list of possible values for the attribute.