// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class CreateStorageSetRequestTag extends $dara.Model { key?: string; 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 CreateStorageSetRequest extends $dara.Model { clientToken?: string; description?: string; maxPartitionNumber?: number; ownerAccount?: string; ownerId?: number; /** * @remarks * This parameter is required. */ regionId?: string; resourceGroupId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; storageSetName?: string; tag?: CreateStorageSetRequestTag[]; /** * @remarks * This parameter is required. */ zoneId?: string; static names(): { [key: string]: string } { return { clientToken: 'ClientToken', description: 'Description', maxPartitionNumber: 'MaxPartitionNumber', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceGroupId: 'ResourceGroupId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', storageSetName: 'StorageSetName', tag: 'Tag', zoneId: 'ZoneId', }; } static types(): { [key: string]: any } { return { clientToken: 'string', description: 'string', maxPartitionNumber: 'number', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceGroupId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', storageSetName: 'string', tag: { 'type': 'array', 'itemType': CreateStorageSetRequestTag }, zoneId: 'string', }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }