// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class CreateVscRequestTag extends $dara.Model { /** * @example * TestKey */ key?: string; /** * @example * TestValue */ value?: string; static names(): { [key: string]: string } { return { key: 'Key', value: 'Value', }; } static types(): { [key: string]: any } { return { key: 'string', value: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class CreateVscRequest extends $dara.Model { /** * @example * 123e4567-e89b-12d3-a456-426655440000 */ clientToken?: string; /** * @example * 设备的描述 */ description?: string; /** * @example * false */ dryRun?: boolean; /** * @remarks * This parameter is required. * * @example * i-bp**c262 */ instanceId?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @example * rg-bp67acfmxazb4p**** */ resourceGroupId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; tag?: CreateVscRequestTag[]; /** * @example * 设备1 */ vscName?: string; /** * @example * Primary */ vscType?: string; static names(): { [key: string]: string } { return { clientToken: 'ClientToken', description: 'Description', dryRun: 'DryRun', instanceId: 'InstanceId', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceGroupId: 'ResourceGroupId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', tag: 'Tag', vscName: 'VscName', vscType: 'VscType', }; } static types(): { [key: string]: any } { return { clientToken: 'string', description: 'string', dryRun: 'boolean', instanceId: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceGroupId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', tag: { 'type': 'array', 'itemType': CreateVscRequestTag }, vscName: 'string', vscType: 'string', }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }