public class RestoreComment extends VkMethod<IntegerResponseBody>
Restores a comment deleted from a topic on a community's discussion board.
| Constructor and Description |
|---|
RestoreComment(String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
RestoreComment |
addParam(String key,
Object value)
Adds URL parameter to HTTP request.
|
protected Class<IntegerResponseBody> |
getResponseClass()
Gets a class of VK API response.
|
String |
getUri()
Gets request URI.
|
RestoreComment |
setCommentId(int commentId)
Sets Comment ID.
|
RestoreComment |
setGroupId(int groupId)
Sets Group ID.
|
RestoreComment |
setTopicId(int topicId)
Sets Topic ID.
|
csv, execute, executeAsync, getAccessToken, getGson, getRequestBody, property, toStringpublic RestoreComment(String accessToken)
public String getUri()
VkMethodgetUri in class VkMethod<IntegerResponseBody>protected Class<IntegerResponseBody> getResponseClass()
VkMethodgetResponseClass in class VkMethod<IntegerResponseBody>public RestoreComment setGroupId(int groupId)
groupId - Group ID.public RestoreComment setTopicId(int topicId)
topicId - Topic ID.public RestoreComment setCommentId(int commentId)
commentId - Comment ID.public RestoreComment addParam(String key, Object value)
VkMethodaddParam in class VkMethod<IntegerResponseBody>key - URL parameter key.value - URL parameter value.Copyright © 2022. All rights reserved.