Class PhotosGetAllCommentsQuery

    • Constructor Detail

      • PhotosGetAllCommentsQuery

        public PhotosGetAllCommentsQuery​(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 PhotosGetAllCommentsQuery ownerId​(java.lang.Integer value)
        ID of the user or community that owns the album(s).
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • albumId

        public PhotosGetAllCommentsQuery albumId​(java.lang.Integer value)
        Album ID. If the parameter is not set, comments on all of the user's albums will be returned.
        Parameters:
        value - value of "album id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • needLikes

        public PhotosGetAllCommentsQuery needLikes​(java.lang.Boolean value)
        '1' — to return an additional 'likes' field, '0' — (default)
        Parameters:
        value - value of "need likes" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

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

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