Package com.vk.api.sdk.queries.groups
Class GroupsTagBindQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<GroupsTagBindQuery,BoolResponse>
-
- com.vk.api.sdk.queries.groups.GroupsTagBindQuery
-
public class GroupsTagBindQuery extends AbstractQueryBuilder<GroupsTagBindQuery,BoolResponse>
Query for Groups.tagBind method
-
-
Constructor Summary
Constructors Constructor Description GroupsTagBindQuery(VkApiClient client, UserActor actor, int groupId, int tagId, int userId, TagBindAct act)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 protected GroupsTagBindQueryact(TagBindAct value)Describe the actionprotected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected GroupsTagBindQuerygetThis()Get reference to this objectprotected GroupsTagBindQuerygroupId(int value)Set group idprotected GroupsTagBindQuerytagId(int value)Set tag idprotected GroupsTagBindQueryuserId(int value)Set user 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
-
GroupsTagBindQuery
public GroupsTagBindQuery(VkApiClient client, UserActor actor, int groupId, int tagId, int userId, TagBindAct act)
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.tagId- value of "tag id" parameter. Minimum is 0.userId- value of "user id" parameter. Maximum is 2000000000. Minimum is 1.act- value of "act" parameter.
-
-
Method Detail
-
groupId
protected GroupsTagBindQuery groupId(int value)
Set group id- Parameters:
value- value of "group id" parameter. Minimum is 1.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
tagId
protected GroupsTagBindQuery tagId(int value)
Set tag id- Parameters:
value- value of "tag id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
userId
protected GroupsTagBindQuery userId(int value)
Set user id- Parameters:
value- value of "user id" parameter. Maximum is 2000000000. Minimum is 1.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
act
protected GroupsTagBindQuery act(TagBindAct value)
Describe the action- Parameters:
value- value of "act" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected GroupsTagBindQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<GroupsTagBindQuery,BoolResponse>- 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<GroupsTagBindQuery,BoolResponse>- Returns:
- list of names
-
-