public class SendEventAnswer extends VkMethod<IntegerResponseBody>
| Constructor and Description |
|---|
SendEventAnswer(String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
SendEventAnswer |
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.
|
SendEventAnswer |
setEventData(EventData eventData) |
SendEventAnswer |
setEventId(String eventId) |
SendEventAnswer |
setPeerId(int peerId) |
SendEventAnswer |
setUserId(int userId) |
csv, execute, executeAsync, getAccessToken, getGson, getRequestBody, property, toStringpublic SendEventAnswer(String accessToken)
public String getUri()
VkMethodgetUri in class VkMethod<IntegerResponseBody>protected Class<IntegerResponseBody> getResponseClass()
VkMethodgetResponseClass in class VkMethod<IntegerResponseBody>public SendEventAnswer setEventId(String eventId)
public SendEventAnswer setUserId(int userId)
public SendEventAnswer setPeerId(int peerId)
public SendEventAnswer setEventData(EventData eventData)
public SendEventAnswer addParam(String key, Object value)
VkMethodaddParam in class VkMethod<IntegerResponseBody>key - URL parameter key.value - URL parameter value.Copyright © 2022. All rights reserved.