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