/** * 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'; /** * Tag of a Dynatrace entity. */ export class TagInfo { /** * The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the `CONTEXTLESS` value. */ 'context': TagInfo.ContextEnum; /** * The key of the tag. Custom tags have the tag value here. */ 'key': string; /** * The value of the tag. Not applicable to custom tags. */ 'value'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "context", "baseName": "context", "type": "TagInfo.ContextEnum" }, { "name": "key", "baseName": "key", "type": "string" }, { "name": "value", "baseName": "value", "type": "string" } ]; static getAttributeTypeMap() { return TagInfo.attributeTypeMap; } } export namespace TagInfo { export enum ContextEnum { AWS = 'AWS', AWSGENERIC = 'AWS_GENERIC', AZURE = 'AZURE', CLOUDFOUNDRY = 'CLOUD_FOUNDRY', CONTEXTLESS = 'CONTEXTLESS', ENVIRONMENT = 'ENVIRONMENT', GOOGLECLOUD = 'GOOGLE_CLOUD', KUBERNETES = 'KUBERNETES' } }