/** * 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 { ConditionGroupV2 } from './ConditionGroupV2.js'; /** * * @export * @interface AlertRouteIncidentConfigV2 */ export interface AlertRouteIncidentConfigV2 { /** * 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 AlertRouteIncidentConfigV2 interface. */ export declare function instanceOfAlertRouteIncidentConfigV2(value: object): value is AlertRouteIncidentConfigV2; export declare function AlertRouteIncidentConfigV2FromJSON(json: any): AlertRouteIncidentConfigV2; export declare function AlertRouteIncidentConfigV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertRouteIncidentConfigV2; export declare function AlertRouteIncidentConfigV2ToJSON(json: any): AlertRouteIncidentConfigV2; export declare function AlertRouteIncidentConfigV2ToJSONTyped(value?: AlertRouteIncidentConfigV2 | null, ignoreDiscriminator?: boolean): any;