public class NotificationsGetQuery extends AbstractQueryBuilder<NotificationsGetQuery,GetResponse>
| Constructor and Description |
|---|
NotificationsGetQuery(VkApiClient client,
UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build user api request with various parameters
|
| Modifier and Type | Method and Description |
|---|---|
NotificationsGetQuery |
count(java.lang.Integer value)
Number of notifications to return.
|
NotificationsGetQuery |
endTime(java.lang.Integer value)
Latest timestamp (in Unix time) of a notification to return.
|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
NotificationsGetQuery |
filters(java.util.List<java.lang.String> value)
Type of notifications to return: 'wall' - wall posts, 'mentions' - mentions in wall posts, comments, or topics, 'comments' - comments to wall posts, photos, and videos, 'likes' - likes, 'reposted' - wall posts that are copied from the current user's wall, 'followers' - new followers, 'friends' - accepted friend requests
|
NotificationsGetQuery |
filters(java.lang.String... value)
filters
Type of notifications to return: 'wall' - wall posts, 'mentions' - mentions in wall posts, comments, or topics, 'comments' - comments to wall posts, photos, and videos, 'likes' - likes, 'reposted' - wall posts that are copied from the current user's wall, 'followers' - new followers, 'friends' - accepted friend requests
|
protected NotificationsGetQuery |
getThis()
Get reference to this object
|
NotificationsGetQuery |
startFrom(java.lang.String value)
Set start from
|
NotificationsGetQuery |
startTime(java.lang.Integer value)
Earliest timestamp (in Unix time) of a notification to return.
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, getQueryHeaders, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version, withHeader, withHeadersaddHeader, addHeaders, execute, executeAsRaw, executeAsString, executeAsStringWithReturningFullInfo, executeTypeable, executeTypeableWithoutRetry, executeWithoutRetry, getClient, getCookie, getGson, getHeaders, getResponseClass, getUrl, setCookie, setCookies, setHeaders, setHeaderspublic NotificationsGetQuery(VkApiClient client, UserActor actor)
client - VK API clientactor - actor with access tokenpublic NotificationsGetQuery count(java.lang.Integer value)
value - value of "count" parameter. Maximum is 100. Minimum is 1. By default 30.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsGetQuery startFrom(java.lang.String value)
value - value of "start from" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsGetQuery startTime(java.lang.Integer value)
value - value of "start time" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsGetQuery endTime(java.lang.Integer value)
value - value of "end time" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsGetQuery filters(java.lang.String... value)
value - value of "filters" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsGetQuery filters(java.util.List<java.lang.String> value)
value - value of "filters" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.protected NotificationsGetQuery getThis()
AbstractQueryBuildergetThis in class AbstractQueryBuilder<NotificationsGetQuery,GetResponse>AbstractQueryBuilder object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilderessentialKeys in class AbstractQueryBuilder<NotificationsGetQuery,GetResponse>