// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class UpdatePrometheusIntegrationResponseBodyData extends $dara.Model { /** * @remarks * The exporter ID. * * @example * 2866 */ instanceId?: number; /** * @remarks * The exporter name. * * @example * inet */ instanceName?: string; static names(): { [key: string]: string } { return { instanceId: 'InstanceId', instanceName: 'InstanceName', }; } static types(): { [key: string]: any } { return { instanceId: 'number', instanceName: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdatePrometheusIntegrationResponseBody extends $dara.Model { /** * @remarks * The status code or error code. * * @example * 200 */ code?: number; /** * @remarks * The struct returned. */ data?: UpdatePrometheusIntegrationResponseBodyData; /** * @remarks * The message returned. * * @example * Successful */ message?: string; /** * @remarks * Id of the request * * @example * 2DB771C3-D1BB-5363-8A5F-ADB2AF2948DB */ requestId?: string; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', message: 'Message', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { code: 'number', data: UpdatePrometheusIntegrationResponseBodyData, message: 'string', requestId: 'string', }; } validate() { if(this.data && typeof (this.data as any).validate === 'function') { (this.data as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }