Package com.vk.api.sdk.queries.groups
Class GroupsGetInvitesQuery
java.lang.Object
com.vk.api.sdk.client.ApiRequest<R>
com.vk.api.sdk.client.AbstractQueryBuilder<GroupsGetInvitesQuery,GetInvitesResponse>
com.vk.api.sdk.queries.groups.GroupsGetInvitesQuery
public class GroupsGetInvitesQuery extends AbstractQueryBuilder<GroupsGetInvitesQuery,GetInvitesResponse>
Query for Groups.getInvites method
-
Constructor Summary
Constructors Constructor Description GroupsGetInvitesQuery(VkApiClient client, UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters -
Method Summary
Modifier and Type Method Description GroupsGetInvitesQuery
count(java.lang.Integer value)
Number of invitations to return.protected java.util.List<java.lang.String>
essentialKeys()
Get list of required parameter namesGroupsGetInvitesQuery
extended(java.lang.Boolean value)
'1' — to return additional [vk.com/dev/fields_groups|fields] for communities..protected GroupsGetInvitesQuery
getThis()
Get reference to this objectGroupsGetInvitesQuery
offset(java.lang.Integer value)
Offset needed to return a specific subset of invitations.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
GroupsGetInvitesQuery
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client
- VK API clientactor
- actor with access token
-
-
Method Details
-
offset
Offset needed to return a specific subset of invitations.- Parameters:
value
- value of "offset" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
count
Number of invitations to return.- Parameters:
value
- value of "count" parameter. Minimum is 0. By default 20.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
extended
'1' — to return additional [vk.com/dev/fields_groups|fields] for communities..- Parameters:
value
- value of "extended" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
getThis
Description copied from class:AbstractQueryBuilder
Get reference to this object- Specified by:
getThis
in classAbstractQueryBuilder<GroupsGetInvitesQuery,GetInvitesResponse>
- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()Description copied from class:AbstractQueryBuilder
Get list of required parameter names- Specified by:
essentialKeys
in classAbstractQueryBuilder<GroupsGetInvitesQuery,GetInvitesResponse>
- Returns:
- list of names
-