Package com.vk.api.sdk.queries.video
Class VideoGetQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<VideoGetQueryWithExtended,GetExtendedResponse>
-
- com.vk.api.sdk.queries.video.VideoGetQueryWithExtended
-
public class VideoGetQueryWithExtended extends AbstractQueryBuilder<VideoGetQueryWithExtended,GetExtendedResponse>
Query for Video.get method
-
-
Constructor Summary
Constructors Constructor Description VideoGetQueryWithExtended(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 VideoGetQueryWithExtendedalbumId(java.lang.Integer value)ID of the album containing the video(s).VideoGetQueryWithExtendedcount(java.lang.Integer value)Number of videos to return.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected VideoGetQueryWithExtendedextended(java.lang.Boolean value)'1' — to return an extended response with additional fieldsprotected VideoGetQueryWithExtendedgetThis()Get reference to this objectVideoGetQueryWithExtendedoffset(java.lang.Integer value)Offset needed to return a specific subset of videos.VideoGetQueryWithExtendedownerId(java.lang.Integer value)ID of the user or community that owns the video(s).VideoGetQueryWithExtendedvideos(java.lang.String... value)videos Video IDs, in the following format: "_ , _ ", Use a negative value to designate a community ID. VideoGetQueryWithExtendedvideos(java.util.List<java.lang.String> value)Video IDs, in the following format: "_ , _ ", Use a negative value to designate a community 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
-
VideoGetQueryWithExtended
public VideoGetQueryWithExtended(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
-
ownerId
public VideoGetQueryWithExtended ownerId(java.lang.Integer value)
ID of the user or community that owns the video(s).- Parameters:
value- value of "owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
albumId
public VideoGetQueryWithExtended albumId(java.lang.Integer value)
ID of the album containing the video(s).- Parameters:
value- value of "album id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
count
public VideoGetQueryWithExtended count(java.lang.Integer value)
Number of videos to return.- Parameters:
value- value of "count" parameter. Maximum is 200. Minimum is 0. By default 100.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
offset
public VideoGetQueryWithExtended offset(java.lang.Integer value)
Offset needed to return a specific subset of videos.- Parameters:
value- value of "offset" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
extended
protected VideoGetQueryWithExtended extended(java.lang.Boolean value)
'1' — to return an extended response with additional fields- Parameters:
value- value of "extended" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
videos
public VideoGetQueryWithExtended videos(java.lang.String... value)
videos Video IDs, in the following format: "_ , _ ", Use a negative value to designate a community ID. Example: "-4363_136089719,13245770_137352259" - Parameters:
value- value of "videos" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
videos
public VideoGetQueryWithExtended videos(java.util.List<java.lang.String> value)
Video IDs, in the following format: "_ , _ ", Use a negative value to designate a community ID. Example: "-4363_136089719,13245770_137352259" - Parameters:
value- value of "videos" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected VideoGetQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<VideoGetQueryWithExtended,GetExtendedResponse>- 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<VideoGetQueryWithExtended,GetExtendedResponse>- Returns:
- list of names
-
-