Class PhotosGetCommentsQueryWithExtended

    • Constructor Detail

      • PhotosGetCommentsQueryWithExtended

        public PhotosGetCommentsQueryWithExtended​(VkApiClient client,
                                                  UserActor actor,
                                                  int photoId)
        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
        photoId - value of "photo id" parameter.
    • Method Detail

      • ownerId

        public PhotosGetCommentsQueryWithExtended ownerId​(java.lang.Integer value)
        ID of the user or community that owns the photo.
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoId

        protected PhotosGetCommentsQueryWithExtended photoId​(int value)
        Photo ID.
        Parameters:
        value - value of "photo id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • needLikes

        public PhotosGetCommentsQueryWithExtended 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.
      • startCommentId

        public PhotosGetCommentsQueryWithExtended startCommentId​(java.lang.Integer value)
        Set start comment id
        Parameters:
        value - value of "start comment id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

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

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

        public PhotosGetCommentsQueryWithExtended sort​(GetCommentsSort value)
        Sort order: 'asc' — old first, 'desc' — new first
        Parameters:
        value - value of "sort" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • accessKey

        public PhotosGetCommentsQueryWithExtended accessKey​(java.lang.String value)
        Set access key
        Parameters:
        value - value of "access key" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • extended

        protected PhotosGetCommentsQueryWithExtended extended​(java.lang.Boolean value)
        Set extended
        Parameters:
        value - value of "extended" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • fields

        public PhotosGetCommentsQueryWithExtended fields​(Fields... value)
        fields Set fields
        Parameters:
        value - value of "fields" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • fields

        public PhotosGetCommentsQueryWithExtended fields​(java.util.List<Fields> value)
        Set fields
        Parameters:
        value - value of "fields" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.