// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeApiGroupsRequestTag extends $dara.Model { /** * @remarks * The key of the tag. * * @example * key */ key?: string; /** * @remarks * The value of the tag. * * @example * value */ 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 DescribeApiGroupsRequest extends $dara.Model { /** * @remarks * The root path of the API. * * @example * /edmdgp/service20250116management01/v1 */ basePath?: string; /** * @remarks * Specifies whether to enable tag verification. * * @example * true */ enableTagAuth?: boolean; /** * @remarks * The ID of the API group. This ID is generated by the system and globally unique. * * @example * be6d2abcc0dd4f749fc2d2edd6567164 */ groupId?: string; /** * @remarks * The keyword that can be specified in the name of the API group. * * @example * Traffic */ groupName?: string; /** * @remarks * The ID of the instance. * * @example * apigateway-cn-v6419k43245xx */ instanceId?: string; /** * @remarks * The number of the page to return. Pages start from page 1. Default value: 1. * * @example * 1 */ pageNumber?: number; /** * @remarks * The number of entries to return on each page. Maximum value: 50. Default value: 10. * * @example * 10 */ pageSize?: number; securityToken?: string; /** * @remarks * The order. Valid values: asc and desc. Default value: desc. * * * asc: The API groups are displayed in ascending order of modification time. * * desc: The API groups are displayed in descending order of modification time. * * @example * desc */ sort?: string; /** * @remarks * The list of tags. */ tag?: DescribeApiGroupsRequestTag[]; static names(): { [key: string]: string } { return { basePath: 'BasePath', enableTagAuth: 'EnableTagAuth', groupId: 'GroupId', groupName: 'GroupName', instanceId: 'InstanceId', pageNumber: 'PageNumber', pageSize: 'PageSize', securityToken: 'SecurityToken', sort: 'Sort', tag: 'Tag', }; } static types(): { [key: string]: any } { return { basePath: 'string', enableTagAuth: 'boolean', groupId: 'string', groupName: 'string', instanceId: 'string', pageNumber: 'number', pageSize: 'number', securityToken: 'string', sort: 'string', tag: { 'type': 'array', 'itemType': DescribeApiGroupsRequestTag }, }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }