/** * 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 { MaintenanceWindowEscalationTargetPayloadV1 } from './MaintenanceWindowEscalationTargetPayloadV1.js'; import type { MaintenanceWindowNotifyChannelPayloadV1 } from './MaintenanceWindowNotifyChannelPayloadV1.js'; import type { ConditionGroupPayloadV2 } from './ConditionGroupPayloadV2.js'; import type { UserReferencePayloadV2 } from './UserReferencePayloadV2.js'; /** * * @export * @interface MaintenanceWindowsUpdatePayloadV1 */ export interface MaintenanceWindowsUpdatePayloadV1 { /** * Condition groups that determine which alerts this maintenance window applies to */ alert_condition_groups: Array; /** * When the maintenance window should end */ end_at: Date; /** * If set, alerts matching this window will be escalated to these targets */ escalation_targets?: Array; /** * If set, alerts matching this window will be automatically attached to this incident */ incident_id?: string; /** * */ lead: UserReferencePayloadV2; /** * Human readable name for the maintenance window */ name: string; /** * Custom message included in notifications about this maintenance window */ notification_message?: string; /** * Channels to notify about the maintenance window starting and ending */ notify_channels?: Array; /** * Minutes before the end to send a notification to the configured channels */ notify_end_minutes_before?: number; /** * Minutes before the start to send a notification to the configured channels */ notify_start_minutes_before?: number; /** * IDs of teams that own this maintenance window. Omit to leave ownership unchanged, or pass an empty list to clear it. */ owning_team_ids?: Array; /** * Whether to retrigger firing alerts through alert routing when the window ends */ reroute_on_end?: boolean; /** * Whether to automatically resolve all firing alerts that matched this window when it ends */ resolve_on_end?: boolean; /** * Whether to show this maintenance window in the dashboard sidebar when active */ show_in_sidebar: boolean; /** * When the maintenance window should start */ start_at: Date; } /** * Check if a given object implements the MaintenanceWindowsUpdatePayloadV1 interface. */ export declare function instanceOfMaintenanceWindowsUpdatePayloadV1(value: object): value is MaintenanceWindowsUpdatePayloadV1; export declare function MaintenanceWindowsUpdatePayloadV1FromJSON(json: any): MaintenanceWindowsUpdatePayloadV1; export declare function MaintenanceWindowsUpdatePayloadV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): MaintenanceWindowsUpdatePayloadV1; export declare function MaintenanceWindowsUpdatePayloadV1ToJSON(json: any): MaintenanceWindowsUpdatePayloadV1; export declare function MaintenanceWindowsUpdatePayloadV1ToJSONTyped(value?: MaintenanceWindowsUpdatePayloadV1 | null, ignoreDiscriminator?: boolean): any;