Package com.spotify.github.v3.prs
Class ReviewComment
- java.lang.Object
-
- com.spotify.github.v3.prs.ReviewComment
-
- Direct Known Subclasses:
ImmutableReviewComment
@Immutable public abstract class ReviewComment extends Object
Comment parameters for a draft review.- See Also:
- "https://developer.github.com/v3/pulls/reviews/#input"
-
-
Constructor Summary
Constructors Constructor Description ReviewComment()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
body()
Text of the review comment.abstract String
path()
Relative path to the file that necessitates a review comment.abstract int
position()
Position in the diff where you want to add a review comment.
-
-
-
Method Detail
-
path
public abstract String path()
Relative path to the file that necessitates a review comment.- Returns:
- the path to the file.
-
position
public abstract int position()
Position in the diff where you want to add a review comment.- Returns:
- the position in the diff.
-
body
public abstract String body()
Text of the review comment.- Returns:
- the text of the review.
-
-