// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribePrefixListsRequestTag extends $dara.Model { /** * @remarks * The key of tag N of the prefix list. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain `http:// or https://`. * * @example * TestKey */ key?: string; /** * @remarks * The value of tag N of the prefix list. Valid values of N: 1 to 20. The tag value can be an empty string. * * The tag value can be up to 128 characters in length and cannot contain `http:// or https://`. * * @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 DescribePrefixListsRequest extends $dara.Model { /** * @remarks * The IP address family. Valid values: * * * IPv4 * * IPv6 * * This parameter is empty by default, which indicates that all prefix lists are queried. * * @example * IPv4 */ addressFamily?: string; /** * @remarks * The number of entries per page. * * Valid values: 1 to 100. * * Default value: 10. * * @example * 10 */ maxResults?: number; /** * @remarks * The pagination token that is used in the request to retrieve a new page of results. Set the value to the `NextToken` value returned in the last call to this operation. Leave this parameter empty the first time you call this operation. * * @example * AAAAAdDWBF2**** */ nextToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The IDs of prefix lists. Valid values of N: 0 to 100. * * @example * pl-x1j1k5ykzqlixdcy**** */ prefixListId?: string[]; /** * @remarks * The name of the prefix list. * * @example * PrefixListNameSample */ prefixListName?: string; /** * @remarks * The region ID. 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-chengdu */ regionId?: string; /** * @remarks * The ID of the resource group to which the prefix list belongs. * * @example * rg-bp67acfmxazb4p**** */ resourceGroupId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The tags of the prefix list. */ tag?: DescribePrefixListsRequestTag[]; static names(): { [key: string]: string } { return { addressFamily: 'AddressFamily', maxResults: 'MaxResults', nextToken: 'NextToken', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', prefixListId: 'PrefixListId', prefixListName: 'PrefixListName', regionId: 'RegionId', resourceGroupId: 'ResourceGroupId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', tag: 'Tag', }; } static types(): { [key: string]: any } { return { addressFamily: 'string', maxResults: 'number', nextToken: 'string', ownerAccount: 'string', ownerId: 'number', prefixListId: { 'type': 'array', 'itemType': 'string' }, prefixListName: 'string', regionId: 'string', resourceGroupId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', tag: { 'type': 'array', 'itemType': DescribePrefixListsRequestTag }, }; } validate() { if(Array.isArray(this.prefixListId)) { $dara.Model.validateArray(this.prefixListId); } if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }