Class NewsfeedGetMentionsQuery

    • Constructor Detail

      • NewsfeedGetMentionsQuery

        public NewsfeedGetMentionsQuery​(VkApiClient client,
                                        UserActor actor)
        Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
        Parameters:
        client - VK API client
        actor - actor with access token
    • Method Detail

      • ownerId

        public NewsfeedGetMentionsQuery ownerId​(java.lang.Integer value)
        Owner ID.
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • startTime

        public NewsfeedGetMentionsQuery startTime​(java.lang.Integer value)
        Earliest timestamp (in Unix time) of a post to return. By default, 24 hours ago.
        Parameters:
        value - value of "start time" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • endTime

        public NewsfeedGetMentionsQuery endTime​(java.lang.Integer value)
        Latest timestamp (in Unix time) of a post to return. By default, the current time.
        Parameters:
        value - value of "end time" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

        public NewsfeedGetMentionsQuery offset​(java.lang.Integer value)
        Offset needed to return a specific subset of posts.
        Parameters:
        value - value of "offset" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • count

        public NewsfeedGetMentionsQuery count​(java.lang.Integer value)
        Number of posts to return.
        Parameters:
        value - value of "count" parameter. Maximum is 50. Minimum is 0. By default 20.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.