/** * 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 { CustomChartingItemMetadataConfig } from './customChartingItemMetadataConfig'; import { CustomFilterChartSeriesConfig } from './customFilterChartSeriesConfig'; /** * Configuration of a custom chart. */ export class CustomFilterChartConfig { /** * Defines if a legend should be shown. */ 'legendShown'?: boolean; /** * The type of the chart. */ 'type': CustomFilterChartConfig.TypeEnum; /** * A list of charted metrics. */ 'series': Array; /** * Additional information about charted metric. */ 'resultMetadata': { [key: string]: CustomChartingItemMetadataConfig; }; /** * The optional custom y-axis limits. */ 'axisLimits'?: { [key: string]: number; }; /** * The custom unit for the left Y-axis. */ 'leftAxisCustomUnit'?: CustomFilterChartConfig.LeftAxisCustomUnitEnum; /** * The custom unit for the right Y-axis. */ 'rightAxisCustomUnit'?: CustomFilterChartConfig.RightAxisCustomUnitEnum; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "legendShown", "baseName": "legendShown", "type": "boolean" }, { "name": "type", "baseName": "type", "type": "CustomFilterChartConfig.TypeEnum" }, { "name": "series", "baseName": "series", "type": "Array" }, { "name": "resultMetadata", "baseName": "resultMetadata", "type": "{ [key: string]: CustomChartingItemMetadataConfig; }" }, { "name": "axisLimits", "baseName": "axisLimits", "type": "{ [key: string]: number; }" }, { "name": "leftAxisCustomUnit", "baseName": "leftAxisCustomUnit", "type": "CustomFilterChartConfig.LeftAxisCustomUnitEnum" }, { "name": "rightAxisCustomUnit", "baseName": "rightAxisCustomUnit", "type": "CustomFilterChartConfig.RightAxisCustomUnitEnum" } ]; static getAttributeTypeMap() { return CustomFilterChartConfig.attributeTypeMap; } } export namespace CustomFilterChartConfig { export enum TypeEnum { PIE = 'PIE', SINGLEVALUE = 'SINGLE_VALUE', TIMESERIES = 'TIMESERIES', TOPLIST = 'TOP_LIST' } export enum LeftAxisCustomUnitEnum { Bit = 'Bit', BitPerHour = 'BitPerHour', BitPerMinute = 'BitPerMinute', BitPerSecond = 'BitPerSecond', Byte = 'Byte', BytePerHour = 'BytePerHour', BytePerMinute = 'BytePerMinute', BytePerSecond = 'BytePerSecond', Cores = 'Cores', Count = 'Count', Day = 'Day', GibiByte = 'GibiByte', Giga = 'Giga', GigaByte = 'GigaByte', Hour = 'Hour', KibiByte = 'KibiByte', KibiBytePerHour = 'KibiBytePerHour', KibiBytePerMinute = 'KibiBytePerMinute', KibiBytePerSecond = 'KibiBytePerSecond', Kilo = 'Kilo', KiloByte = 'KiloByte', KiloBytePerHour = 'KiloBytePerHour', KiloBytePerMinute = 'KiloBytePerMinute', KiloBytePerSecond = 'KiloBytePerSecond', MebiByte = 'MebiByte', MebiBytePerHour = 'MebiBytePerHour', MebiBytePerMinute = 'MebiBytePerMinute', MebiBytePerSecond = 'MebiBytePerSecond', Mega = 'Mega', MegaByte = 'MegaByte', MegaBytePerHour = 'MegaBytePerHour', MegaBytePerMinute = 'MegaBytePerMinute', MegaBytePerSecond = 'MegaBytePerSecond', MicroSecond = 'MicroSecond', MilliCores = 'MilliCores', MilliSecond = 'MilliSecond', MilliSecondPerMinute = 'MilliSecondPerMinute', Minute = 'Minute', Month = 'Month', NanoSecond = 'NanoSecond', NanoSecondPerMinute = 'NanoSecondPerMinute', NotApplicable = 'NotApplicable', PerHour = 'PerHour', PerMinute = 'PerMinute', PerSecond = 'PerSecond', Percent = 'Percent', Pixel = 'Pixel', Promille = 'Promille', Ratio = 'Ratio', Second = 'Second', State = 'State', Unspecified = 'Unspecified', Week = 'Week', Year = 'Year' } export enum RightAxisCustomUnitEnum { Bit = 'Bit', BitPerHour = 'BitPerHour', BitPerMinute = 'BitPerMinute', BitPerSecond = 'BitPerSecond', Byte = 'Byte', BytePerHour = 'BytePerHour', BytePerMinute = 'BytePerMinute', BytePerSecond = 'BytePerSecond', Cores = 'Cores', Count = 'Count', Day = 'Day', GibiByte = 'GibiByte', Giga = 'Giga', GigaByte = 'GigaByte', Hour = 'Hour', KibiByte = 'KibiByte', KibiBytePerHour = 'KibiBytePerHour', KibiBytePerMinute = 'KibiBytePerMinute', KibiBytePerSecond = 'KibiBytePerSecond', Kilo = 'Kilo', KiloByte = 'KiloByte', KiloBytePerHour = 'KiloBytePerHour', KiloBytePerMinute = 'KiloBytePerMinute', KiloBytePerSecond = 'KiloBytePerSecond', MebiByte = 'MebiByte', MebiBytePerHour = 'MebiBytePerHour', MebiBytePerMinute = 'MebiBytePerMinute', MebiBytePerSecond = 'MebiBytePerSecond', Mega = 'Mega', MegaByte = 'MegaByte', MegaBytePerHour = 'MegaBytePerHour', MegaBytePerMinute = 'MegaBytePerMinute', MegaBytePerSecond = 'MegaBytePerSecond', MicroSecond = 'MicroSecond', MilliCores = 'MilliCores', MilliSecond = 'MilliSecond', MilliSecondPerMinute = 'MilliSecondPerMinute', Minute = 'Minute', Month = 'Month', NanoSecond = 'NanoSecond', NanoSecondPerMinute = 'NanoSecondPerMinute', NotApplicable = 'NotApplicable', PerHour = 'PerHour', PerMinute = 'PerMinute', PerSecond = 'PerSecond', Percent = 'Percent', Pixel = 'Pixel', Promille = 'Promille', Ratio = 'Ratio', Second = 'Second', State = 'State', Unspecified = 'Unspecified', Week = 'Week', Year = 'Year' } }