Package com.vk.api.sdk.queries.groups
Class GroupsEditManagerQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<GroupsEditManagerQuery,OkResponse>
-
- com.vk.api.sdk.queries.groups.GroupsEditManagerQuery
-
public class GroupsEditManagerQuery extends AbstractQueryBuilder<GroupsEditManagerQuery,OkResponse>
Query for Groups.editManager method
-
-
Constructor Summary
Constructors Constructor Description GroupsEditManagerQuery(VkApiClient client, UserActor actor, int groupId, int userId)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 GroupsEditManagerQuerycontactEmail(java.lang.String value)Contact e-mail.GroupsEditManagerQuerycontactPhone(java.lang.String value)Contact phone.GroupsEditManagerQuerycontactPosition(java.lang.String value)Position to show in Contacts block.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected GroupsEditManagerQuerygetThis()Get reference to this objectprotected GroupsEditManagerQuerygroupId(int value)Community ID.GroupsEditManagerQueryisContact(java.lang.Boolean value)'1' — to show the manager in Contacts block of the community.GroupsEditManagerQueryrole(GroupRole value)Manager role.protected GroupsEditManagerQueryuserId(int value)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
-
GroupsEditManagerQuery
public GroupsEditManagerQuery(VkApiClient client, UserActor actor, int groupId, int userId)
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.userId- value of "user id" parameter. Minimum is 1.
-
-
Method Detail
-
groupId
protected GroupsEditManagerQuery 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.
-
userId
protected GroupsEditManagerQuery userId(int value)
User ID.- Parameters:
value- value of "user id" parameter. Minimum is 1.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
role
public GroupsEditManagerQuery role(GroupRole value)
Manager role. Possible values: *'moderator',, *'editor',, *'administrator',, *'advertiser'.- Parameters:
value- value of "role" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
isContact
public GroupsEditManagerQuery isContact(java.lang.Boolean value)
'1' — to show the manager in Contacts block of the community.- Parameters:
value- value of "is contact" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
contactPosition
public GroupsEditManagerQuery contactPosition(java.lang.String value)
Position to show in Contacts block.- Parameters:
value- value of "contact position" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
contactPhone
public GroupsEditManagerQuery contactPhone(java.lang.String value)
Contact phone.- Parameters:
value- value of "contact phone" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
contactEmail
public GroupsEditManagerQuery contactEmail(java.lang.String value)
Contact e-mail.- Parameters:
value- value of "contact email" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected GroupsEditManagerQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<GroupsEditManagerQuery,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<GroupsEditManagerQuery,OkResponse>- Returns:
- list of names
-
-