Package com.vk.api.sdk.queries.database
Class DatabaseGetChairsQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<DatabaseGetChairsQuery,GetChairsResponse>
-
- com.vk.api.sdk.queries.database.DatabaseGetChairsQuery
-
public class DatabaseGetChairsQuery extends AbstractQueryBuilder<DatabaseGetChairsQuery,GetChairsResponse>
Query for Database.getChairs method
-
-
Constructor Summary
Constructors Constructor Description DatabaseGetChairsQuery(VkApiClient client, ServiceActor actor, int facultyId)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersDatabaseGetChairsQuery(VkApiClient client, UserActor actor, int facultyId)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 DatabaseGetChairsQuerycount(java.lang.Integer value)Amount of chairs to getprotected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected DatabaseGetChairsQueryfacultyId(int value)Id of the faculty to get chairs fromprotected DatabaseGetChairsQuerygetThis()Get reference to this objectDatabaseGetChairsQueryoffset(java.lang.Integer value)Offset required to get a certain subset of chairs-
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
-
DatabaseGetChairsQuery
public DatabaseGetChairsQuery(VkApiClient client, UserActor actor, int facultyId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenfacultyId- value of "faculty id" parameter. Minimum is 0.
-
DatabaseGetChairsQuery
public DatabaseGetChairsQuery(VkApiClient client, ServiceActor actor, int facultyId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenfacultyId- value of "faculty id" parameter. Minimum is 0.
-
-
Method Detail
-
facultyId
protected DatabaseGetChairsQuery facultyId(int value)
Id of the faculty to get chairs from- Parameters:
value- value of "faculty id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
offset
public DatabaseGetChairsQuery offset(java.lang.Integer value)
Offset required to get a certain subset of chairs- Parameters:
value- value of "offset" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
count
public DatabaseGetChairsQuery count(java.lang.Integer value)
Amount of chairs to get- Parameters:
value- value of "count" parameter. Maximum is 10000. Minimum is 0. By default 100.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected DatabaseGetChairsQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<DatabaseGetChairsQuery,GetChairsResponse>- 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<DatabaseGetChairsQuery,GetChairsResponse>- Returns:
- list of names
-
-