Package com.spotify.github.v3.hooks
Interface Webhook
-
- All Superinterfaces:
UpdateTracking
- All Known Implementing Classes:
ImmutableWebhook
@Immutable public interface Webhook extends UpdateTracking
Webhook resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Booleanactive()Determines whether the hook is actually triggered on pushes.WebhookConfigconfig()These settings vary between hooks and some are defined in the github-services repository.List<String>events()Determines what events the hook is triggered for.Integerid()IDStringname()NameURIpingUrl()Ping URLURItestUrl()Test URLURIurl()URL-
Methods inherited from interface com.spotify.github.UpdateTracking
createdAt, updatedAt
-
-
-
-
Method Detail
-
id
@Nullable Integer id()
ID
-
url
@Nullable URI url()
URL
-
testUrl
@Nullable URI testUrl()
Test URL
-
pingUrl
@Nullable URI pingUrl()
Ping URL
-
name
@Nullable String name()
Name
-
events
@Nullable List<String> events()
Determines what events the hook is triggered for. Default: ["push"]
-
active
@Nullable Boolean active()
Determines whether the hook is actually triggered on pushes.
-
config
@Nullable WebhookConfig config()
These settings vary between hooks and some are defined in the github-services repository.
-
-