// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstancesFeeOfInstance extends $dara.Model { currency?: string; fee?: string; instanceId?: string; static names(): { [key: string]: string } { return { currency: 'Currency', fee: 'Fee', instanceId: 'InstanceId', }; } static types(): { [key: string]: any } { return { currency: 'string', fee: 'string', instanceId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstances extends $dara.Model { feeOfInstance?: ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstancesFeeOfInstance[]; static names(): { [key: string]: string } { return { feeOfInstance: 'FeeOfInstance', }; } static types(): { [key: string]: any } { return { feeOfInstance: { 'type': 'array', 'itemType': ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstancesFeeOfInstance }, }; } validate() { if(Array.isArray(this.feeOfInstance)) { $dara.Model.validateArray(this.feeOfInstance); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ModifyDedicatedHostsChargeTypeResponseBody extends $dara.Model { feeOfInstances?: ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstances; /** * @remarks * The ID of the order. This is returned only when the payment method is changed to subscription. * * @example * 20413515388**** */ orderId?: string; /** * @remarks * The request ID. * * @example * B61C08E5-403A-46A2-96C1-F7B1216DB10C */ requestId?: string; static names(): { [key: string]: string } { return { feeOfInstances: 'FeeOfInstances', orderId: 'OrderId', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { feeOfInstances: ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstances, orderId: 'string', requestId: 'string', }; } validate() { if(this.feeOfInstances && typeof (this.feeOfInstances as any).validate === 'function') { (this.feeOfInstances as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }