Package com.vk.api.sdk.queries.longpoll
Class GetLongPollEventsQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.events.longpoll.LongPollQueryBuilder<GetLongPollEventsQuery,GetLongPollEventsResponse>
-
- com.vk.api.sdk.queries.longpoll.GetLongPollEventsQuery
-
public class GetLongPollEventsQuery extends LongPollQueryBuilder<GetLongPollEventsQuery,GetLongPollEventsResponse>
-
-
Constructor Summary
Constructors Constructor Description GetLongPollEventsQuery(VkApiClient client, java.lang.String url, java.lang.String key, java.lang.String ts)Creates a LongPollQueryBuilder instance that can be used to build long polling request with various parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GetLongPollEventsQueryact(GetLongPollEventsActInfo actInfo)protected java.util.List<java.lang.String>essentialKeys()protected GetLongPollEventsQuerygetThis()protected GetLongPollEventsQuerykey(java.lang.String value)protected GetLongPollEventsQueryts(java.lang.String value)GetLongPollEventsQuerywaitTime(java.lang.Integer value)-
Methods inherited from class com.vk.api.sdk.events.longpoll.LongPollQueryBuilder
build, execute, getBody, unsafeParam, unsafeParam
-
Methods inherited from class com.vk.api.sdk.client.ApiRequest
executeAsRaw, executeAsString, getClient, getGson, getHeaders, getResponseClass, getUrl, setHeaders
-
-
-
-
Constructor Detail
-
GetLongPollEventsQuery
public GetLongPollEventsQuery(VkApiClient client, java.lang.String url, java.lang.String key, java.lang.String ts)
Creates a LongPollQueryBuilder instance that can be used to build long polling request with various parameters- Parameters:
client- VK API clienturl- server urlkey- secret keyts- timestamp
-
-
Method Detail
-
waitTime
public GetLongPollEventsQuery waitTime(java.lang.Integer value)
-
key
protected GetLongPollEventsQuery key(java.lang.String value)
- Overrides:
keyin classLongPollQueryBuilder<GetLongPollEventsQuery,GetLongPollEventsResponse>
-
ts
protected GetLongPollEventsQuery ts(java.lang.String value)
-
act
protected GetLongPollEventsQuery act(GetLongPollEventsActInfo actInfo)
-
getThis
protected GetLongPollEventsQuery getThis()
- Specified by:
getThisin classLongPollQueryBuilder<GetLongPollEventsQuery,GetLongPollEventsResponse>
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()
- Specified by:
essentialKeysin classLongPollQueryBuilder<GetLongPollEventsQuery,GetLongPollEventsResponse>
-
-