Package com.vk.api.sdk.queries.widgets
Class WidgetsGetCommentsQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<WidgetsGetCommentsQuery,GetCommentsResponse>
-
- com.vk.api.sdk.queries.widgets.WidgetsGetCommentsQuery
-
public class WidgetsGetCommentsQuery extends AbstractQueryBuilder<WidgetsGetCommentsQuery,GetCommentsResponse>
Query for Widgets.getComments method
-
-
Constructor Summary
Constructors Constructor Description WidgetsGetCommentsQuery(VkApiClient client, ServiceActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersWidgetsGetCommentsQuery(VkApiClient client, UserActor actor)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 WidgetsGetCommentsQuerycount(java.lang.Integer value)Set countprotected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesWidgetsGetCommentsQueryfields(Fields... value)fields Set fieldsWidgetsGetCommentsQueryfields(java.util.List<Fields> value)Set fieldsprotected WidgetsGetCommentsQuerygetThis()Get reference to this objectWidgetsGetCommentsQueryoffset(java.lang.Integer value)Set offsetWidgetsGetCommentsQueryorder(java.lang.String value)Set orderWidgetsGetCommentsQuerypageId(java.lang.String value)Set page idWidgetsGetCommentsQueryurl(java.lang.String value)Set urlWidgetsGetCommentsQuerywidgetApiId(java.lang.Integer value)Set widget api 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
-
WidgetsGetCommentsQuery
public WidgetsGetCommentsQuery(VkApiClient client, UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
WidgetsGetCommentsQuery
public WidgetsGetCommentsQuery(VkApiClient client, ServiceActor actor)
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
-
widgetApiId
public WidgetsGetCommentsQuery widgetApiId(java.lang.Integer value)
Set widget api id- Parameters:
value- value of "widget api id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
url
public WidgetsGetCommentsQuery url(java.lang.String value)
Set url- Parameters:
value- value of "url" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
pageId
public WidgetsGetCommentsQuery pageId(java.lang.String value)
Set page id- Parameters:
value- value of "page id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
order
public WidgetsGetCommentsQuery order(java.lang.String value)
Set order- Parameters:
value- value of "order" parameter. By default date.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
offset
public WidgetsGetCommentsQuery offset(java.lang.Integer value)
Set offset- Parameters:
value- value of "offset" parameter. Minimum is 0. By default 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
count
public WidgetsGetCommentsQuery count(java.lang.Integer value)
Set count- Parameters:
value- value of "count" parameter. Maximum is 200. Minimum is 10. By default 10.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public WidgetsGetCommentsQuery fields(Fields... value)
fields Set fields- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public WidgetsGetCommentsQuery fields(java.util.List<Fields> value)
Set fields- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected WidgetsGetCommentsQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<WidgetsGetCommentsQuery,GetCommentsResponse>- 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<WidgetsGetCommentsQuery,GetCommentsResponse>- Returns:
- list of names
-
-