// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeApisByIpControlResponseBodyApiInfosApiInfo extends $dara.Model { apiId?: string; apiName?: string; boundTime?: string; description?: string; groupId?: string; groupName?: string; regionId?: string; stageName?: string; visibility?: string; static names(): { [key: string]: string } { return { apiId: 'ApiId', apiName: 'ApiName', boundTime: 'BoundTime', description: 'Description', groupId: 'GroupId', groupName: 'GroupName', regionId: 'RegionId', stageName: 'StageName', visibility: 'Visibility', }; } static types(): { [key: string]: any } { return { apiId: 'string', apiName: 'string', boundTime: 'string', description: 'string', groupId: 'string', groupName: 'string', regionId: 'string', stageName: 'string', visibility: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeApisByIpControlResponseBodyApiInfos extends $dara.Model { apiInfo?: DescribeApisByIpControlResponseBodyApiInfosApiInfo[]; static names(): { [key: string]: string } { return { apiInfo: 'ApiInfo', }; } static types(): { [key: string]: any } { return { apiInfo: { 'type': 'array', 'itemType': DescribeApisByIpControlResponseBodyApiInfosApiInfo }, }; } validate() { if(Array.isArray(this.apiInfo)) { $dara.Model.validateArray(this.apiInfo); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeApisByIpControlResponseBody extends $dara.Model { apiInfos?: DescribeApisByIpControlResponseBodyApiInfos; /** * @remarks * The page number of the returned page. * * @example * 1 */ pageNumber?: number; /** * @remarks * The number of entries returned per page. * * @example * 10 */ pageSize?: number; /** * @remarks * The ID of the request. * * @example * CEF72CEB-54B6-4AE8-B225-F876FF7BZ004 */ requestId?: string; /** * @remarks * The total number of returned entries. * * @example * 20 */ totalCount?: number; static names(): { [key: string]: string } { return { apiInfos: 'ApiInfos', pageNumber: 'PageNumber', pageSize: 'PageSize', requestId: 'RequestId', totalCount: 'TotalCount', }; } static types(): { [key: string]: any } { return { apiInfos: DescribeApisByIpControlResponseBodyApiInfos, pageNumber: 'number', pageSize: 'number', requestId: 'string', totalCount: 'number', }; } validate() { if(this.apiInfos && typeof (this.apiInfos as any).validate === 'function') { (this.apiInfos as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }