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 Stringbody()The text of the comment.StringcommitId()The SHA of the commit to comment on.StringdiffHunk()Unified diff.URIhtmlUrl()Comment URL.Longid()Comment id.CommentLinkslinks()Link references.StringoriginalCommitId()Base commit sha.IntegeroriginalPosition()Base content line position.Stringpath()The relative path of the file to comment on.Integerposition()The line index in the diff to comment on.URIpullRequestUrl()Pull request API URL.URIurl()Comment API URL.Useruser()Comment author.-
Methods inherited from interface com.spotify.github.UpdateTracking
createdAt, updatedAt
-
-
-
-
Method Detail
-
url
@Nullable URI url()
Comment API URL.
-
id
@Nullable Long id()
Comment id.
-
diffHunk
@Nullable String diffHunk()
Unified diff.
-
path
@Nullable String path()
The relative path of the file to comment on.
-
position
@Nullable Integer position()
The line index in the diff to comment on.
-
originalPosition
@Nullable Integer originalPosition()
Base content line position.
-
commitId
@Nullable String commitId()
The SHA of the commit to comment on.
-
originalCommitId
@Nullable String originalCommitId()
Base commit sha.
-
user
@Nullable User user()
Comment author.
-
body
@Nullable String body()
The text of the comment.
-
htmlUrl
@Nullable URI htmlUrl()
Comment URL.
-
pullRequestUrl
@Nullable URI pullRequestUrl()
Pull request API URL.
-
links
@Nullable CommentLinks links()
Link references.
-
-