Package com.vk.api.sdk.queries.donut
Class DonutGetSubscriptionsQuery
java.lang.Object
com.vk.api.sdk.client.ApiRequest<R>
com.vk.api.sdk.client.AbstractQueryBuilder<DonutGetSubscriptionsQuery,GetSubscriptionsResponse>
com.vk.api.sdk.queries.donut.DonutGetSubscriptionsQuery
public class DonutGetSubscriptionsQuery extends AbstractQueryBuilder<DonutGetSubscriptionsQuery,GetSubscriptionsResponse>
Query for Donut.getSubscriptions method
-
Constructor Summary
Constructors Constructor Description DonutGetSubscriptionsQuery(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 DonutGetSubscriptionsQuery
count(java.lang.Integer value)
Set countprotected java.util.List<java.lang.String>
essentialKeys()
Get list of required parameter namesDonutGetSubscriptionsQuery
fields(UserGroupFields... value)
fields Set fieldsDonutGetSubscriptionsQuery
fields(java.util.List<UserGroupFields> value)
Set fieldsprotected DonutGetSubscriptionsQuery
getThis()
Get reference to this objectDonutGetSubscriptionsQuery
offset(java.lang.Integer value)
Set offsetMethods 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
-
DonutGetSubscriptionsQuery
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
Set offset- Parameters:
value
- value of "offset" parameter. Minimum is 0. By default 0.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
count
Set count- Parameters:
value
- value of "count" parameter. Maximum is 100. Minimum is 0. By default 10.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
fields
fields Set fields- Parameters:
value
- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
fields
Set fields- Parameters:
value
- value of "fields" 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<DonutGetSubscriptionsQuery,GetSubscriptionsResponse>
- 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<DonutGetSubscriptionsQuery,GetSubscriptionsResponse>
- Returns:
- list of names
-