// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class CreateInstanceResponseBodyData extends $dara.Model { /** * @remarks * The ID of the instance for which the order was created. * * @example * OSSBAG-cn-v1hxxxxx23 */ instanceId?: string; /** * @remarks * The ID of the order that was created. * * @example * 20240xxxx21 */ orderId?: string; static names(): { [key: string]: string } { return { instanceId: 'InstanceId', orderId: 'OrderId', }; } static types(): { [key: string]: any } { return { instanceId: 'string', orderId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class CreateInstanceResponseBody extends $dara.Model { /** * @remarks * The status code. * * @example * Success */ code?: string; /** * @remarks * The data returned. */ data?: CreateInstanceResponseBodyData; /** * @remarks * The error message returned. * * @example * Successful! */ message?: string; /** * @remarks * The ID of the request. * * @example * C880B065-A781-4F19-B6DD-3E0E3B715C64 */ 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: CreateInstanceResponseBodyData, 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); } }