Package com.vk.api.sdk.queries.wall
Class WallGetCommentQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<WallGetCommentQueryWithExtended,GetCommentExtendedResponse>
-
- com.vk.api.sdk.queries.wall.WallGetCommentQueryWithExtended
-
public class WallGetCommentQueryWithExtended extends AbstractQueryBuilder<WallGetCommentQueryWithExtended,GetCommentExtendedResponse>
Query for Wall.getComment method
-
-
Constructor Summary
Constructors Constructor Description WallGetCommentQueryWithExtended(VkApiClient client, UserActor actor, int commentId)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 WallGetCommentQueryWithExtendedcommentId(int value)Comment ID.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected WallGetCommentQueryWithExtendedextended(java.lang.Boolean value)Set extendedWallGetCommentQueryWithExtendedfields(UserGroupFields... value)fields Set fieldsWallGetCommentQueryWithExtendedfields(java.util.List<UserGroupFields> value)Set fieldsprotected WallGetCommentQueryWithExtendedgetThis()Get reference to this objectWallGetCommentQueryWithExtendedownerId(java.lang.Integer value)User ID or community 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
-
WallGetCommentQueryWithExtended
public WallGetCommentQueryWithExtended(VkApiClient client, UserActor actor, int commentId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokencommentId- value of "comment id" parameter. Minimum is 0.
-
-
Method Detail
-
ownerId
public WallGetCommentQueryWithExtended ownerId(java.lang.Integer value)
User ID or community ID. Use a negative value to designate a community ID.- Parameters:
value- value of "owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
commentId
protected WallGetCommentQueryWithExtended commentId(int value)
Comment ID.- Parameters:
value- value of "comment id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
extended
protected WallGetCommentQueryWithExtended extended(java.lang.Boolean value)
Set extended- Parameters:
value- value of "extended" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public WallGetCommentQueryWithExtended fields(UserGroupFields... value)
fields Set fields- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public WallGetCommentQueryWithExtended fields(java.util.List<UserGroupFields> value)
Set fields- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected WallGetCommentQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<WallGetCommentQueryWithExtended,GetCommentExtendedResponse>- 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<WallGetCommentQueryWithExtended,GetCommentExtendedResponse>- Returns:
- list of names
-
-