public class WallEditCommentQuery extends AbstractQueryBuilder<WallEditCommentQuery,OkResponse>
Constructor and Description |
---|
WallEditCommentQuery(VkApiClient client,
UserActor actor,
int commentId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
|
Modifier and Type | Method and Description |
---|---|
WallEditCommentQuery |
attachments(java.util.List<java.lang.String> value)
List of objects attached to the comment, in the following format:
"type""owner_id"_"media_id"
""type"" - Type of media attachment:
"photo" - photo
"video" - video
"audio" - audio
"doc" - document
""owner_id"" - ID of the media attachment owner.
|
WallEditCommentQuery |
attachments(java.lang.String... value)
List of objects attached to the comment, in the following format:
"type""owner_id"_"media_id"
""type"" - Type of media attachment:
"photo" - photo
"video" - video
"audio" - audio
"doc" - document
""owner_id"" - ID of the media attachment owner.
|
protected WallEditCommentQuery |
commentId(int value)
Comment ID.
|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
protected WallEditCommentQuery |
getThis()
Get reference to this object
|
WallEditCommentQuery |
message(java.lang.String value)
New comment text.
|
WallEditCommentQuery |
ownerId(java.lang.Integer value)
User ID or community ID.
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, lang, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
execute, executeAsRaw, executeAsString, getClient, getGson, getResponseClass, getUrl
public WallEditCommentQuery(VkApiClient client, UserActor actor, int commentId)
client
- VK API clientactor
- actor with access tokencommentId
- value of "comment id" parameter. Minimum is 0.public WallEditCommentQuery ownerId(java.lang.Integer value)
value
- value of "owner id" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected WallEditCommentQuery commentId(int value)
value
- value of "comment id" parameter. Minimum is 0.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public WallEditCommentQuery message(java.lang.String value)
value
- value of "message" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public WallEditCommentQuery attachments(java.lang.String... value)
For example: photo100172_166443618,photo66748_265827614
value
- value of "attachments" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public WallEditCommentQuery attachments(java.util.List<java.lang.String> value)
For example: photo100172_166443618,photo66748_265827614
value
- value of "attachments" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected WallEditCommentQuery getThis()
AbstractQueryBuilder
getThis
in class AbstractQueryBuilder<WallEditCommentQuery,OkResponse>
AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilder
essentialKeys
in class AbstractQueryBuilder<WallEditCommentQuery,OkResponse>