Package com.datadog.api.client.v1.model
Class WebhooksIntegrationUpdateRequest
java.lang.Object
com.datadog.api.client.v1.model.WebhooksIntegrationUpdateRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WebhooksIntegrationUpdateRequest
extends Object
Update request of a Webhooks integration object.
All properties are optional.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomHeaders(String customHeaders) encodeAs(WebhooksIntegrationEncoding encodeAs) booleanReturn true if this WebhooksIntegrationUpdateRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Ifnull, uses no header.Encoding type.getName()The name of the webhook.Ifnull, uses the default payload.org.openapitools.jackson.nullable.JsonNullable<String>getUrl()URL of the webhook.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCustomHeaders(String customHeaders) voidsetEncodeAs(WebhooksIntegrationEncoding encodeAs) voidvoidsetPayload(String payload) voidsetPayload_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> payload) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_HEADERS
- See Also:
-
JSON_PROPERTY_ENCODE_AS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PAYLOAD
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
-
Constructor Details
-
WebhooksIntegrationUpdateRequest
public WebhooksIntegrationUpdateRequest()
-
-
Method Details
-
customHeaders
-
getCustomHeaders
Ifnull, uses no header. If given a JSON payload, these will be headers attached to your webhook.- Returns:
- customHeaders
-
setCustomHeaders
-
encodeAs
-
getEncodeAs
Encoding type. Can be given eitherjsonorform.- Returns:
- encodeAs
-
setEncodeAs
-
name
-
getName
The name of the webhook. It corresponds with<WEBHOOK_NAME>. Learn more on how to use it in monitor notifications.- Returns:
- name
-
setName
-
payload
-
getPayload
Ifnull, uses the default payload. If given a JSON payload, the webhook returns the payload specified by the given payload. Webhooks variable usage.- Returns:
- payload
-
getPayload_JsonNullable
-
setPayload_JsonNullable
-
setPayload
-
url
-
getUrl
URL of the webhook.- Returns:
- url
-
setUrl
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- WebhooksIntegrationUpdateRequest
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this WebhooksIntegrationUpdateRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-