Package com.spotify.github.v3.comment
Interface Comment
-
- All Superinterfaces:
UpdateTracking
- All Known Implementing Classes:
ImmutableComment
@Immutable public interface Comment extends UpdateTracking
Repository commit comment resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Stringbody()The contents of the comment.Optional<String>commitId()Commit sha this comment relates toURIhtmlUrl()Comment URL.Longid()Comment ID.Optional<URI>issueUrl()The issueURL which the comment belongs to.Optional<Integer>line()Deprecated.Useposition()insteadOptional<String>path()Relative path of the file to comment on.Optional<Integer>position()Line index in the diff to comment on.URIurl()Comment API URL.Useruser()TheUserthat made the comment.-
Methods inherited from interface com.spotify.github.UpdateTracking
createdAt, updatedAt
-
-
-
-
Method Detail
-
url
@Nullable URI url()
Comment API URL.
-
htmlUrl
@Nullable URI htmlUrl()
Comment URL.
-
id
Long id()
Comment ID.
-
line
@Deprecated Optional<Integer> line()
Deprecated.Useposition()insteadLine number in the file to comment on.
-
body
@Nullable String body()
The contents of the comment.
-
-