Class StoriesGetViewersQuery

    • Constructor Detail

      • StoriesGetViewersQuery

        public StoriesGetViewersQuery​(VkApiClient client,
                                      UserActor actor,
                                      int ownerId,
                                      int storyId)
        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
        ownerId - value of "owner id" parameter.
        storyId - value of "story id" parameter. Minimum is 0.
      • StoriesGetViewersQuery

        public StoriesGetViewersQuery​(VkApiClient client,
                                      GroupActor actor,
                                      int ownerId,
                                      int storyId)
        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
        ownerId - value of "owner id" parameter.
        storyId - value of "story id" parameter. Minimum is 0.
    • Method Detail

      • ownerId

        protected StoriesGetViewersQuery ownerId​(int value)
        Story owner ID.
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • storyId

        protected StoriesGetViewersQuery storyId​(int value)
        Story ID.
        Parameters:
        value - value of "story id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • count

        public StoriesGetViewersQuery count​(java.lang.Integer value)
        Maximum number of results.
        Parameters:
        value - value of "count" parameter. Minimum is 0. By default 100.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

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

        public StoriesGetViewersQuery extended​(java.lang.Boolean value)
        '1' — to return detailed information about photos
        Parameters:
        value - value of "extended" parameter. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.