Package com.vk.api.sdk.queries.fave
Class FaveGetQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<FaveGetQueryWithExtended,GetExtendedResponse>
-
- com.vk.api.sdk.queries.fave.FaveGetQueryWithExtended
-
public class FaveGetQueryWithExtended extends AbstractQueryBuilder<FaveGetQueryWithExtended,GetExtendedResponse>
Query for Fave.get method
-
-
Constructor Summary
Constructors Constructor Description FaveGetQueryWithExtended(VkApiClient client, UserActor actor)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 FaveGetQueryWithExtendedcount(java.lang.Integer value)Number of users to return.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected FaveGetQueryWithExtendedextended(java.lang.Boolean value)'1' — to return additional 'wall', 'profiles', and 'groups' fields.FaveGetQueryWithExtendedfields(Fields value)Set fieldsprotected FaveGetQueryWithExtendedgetThis()Get reference to this objectFaveGetQueryWithExtendedisFromSnackbar(java.lang.Boolean value)Set is from snackbarFaveGetQueryWithExtendeditemType(GetItemType value)Set item typeFaveGetQueryWithExtendedoffset(java.lang.Integer value)Offset needed to return a specific subset of users.FaveGetQueryWithExtendedtagId(java.lang.Integer value)Tag ID.-
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
-
FaveGetQueryWithExtended
public FaveGetQueryWithExtended(VkApiClient client, UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
-
Method Detail
-
extended
protected FaveGetQueryWithExtended extended(java.lang.Boolean value)
'1' — to return additional 'wall', 'profiles', and 'groups' fields. By default: '0'.- Parameters:
value- value of "extended" parameter. By default false.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
itemType
public FaveGetQueryWithExtended itemType(GetItemType value)
Set item type- Parameters:
value- value of "item type" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
tagId
public FaveGetQueryWithExtended tagId(java.lang.Integer value)
Tag ID.- Parameters:
value- value of "tag id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
offset
public FaveGetQueryWithExtended offset(java.lang.Integer value)
Offset needed to return a specific subset of users.- Parameters:
value- value of "offset" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
count
public FaveGetQueryWithExtended count(java.lang.Integer value)
Number of users to return.- Parameters:
value- value of "count" parameter. Maximum is 100. Minimum is 1. By default 50.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public FaveGetQueryWithExtended fields(Fields value)
Set fields- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
isFromSnackbar
public FaveGetQueryWithExtended isFromSnackbar(java.lang.Boolean value)
Set is from snackbar- Parameters:
value- value of "is from snackbar" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected FaveGetQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<FaveGetQueryWithExtended,GetExtendedResponse>- 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<FaveGetQueryWithExtended,GetExtendedResponse>- Returns:
- list of names
-
-