Class AppWidgetsUpdateQuery
java.lang.Object
com.vk.api.sdk.client.ApiRequest<R>
com.vk.api.sdk.client.AbstractQueryBuilder<AppWidgetsUpdateQuery,OkResponse>
com.vk.api.sdk.queries.appwidgets.AppWidgetsUpdateQuery
public class AppWidgetsUpdateQuery extends AbstractQueryBuilder<AppWidgetsUpdateQuery,OkResponse>
Query for AppWidgets.update method
-
Constructor Summary
Constructors Constructor Description AppWidgetsUpdateQuery(VkApiClient client, GroupActor actor, java.lang.String code, UpdateType type)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters -
Method Summary
Modifier and Type Method Description protected AppWidgetsUpdateQuery
code(java.lang.String value)
Set codeprotected java.util.List<java.lang.String>
essentialKeys()
Get list of required parameter namesprotected AppWidgetsUpdateQuery
getThis()
Get reference to this objectprotected AppWidgetsUpdateQuery
type(UpdateType value)
Set typeMethods 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
-
AppWidgetsUpdateQuery
public AppWidgetsUpdateQuery(VkApiClient client, GroupActor actor, java.lang.String code, UpdateType type)Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client
- VK API clientactor
- actor with access tokencode
- value of "code" parameter.type
- value of "type" parameter.
-
-
Method Details
-
code
Set code- Parameters:
value
- value of "code" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
type
Set type- Parameters:
value
- value of "type" 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<AppWidgetsUpdateQuery,OkResponse>
- 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<AppWidgetsUpdateQuery,OkResponse>
- Returns:
- list of names
-