public class VideoAddQuery extends AbstractQueryBuilder<VideoAddQuery,OkResponse>
Constructor and Description |
---|
VideoAddQuery(VkApiClient client,
UserActor actor,
int videoId,
int ownerId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
protected VideoAddQuery |
getThis()
Get reference to this object
|
protected VideoAddQuery |
ownerId(int value)
ID of the user or community that owns the video.
|
VideoAddQuery |
targetId(java.lang.Integer value)
Identifier of a user or community to add a video to.
|
protected VideoAddQuery |
videoId(int value)
Video ID.
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, lang, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
execute, executeAsRaw, executeAsString, getClient, getGson, getResponseClass, getUrl
public VideoAddQuery(VkApiClient client, UserActor actor, int videoId, int ownerId)
client
- VK API clientactor
- actor with access tokenvideoId
- value of "video id" parameter. Minimum is 0.ownerId
- value of "owner id" parameter.public VideoAddQuery targetId(java.lang.Integer value)
value
- value of "target id" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected VideoAddQuery videoId(int value)
value
- value of "video id" parameter. Minimum is 0.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected VideoAddQuery ownerId(int value)
value
- value of "owner id" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected VideoAddQuery getThis()
AbstractQueryBuilder
getThis
in class AbstractQueryBuilder<VideoAddQuery,OkResponse>
AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilder
essentialKeys
in class AbstractQueryBuilder<VideoAddQuery,OkResponse>