Package com.vk.api.sdk.queries.video
Class VideoReorderVideosQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<VideoReorderVideosQuery,OkResponse>
-
- com.vk.api.sdk.queries.video.VideoReorderVideosQuery
-
public class VideoReorderVideosQuery extends AbstractQueryBuilder<VideoReorderVideosQuery,OkResponse>
Query for Video.reorderVideos method
-
-
Constructor Summary
Constructors Constructor Description VideoReorderVideosQuery(VkApiClient client, UserActor actor, int ownerId, int videoId)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 VideoReorderVideosQueryafterOwnerId(java.lang.Integer value)ID of the user or community that owns the video after which the photo in question shall be placed.VideoReorderVideosQueryafterVideoId(java.lang.Integer value)ID of the video after which the photo in question shall be placed.VideoReorderVideosQueryalbumId(java.lang.Integer value)ID of the video album.VideoReorderVideosQuerybeforeOwnerId(java.lang.Integer value)ID of the user or community that owns the video before which the video in question shall be placed.VideoReorderVideosQuerybeforeVideoId(java.lang.Integer value)ID of the video before which the video in question shall be placed.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected VideoReorderVideosQuerygetThis()Get reference to this objectprotected VideoReorderVideosQueryownerId(int value)ID of the user or community that owns the video.VideoReorderVideosQuerytargetId(java.lang.Integer value)ID of the user or community that owns the album with videos.protected VideoReorderVideosQueryvideoId(int value)ID of the video.-
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
-
VideoReorderVideosQuery
public VideoReorderVideosQuery(VkApiClient client, UserActor actor, int ownerId, int videoId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenownerId- value of "owner id" parameter.videoId- value of "video id" parameter. Minimum is 0.
-
-
Method Detail
-
targetId
public VideoReorderVideosQuery targetId(java.lang.Integer value)
ID of the user or community that owns the album with videos.- Parameters:
value- value of "target id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
albumId
public VideoReorderVideosQuery albumId(java.lang.Integer value)
ID of the video album.- Parameters:
value- value of "album id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
ownerId
protected VideoReorderVideosQuery ownerId(int value)
ID of the user or community that owns the video.- Parameters:
value- value of "owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
videoId
protected VideoReorderVideosQuery videoId(int value)
ID of the video.- Parameters:
value- value of "video id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
beforeOwnerId
public VideoReorderVideosQuery beforeOwnerId(java.lang.Integer value)
ID of the user or community that owns the video before which the video in question shall be placed.- Parameters:
value- value of "before owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
beforeVideoId
public VideoReorderVideosQuery beforeVideoId(java.lang.Integer value)
ID of the video before which the video in question shall be placed.- Parameters:
value- value of "before video id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
afterOwnerId
public VideoReorderVideosQuery afterOwnerId(java.lang.Integer value)
ID of the user or community that owns the video after which the photo in question shall be placed.- Parameters:
value- value of "after owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
afterVideoId
public VideoReorderVideosQuery afterVideoId(java.lang.Integer value)
ID of the video after which the photo in question shall be placed.- Parameters:
value- value of "after video id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected VideoReorderVideosQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<VideoReorderVideosQuery,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<VideoReorderVideosQuery,OkResponse>- Returns:
- list of names
-
-