Package com.thingworx.common
Enum RESTAPIConstants.Characteristic
- java.lang.Object
-
- java.lang.Enum<RESTAPIConstants.Characteristic>
-
- com.thingworx.common.RESTAPIConstants.Characteristic
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RESTAPIConstants.Characteristic>
- Enclosing class:
- RESTAPIConstants
@ThingworxExtensionApiClass(since={6,6}) public static enum RESTAPIConstants.Characteristic extends java.lang.Enum<RESTAPIConstants.Characteristic>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ConfigurationTables
Content
Custom
Events
Properties
PropertiesVTQ
Services
Unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
code()
static RESTAPIConstants.Characteristic
fromCode(byte code)
static RESTAPIConstants.Characteristic
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RESTAPIConstants.Characteristic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Services
public static final RESTAPIConstants.Characteristic Services
-
PropertiesVTQ
public static final RESTAPIConstants.Characteristic PropertiesVTQ
-
ConfigurationTables
public static final RESTAPIConstants.Characteristic ConfigurationTables
-
Unknown
public static final RESTAPIConstants.Characteristic Unknown
-
Events
public static final RESTAPIConstants.Characteristic Events
-
Content
public static final RESTAPIConstants.Characteristic Content
-
Custom
public static final RESTAPIConstants.Characteristic Custom
-
Properties
public static final RESTAPIConstants.Characteristic Properties
-
-
Method Detail
-
values
public static RESTAPIConstants.Characteristic[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RESTAPIConstants.Characteristic c : RESTAPIConstants.Characteristic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RESTAPIConstants.Characteristic valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
code
@ThingworxExtensionApiMethod(since={6,6}) public byte code()
-
fromCode
@ThingworxExtensionApiMethod(since={6,6}) public static RESTAPIConstants.Characteristic fromCode(byte code)
-
-