/** * 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 { PropagationSource } from './propagationSource'; export class NumberRequestAttributeComparisonInfoAllOf { /** * Operator of the comparision. You can reverse it by setting **negate** to `true`. */ 'comparison'?: NumberRequestAttributeComparisonInfoAllOf.ComparisonEnum; /** * The value to compare to. */ 'value'?: number; 'requestAttribute'?: string; /** * If `true`, the request attribute is matched on child service calls. Default is `false`. */ 'matchOnChildCalls'?: boolean; 'source'?: PropagationSource; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "comparison", "baseName": "comparison", "type": "NumberRequestAttributeComparisonInfoAllOf.ComparisonEnum" }, { "name": "value", "baseName": "value", "type": "number" }, { "name": "requestAttribute", "baseName": "requestAttribute", "type": "string" }, { "name": "matchOnChildCalls", "baseName": "matchOnChildCalls", "type": "boolean" }, { "name": "source", "baseName": "source", "type": "PropagationSource" } ]; static getAttributeTypeMap() { return NumberRequestAttributeComparisonInfoAllOf.attributeTypeMap; } } export namespace NumberRequestAttributeComparisonInfoAllOf { export enum ComparisonEnum { EQUALS = 'EQUALS', EXISTS = 'EXISTS', GREATERTHAN = 'GREATER_THAN', GREATERTHANOREQUAL = 'GREATER_THAN_OR_EQUAL', LOWERTHAN = 'LOWER_THAN', LOWERTHANOREQUAL = 'LOWER_THAN_OR_EQUAL' } }