Enum MessageDataType
- java.lang.Object
-
- java.lang.Enum<MessageDataType>
-
- cloud.genesys.webmessaging.sdk.model.MessageDataType
-
- All Implemented Interfaces:
Serializable,Comparable<MessageDataType>
public enum MessageDataType extends Enum<MessageDataType>
Gets or Sets MessageDataType
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageDataTypefromString(String key)StringtoString()static MessageDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MessageDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final MessageDataType STRING
-
SESSIONRESPONSE
public static final MessageDataType SESSIONRESPONSE
-
STRUCTUREDMESSAGE
public static final MessageDataType STRUCTUREDMESSAGE
-
PRESIGNEDURLRESPONSE
public static final MessageDataType PRESIGNEDURLRESPONSE
-
ATTACHMENTDELETEDRESPONSE
public static final MessageDataType ATTACHMENTDELETEDRESPONSE
-
UPLOADFAILUREEVENT
public static final MessageDataType UPLOADFAILUREEVENT
-
UPLOADSUCCESSEVENT
public static final MessageDataType UPLOADSUCCESSEVENT
-
CONNECTIONCLOSEDEVENT
public static final MessageDataType CONNECTIONCLOSEDEVENT
-
LOGOUTEVENT
public static final MessageDataType LOGOUTEVENT
-
SESSIONEXPIREDEVENT
public static final MessageDataType SESSIONEXPIREDEVENT
-
JWTRESPONSE
public static final MessageDataType JWTRESPONSE
-
GENERATEURLERROR
public static final MessageDataType GENERATEURLERROR
-
TOOMANYREQUESTSERRORMESSAGE
public static final MessageDataType TOOMANYREQUESTSERRORMESSAGE
-
RESUMETOKENRESPONSE
public static final MessageDataType RESUMETOKENRESPONSE
-
UNKNOWN
public static final MessageDataType UNKNOWN
-
-
Method Detail
-
values
public static MessageDataType[] 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 (MessageDataType c : MessageDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageDataType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static MessageDataType fromString(String key)
-
toString
public String toString()
- Overrides:
toStringin classEnum<MessageDataType>
-
-