import * as $dara from '@darabonba/typescript'; import { IncidentEscalationPolicyForView } from "./IncidentEscalationPolicyForView"; import { ContactForIncidentView } from "./ContactForIncidentView"; import { IncidentResponsePlanForView } from "./IncidentResponsePlanForView"; import { EventResourceForIncidentView } from "./EventResourceForIncidentView"; export declare class IncidentForView extends $dara.Model { /** * @remarks * The expiration time of the notification block. * * @example * -1 indicates that notifications are not blocked */ blockingExpireTimestamp?: number; /** * @remarks * The detailed content of the incident. * * @example * "{"description":"High CPU usage on the ECS instance","impact":"Payment service delay"}" */ content?: string; /** * @remarks * The list of escalation policies. */ escalations?: IncidentEscalationPolicyForView[]; /** * @remarks * The group identifier. * * @example * "group-123456" */ groupUuid?: string; /** * @remarks * The grouping key-value pairs. */ groupingKeys?: { [key: string]: string; }; /** * @remarks * The unique identifier of the incident. * * @example * "incident-abc123" */ incidentId?: string; /** * @remarks * The notification policy name. * * @example * { "contactId": "contact-123", "name": "Zhang San" } */ notifyStrategyName?: string; /** * @remarks * The UUID of the associated notification policy used to trigger notifications. * * @example * "notify-strategy-789" */ notifyStrategyUuid?: string; /** * @remarks * The operator information. */ operator?: ContactForIncidentView; /** * @remarks * The list of owners. */ owners?: ContactForIncidentView[]; /** * @remarks * The list of participants. */ participants?: ContactForIncidentView[]; /** * @remarks * The response plan. */ plan?: IncidentResponsePlanForView; /** * @remarks * The list of associated resources. */ relatedResources?: EventResourceForIncidentView[]; /** * @remarks * The root cause category. * * @example * "Network" */ rootCauseCategory?: string; /** * @remarks * The severity level of the incident. * * @example * "Critical" */ severity?: string; /** * @remarks * The solution description. * * @example * "Recovered to normal after restarting the ECS instance" */ solution?: string; /** * @remarks * The current state of the incident. * * @example * "Open" */ state?: string; /** * @remarks * The subscription policy name. * * @example * "P1-Alert-Notification" */ subscriptionName?: string; /** * @remarks * The UUID of the subscription policy. * * @example * "subscription-abc" */ subscriptionUuid?: string; /** * @remarks * The array of tags. */ tags?: { [key: string]: string; }; /** * @remarks * The timestamp when the incident was created. * * @example * 1743876000000 */ time?: number; /** * @remarks * The title of the incident. * * @example * "Payment service unavailable" */ title?: string; /** * @remarks * The ID of the user who created the incident. * * @example * "user-abc123" */ userId?: string; /** * @remarks * The name of the workspace. * * @example * "ws-xyz789" */ workspace?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }