@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() |
| Modifier and Type | Method and Description |
|---|---|
WebhooksIntegrationUpdateRequest |
customHeaders(String customHeaders) |
WebhooksIntegrationUpdateRequest |
encodeAs(WebhooksIntegrationEncoding encodeAs) |
boolean |
equals(Object o)
Return true if this WebhooksIntegrationUpdateRequest 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.
|
String |
getCustomHeaders()
If
null, uses no header. |
WebhooksIntegrationEncoding |
getEncodeAs()
Encoding type.
|
String |
getName()
The name of the webhook.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getPayload_JsonNullable() |
String |
getPayload()
If
null, uses the default payload. |
String |
getUrl()
URL of the webhook.
|
int |
hashCode() |
WebhooksIntegrationUpdateRequest |
name(String name) |
WebhooksIntegrationUpdateRequest |
payload(String payload) |
WebhooksIntegrationUpdateRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCustomHeaders(String customHeaders) |
void |
setEncodeAs(WebhooksIntegrationEncoding encodeAs) |
void |
setName(String name) |
void |
setPayload_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> payload) |
void |
setPayload(String payload) |
void |
setUrl(String url) |
String |
toString() |
WebhooksIntegrationUpdateRequest |
url(String url) |
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 WebhooksIntegrationUpdateRequest 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 © 2024. All rights reserved.