/** * 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'; export class RumDimensionDefinition { /** * The number of top values to be calculated. */ 'topX': number; /** * The dimension of this metric. */ 'dimension': RumDimensionDefinition.DimensionEnum; /** * The key of the user action property. Only required if dimension is set to \"StringProperty\" */ 'propertyKey'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "topX", "baseName": "topX", "type": "number" }, { "name": "dimension", "baseName": "dimension", "type": "RumDimensionDefinition.DimensionEnum" }, { "name": "propertyKey", "baseName": "propertyKey", "type": "string" } ]; static getAttributeTypeMap() { return RumDimensionDefinition.attributeTypeMap; } } export namespace RumDimensionDefinition { export enum DimensionEnum { Browser = 'Browser', ErrorContext = 'ErrorContext', ErrorOrigin = 'ErrorOrigin', ErrorType = 'ErrorType', GeoLocation = 'GeoLocation', StringProperty = 'StringProperty', UserActionType = 'UserActionType' } }