Package com.vk.api.sdk.queries.groups
Class GroupsGetCatalogInfoQueryWithExtended
java.lang.Object
com.vk.api.sdk.client.ApiRequest<R>
com.vk.api.sdk.client.AbstractQueryBuilder<GroupsGetCatalogInfoQueryWithExtended,GetCatalogInfoExtendedResponse>
com.vk.api.sdk.queries.groups.GroupsGetCatalogInfoQueryWithExtended
public class GroupsGetCatalogInfoQueryWithExtended extends AbstractQueryBuilder<GroupsGetCatalogInfoQueryWithExtended,GetCatalogInfoExtendedResponse>
Query for Groups.getCatalogInfo method
-
Constructor Summary
Constructors Constructor Description GroupsGetCatalogInfoQueryWithExtended(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 protected java.util.List<java.lang.String>
essentialKeys()
Get list of required parameter namesprotected GroupsGetCatalogInfoQueryWithExtended
extended(java.lang.Boolean value)
1 - to return communities count and three communities for preview.protected GroupsGetCatalogInfoQueryWithExtended
getThis()
Get reference to this objectGroupsGetCatalogInfoQueryWithExtended
subcategories(java.lang.Boolean value)
1 - to return subcategories info.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
-
GroupsGetCatalogInfoQueryWithExtended
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
-
extended
1 - to return communities count and three communities for preview. By default: 0.- Parameters:
value
- value of "extended" parameter. By default 0.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
subcategories
1 - to return subcategories info. By default: 0.- Parameters:
value
- value of "subcategories" parameter. By default 0.- 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<GroupsGetCatalogInfoQueryWithExtended,GetCatalogInfoExtendedResponse>
- 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<GroupsGetCatalogInfoQueryWithExtended,GetCatalogInfoExtendedResponse>
- Returns:
- list of names
-