/** * 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 AlertSlimV2 */ export interface AlertSlimV2 { /** * The IDs of every alert group this alert belongs to. Empty when the alert is not part of any group. */ alert_group_ids?: Array; /** * The ID of the alert source this alert fired on */ alert_source_id: string; /** * When this entry was created */ created_at: Date; /** * 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; /** * The description of the alert */ description?: string; /** * The ID of this alert */ id: string; /** * When this alert was resolved */ resolved_at?: Date; /** * If applicable, a link to the alert in the upstream system */ source_url?: string; /** * Statuses of an alert */ status: AlertSlimV2StatusEnum; /** * The title of the alert, parsed from the alert payload according to the alert source configuration */ title: string; /** * When this alert was last updated */ updated_at: Date; } /** * @export */ export declare const AlertSlimV2StatusEnum: { readonly Firing: "firing"; readonly Resolved: "resolved"; }; export type AlertSlimV2StatusEnum = typeof AlertSlimV2StatusEnum[keyof typeof AlertSlimV2StatusEnum]; /** * Check if a given object implements the AlertSlimV2 interface. */ export declare function instanceOfAlertSlimV2(value: object): value is AlertSlimV2; export declare function AlertSlimV2FromJSON(json: any): AlertSlimV2; export declare function AlertSlimV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertSlimV2; export declare function AlertSlimV2ToJSON(json: any): AlertSlimV2; export declare function AlertSlimV2ToJSONTyped(value?: AlertSlimV2 | null, ignoreDiscriminator?: boolean): any;