// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeStorageSetsRequestTag 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 DescribeStorageSetsRequest extends $dara.Model { /** * @remarks * The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The value of **ClientToken** can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html). * * @example * 123e4567-e89b-12d3-a456-426655440000 */ clientToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The page number. Pages start from page 1. * * Default value: 1 * * @example * 1 */ pageNumber?: number; /** * @remarks * The number of entries to return on each page. Maximum value: 100. * * Default value: 10 * * @example * 1 */ pageSize?: number; /** * @remarks * The region ID of the storage set. 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 IDs of storage sets. The value is a JSON array that consists of up to 100 storage set IDs. Separate the IDs with commas (,). * * @example * ["ss-bp1d6tsvznfghy7y****", "ss-bp1ippxbaql9zet7****", … "ss-bp1ib7bcz07l****"] */ storageSetIds?: string; /** * @remarks * The name of the storage set. * * @example * storageSetTest */ storageSetName?: string; tag?: DescribeStorageSetsRequestTag[]; /** * @remarks * The zone ID of the storage set. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list. * * @example * cn-hangzhou-g */ zoneId?: string; static names(): { [key: string]: string } { return { clientToken: 'ClientToken', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', pageNumber: 'PageNumber', pageSize: 'PageSize', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', storageSetIds: 'StorageSetIds', storageSetName: 'StorageSetName', tag: 'Tag', zoneId: 'ZoneId', }; } static types(): { [key: string]: any } { return { clientToken: 'string', ownerAccount: 'string', ownerId: 'number', pageNumber: 'number', pageSize: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', storageSetIds: 'string', storageSetName: 'string', tag: { 'type': 'array', 'itemType': DescribeStorageSetsRequestTag }, zoneId: 'string', }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }