Interface CreateEvent
-
- All Superinterfaces:
BaseEvent
- All Known Implementing Classes:
ImmutableCreateEvent
@Immutable public interface CreateEvent extends BaseEvent
Represents a created repository, branch, or tag.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>
description()
The repository's current description.String
masterBranch()
The name of the repository's default branch (usually master).String
pusherType()
No doc found on github - Usually is "user".String
ref()
The git ref (or null if only a repository was created).String
refType()
The object that was created.-
Methods inherited from interface com.spotify.github.v3.activity.events.BaseEvent
eventInstallation, repository, sender
-
-
-
-
Method Detail
-
ref
@Nullable String ref()
The git ref (or null if only a repository was created).
-
refType
@Nullable String refType()
The object that was created. Can be one of "repository", "branch", or "tag"
-
masterBranch
@Nullable String masterBranch()
The name of the repository's default branch (usually master).
-
pusherType
@Nullable String pusherType()
No doc found on github - Usually is "user".
-
-