/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface AlertEventsCreateHTTPPayloadV2 */ export interface AlertEventsCreateHTTPPayloadV2 { /** * A deduplication key which uniquely references this alert from your alert source. For newly created HTTP sources, this field is required. * If you send an event with the same deduplication_key multiple times, only one alert will be created in incident.io for this alert source config. * You can filter on this field to find the alert created by an event you've sent us. */ deduplication_key?: string; /** * Description that optionally adds more detail to title. Supports markdown. */ description?: string; /** * Any additional metadata that you've configured your alert source to parse */ metadata?: { [key: string]: any; }; /** * If applicable, a link to the alert in the upstream system */ source_url?: string; /** * Current status of this alert */ status: AlertEventsCreateHTTPPayloadV2StatusEnum; /** * The title of the alert, parsed from the alert payload according to the alert source configuration */ title: string; } /** * @export */ export declare const AlertEventsCreateHTTPPayloadV2StatusEnum: { readonly Firing: "firing"; readonly Resolved: "resolved"; }; export type AlertEventsCreateHTTPPayloadV2StatusEnum = typeof AlertEventsCreateHTTPPayloadV2StatusEnum[keyof typeof AlertEventsCreateHTTPPayloadV2StatusEnum]; /** * Check if a given object implements the AlertEventsCreateHTTPPayloadV2 interface. */ export declare function instanceOfAlertEventsCreateHTTPPayloadV2(value: object): value is AlertEventsCreateHTTPPayloadV2; export declare function AlertEventsCreateHTTPPayloadV2FromJSON(json: any): AlertEventsCreateHTTPPayloadV2; export declare function AlertEventsCreateHTTPPayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertEventsCreateHTTPPayloadV2; export declare function AlertEventsCreateHTTPPayloadV2ToJSON(json: any): AlertEventsCreateHTTPPayloadV2; export declare function AlertEventsCreateHTTPPayloadV2ToJSONTyped(value?: AlertEventsCreateHTTPPayloadV2 | null, ignoreDiscriminator?: boolean): any;