Package com.vk.api.sdk.queries.photos
Class PhotosGetAlbumsCountQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<PhotosGetAlbumsCountQuery,java.lang.Integer>
-
- com.vk.api.sdk.queries.photos.PhotosGetAlbumsCountQuery
-
public class PhotosGetAlbumsCountQuery extends AbstractQueryBuilder<PhotosGetAlbumsCountQuery,java.lang.Integer>
Query for Photos.getAlbumsCount method
-
-
Constructor Summary
Constructors Constructor Description PhotosGetAlbumsCountQuery(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 protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected PhotosGetAlbumsCountQuerygetThis()Get reference to this objectPhotosGetAlbumsCountQuerygroupId(java.lang.Integer value)Community ID.PhotosGetAlbumsCountQueryuserId(java.lang.Integer value)User 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
-
PhotosGetAlbumsCountQuery
public PhotosGetAlbumsCountQuery(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
-
userId
public PhotosGetAlbumsCountQuery userId(java.lang.Integer value)
User ID.- Parameters:
value- value of "user id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
groupId
public PhotosGetAlbumsCountQuery groupId(java.lang.Integer value)
Community ID.- Parameters:
value- value of "group id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected PhotosGetAlbumsCountQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<PhotosGetAlbumsCountQuery,java.lang.Integer>- 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<PhotosGetAlbumsCountQuery,java.lang.Integer>- Returns:
- list of names
-
-