/** * 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. */ import type { GroupingKeyV2 } from './GroupingKeyV2.js'; import type { ConditionGroupPayloadV2 } from './ConditionGroupPayloadV2.js'; /** * * @export * @interface AlertRouteIncidentConfigPayloadV2 */ export interface AlertRouteIncidentConfigPayloadV2 { /** * Should triage incidents be declined when alerts are resolved? */ auto_decline_enabled: boolean; /** * Should grouped alerts automatically be related to active incidents without confirmation? */ auto_relate_grouped_alerts?: boolean; /** * What condition groups must be true for this alert route to create an incident? */ condition_groups: Array; /** * How long should the escalation defer time be? */ defer_time_seconds: number; /** * Whether incident creation is enabled for this alert route */ enabled: boolean; /** * Which attributes should this alert route use to group alerts? */ grouping_keys: Array; /** * How large should the grouping window be? */ grouping_window_seconds: number; } /** * Check if a given object implements the AlertRouteIncidentConfigPayloadV2 interface. */ export declare function instanceOfAlertRouteIncidentConfigPayloadV2(value: object): value is AlertRouteIncidentConfigPayloadV2; export declare function AlertRouteIncidentConfigPayloadV2FromJSON(json: any): AlertRouteIncidentConfigPayloadV2; export declare function AlertRouteIncidentConfigPayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertRouteIncidentConfigPayloadV2; export declare function AlertRouteIncidentConfigPayloadV2ToJSON(json: any): AlertRouteIncidentConfigPayloadV2; export declare function AlertRouteIncidentConfigPayloadV2ToJSONTyped(value?: AlertRouteIncidentConfigPayloadV2 | null, ignoreDiscriminator?: boolean): any;