/** * 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 { ComparisonBasic } from './comparisonBasic'; import { ServiceTypeComparisonAllOf } from './serviceTypeComparisonAllOf'; /** * Comparison for `SERVICE_TYPE` attributes. */ export class ServiceTypeComparison extends ComparisonBasic { /** * Operator of the comparison. You can reverse it by setting **negate** to `true`. Possible values depend on the **type** of the comparison. Find the list of actual models in the description of the **type** field and check the description of the model you need. */ 'operator': ServiceTypeComparison.OperatorEnum; /** * The value to compare to. */ 'value'?: ServiceTypeComparison.ValueEnum; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "operator", "baseName": "operator", "type": "ServiceTypeComparison.OperatorEnum" }, { "name": "value", "baseName": "value", "type": "ServiceTypeComparison.ValueEnum" } ]; static getAttributeTypeMap() { return super.getAttributeTypeMap().concat(ServiceTypeComparison.attributeTypeMap); } } export namespace ServiceTypeComparison { export enum OperatorEnum { EQUALS = 'EQUALS', EXISTS = 'EXISTS' } export enum ValueEnum { BACKGROUNDACTIVITY = 'BACKGROUND_ACTIVITY', CICSSERVICE = 'CICS_SERVICE', CUSTOMSERVICE = 'CUSTOM_SERVICE', DATABASESERVICE = 'DATABASE_SERVICE', ENTERPRISESERVICEBUSSERVICE = 'ENTERPRISE_SERVICE_BUS_SERVICE', EXTERNAL = 'EXTERNAL', IBMINTEGRATIONBUSSERVICE = 'IBM_INTEGRATION_BUS_SERVICE', IMSSERVICE = 'IMS_SERVICE', MESSAGINGSERVICE = 'MESSAGING_SERVICE', QUEUELISTENERSERVICE = 'QUEUE_LISTENER_SERVICE', RMISERVICE = 'RMI_SERVICE', RPCSERVICE = 'RPC_SERVICE', WEBREQUESTSERVICE = 'WEB_REQUEST_SERVICE', WEBSERVICE = 'WEB_SERVICE' } }