// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ReleaseDedicatedHostRequest extends $dara.Model { /** * @remarks * The ID of the dedicated host. * * This parameter is required. * * @example * dh-bp199lyny9b3**** */ dedicatedHostId?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The region ID of the dedicated host. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The expiration time of the subscription dedicated host. * * * true * * false * * Default value: false. * * @example * false */ terminateSubscription?: boolean; static names(): { [key: string]: string } { return { dedicatedHostId: 'DedicatedHostId', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', terminateSubscription: 'TerminateSubscription', }; } static types(): { [key: string]: any } { return { dedicatedHostId: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', terminateSubscription: 'boolean', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }