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