// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; import { IncidentEscalationStageStruct } from "./IncidentEscalationStageStruct"; export class IncidentEscalationStruct extends $dara.Model { /** * @remarks * The time when the event escalation was created. * * @example * 2025-03-11T08:21:58Z */ createTime?: number; /** * @remarks * The description. * * @example * When an alert is not acknowledged, notify the operations team, on-duty manager, and CTO sequentially. */ description?: string; /** * @remarks * The ID of the event escalation. * * @example * 52631388567 */ incidentEscalationId?: string; /** * @remarks * The time when the event escalation was last modified. * * @example * 2025-03-11T08:21:58Z */ modifyTime?: number; /** * @remarks * The name. * * @example * Production Environment Alert Escalation Policy. */ name?: string; /** * @remarks * The region ID. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The stages. */ stage?: IncidentEscalationStageStruct[]; /** * @remarks * The workspace. * * @example * workspace-test */ workspace?: string; static names(): { [key: string]: string } { return { createTime: 'createTime', description: 'description', incidentEscalationId: 'incidentEscalationId', modifyTime: 'modifyTime', name: 'name', regionId: 'regionId', stage: 'stage', workspace: 'workspace', }; } static types(): { [key: string]: any } { return { createTime: 'number', description: 'string', incidentEscalationId: 'string', modifyTime: 'number', name: 'string', regionId: 'string', stage: { 'type': 'array', 'itemType': IncidentEscalationStageStruct }, workspace: 'string', }; } validate() { if(Array.isArray(this.stage)) { $dara.Model.validateArray(this.stage); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }