public enum QueryType extends Enum<QueryType>
| Enum Constant and Description |
|---|
DEVICE_JOB |
JOB_RESPONSE |
RAW |
TWIN |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static QueryType |
fromString(String type) |
String |
getValue() |
static QueryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryType TWIN
public static final QueryType DEVICE_JOB
public static final QueryType JOB_RESPONSE
public static final QueryType RAW
public static final QueryType UNKNOWN
public static QueryType[] values()
for (QueryType c : QueryType.values()) System.out.println(c);
public static QueryType 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 String getValue()
Copyright © 2017. All rights reserved.