Package com.spotify.github.v3.issues
Interface Event
-
- All Known Implementing Classes:
ImmutableEvent
@Immutable public interface Event
Issue event resource. Records various events that occur around an issue or pull request. This is useful both for display on issue/pull request information pages and also to determine who should be notified of comments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description User
actor()
The User object that generated the event.String
commitId()
The String SHA of a commit that referenced this Issue.URI
commitUrl()
The GitHub API link to a commit that referenced this Issue.GitHubInstant
createdAt()
The timestamp indicating when the event occurred.String
event()
Identifies the actual type of Event that occurred.Integer
id()
The Integer ID of the event.Optional<Issue>
issue()
Issue.URI
url()
The API URL for fetching the event.
-
-
-
Method Detail
-
id
@Nullable Integer id()
The Integer ID of the event.
-
url
@Nullable URI url()
The API URL for fetching the event.
-
actor
@Nullable User actor()
The User object that generated the event.
-
event
@Nullable String event()
Identifies the actual type of Event that occurred.
-
commitId
@Nullable String commitId()
The String SHA of a commit that referenced this Issue.
-
commitUrl
@Nullable URI commitUrl()
The GitHub API link to a commit that referenced this Issue.
-
createdAt
@Nullable GitHubInstant createdAt()
The timestamp indicating when the event occurred.
-
-