Package com.vk.api.sdk.queries.photos
Class PhotosReorderAlbumsQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<PhotosReorderAlbumsQuery,OkResponse>
-
- com.vk.api.sdk.queries.photos.PhotosReorderAlbumsQuery
-
public class PhotosReorderAlbumsQuery extends AbstractQueryBuilder<PhotosReorderAlbumsQuery,OkResponse>
Query for Photos.reorderAlbums method
-
-
Constructor Summary
Constructors Constructor Description PhotosReorderAlbumsQuery(VkApiClient client, UserActor actor, int albumId)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 PhotosReorderAlbumsQueryafter(java.lang.Integer value)ID of the album after which the album in question shall be placed.protected PhotosReorderAlbumsQueryalbumId(int value)Album ID.PhotosReorderAlbumsQuerybefore(java.lang.Integer value)ID of the album before which the album in question shall be placed.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected PhotosReorderAlbumsQuerygetThis()Get reference to this objectPhotosReorderAlbumsQueryownerId(java.lang.Integer value)ID of the user or community that owns the album.-
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
-
PhotosReorderAlbumsQuery
public PhotosReorderAlbumsQuery(VkApiClient client, UserActor actor, int albumId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenalbumId- value of "album id" parameter.
-
-
Method Detail
-
ownerId
public PhotosReorderAlbumsQuery ownerId(java.lang.Integer value)
ID of the user or community that owns the album.- Parameters:
value- value of "owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
albumId
protected PhotosReorderAlbumsQuery albumId(int value)
Album ID.- Parameters:
value- value of "album id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
before
public PhotosReorderAlbumsQuery before(java.lang.Integer value)
ID of the album before which the album in question shall be placed.- Parameters:
value- value of "before" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
after
public PhotosReorderAlbumsQuery after(java.lang.Integer value)
ID of the album after which the album in question shall be placed.- Parameters:
value- value of "after" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected PhotosReorderAlbumsQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<PhotosReorderAlbumsQuery,OkResponse>- 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<PhotosReorderAlbumsQuery,OkResponse>- Returns:
- list of names
-
-