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