Interface RepositoryEvent
-
- All Superinterfaces:
BaseEvent
- All Known Implementing Classes:
ImmutableRepositoryEvent
@Immutable public interface RepositoryEvent extends BaseEvent
Triggered when a repository is created, deleted, made public, or made private.Events of this type are not visible in timelines. These events are only used to trigger hooks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
action()
The action that was performed.Organization
organization()
Organization-
Methods inherited from interface com.spotify.github.v3.activity.events.BaseEvent
eventInstallation, repository, sender
-
-
-
-
Method Detail
-
action
@Nullable String action()
The action that was performed. This can be one of "created", "deleted", "publicized", or "privatized".
-
organization
@Nullable Organization organization()
Organization
-
-