// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class AssetOptimizeLiteResponseBodyData extends $dara.Model { /** * @remarks * The asynchronous task ID, which is used to query the result later. * * @example * task-xxxxxx */ taskId?: string; static names(): { [key: string]: string } { return { taskId: 'TaskId', }; } static types(): { [key: string]: any } { return { taskId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class AssetOptimizeLiteResponseBody extends $dara.Model { /** * @remarks * The error code. * * @example * 200 */ code?: string; /** * @remarks * The submit result of the asynchronous task. */ data?: AssetOptimizeLiteResponseBodyData; /** * @remarks * The error message. * * @example * OK */ message?: string; /** * @remarks * Id of the request * * @example * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F */ requestId?: string; /** * @remarks * Indicates whether the call is 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: AssetOptimizeLiteResponseBodyData, 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); } }