Package com.vk.api.sdk.queries.groups
Class GroupsGetByIdQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<GroupsGetByIdQuery,java.util.List<GroupFull>>
-
- com.vk.api.sdk.queries.groups.GroupsGetByIdQuery
-
public class GroupsGetByIdQuery extends AbstractQueryBuilder<GroupsGetByIdQuery,java.util.List<GroupFull>>
Query for Groups.getById method
-
-
Constructor Summary
Constructors Constructor Description GroupsGetByIdQuery(VkApiClient client, GroupActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersGroupsGetByIdQuery(VkApiClient client, ServiceActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersGroupsGetByIdQuery(VkApiClient client, UserActor actor)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 namesGroupsGetByIdQueryfields(Fields... value)fields Group fields to return.GroupsGetByIdQueryfields(java.util.List<Fields> value)Group fields to return.protected GroupsGetByIdQuerygetThis()Get reference to this objectGroupsGetByIdQuerygroupId(java.lang.String value)ID or screen name of the community.GroupsGetByIdQuerygroupIds(java.lang.String... value)group_ids IDs or screen names of communities.GroupsGetByIdQuerygroupIds(java.util.List<java.lang.String> value)IDs or screen names of communities.-
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
-
GroupsGetByIdQuery
public GroupsGetByIdQuery(VkApiClient client, UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
GroupsGetByIdQuery
public GroupsGetByIdQuery(VkApiClient client, GroupActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
GroupsGetByIdQuery
public GroupsGetByIdQuery(VkApiClient client, ServiceActor actor)
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 Detail
-
groupId
public GroupsGetByIdQuery groupId(java.lang.String value)
ID or screen name of the community.- Parameters:
value- value of "group id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
groupIds
public GroupsGetByIdQuery groupIds(java.lang.String... value)
group_ids IDs or screen names of communities.- Parameters:
value- value of "group ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
groupIds
public GroupsGetByIdQuery groupIds(java.util.List<java.lang.String> value)
IDs or screen names of communities.- Parameters:
value- value of "group ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public GroupsGetByIdQuery fields(Fields... value)
fields Group fields to return.- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public GroupsGetByIdQuery fields(java.util.List<Fields> value)
Group fields to return.- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected GroupsGetByIdQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<GroupsGetByIdQuery,java.util.List<GroupFull>>- 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<GroupsGetByIdQuery,java.util.List<GroupFull>>- Returns:
- list of names
-
-