@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
62 lines (61 loc) • 1.91 kB
TypeScript
/**
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
import { WebhooksIntegrationEncoding } from "./WebhooksIntegrationEncoding";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* Update request of a Webhooks integration object.
*
* *All properties are optional.*
*/
export declare class WebhooksIntegrationUpdateRequest {
/**
* If `null`, uses no header.
* If given a JSON payload, these will be headers attached to your webhook.
*/
"customHeaders"?: string;
/**
* Encoding type. Can be given either `json` or `form`.
*/
"encodeAs"?: WebhooksIntegrationEncoding;
/**
* The name of the webhook. It corresponds with `<WEBHOOK_NAME>`.
* Learn more on how to use it in
* [monitor notifications](https://docs.datadoghq.com/monitors/notify).
*/
"name"?: string;
/**
* If `null`, uses the default payload.
* If given a JSON payload, the webhook returns the payload
* specified by the given payload.
* [Webhooks variable usage](https://docs.datadoghq.com/integrations/webhooks/#usage).
*/
"payload"?: string;
/**
* URL of the webhook.
*/
"url"?: string;
/**
* A container for additional, undeclared properties.
* This is a holder for any undeclared properties as specified with
* the 'additionalProperties' keyword in the OAS document.
*/
"additionalProperties"?: {
[key: string]: any;
};
/**
* @ignore
*/
"_unparsed"?: boolean;
/**
* @ignore
*/
static readonly attributeTypeMap: AttributeTypeMap;
/**
* @ignore
*/
static getAttributeTypeMap(): AttributeTypeMap;
constructor();
}