Package com.vk.api.sdk.queries.photos
Class PhotosGetNewTagsQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<PhotosGetNewTagsQuery,GetNewTagsResponse>
-
- com.vk.api.sdk.queries.photos.PhotosGetNewTagsQuery
-
public class PhotosGetNewTagsQuery extends AbstractQueryBuilder<PhotosGetNewTagsQuery,GetNewTagsResponse>
Query for Photos.getNewTags method
-
-
Constructor Summary
Constructors Constructor Description PhotosGetNewTagsQuery(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 PhotosGetNewTagsQuerycount(java.lang.Integer value)Number of photos to return.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected PhotosGetNewTagsQuerygetThis()Get reference to this objectPhotosGetNewTagsQueryoffset(java.lang.Integer value)Offset needed to return a specific subset of photos.-
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
-
PhotosGetNewTagsQuery
public PhotosGetNewTagsQuery(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
-
offset
public PhotosGetNewTagsQuery offset(java.lang.Integer value)
Offset needed to return a specific subset of photos.- Parameters:
value- value of "offset" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
count
public PhotosGetNewTagsQuery count(java.lang.Integer value)
Number of photos to return.- Parameters:
value- value of "count" parameter. Maximum is 100. Minimum is 0. By default 20.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected PhotosGetNewTagsQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<PhotosGetNewTagsQuery,GetNewTagsResponse>- 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<PhotosGetNewTagsQuery,GetNewTagsResponse>- Returns:
- list of names
-
-