/** * 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'; /** * The state of the extension. */ export class ExtensionState { /** * The ID of the extension. */ 'extensionId'?: string; /** * The version of the extension (for example `1.0.0`). */ 'version'?: string; /** * The ID of the endpoint where the state is detected - Active Gate only. */ 'endpointId'?: string; /** * The state of the extension. */ 'state'?: ExtensionState.StateEnum; /** * A short description of the state. */ 'stateDescription'?: string; /** * The timestamp when the state was detected, in UTC milliseconds. */ 'timestamp'?: number; /** * The ID of the host on which the extension runs. */ 'hostId'?: string; /** * The ID of the entity on which the extension is active. */ 'processId'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "extensionId", "baseName": "extensionId", "type": "string" }, { "name": "version", "baseName": "version", "type": "string" }, { "name": "endpointId", "baseName": "endpointId", "type": "string" }, { "name": "state", "baseName": "state", "type": "ExtensionState.StateEnum" }, { "name": "stateDescription", "baseName": "stateDescription", "type": "string" }, { "name": "timestamp", "baseName": "timestamp", "type": "number" }, { "name": "hostId", "baseName": "hostId", "type": "string" }, { "name": "processId", "baseName": "processId", "type": "string" } ]; static getAttributeTypeMap() { return ExtensionState.attributeTypeMap; } } export namespace ExtensionState { export enum StateEnum { ERRORAUTH = 'ERROR_AUTH', ERRORCOMMUNICATIONFAILURE = 'ERROR_COMMUNICATION_FAILURE', ERRORCONFIG = 'ERROR_CONFIG', ERRORTIMEOUT = 'ERROR_TIMEOUT', ERRORUNKNOWN = 'ERROR_UNKNOWN', INCOMPATIBLE = 'INCOMPATIBLE', LIMITREACHED = 'LIMIT_REACHED', NOTHINGTOREPORT = 'NOTHING_TO_REPORT', OK = 'OK', STATETYPEUNKNOWN = 'STATE_TYPE_UNKNOWN', UNINITIALIZED = 'UNINITIALIZED', UNSUPPORTED = 'UNSUPPORTED', WAITINGFORSTATE = 'WAITING_FOR_STATE' } }