Package com.vk.api.sdk.objects.wall
Enum WallpostAttachmentType
- java.lang.Object
-
- java.lang.Enum<WallpostAttachmentType>
-
- com.vk.api.sdk.objects.wall.WallpostAttachmentType
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<WallpostAttachmentType>
public enum WallpostAttachmentType extends java.lang.Enum<WallpostAttachmentType> implements EnumParam
Attachment type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALBUMAPPARTICLEAUDIODOCDONUT_LINKEVENTGRAFFITIGROUPLINKMARKETMARKET_MARKET_ALBUMNOTEPAGEPHOTOPHOTOS_LISTPOLLPOSTED_PHOTOSITUATIONAL_THEMESTICKERTEXTLIVETEXTPOSTVIDEO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()java.lang.StringtoString()static WallpostAttachmentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WallpostAttachmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PHOTO
@SerializedName("photo") public static final WallpostAttachmentType PHOTO
-
POSTED_PHOTO
@SerializedName("posted_photo") public static final WallpostAttachmentType POSTED_PHOTO
-
AUDIO
@SerializedName("audio") public static final WallpostAttachmentType AUDIO
-
VIDEO
@SerializedName("video") public static final WallpostAttachmentType VIDEO
-
DOC
@SerializedName("doc") public static final WallpostAttachmentType DOC
-
LINK
@SerializedName("link") public static final WallpostAttachmentType LINK
-
GRAFFITI
@SerializedName("graffiti") public static final WallpostAttachmentType GRAFFITI
-
NOTE
@SerializedName("note") public static final WallpostAttachmentType NOTE
-
APP
@SerializedName("app") public static final WallpostAttachmentType APP
-
POLL
@SerializedName("poll") public static final WallpostAttachmentType POLL
-
PAGE
@SerializedName("page") public static final WallpostAttachmentType PAGE
-
ALBUM
@SerializedName("album") public static final WallpostAttachmentType ALBUM
-
PHOTOS_LIST
@SerializedName("photos_list") public static final WallpostAttachmentType PHOTOS_LIST
-
MARKET_MARKET_ALBUM
@SerializedName("market_market_album") public static final WallpostAttachmentType MARKET_MARKET_ALBUM
-
MARKET
@SerializedName("market") public static final WallpostAttachmentType MARKET
-
EVENT
@SerializedName("event") public static final WallpostAttachmentType EVENT
-
DONUT_LINK
@SerializedName("donut_link") public static final WallpostAttachmentType DONUT_LINK
-
ARTICLE
@SerializedName("article") public static final WallpostAttachmentType ARTICLE
-
TEXTLIVE
@SerializedName("textlive") public static final WallpostAttachmentType TEXTLIVE
-
TEXTPOST
@SerializedName("textpost") public static final WallpostAttachmentType TEXTPOST
-
SITUATIONAL_THEME
@SerializedName("situational_theme") public static final WallpostAttachmentType SITUATIONAL_THEME
-
GROUP
@SerializedName("group") public static final WallpostAttachmentType GROUP
-
STICKER
@SerializedName("sticker") public static final WallpostAttachmentType STICKER
-
-
Method Detail
-
values
public static WallpostAttachmentType[] 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 (WallpostAttachmentType c : WallpostAttachmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WallpostAttachmentType 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<WallpostAttachmentType>
-
-