/** * Dynatrace Configuration API * Documentation of the Dynatrace Configuration API. Refer to the [help page](https://www.dynatrace.com/support/help/shortlink/config-api) to read about use-cases and examples. Notes about compatibility: * Operations marked as early adopter or preview may be changed in non-compatible ways, although we try to avoid this. * We may add new enum constants without incrementing the API version; thus, clients need to handle unknown enum constants gracefully. * * The version of the OpenAPI document: 1.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 { RequestFile } from '../api'; import { NotificationConfig } from './notificationConfig'; import { OpsGenieNotificationConfigAllOf } from './opsGenieNotificationConfigAllOf'; /** * Configuration of the OpsGenie notification. */ export class OpsGenieNotificationConfig extends NotificationConfig { /** * The API key to access OpsGenie. */ 'apiKey'?: string; /** * The region domain of the OpsGenie. */ 'domain': string; /** * The content of the message. You can use the following placeholders: * `{ProblemID}`: The display number of the reported problem. * `{ProblemImpact}`: The [impact level](https://www.dynatrace.com/support/help/shortlink/impact-analysis) of the problem. Possible values are `APPLICATION`, `SERVICE`, and `INFRASTRUCTURE`. * `{ProblemSeverity}`: The [severity level](https://www.dynatrace.com/support/help/shortlink/event-types) of the problem. Possible values are `AVAILABILITY`, `ERROR`, `PERFORMANCE`, `RESOURCE_CONTENTION`, and `CUSTOM_ALERT`. * `{ProblemTitle}`: A short description of the problem. */ 'message': string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiKey", "baseName": "apiKey", "type": "string" }, { "name": "domain", "baseName": "domain", "type": "string" }, { "name": "message", "baseName": "message", "type": "string" } ]; static getAttributeTypeMap() { return super.getAttributeTypeMap().concat(OpsGenieNotificationConfig.attributeTypeMap); } } export namespace OpsGenieNotificationConfig { }