Enum WebMessagingAttachment.MediaTypeEnum
- java.lang.Object
-
- java.lang.Enum<WebMessagingAttachment.MediaTypeEnum>
-
- cloud.genesys.webmessaging.sdk.model.WebMessagingAttachment.MediaTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<WebMessagingAttachment.MediaTypeEnum>
- Enclosing class:
- WebMessagingAttachment
public static enum WebMessagingAttachment.MediaTypeEnum extends Enum<WebMessagingAttachment.MediaTypeEnum>
The type of attachment this instance represents.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebMessagingAttachment.MediaTypeEnumfromString(String key)StringtoString()static WebMessagingAttachment.MediaTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static WebMessagingAttachment.MediaTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OUTDATEDSDKVERSION
public static final WebMessagingAttachment.MediaTypeEnum OUTDATEDSDKVERSION
-
IMAGE
public static final WebMessagingAttachment.MediaTypeEnum IMAGE
-
VIDEO
public static final WebMessagingAttachment.MediaTypeEnum VIDEO
-
AUDIO
public static final WebMessagingAttachment.MediaTypeEnum AUDIO
-
FILE
public static final WebMessagingAttachment.MediaTypeEnum FILE
-
LINK
public static final WebMessagingAttachment.MediaTypeEnum LINK
-
-
Method Detail
-
values
public static WebMessagingAttachment.MediaTypeEnum[] 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 (WebMessagingAttachment.MediaTypeEnum c : WebMessagingAttachment.MediaTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebMessagingAttachment.MediaTypeEnum 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 WebMessagingAttachment.MediaTypeEnum fromString(String key)
-
toString
public String toString()
- Overrides:
toStringin classEnum<WebMessagingAttachment.MediaTypeEnum>
-
-