// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ConvertChargeTypeResponseBodyData extends $dara.Model { /** * @remarks * The ID of the order. * * @example * 202657601410661 */ orderId?: string; static names(): { [key: string]: string } { return { orderId: 'OrderId', }; } static types(): { [key: string]: any } { return { orderId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ConvertChargeTypeResponseBody extends $dara.Model { /** * @remarks * The status code. * * @example * Success */ code?: string; /** * @remarks * The data returned. */ data?: ConvertChargeTypeResponseBodyData; /** * @remarks * The error message returned. * * @example * Successful! */ message?: string; /** * @remarks * The ID of the request. * * @example * 6000EE23-274B-4E07-A697-FF2E999520A4 */ requestId?: string; /** * @remarks * Indicates whether the request was successful. * * @example * true */ success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', message: 'Message', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: ConvertChargeTypeResponseBodyData, message: 'string', requestId: 'string', success: 'boolean', }; } 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); } }