// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeSnapshotLinksRequest extends $dara.Model { /** * @remarks * The disk IDs. You can specify a JSON array that contains a maximum of 100 disk IDs. Separate the disk IDs with commas (,). * * @example * ["d-bp1d6tsvznfghy7y****", "d-bp1ippxbaql9zet7****", … "d-bp1ib7bcz07lcxa9****"] */ diskIds?: string; /** * @remarks * The instance ID. * * @example * i-bp1h6jmbefj2cyqs**** */ instanceId?: string; /** * @remarks * The maximum number of entries per page. Maximum value: 100. Default value: * * * If you do not specify this parameter or if you set a value smaller than 10, the default value is 10. * * If you set a value greater than 100, the default value is 100. * * @example * 10 */ maxResults?: number; /** * @remarks * The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken. * * @example * caeba0bbb2be03f84eb48b699f0a**** */ nextToken?: 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 per page. Valid values: 1 to 100. * * Default value: 10. * * @example * 50 */ pageSize?: number; /** * @remarks * The region ID of the disk. 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 snapshot chain IDs. You can specify a JSON array that contains a maximum of 100 snapshot chain IDs. Separate the snapshot chain IDs with commas (,). * * @example * ["sl-bp1grgphbcc9brb5****", "sl-bp1c4izumvq0i5bs****", … "sl-bp1akk7isz866dds****"] */ snapshotLinkIds?: string; static names(): { [key: string]: string } { return { diskIds: 'DiskIds', instanceId: 'InstanceId', maxResults: 'MaxResults', nextToken: 'NextToken', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', pageNumber: 'PageNumber', pageSize: 'PageSize', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', snapshotLinkIds: 'SnapshotLinkIds', }; } static types(): { [key: string]: any } { return { diskIds: 'string', instanceId: 'string', maxResults: 'number', nextToken: 'string', ownerAccount: 'string', ownerId: 'number', pageNumber: 'number', pageSize: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', snapshotLinkIds: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }