public static enum DeviceApp.Field extends java.lang.Enum<DeviceApp.Field>
Enum Constant and Description |
---|
APP_NAME
The device application name.
|
APP_TYPE
The device application type.
|
APP_VERSION
The device application name.
|
CREATED
String in ISO-8601 time format indicating the date and time the
endpoint was created.
|
DESCRIPTION
Optional free form text describing the device application.
|
DEVICE_MODELS
A list of device models
|
DIRECTLY_CONNECTED_OWNER
For endpoints which are not themselves directly connected to the IoT
network, this points to the endpoint which is handling
communications on their behalf.
|
ID
A unique value identifying the device application
|
METADATA
Additional user-defined key / value pairs describing the endpoint.
|
STATE
The device state.
|
TYPE
The endpoint type
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
alias()
Get the alias of this
Field . |
static java.util.Set<DeviceApp.Field> |
all()
Get a new
Set initialized with all possible Field values. |
static DeviceApp.Field |
fromAlias(java.lang.String alias)
Get the
Field instance associated with the specified alias. |
static DeviceApp.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceApp.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceApp.Field ID
public static final DeviceApp.Field TYPE
public static final DeviceApp.Field DESCRIPTION
public static final DeviceApp.Field APP_NAME
public static final DeviceApp.Field APP_VERSION
public static final DeviceApp.Field APP_TYPE
public static final DeviceApp.Field DIRECTLY_CONNECTED_OWNER
public static final DeviceApp.Field METADATA
public static final DeviceApp.Field CREATED
public static final DeviceApp.Field STATE
public static final DeviceApp.Field DEVICE_MODELS
public static DeviceApp.Field[] values()
for (DeviceApp.Field c : DeviceApp.Field.values()) System.out.println(c);
public static DeviceApp.Field valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DeviceApp.Field fromAlias(java.lang.String alias)
Field
instance associated with the specified alias.alias
- the alias to look forpublic static java.util.Set<DeviceApp.Field> all()
Set
initialized with all possible Field
values.Set
of all possible Field
values.public java.lang.String alias()
Field
.Field
.