Package com.vk.api.sdk.queries.groups
Class GroupsTagAddQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<GroupsTagAddQuery,BoolResponse>
-
- com.vk.api.sdk.queries.groups.GroupsTagAddQuery
-
public class GroupsTagAddQuery extends AbstractQueryBuilder<GroupsTagAddQuery,BoolResponse>
Query for Groups.tagAdd method
-
-
Constructor Summary
Constructors Constructor Description GroupsTagAddQuery(VkApiClient client, UserActor actor, int groupId, java.lang.String tagName)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 java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected GroupsTagAddQuerygetThis()Get reference to this objectprotected GroupsTagAddQuerygroupId(int value)Set group idGroupsTagAddQuerytagColor(TagAddTagColor value)Set tag colorprotected GroupsTagAddQuerytagName(java.lang.String value)Set tag name-
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
-
GroupsTagAddQuery
public GroupsTagAddQuery(VkApiClient client, UserActor actor, int groupId, java.lang.String tagName)
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.tagName- value of "tag name" parameter.
-
-
Method Detail
-
groupId
protected GroupsTagAddQuery 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.
-
tagName
protected GroupsTagAddQuery tagName(java.lang.String value)
Set tag name- Parameters:
value- value of "tag name" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
tagColor
public GroupsTagAddQuery tagColor(TagAddTagColor value)
Set tag color- Parameters:
value- value of "tag color" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected GroupsTagAddQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<GroupsTagAddQuery,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<GroupsTagAddQuery,BoolResponse>- Returns:
- list of names
-
-