public class BoardEditCommentQuery extends AbstractQueryBuilder<BoardEditCommentQuery,OkResponse>
Constructor and Description |
---|
BoardEditCommentQuery(VkApiClient client,
UserActor actor,
int groupId,
int topicId,
int commentId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
|
Modifier and Type | Method and Description |
---|---|
BoardEditCommentQuery |
attachments(java.util.List<java.lang.String> value)
List of media objects attached to the comment, in the following format:
"type""owner_id"_"media_id"
""type"" - Type of media object:
"photo" - photo
"video" - video
"audio" - audio
"doc" - document
""owner_id"" - ID of the media owner.
|
BoardEditCommentQuery |
attachments(java.lang.String... value)
List of media objects attached to the comment, in the following format:
"type""owner_id"_"media_id"
""type"" - Type of media object:
"photo" - photo
"video" - video
"audio" - audio
"doc" - document
""owner_id"" - ID of the media owner.
|
protected BoardEditCommentQuery |
commentId(int value)
ID of the comment on the topic.
|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
protected BoardEditCommentQuery |
getThis()
Get reference to this object
|
protected BoardEditCommentQuery |
groupId(int value)
ID of the community that owns the discussion board.
|
BoardEditCommentQuery |
message(java.lang.String value)
New comment text.
|
protected BoardEditCommentQuery |
topicId(int value)
Topic 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 BoardEditCommentQuery(VkApiClient client, UserActor actor, int groupId, int topicId, int commentId)
client
- VK API clientactor
- actor with access tokengroupId
- value of "group id" parameter. Minimum is 0.topicId
- value of "topic id" parameter. Minimum is 0.commentId
- value of "comment id" parameter. Minimum is 0.protected BoardEditCommentQuery groupId(int value)
value
- value of "group id" parameter. Minimum is 0.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected BoardEditCommentQuery topicId(int value)
value
- value of "topic id" parameter. Minimum is 0.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected BoardEditCommentQuery commentId(int value)
value
- value of "comment id" parameter. Minimum is 0.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public BoardEditCommentQuery message(java.lang.String value)
value
- value of "message" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public BoardEditCommentQuery attachments(java.lang.String... value)
Example: photo100172_166443618,photo66748_265827614
Required if "message" is not set.
value
- value of "attachments" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public BoardEditCommentQuery attachments(java.util.List<java.lang.String> value)
Example: photo100172_166443618,photo66748_265827614
Required if "message" is not set.
value
- value of "attachments" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected BoardEditCommentQuery getThis()
AbstractQueryBuilder
getThis
in class AbstractQueryBuilder<BoardEditCommentQuery,OkResponse>
AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilder
essentialKeys
in class AbstractQueryBuilder<BoardEditCommentQuery,OkResponse>