/** * 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 { ApplicationId } from './applicationId'; import { ConditionsOpaqueAndExternalWebRequestAttributeTypeDto } from './conditionsOpaqueAndExternalWebRequestAttributeTypeDto'; import { ConfigurationMetadata } from './configurationMetadata'; import { ContextRoot } from './contextRoot'; import { Port } from './port'; import { PublicDomainName } from './publicDomainName'; /** * The service detection rule of the `OPAQUE_AND_EXTERNAL_WEB_REQUEST` type. */ export class OpaqueAndExternalWebRequestRule { /** * The type of the service detection rule. */ 'type': string; 'metadata'?: ConfigurationMetadata; /** * Specifies the management zones of the process group for which this service detection rule should be created. */ 'managementZones'?: Array; /** * The ID of the service detection rule. */ 'id'?: string; /** * The order of the rule in the rules list. The rules are evaluated from top to bottom. The first matching rule applies. */ 'order'?: string; /** * The name of the rule. */ 'name': string; /** * A short description of the rule. */ 'description'?: string; /** * The rule is enabled(`true`) or disabled (`false`). */ 'enabled': boolean; /** * A list of conditions of the rule. If several conditions are specified, the AND logic applies. */ 'conditions'?: Array; 'applicationId'?: ApplicationId; 'contextRoot'?: ContextRoot; 'port'?: Port; 'publicDomainName'?: PublicDomainName; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "type", "baseName": "type", "type": "string" }, { "name": "metadata", "baseName": "metadata", "type": "ConfigurationMetadata" }, { "name": "managementZones", "baseName": "managementZones", "type": "Array" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "order", "baseName": "order", "type": "string" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "description", "baseName": "description", "type": "string" }, { "name": "enabled", "baseName": "enabled", "type": "boolean" }, { "name": "conditions", "baseName": "conditions", "type": "Array" }, { "name": "applicationId", "baseName": "applicationId", "type": "ApplicationId" }, { "name": "contextRoot", "baseName": "contextRoot", "type": "ContextRoot" }, { "name": "port", "baseName": "port", "type": "Port" }, { "name": "publicDomainName", "baseName": "publicDomainName", "type": "PublicDomainName" } ]; static getAttributeTypeMap() { return OpaqueAndExternalWebRequestRule.attributeTypeMap; } }