/** * 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 { SyntheticMetricDimension } from './syntheticMetricDimension'; import { SyntheticMetricFilter } from './syntheticMetricFilter'; /** * Definition of the calculated synthetic metric. */ export class CalculatedSyntheticMetric { /** * The Dynatrace entity ID of the synthetic monitor to which the metric belongs. */ 'monitorIdentifier': string; /** * The name of the metric, displayed in the UI. */ 'name': string; /** * The unique key of the metric. The key must have the `calc:synthetic` prefix. */ 'metricKey': string; /** * The metric is enabled (`true`) or disabled (`false`). */ 'enabled': boolean; /** * The type of the synthetic metric. */ 'metric': CalculatedSyntheticMetric.MetricEnum; /** * A list of metric dimensions. */ 'dimensions'?: Array; 'filter'?: SyntheticMetricFilter; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "monitorIdentifier", "baseName": "monitorIdentifier", "type": "string" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "metricKey", "baseName": "metricKey", "type": "string" }, { "name": "enabled", "baseName": "enabled", "type": "boolean" }, { "name": "metric", "baseName": "metric", "type": "CalculatedSyntheticMetric.MetricEnum" }, { "name": "dimensions", "baseName": "dimensions", "type": "Array" }, { "name": "filter", "baseName": "filter", "type": "SyntheticMetricFilter" } ]; static getAttributeTypeMap() { return CalculatedSyntheticMetric.attributeTypeMap; } } export namespace CalculatedSyntheticMetric { export enum MetricEnum { ApplicationCache = 'ApplicationCache', Callback = 'Callback', DNSLookup = 'DNSLookup', DOMComplete = 'DOMComplete', DOMContentLoaded = 'DOMContentLoaded', DOMInteractive = 'DOMInteractive', FailedRequestsResources = 'FailedRequestsResources', FirstContentfulPaint = 'FirstContentfulPaint', FirstInputDelay = 'FirstInputDelay', FirstInputStart = 'FirstInputStart', FirstPaint = 'FirstPaint', HTMLDownloaded = 'HTMLDownloaded', HttpErrors = 'HttpErrors', JavaScriptErrors = 'JavaScriptErrors', LargestContentfulPaint = 'LargestContentfulPaint', LoadEventEnd = 'LoadEventEnd', LoadEventStart = 'LoadEventStart', NavigationStart = 'NavigationStart', OnDOMContentLoaded = 'OnDOMContentLoaded', OnLoad = 'OnLoad', Processing = 'Processing', RedirectTime = 'RedirectTime', Request = 'Request', RequestStart = 'RequestStart', ResourceCount = 'ResourceCount', Response = 'Response', SecureConnect = 'SecureConnect', SpeedIndex = 'SpeedIndex', TCPConnect = 'TCPConnect', TimeToFirstByte = 'TimeToFirstByte', TotalDuration = 'TotalDuration', TransferSize = 'TransferSize', UserActionDuration = 'UserActionDuration', VisuallyComplete = 'VisuallyComplete' } }