@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GithubWebhookTriggerWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_GITHUB_WEBHOOK_TRIGGER |
static String |
JSON_PROPERTY_START_STEP_NAMES |
boolean |
unparsed |
| Constructor and Description |
|---|
GithubWebhookTriggerWrapper() |
GithubWebhookTriggerWrapper(GithubWebhookTrigger githubWebhookTrigger) |
| Modifier and Type | Method and Description |
|---|---|
GithubWebhookTriggerWrapper |
addStartStepNamesItem(String startStepNamesItem) |
boolean |
equals(Object o)
Return true if this GithubWebhookTriggerWrapper object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
GithubWebhookTrigger |
getGithubWebhookTrigger()
Trigger a workflow from a GitHub webhook.
|
List<String> |
getStartStepNames()
A list of steps that run first after a trigger fires.
|
GithubWebhookTriggerWrapper |
githubWebhookTrigger(GithubWebhookTrigger githubWebhookTrigger) |
int |
hashCode() |
GithubWebhookTriggerWrapper |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setGithubWebhookTrigger(GithubWebhookTrigger githubWebhookTrigger) |
void |
setStartStepNames(List<String> startStepNames) |
GithubWebhookTriggerWrapper |
startStepNames(List<String> startStepNames) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_GITHUB_WEBHOOK_TRIGGER
public static final String JSON_PROPERTY_START_STEP_NAMES
public GithubWebhookTriggerWrapper()
public GithubWebhookTriggerWrapper(GithubWebhookTrigger githubWebhookTrigger)
public GithubWebhookTriggerWrapper githubWebhookTrigger(GithubWebhookTrigger githubWebhookTrigger)
public GithubWebhookTrigger getGithubWebhookTrigger()
webhookSecret. In your GitHub Webhook Settings, set the Payload URL to
"base_url"/api/v2/workflows/"workflow_id"/webhook?orgId="org_id", select application/json for
the content type, and be highly recommend enabling SSL verification for security. The workflow
must be published.public void setGithubWebhookTrigger(GithubWebhookTrigger githubWebhookTrigger)
public GithubWebhookTriggerWrapper startStepNames(List<String> startStepNames)
public GithubWebhookTriggerWrapper addStartStepNamesItem(String startStepNamesItem)
@Nullable public List<String> getStartStepNames()
public GithubWebhookTriggerWrapper putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2025. All rights reserved.