Package com.spotify.github.v3.repos
Interface PushCommit
-
- All Known Implementing Classes:
ImmutablePushCommit
@Immutable public interface PushCommitPush commit object used inPushEvent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>added()Files that were added.Authorauthor()Commit author.Authorcommitter()Commit committer.Booleandistinct()Whether this commit is distinct from any that have been pushed before..Stringid()Commit id.Stringmessage()Commit message.List<String>modified()Files that were modified.List<String>removed()Files that were removed.ZonedDateTimetimestamp()Timestamp.StringtreeId()Tree id.URIurl()Points to the commit API resource..
-
-
-
Method Detail
-
id
@Nullable String id()
Commit id.
-
treeId
@Nullable String treeId()
Tree id.
-
distinct
@Nullable Boolean distinct()
Whether this commit is distinct from any that have been pushed before..
-
message
@Nullable String message()
Commit message.
-
timestamp
@Nullable ZonedDateTime timestamp()
Timestamp.
-
url
@Nullable URI url()
Points to the commit API resource..
-
author
@Nullable Author author()
Commit author.
-
committer
@Nullable Author committer()
Commit committer.
-
-