Package com.vk.api.sdk.queries.groups
Class GroupsSetUserNoteQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<GroupsSetUserNoteQuery,BoolResponse>
-
- com.vk.api.sdk.queries.groups.GroupsSetUserNoteQuery
-
public class GroupsSetUserNoteQuery extends AbstractQueryBuilder<GroupsSetUserNoteQuery,BoolResponse>
Query for Groups.setUserNote method
-
-
Constructor Summary
Constructors Constructor Description GroupsSetUserNoteQuery(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 protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected GroupsSetUserNoteQuerygetThis()Get reference to this objectprotected GroupsSetUserNoteQuerygroupId(int value)Set group idGroupsSetUserNoteQuerynote(java.lang.String value)Note bodyprotected GroupsSetUserNoteQueryuserId(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
-
GroupsSetUserNoteQuery
public GroupsSetUserNoteQuery(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 GroupsSetUserNoteQuery 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.
-
userId
protected GroupsSetUserNoteQuery userId(int value)
Set user id- Parameters:
value- value of "user id" parameter. Minimum is 1.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
note
public GroupsSetUserNoteQuery note(java.lang.String value)
Note body- Parameters:
value- value of "note" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected GroupsSetUserNoteQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<GroupsSetUserNoteQuery,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<GroupsSetUserNoteQuery,BoolResponse>- Returns:
- list of names
-
-