public enum QOS extends Enum<QOS> implements EventStreamJsonMessage
| Enum Constant and Description |
|---|
AT_LEAST_ONCE |
AT_MOST_ONCE |
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_MODEL_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static QOS |
get(String value) |
String |
getApplicationModelType()
Returns the named model type.
|
String |
getValue() |
static QOS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QOS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromJson, isVoid, postFromJson, toPayload@SerializedName(value="0") public static final QOS AT_MOST_ONCE
@SerializedName(value="1") public static final QOS AT_LEAST_ONCE
public static final String APPLICATION_MODEL_TYPE
public static QOS[] values()
for (QOS c : QOS.values()) System.out.println(c);
public static QOS 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()
public String getApplicationModelType()
EventStreamJsonMessagegetApplicationModelType in interface EventStreamJsonMessageCopyright ? 2021. All rights reserved.