@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
141 lines (140 loc) • 4.31 kB
TypeScript
/**
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
import { IncidentFieldAttributes } from "./IncidentFieldAttributes";
import { IncidentNonDatadogCreator } from "./IncidentNonDatadogCreator";
import { IncidentNotificationHandle } from "./IncidentNotificationHandle";
import { IncidentSeverity } from "./IncidentSeverity";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* The incident's attributes from a response.
*/
export declare class IncidentResponseAttributes {
/**
* Timestamp of when the incident was archived.
*/
"archived"?: Date;
/**
* The incident case id.
*/
"caseId"?: number;
/**
* Timestamp when the incident was created.
*/
"created"?: Date;
/**
* Length of the incident's customer impact in seconds.
* Equals the difference between `customer_impact_start` and `customer_impact_end`.
*/
"customerImpactDuration"?: number;
/**
* Timestamp when customers were no longer impacted by the incident.
*/
"customerImpactEnd"?: Date;
/**
* A summary of the impact customers experienced during the incident.
*/
"customerImpactScope"?: string;
/**
* Timestamp when customers began being impacted by the incident.
*/
"customerImpactStart"?: Date;
/**
* A flag indicating whether the incident caused customer impact.
*/
"customerImpacted"?: boolean;
/**
* Timestamp when the incident was detected.
*/
"detected"?: Date;
/**
* A condensed view of the user-defined fields attached to incidents.
*/
"fields"?: {
[key: string]: IncidentFieldAttributes;
};
/**
* A unique identifier that represents an incident type.
*/
"incidentTypeUuid"?: string;
/**
* A flag indicating whether the incident is a test incident.
*/
"isTest"?: boolean;
/**
* Timestamp when the incident was last modified.
*/
"modified"?: Date;
/**
* Incident's non Datadog creator.
*/
"nonDatadogCreator"?: IncidentNonDatadogCreator;
/**
* Notification handles that will be notified of the incident during update.
*/
"notificationHandles"?: Array<IncidentNotificationHandle>;
/**
* The monotonically increasing integer ID for the incident.
*/
"publicId"?: number;
/**
* Timestamp when the incident's state was last changed from active or stable to resolved or completed.
*/
"resolved"?: Date;
/**
* The incident severity.
*/
"severity"?: IncidentSeverity;
/**
* The state incident.
*/
"state"?: string;
/**
* The amount of time in seconds to detect the incident.
* Equals the difference between `customer_impact_start` and `detected`.
*/
"timeToDetect"?: number;
/**
* The amount of time in seconds to call incident after detection. Equals the difference of `detected` and `created`.
*/
"timeToInternalResponse"?: number;
/**
* The amount of time in seconds to resolve customer impact after detecting the issue. Equals the difference between `customer_impact_end` and `detected`.
*/
"timeToRepair"?: number;
/**
* The amount of time in seconds to resolve the incident after it was created. Equals the difference between `created` and `resolved`.
*/
"timeToResolve"?: number;
/**
* The title of the incident, which summarizes what happened.
*/
"title": string;
/**
* The incident visibility status.
*/
"visibility"?: string;
/**
* A container for additional, undeclared properties.
* This is a holder for any undeclared properties as specified with
* the 'additionalProperties' keyword in the OAS document.
*/
"additionalProperties"?: {
[key: string]: any;
};
/**
* @ignore
*/
"_unparsed"?: boolean;
/**
* @ignore
*/
static readonly attributeTypeMap: AttributeTypeMap;
/**
* @ignore
*/
static getAttributeTypeMap(): AttributeTypeMap;
constructor();
}