Package com.vk.api.sdk.objects.callback
Enum LikeAddRemoveObjectType
- java.lang.Object
-
- java.lang.Enum<LikeAddRemoveObjectType>
-
- com.vk.api.sdk.objects.callback.LikeAddRemoveObjectType
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<LikeAddRemoveObjectType>
public enum LikeAddRemoveObjectType extends java.lang.Enum<LikeAddRemoveObjectType> implements EnumParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENTMARKETMARKET_COMMENTNOTEPHOTOPHOTO_COMMENTPOSTTOPIC_COMMENTVIDEOVIDEO_COMMENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()java.lang.StringtoString()static LikeAddRemoveObjectTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LikeAddRemoveObjectType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIDEO
@SerializedName("video") public static final LikeAddRemoveObjectType VIDEO
-
PHOTO
@SerializedName("photo") public static final LikeAddRemoveObjectType PHOTO
-
POST
@SerializedName("post") public static final LikeAddRemoveObjectType POST
-
COMMENT
@SerializedName("comment") public static final LikeAddRemoveObjectType COMMENT
-
NOTE
@SerializedName("note") public static final LikeAddRemoveObjectType NOTE
-
TOPIC_COMMENT
@SerializedName("topic_comment") public static final LikeAddRemoveObjectType TOPIC_COMMENT
-
PHOTO_COMMENT
@SerializedName("photo_comment") public static final LikeAddRemoveObjectType PHOTO_COMMENT
-
VIDEO_COMMENT
@SerializedName("video_comment") public static final LikeAddRemoveObjectType VIDEO_COMMENT
-
MARKET
@SerializedName("market") public static final LikeAddRemoveObjectType MARKET
-
MARKET_COMMENT
@SerializedName("market_comment") public static final LikeAddRemoveObjectType MARKET_COMMENT
-
-
Method Detail
-
values
public static LikeAddRemoveObjectType[] 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 (LikeAddRemoveObjectType c : LikeAddRemoveObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LikeAddRemoveObjectType 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<LikeAddRemoveObjectType>
-
-