Package com.vk.api.sdk.queries.stories
Class StoriesGetVideoUploadServerQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<StoriesGetVideoUploadServerQuery,GetVideoUploadServerResponse>
-
- com.vk.api.sdk.queries.stories.StoriesGetVideoUploadServerQuery
-
public class StoriesGetVideoUploadServerQuery extends AbstractQueryBuilder<StoriesGetVideoUploadServerQuery,GetVideoUploadServerResponse>
Query for Stories.getVideoUploadServer method
-
-
Constructor Summary
Constructors Constructor Description StoriesGetVideoUploadServerQuery(VkApiClient client, GroupActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersStoriesGetVideoUploadServerQuery(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 StoriesGetVideoUploadServerQueryaddToNews(java.lang.Boolean value)1 — to add the story to friend's feed.StoriesGetVideoUploadServerQueryclickableStickers(java.lang.String value)Set clickable stickersprotected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected StoriesGetVideoUploadServerQuerygetThis()Get reference to this objectStoriesGetVideoUploadServerQuerygroupId(java.lang.Integer value)ID of the community to upload the story (should be verified or with the "fire" icon).StoriesGetVideoUploadServerQuerylinkText(UploadLinkText value)Link text (for community's stories only).StoriesGetVideoUploadServerQuerylinkUrl(java.lang.String value)Link URL.StoriesGetVideoUploadServerQueryreplyToStory(java.lang.String value)ID of the story to reply with the current.StoriesGetVideoUploadServerQueryuserIds(java.lang.Integer... value)user_ids List of users IDs who can see the story.StoriesGetVideoUploadServerQueryuserIds(java.util.List<java.lang.Integer> value)List of users IDs who can see the story.-
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
-
StoriesGetVideoUploadServerQuery
public StoriesGetVideoUploadServerQuery(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
-
StoriesGetVideoUploadServerQuery
public StoriesGetVideoUploadServerQuery(VkApiClient client, GroupActor 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
-
addToNews
public StoriesGetVideoUploadServerQuery addToNews(java.lang.Boolean value)
1 — to add the story to friend's feed.- Parameters:
value- value of "add to news" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
replyToStory
public StoriesGetVideoUploadServerQuery replyToStory(java.lang.String value)
ID of the story to reply with the current.- Parameters:
value- value of "reply to story" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
linkText
public StoriesGetVideoUploadServerQuery linkText(UploadLinkText value)
Link text (for community's stories only).- Parameters:
value- value of "link text" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
linkUrl
public StoriesGetVideoUploadServerQuery linkUrl(java.lang.String value)
Link URL. Internal links on https://vk.com only.- Parameters:
value- value of "link url" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
groupId
public StoriesGetVideoUploadServerQuery groupId(java.lang.Integer value)
ID of the community to upload the story (should be verified or with the "fire" icon).- Parameters:
value- value of "group id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
clickableStickers
public StoriesGetVideoUploadServerQuery clickableStickers(java.lang.String value)
Set clickable stickers- Parameters:
value- value of "clickable stickers" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
userIds
public StoriesGetVideoUploadServerQuery userIds(java.lang.Integer... value)
user_ids List of users IDs who can see the story.- Parameters:
value- value of "user ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
userIds
public StoriesGetVideoUploadServerQuery userIds(java.util.List<java.lang.Integer> value)
List of users IDs who can see the story.- Parameters:
value- value of "user ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected StoriesGetVideoUploadServerQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<StoriesGetVideoUploadServerQuery,GetVideoUploadServerResponse>- 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<StoriesGetVideoUploadServerQuery,GetVideoUploadServerResponse>- Returns:
- list of names
-
-