Package com.vk.api.sdk.queries.storage
Class StorageGetQueryWithKeys
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<StorageGetQueryWithKeys,java.util.List<Value>>
-
- com.vk.api.sdk.queries.storage.StorageGetQueryWithKeys
-
public class StorageGetQueryWithKeys extends AbstractQueryBuilder<StorageGetQueryWithKeys,java.util.List<Value>>
Query for Storage.get method
-
-
Constructor Summary
Constructors Constructor Description StorageGetQueryWithKeys(VkApiClient client, UserActor actor, java.lang.String... keys)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersStorageGetQueryWithKeys(VkApiClient client, UserActor actor, java.util.List<java.lang.String> keys)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 namesprotected StorageGetQueryWithKeysgetThis()Get reference to this objectStorageGetQueryWithKeysglobal(java.lang.Boolean value)Set globalStorageGetQueryWithKeyskey(java.lang.String value)Set keyprotected StorageGetQueryWithKeyskeys(java.lang.String... value)keys Set keysprotected StorageGetQueryWithKeyskeys(java.util.List<java.lang.String> value)Set keysStorageGetQueryWithKeysuserId(java.lang.Integer value)Set user id-
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
-
StorageGetQueryWithKeys
public StorageGetQueryWithKeys(VkApiClient client, UserActor actor, java.lang.String... keys)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
StorageGetQueryWithKeys
public StorageGetQueryWithKeys(VkApiClient client, UserActor actor, java.util.List<java.lang.String> keys)
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
-
key
public StorageGetQueryWithKeys key(java.lang.String value)
Set key- Parameters:
value- value of "key" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
userId
public StorageGetQueryWithKeys userId(java.lang.Integer value)
Set user id- Parameters:
value- value of "user id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
global
public StorageGetQueryWithKeys global(java.lang.Boolean value)
Set global- Parameters:
value- value of "global" parameter. By default 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
keys
protected StorageGetQueryWithKeys keys(java.lang.String... value)
keys Set keys- Parameters:
value- value of "keys" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
keys
protected StorageGetQueryWithKeys keys(java.util.List<java.lang.String> value)
Set keys- Parameters:
value- value of "keys" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected StorageGetQueryWithKeys getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<StorageGetQueryWithKeys,java.util.List<Value>>- 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<StorageGetQueryWithKeys,java.util.List<Value>>- Returns:
- list of names
-
-