// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class AddPrometheusIntegrationResponseBodyData extends $dara.Model { /** * @remarks * The ID of the exporter. * * @example * 2829 */ instanceId?: number; /** * @remarks * The name of the exporter. * * @example * hw-cloud02 */ 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 AddPrometheusIntegrationResponseBody extends $dara.Model { /** * @remarks * The status code or error code. * * @example * 200 */ code?: number; /** * @remarks * The struct returned. */ data?: AddPrometheusIntegrationResponseBodyData; /** * @remarks * The message returned. * * @example * message */ message?: string; /** * @remarks * Id of the request * * @example * 3703B98C-335E-5BA7-972E-F90E9E768A85 */ 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: AddPrometheusIntegrationResponseBodyData, 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); } }