Package com.vk.api.sdk.objects.enums
Enum MessagesIntent
- java.lang.Object
-
- java.lang.Enum<MessagesIntent>
-
- com.vk.api.sdk.objects.enums.MessagesIntent
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<MessagesIntent>
public enum MessagesIntent extends java.lang.Enum<MessagesIntent> implements EnumParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_UPDATEBOT_AD_INVITEBOT_AD_PROMOCONFIRMED_NOTIFICATIONCUSTOMER_SUPPORTDEFAULTGAME_NOTIFICATIONMODERATED_NEWSLETTERNON_PROMO_NEWSLETTERPROMO_NEWSLETTERPURCHASE_UPDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()java.lang.StringtoString()static MessagesIntentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MessagesIntent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCOUNT_UPDATE
@SerializedName("account_update") public static final MessagesIntent ACCOUNT_UPDATE
-
BOT_AD_INVITE
@SerializedName("bot_ad_invite") public static final MessagesIntent BOT_AD_INVITE
-
BOT_AD_PROMO
@SerializedName("bot_ad_promo") public static final MessagesIntent BOT_AD_PROMO
-
CONFIRMED_NOTIFICATION
@SerializedName("confirmed_notification") public static final MessagesIntent CONFIRMED_NOTIFICATION
-
CUSTOMER_SUPPORT
@SerializedName("customer_support") public static final MessagesIntent CUSTOMER_SUPPORT
-
DEFAULT
@SerializedName("default") public static final MessagesIntent DEFAULT
-
GAME_NOTIFICATION
@SerializedName("game_notification") public static final MessagesIntent GAME_NOTIFICATION
-
MODERATED_NEWSLETTER
@SerializedName("moderated_newsletter") public static final MessagesIntent MODERATED_NEWSLETTER
-
NON_PROMO_NEWSLETTER
@SerializedName("non_promo_newsletter") public static final MessagesIntent NON_PROMO_NEWSLETTER
-
PROMO_NEWSLETTER
@SerializedName("promo_newsletter") public static final MessagesIntent PROMO_NEWSLETTER
-
PURCHASE_UPDATE
@SerializedName("purchase_update") public static final MessagesIntent PURCHASE_UPDATE
-
-
Method Detail
-
values
public static MessagesIntent[] 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 (MessagesIntent c : MessagesIntent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessagesIntent 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<MessagesIntent>
-
-