Package com.vk.api.sdk.objects.messages
Enum TemplateActionTypeNames
- java.lang.Object
-
- java.lang.Enum<TemplateActionTypeNames>
-
- com.vk.api.sdk.objects.messages.TemplateActionTypeNames
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<TemplateActionTypeNames>
public enum TemplateActionTypeNames extends java.lang.Enum<TemplateActionTypeNames> implements EnumParam
Template action type names
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLBACKINTENT_SUBSCRIBEINTENT_UNSUBSCRIBELOCATIONOPEN_APPOPEN_LINKOPEN_PHOTOSTARTTEXTVKPAY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()java.lang.StringtoString()static TemplateActionTypeNamesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TemplateActionTypeNames[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
@SerializedName("text") public static final TemplateActionTypeNames TEXT
-
START
@SerializedName("start") public static final TemplateActionTypeNames START
-
LOCATION
@SerializedName("location") public static final TemplateActionTypeNames LOCATION
-
VKPAY
@SerializedName("vkpay") public static final TemplateActionTypeNames VKPAY
-
OPEN_APP
@SerializedName("open_app") public static final TemplateActionTypeNames OPEN_APP
-
OPEN_PHOTO
@SerializedName("open_photo") public static final TemplateActionTypeNames OPEN_PHOTO
-
OPEN_LINK
@SerializedName("open_link") public static final TemplateActionTypeNames OPEN_LINK
-
CALLBACK
@SerializedName("callback") public static final TemplateActionTypeNames CALLBACK
-
INTENT_SUBSCRIBE
@SerializedName("intent_subscribe") public static final TemplateActionTypeNames INTENT_SUBSCRIBE
-
INTENT_UNSUBSCRIBE
@SerializedName("intent_unsubscribe") public static final TemplateActionTypeNames INTENT_UNSUBSCRIBE
-
-
Method Detail
-
values
public static TemplateActionTypeNames[] 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 (TemplateActionTypeNames c : TemplateActionTypeNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateActionTypeNames valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<TemplateActionTypeNames>
-
-