Package com.vk.api.sdk.objects.enums
Enum AdsSection
- java.lang.Object
-
- java.lang.Enum<AdsSection>
-
- com.vk.api.sdk.objects.enums.AdsSection
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<AdsSection>
public enum AdsSection extends java.lang.Enum<AdsSection> implements EnumParam
Section, suggestions are retrieved in. Available values: *countries — request of a list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full list of countries is shown. *regions — requested list of regions. 'country' parameter is required. *cities — requested list of cities. 'country' parameter is required. *districts — requested list of districts. 'cities' parameter is required. *stations — requested list of subway stations. 'cities' parameter is required. *streets — requested list of streets. 'cities' parameter is required. *schools — requested list of educational organizations. 'cities' parameter is required. *interests — requested list of interests. *positions — requested list of positions (professions). *group_types — requested list of group types. *religions — requested list of religious commitments. *browsers — requested list of browsers and mobile devices.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()java.lang.StringtoString()static AdsSectionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdsSection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNTRIES
@SerializedName("countries") public static final AdsSection COUNTRIES
-
REGIONS
@SerializedName("regions") public static final AdsSection REGIONS
-
CITIES
@SerializedName("cities") public static final AdsSection CITIES
-
DISTRICTS
@SerializedName("districts") public static final AdsSection DISTRICTS
-
STATIONS
@SerializedName("stations") public static final AdsSection STATIONS
-
STREETS
@SerializedName("streets") public static final AdsSection STREETS
-
SCHOOLS
@SerializedName("schools") public static final AdsSection SCHOOLS
-
INTERESTS
@SerializedName("interests") public static final AdsSection INTERESTS
-
POSITIONS
@SerializedName("positions") public static final AdsSection POSITIONS
-
GROUP_TYPES
@SerializedName("group_types") public static final AdsSection GROUP_TYPES
-
RELIGIONS
@SerializedName("religions") public static final AdsSection RELIGIONS
-
BROWSERS
@SerializedName("browsers") public static final AdsSection BROWSERS
-
-
Method Detail
-
values
public static AdsSection[] 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 (AdsSection c : AdsSection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdsSection 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<AdsSection>
-
-