Package com.spotify.github.v3.prs
Interface Comment
-
- All Superinterfaces:
UpdateTracking
- All Known Implementing Classes:
ImmutableComment
@Immutable public interface Comment extends UpdateTracking
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
body()
The text of the comment.java.lang.String
commitId()
The SHA of the commit to comment on.java.lang.String
diffHunk()
Unified diff.java.net.URI
htmlUrl()
Comment URL.java.lang.Long
id()
Comment id.CommentLinks
links()
Link references.java.lang.String
originalCommitId()
Base commit sha.java.lang.Integer
originalPosition()
Base content line position.java.lang.String
path()
The relative path of the file to comment on.java.lang.Integer
position()
The line index in the diff to comment on.java.net.URI
pullRequestUrl()
Pull request API URL.java.net.URI
url()
Comment API URL.User
user()
Comment author.-
Methods inherited from interface com.spotify.github.UpdateTracking
createdAt, updatedAt
-
-
-
-
Method Detail
-
url
@Nullable java.net.URI url()
Comment API URL.
-
id
@Nullable java.lang.Long id()
Comment id.
-
diffHunk
@Nullable java.lang.String diffHunk()
Unified diff.
-
path
@Nullable java.lang.String path()
The relative path of the file to comment on.
-
position
@Nullable java.lang.Integer position()
The line index in the diff to comment on.
-
originalPosition
@Nullable java.lang.Integer originalPosition()
Base content line position.
-
commitId
@Nullable java.lang.String commitId()
The SHA of the commit to comment on.
-
originalCommitId
@Nullable java.lang.String originalCommitId()
Base commit sha.
-
user
@Nullable User user()
Comment author.
-
body
@Nullable java.lang.String body()
The text of the comment.
-
htmlUrl
@Nullable java.net.URI htmlUrl()
Comment URL.
-
pullRequestUrl
@Nullable java.net.URI pullRequestUrl()
Pull request API URL.
-
links
@Nullable CommentLinks links()
Link references.
-
-