@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WebhooksIntegrationUpdateRequest extends Object
All properties are optional.
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CUSTOM_HEADERS |
static String |
JSON_PROPERTY_ENCODE_AS |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PAYLOAD |
static String |
JSON_PROPERTY_URL |
boolean |
unparsed |
| Constructor and Description |
|---|
WebhooksIntegrationUpdateRequest() |
public boolean unparsed
public static final String JSON_PROPERTY_CUSTOM_HEADERS
public static final String JSON_PROPERTY_ENCODE_AS
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PAYLOAD
public static final String JSON_PROPERTY_URL
public WebhooksIntegrationUpdateRequest customHeaders(String customHeaders)
@Nullable public String getCustomHeaders()
null, uses no header. If given a JSON payload, these will be headers attached
to your webhook.public void setCustomHeaders(String customHeaders)
public WebhooksIntegrationUpdateRequest encodeAs(WebhooksIntegrationEncoding encodeAs)
@Nullable public WebhooksIntegrationEncoding getEncodeAs()
json or form.public void setEncodeAs(WebhooksIntegrationEncoding encodeAs)
public WebhooksIntegrationUpdateRequest name(String name)
@Nullable public String getName()
<WEBHOOK_NAME>. Learn more on
how to use it in monitor
notifications.public void setName(String name)
public WebhooksIntegrationUpdateRequest payload(String payload)
@Nullable public String getPayload()
null, uses the default payload. If given a JSON payload, the webhook returns
the payload specified by the given payload. Webhooks variable usage.public org.openapitools.jackson.nullable.JsonNullable<String> getPayload_JsonNullable()
public void setPayload_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> payload)
public void setPayload(String payload)
public WebhooksIntegrationUpdateRequest url(String url)
@Nullable public String getUrl()
public void setUrl(String url)
public boolean equals(Object o)
Copyright © 2023. All rights reserved.