Package com.vk.api.sdk.queries.groups
Class GroupsGetByIdQueryWithObjectLegacy
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<GroupsGetByIdQueryWithObjectLegacy,java.util.List<GetByIdObjectLegacyResponse>>
-
- com.vk.api.sdk.queries.groups.GroupsGetByIdQueryWithObjectLegacy
-
public class GroupsGetByIdQueryWithObjectLegacy extends AbstractQueryBuilder<GroupsGetByIdQueryWithObjectLegacy,java.util.List<GetByIdObjectLegacyResponse>>
Query for Groups.getById method
-
-
Constructor Summary
Constructors Constructor Description GroupsGetByIdQueryWithObjectLegacy(VkApiClient client, GroupActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersGroupsGetByIdQueryWithObjectLegacy(VkApiClient client, ServiceActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersGroupsGetByIdQueryWithObjectLegacy(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 namesGroupsGetByIdQueryWithObjectLegacyfields(Fields... value)fields Group fields to return.GroupsGetByIdQueryWithObjectLegacyfields(java.util.List<Fields> value)Group fields to return.protected GroupsGetByIdQueryWithObjectLegacygetThis()Get reference to this objectGroupsGetByIdQueryWithObjectLegacygroupId(java.lang.String value)ID or screen name of the community.GroupsGetByIdQueryWithObjectLegacygroupIds(java.lang.String... value)group_ids IDs or screen names of communities.GroupsGetByIdQueryWithObjectLegacygroupIds(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
-
GroupsGetByIdQueryWithObjectLegacy
public GroupsGetByIdQueryWithObjectLegacy(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
-
GroupsGetByIdQueryWithObjectLegacy
public GroupsGetByIdQueryWithObjectLegacy(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
-
GroupsGetByIdQueryWithObjectLegacy
public GroupsGetByIdQueryWithObjectLegacy(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 GroupsGetByIdQueryWithObjectLegacy 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 GroupsGetByIdQueryWithObjectLegacy 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 GroupsGetByIdQueryWithObjectLegacy 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 GroupsGetByIdQueryWithObjectLegacy 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 GroupsGetByIdQueryWithObjectLegacy 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 GroupsGetByIdQueryWithObjectLegacy getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<GroupsGetByIdQueryWithObjectLegacy,java.util.List<GetByIdObjectLegacyResponse>>- 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<GroupsGetByIdQueryWithObjectLegacy,java.util.List<GetByIdObjectLegacyResponse>>- Returns:
- list of names
-
-