Package com.vk.api.sdk.objects.ads
Enum GetSuggestionsSection
- java.lang.Object
-
- java.lang.Enum<GetSuggestionsSection>
-
- com.vk.api.sdk.objects.ads.GetSuggestionsSection
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<GetSuggestionsSection>
public enum GetSuggestionsSection extends java.lang.Enum<GetSuggestionsSection> 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 GetSuggestionsSectionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GetSuggestionsSection[]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 GetSuggestionsSection COUNTRIES
-
REGIONS
@SerializedName("regions") public static final GetSuggestionsSection REGIONS
-
CITIES
@SerializedName("cities") public static final GetSuggestionsSection CITIES
-
DISTRICTS
@SerializedName("districts") public static final GetSuggestionsSection DISTRICTS
-
STATIONS
@SerializedName("stations") public static final GetSuggestionsSection STATIONS
-
STREETS
@SerializedName("streets") public static final GetSuggestionsSection STREETS
-
SCHOOLS
@SerializedName("schools") public static final GetSuggestionsSection SCHOOLS
-
INTERESTS
@SerializedName("interests") public static final GetSuggestionsSection INTERESTS
-
POSITIONS
@SerializedName("positions") public static final GetSuggestionsSection POSITIONS
-
GROUP_TYPES
@SerializedName("group_types") public static final GetSuggestionsSection GROUP_TYPES
-
RELIGIONS
@SerializedName("religions") public static final GetSuggestionsSection RELIGIONS
-
BROWSERS
@SerializedName("browsers") public static final GetSuggestionsSection BROWSERS
-
-
Method Detail
-
values
public static GetSuggestionsSection[] 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 (GetSuggestionsSection c : GetSuggestionsSection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetSuggestionsSection 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<GetSuggestionsSection>
-
-