Package com.vk.api.sdk.queries.video
Class VideoReorderAlbumsQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<VideoReorderAlbumsQuery,OkResponse>
-
- com.vk.api.sdk.queries.video.VideoReorderAlbumsQuery
-
public class VideoReorderAlbumsQuery extends AbstractQueryBuilder<VideoReorderAlbumsQuery,OkResponse>
Query for Video.reorderAlbums method
-
-
Constructor Summary
Constructors Constructor Description VideoReorderAlbumsQuery(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 VideoReorderAlbumsQueryafter(java.lang.Integer value)ID of the album after which the album in question shall be placed.protected VideoReorderAlbumsQueryalbumId(int value)Album ID.VideoReorderAlbumsQuerybefore(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 VideoReorderAlbumsQuerygetThis()Get reference to this objectVideoReorderAlbumsQueryownerId(java.lang.Integer value)ID of the user or community that owns the albums..-
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
-
VideoReorderAlbumsQuery
public VideoReorderAlbumsQuery(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. Minimum is 0.
-
-
Method Detail
-
ownerId
public VideoReorderAlbumsQuery ownerId(java.lang.Integer value)
ID of the user or community that owns the albums..- Parameters:
value- value of "owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
albumId
protected VideoReorderAlbumsQuery albumId(int value)
Album ID.- Parameters:
value- value of "album id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
before
public VideoReorderAlbumsQuery before(java.lang.Integer value)
ID of the album before which the album in question shall be placed.- Parameters:
value- value of "before" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
after
public VideoReorderAlbumsQuery after(java.lang.Integer value)
ID of the album after which the album in question shall be placed.- Parameters:
value- value of "after" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected VideoReorderAlbumsQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<VideoReorderAlbumsQuery,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<VideoReorderAlbumsQuery,OkResponse>- Returns:
- list of names
-
-