Package com.vk.api.sdk.queries.groups
Class GroupsReorderLinkQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<GroupsReorderLinkQuery,OkResponse>
-
- com.vk.api.sdk.queries.groups.GroupsReorderLinkQuery
-
public class GroupsReorderLinkQuery extends AbstractQueryBuilder<GroupsReorderLinkQuery,OkResponse>
Query for Groups.reorderLink method
-
-
Constructor Summary
Constructors Constructor Description GroupsReorderLinkQuery(VkApiClient client, UserActor actor, int groupId, int linkId)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 GroupsReorderLinkQueryafter(java.lang.Integer value)ID of the link after which to place the link with 'link_id'.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected GroupsReorderLinkQuerygetThis()Get reference to this objectprotected GroupsReorderLinkQuerygroupId(int value)Community ID.protected GroupsReorderLinkQuerylinkId(int value)Link 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
-
GroupsReorderLinkQuery
public GroupsReorderLinkQuery(VkApiClient client, UserActor actor, int groupId, int linkId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokengroupId- value of "group id" parameter. Minimum is 1.linkId- value of "link id" parameter. Minimum is 0.
-
-
Method Detail
-
groupId
protected GroupsReorderLinkQuery groupId(int value)
Community ID.- Parameters:
value- value of "group id" parameter. Minimum is 1.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
linkId
protected GroupsReorderLinkQuery linkId(int value)
Link ID.- Parameters:
value- value of "link id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
after
public GroupsReorderLinkQuery after(java.lang.Integer value)
ID of the link after which to place the link with 'link_id'.- Parameters:
value- value of "after" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected GroupsReorderLinkQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<GroupsReorderLinkQuery,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<GroupsReorderLinkQuery,OkResponse>- Returns:
- list of names
-
-