Package com.vk.api.sdk.queries.apps
Class AppsGetLeaderboardQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<AppsGetLeaderboardQueryWithExtended,GetLeaderboardExtendedResponse>
-
- com.vk.api.sdk.queries.apps.AppsGetLeaderboardQueryWithExtended
-
public class AppsGetLeaderboardQueryWithExtended extends AbstractQueryBuilder<AppsGetLeaderboardQueryWithExtended,GetLeaderboardExtendedResponse>
Query for Apps.getLeaderboard method
-
-
Constructor Summary
Constructors Constructor Description AppsGetLeaderboardQueryWithExtended(VkApiClient client, UserActor actor, GetLeaderboardType type)Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected AppsGetLeaderboardQueryWithExtendedextended(java.lang.Boolean value)1 — to return additional info about usersprotected AppsGetLeaderboardQueryWithExtendedgetThis()Get reference to this objectAppsGetLeaderboardQueryWithExtendedglobal(java.lang.Boolean value)Rating type.protected AppsGetLeaderboardQueryWithExtendedtype(GetLeaderboardType value)Leaderboard type.-
Methods inherited from class com.vk.api.sdk.client.AbstractQueryBuilder
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
-
Methods inherited from class com.vk.api.sdk.client.ApiRequest
execute, executeAsRaw, executeAsString, getClient, getGson, getHeaders, getResponseClass, getUrl, setHeaders
-
-
-
-
Constructor Detail
-
AppsGetLeaderboardQueryWithExtended
public AppsGetLeaderboardQueryWithExtended(VkApiClient client, UserActor actor, GetLeaderboardType type)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokentype- value of "type" parameter.
-
-
Method Detail
-
type
protected AppsGetLeaderboardQueryWithExtended type(GetLeaderboardType value)
Leaderboard type. Possible values: *'level' — by level,, *'points' — by mission points,, *'score' — by score ().- Parameters:
value- value of "type" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
global
public AppsGetLeaderboardQueryWithExtended global(java.lang.Boolean value)
Rating type. Possible values: *'1' — global rating among all players,, *'0' — rating among user friends.- Parameters:
value- value of "global" parameter. By default 1.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
extended
protected AppsGetLeaderboardQueryWithExtended extended(java.lang.Boolean value)
1 — to return additional info about users- Parameters:
value- value of "extended" parameter. By default 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected AppsGetLeaderboardQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<AppsGetLeaderboardQueryWithExtended,GetLeaderboardExtendedResponse>- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()
Description copied from class:AbstractQueryBuilderGet list of required parameter names- Specified by:
essentialKeysin classAbstractQueryBuilder<AppsGetLeaderboardQueryWithExtended,GetLeaderboardExtendedResponse>- Returns:
- list of names
-
-