Enum WebMessagingContent.ContentTypeEnum
- java.lang.Object
-
- java.lang.Enum<WebMessagingContent.ContentTypeEnum>
-
- cloud.genesys.webmessaging.sdk.model.WebMessagingContent.ContentTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<WebMessagingContent.ContentTypeEnum>
- Enclosing class:
- WebMessagingContent
public static enum WebMessagingContent.ContentTypeEnum extends Enum<WebMessagingContent.ContentTypeEnum>
Type of this content element. If contentType = \"Attachment\" only one item is allowed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHMENTBUTTONRESPONSECARDCAROUSELGENERICTEMPLATEOUTDATEDSDKVERSIONQUICKREPLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebMessagingContent.ContentTypeEnumfromString(String key)StringtoString()static WebMessagingContent.ContentTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static WebMessagingContent.ContentTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OUTDATEDSDKVERSION
public static final WebMessagingContent.ContentTypeEnum OUTDATEDSDKVERSION
-
ATTACHMENT
public static final WebMessagingContent.ContentTypeEnum ATTACHMENT
-
QUICKREPLY
public static final WebMessagingContent.ContentTypeEnum QUICKREPLY
-
BUTTONRESPONSE
public static final WebMessagingContent.ContentTypeEnum BUTTONRESPONSE
-
GENERICTEMPLATE
public static final WebMessagingContent.ContentTypeEnum GENERICTEMPLATE
-
CARD
public static final WebMessagingContent.ContentTypeEnum CARD
-
CAROUSEL
public static final WebMessagingContent.ContentTypeEnum CAROUSEL
-
-
Method Detail
-
values
public static WebMessagingContent.ContentTypeEnum[] 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 (WebMessagingContent.ContentTypeEnum c : WebMessagingContent.ContentTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebMessagingContent.ContentTypeEnum 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 WebMessagingContent.ContentTypeEnum fromString(String key)
-
toString
public String toString()
- Overrides:
toStringin classEnum<WebMessagingContent.ContentTypeEnum>
-
-