Difference between revisions of "Attribute Object"

From Hubitat Documentation
Jump to: navigation, search
(Properties)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Properties==
 
  
:: id - Long: the unique id of this attribute.
+
<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big>
:: 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, 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==
+
<big>This document is available at: http://docs2.hubitat.com/en/developer/attribute-object</big>
===<code>getValues</code>===
 
 
 
:;Signature
 
:: <code>List<String> getValues()</code>
 
 
 
:;Parameters
 
:: none
 
 
 
:;Returns
 
:: List<String> - the list of possible values for the attribute.
 

Latest revision as of 03:49, 25 September 2022

We're moving! Please visit http://docs2.hubitat.com for the latest documentation.

This document is available at: http://docs2.hubitat.com/en/developer/attribute-object