/** * 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 { CapturedMethod } from './capturedMethod'; import { ScopeConditions } from './scopeConditions'; import { ValueCondition } from './valueCondition'; import { ValueProcessing } from './valueProcessing'; export class DataSource { /** * The data source is enabled (`true`) or disabled (`false`). */ 'enabled': boolean; /** * The source of the attribute to capture. Works in conjunction with **parameterName** or **methods** and **technology**. */ 'source': DataSource.SourceEnum; 'valueProcessing'?: ValueProcessing; /** * The technology of the method to capture if the **source** value is `METHOD_PARAM`. \\n\\n Not applicable in other cases. */ 'technology'?: DataSource.TechnologyEnum; /** * The technology of the session attribute to capture if the **source** value is `SESSION_ATTRIBUTE`. \\n\\n Not applicable in other cases. */ 'sessionAttributeTechnology'?: DataSource.SessionAttributeTechnologyEnum; /** * The method specification if the **source** value is `METHOD_PARAM`. Not applicable in other cases. */ 'methods'?: Array; /** * The name of the web request parameter to capture. Required if the **source** is one of the following: `POST_PARAMETER`, `GET_PARAMETER`, `REQUEST_HEADER`, `RESPONSE_HEADER`, `CUSTOM_ATTRIBUTE`. Not applicable in other cases. */ 'parameterName'?: string; 'scope'?: ScopeConditions; /** * Specifies the location where the values are captured and stored. Required if the **source** is one of the following: `GET_PARAMETER`, `URI`, `REQUEST_HEADER`, `RESPONSE_HEADER`. Not applicable in other cases. If the **source** value is `REQUEST_HEADER` or `RESPONSE_HEADER`, the `CAPTURE_AND_STORE_ON_BOTH` location is not allowed. */ 'capturingAndStorageLocation'?: DataSource.CapturingAndStorageLocationEnum; /** * The IBM integration bus node type for which the value is captured. This or `iibMethodNodeCondition` is required if the **source** is: `IIB_NODE`. Not applicable in other cases. */ 'iibNodeType'?: DataSource.IibNodeTypeEnum; 'iibMethodNodeCondition'?: ValueCondition; 'cicsSDKMethodNodeCondition'?: ValueCondition; 'iibLabelMethodNodeCondition'?: ValueCondition; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "enabled", "baseName": "enabled", "type": "boolean" }, { "name": "source", "baseName": "source", "type": "DataSource.SourceEnum" }, { "name": "valueProcessing", "baseName": "valueProcessing", "type": "ValueProcessing" }, { "name": "technology", "baseName": "technology", "type": "DataSource.TechnologyEnum" }, { "name": "sessionAttributeTechnology", "baseName": "sessionAttributeTechnology", "type": "DataSource.SessionAttributeTechnologyEnum" }, { "name": "methods", "baseName": "methods", "type": "Array" }, { "name": "parameterName", "baseName": "parameterName", "type": "string" }, { "name": "scope", "baseName": "scope", "type": "ScopeConditions" }, { "name": "capturingAndStorageLocation", "baseName": "capturingAndStorageLocation", "type": "DataSource.CapturingAndStorageLocationEnum" }, { "name": "iibNodeType", "baseName": "iibNodeType", "type": "DataSource.IibNodeTypeEnum" }, { "name": "iibMethodNodeCondition", "baseName": "iibMethodNodeCondition", "type": "ValueCondition" }, { "name": "cicsSDKMethodNodeCondition", "baseName": "cicsSDKMethodNodeCondition", "type": "ValueCondition" }, { "name": "iibLabelMethodNodeCondition", "baseName": "iibLabelMethodNodeCondition", "type": "ValueCondition" } ]; static getAttributeTypeMap() { return DataSource.attributeTypeMap; } } export namespace DataSource { export enum SourceEnum { CICSSDK = 'CICS_SDK', CLIENTIP = 'CLIENT_IP', CUSTOMATTRIBUTE = 'CUSTOM_ATTRIBUTE', IIBLABEL = 'IIB_LABEL', IIBNODE = 'IIB_NODE', METHODPARAM = 'METHOD_PARAM', POSTPARAMETER = 'POST_PARAMETER', QUERYPARAMETER = 'QUERY_PARAMETER', REQUESTHEADER = 'REQUEST_HEADER', RESPONSEHEADER = 'RESPONSE_HEADER', SESSIONATTRIBUTE = 'SESSION_ATTRIBUTE', URI = 'URI', URIPATH = 'URI_PATH' } export enum TechnologyEnum { DOTNET = 'DOTNET', JAVA = 'JAVA', PHP = 'PHP' } export enum SessionAttributeTechnologyEnum { ASPNET = 'ASP_NET', ASPNETCORE = 'ASP_NET_CORE', JAVA = 'JAVA' } export enum CapturingAndStorageLocationEnum { ANDSTOREONBOTH = 'CAPTURE_AND_STORE_ON_BOTH', ANDSTOREONCLIENT = 'CAPTURE_AND_STORE_ON_CLIENT', ANDSTOREONSERVER = 'CAPTURE_AND_STORE_ON_SERVER', ONCLIENTSTOREONSERVER = 'CAPTURE_ON_CLIENT_STORE_ON_SERVER' } export enum IibNodeTypeEnum { AGGREGATECONTROLNODE = 'AGGREGATE_CONTROL_NODE', AGGREGATEREPLYNODE = 'AGGREGATE_REPLY_NODE', AGGREGATEREQUESTNODE = 'AGGREGATE_REQUEST_NODE', CALLABLEFLOWREPLYNODE = 'CALLABLE_FLOW_REPLY_NODE', COLLECTORNODE = 'COLLECTOR_NODE', COMPUTENODE = 'COMPUTE_NODE', DATABASENODE = 'DATABASE_NODE', DECISIONSERVICENODE = 'DECISION_SERVICE_NODE', DOTNETCOMPUTENODE = 'DOT_NET_COMPUTE_NODE', FILEREADNODE = 'FILE_READ_NODE', FILTERNODE = 'FILTER_NODE', FLOWORDERNODE = 'FLOW_ORDER_NODE', GROUPCOMPLETENODE = 'GROUP_COMPLETE_NODE', GROUPGATHERNODE = 'GROUP_GATHER_NODE', GROUPSCATTERNODE = 'GROUP_SCATTER_NODE', HTTPHEADER = 'HTTP_HEADER', JAVACOMPUTENODE = 'JAVA_COMPUTE_NODE', JMSCLIENTRECEIVE = 'JMS_CLIENT_RECEIVE', JMSCLIENTREPLYNODE = 'JMS_CLIENT_REPLY_NODE', JMSHEADER = 'JMS_HEADER', MQGETNODE = 'MQ_GET_NODE', MQOUTPUTNODE = 'MQ_OUTPUT_NODE', PASSTHRUNODE = 'PASSTHRU_NODE', RESETCONTENTDESCRIPTORNODE = 'RESET_CONTENT_DESCRIPTOR_NODE', RESEQUENCENODE = 'RE_SEQUENCE_NODE', ROUTENODE = 'ROUTE_NODE', SAPREPLYNODE = 'SAP_REPLY_NODE', SCAREPLYNODE = 'SCA_REPLY_NODE', SECURITYPEP = 'SECURITY_PEP', SEQUENCENODE = 'SEQUENCE_NODE', SOAPEXTRACTNODE = 'SOAP_EXTRACT_NODE', SOAPREPLYNODE = 'SOAP_REPLY_NODE', SOAPWRAPPERNODE = 'SOAP_WRAPPER_NODE', SRRETRIEVEENTITYNODE = 'SR_RETRIEVE_ENTITY_NODE', SRRETRIEVEITSERVICENODE = 'SR_RETRIEVE_IT_SERVICE_NODE', THROWNODE = 'THROW_NODE', TRACENODE = 'TRACE_NODE', TRYCATCHNODE = 'TRY_CATCH_NODE', VALIDATENODE = 'VALIDATE_NODE', WSREPLYNODE = 'WS_REPLY_NODE', XSLMQSINODE = 'XSL_MQSI_NODE' } }