// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class CancelOrderResponseBodyData extends $dara.Model { /** * @remarks * The ID of the host. * * @example * cn */ hostId?: string; static names(): { [key: string]: string } { return { hostId: 'HostId', }; } static types(): { [key: string]: any } { return { hostId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class CancelOrderResponseBody extends $dara.Model { /** * @remarks * The status code. * * @example * Success */ code?: string; /** * @remarks * The data returned. */ data?: CancelOrderResponseBodyData; /** * @remarks * The error message. * * @example * Successful! */ message?: string; /** * @remarks * The ID of the request. * * @example * 30D2285E-A848-4ECB-AA74-4954C60858A1 */ requestId?: string; /** * @remarks * Indicates whether the call 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: CancelOrderResponseBodyData, 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); } }