public enum DeviceCloudStatus extends Enum<DeviceCloudStatus>
| Enum Constant and Description |
|---|
BAD_REQUEST |
CANCELED |
DEVICE_CLOUD_ERROR |
RESPONSE_UNAVAILABLE |
SUCCESS |
TIME_OUT |
UNKNOWN_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static DeviceCloudStatus |
get(int id)
Retrieves the
DeviceCloudStatus for the given ID. |
int |
getID()
Retrieves the status ID.
|
String |
getName()
Retrieves the status name.
|
String |
toString() |
static DeviceCloudStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceCloudStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceCloudStatus BAD_REQUEST
public static final DeviceCloudStatus CANCELED
public static final DeviceCloudStatus DEVICE_CLOUD_ERROR
public static final DeviceCloudStatus RESPONSE_UNAVAILABLE
public static final DeviceCloudStatus SUCCESS
public static final DeviceCloudStatus TIME_OUT
public static final DeviceCloudStatus UNKNOWN_ERROR
public static DeviceCloudStatus get(int id)
DeviceCloudStatus for the given ID.id - ID to retrieve.DeviceCloudStatus associated to the given ID.public int getID()
public String toString()
toString in class Enum<DeviceCloudStatus>public static DeviceCloudStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DeviceCloudStatus[] values()
for (DeviceCloudStatus c : DeviceCloudStatus.values()) System.out.println(c);
© Copyright 2014 - 2019 Digi International Inc. All rights reserved.