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 String
body()
The text of the comment.String
commitId()
The SHA of the commit to comment on.String
diffHunk()
Unified diff.URI
htmlUrl()
Comment URL.Long
id()
Comment id.CommentLinks
links()
Link references.String
originalCommitId()
Base commit sha.Integer
originalPosition()
Base content line position.String
path()
The relative path of the file to comment on.Integer
position()
The line index in the diff to comment on.URI
pullRequestUrl()
Pull request API URL.URI
url()
Comment API URL.User
user()
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.
-
-