Package com.vk.api.sdk.queries.groups
Class GroupsSetSettingsQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<GroupsSetSettingsQuery,OkResponse>
-
- com.vk.api.sdk.queries.groups.GroupsSetSettingsQuery
-
public class GroupsSetSettingsQuery extends AbstractQueryBuilder<GroupsSetSettingsQuery,OkResponse>
Query for Groups.setSettings method
-
-
Constructor Summary
Constructors Constructor Description GroupsSetSettingsQuery(VkApiClient client, GroupActor actor, int groupId)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersGroupsSetSettingsQuery(VkApiClient client, UserActor actor, int groupId)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 GroupsSetSettingsQuerybotsAddToChat(java.lang.Boolean value)Set bots add to chatGroupsSetSettingsQuerybotsCapabilities(java.lang.Boolean value)Set bots capabilitiesGroupsSetSettingsQuerybotsStartButton(java.lang.Boolean value)Set bots start buttonprotected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected GroupsSetSettingsQuerygetThis()Get reference to this objectprotected GroupsSetSettingsQuerygroupId(int value)Set group idGroupsSetSettingsQuerymessages(java.lang.Boolean value)Set messages-
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
-
GroupsSetSettingsQuery
public GroupsSetSettingsQuery(VkApiClient client, UserActor actor, int groupId)
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.
-
GroupsSetSettingsQuery
public GroupsSetSettingsQuery(VkApiClient client, GroupActor actor, int groupId)
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.
-
-
Method Detail
-
groupId
protected GroupsSetSettingsQuery 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.
-
messages
public GroupsSetSettingsQuery messages(java.lang.Boolean value)
Set messages- Parameters:
value- value of "messages" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
botsCapabilities
public GroupsSetSettingsQuery botsCapabilities(java.lang.Boolean value)
Set bots capabilities- Parameters:
value- value of "bots capabilities" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
botsStartButton
public GroupsSetSettingsQuery botsStartButton(java.lang.Boolean value)
Set bots start button- Parameters:
value- value of "bots start button" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
botsAddToChat
public GroupsSetSettingsQuery botsAddToChat(java.lang.Boolean value)
Set bots add to chat- Parameters:
value- value of "bots add to chat" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected GroupsSetSettingsQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<GroupsSetSettingsQuery,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<GroupsSetSettingsQuery,OkResponse>- Returns:
- list of names
-
-