// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class GetAppApiByPageResponseBodyData extends $dara.Model { /** * @remarks * Is completed. * * @example * false */ completed?: boolean; /** * @remarks * The data entries. */ items?: { [key: string]: any }[]; /** * @remarks * The page number of the returned page. * * @example * 1 */ page?: number; /** * @remarks * The number of entries returned per page. * * @example * 10 */ pageSize?: number; /** * @remarks * The total number of returned entries. * * @example * 0 */ total?: string; static names(): { [key: string]: string } { return { completed: 'Completed', items: 'Items', page: 'Page', pageSize: 'PageSize', total: 'Total', }; } static types(): { [key: string]: any } { return { completed: 'boolean', items: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } }, page: 'number', pageSize: 'number', total: 'string', }; } validate() { if(Array.isArray(this.items)) { $dara.Model.validateArray(this.items); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class GetAppApiByPageResponseBody extends $dara.Model { /** * @remarks * The HTTP status code returned for the request. Valid values: * * * 2XX: The request was successful. * * 3XX: A redirection message was returned. * * 4XX: The request was invalid. * * 5XX: A server error occurred. * * @example * 200 */ code?: number; /** * @remarks * The struct returned. */ data?: GetAppApiByPageResponseBodyData; /** * @remarks * The message returned. * * @example * message */ message?: string; /** * @remarks * The ID of the request. * * @example * B6A00968-82A8-4F14-9D1B-B53827DB**** */ requestId?: string; /** * @remarks * Indicates whether the call was successful. Valid values: * * * `true`: The call was successful. * * `false`: The call failed. * * @example * true */ success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', message: 'Message', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'number', data: GetAppApiByPageResponseBodyData, message: 'string', requestId: 'string', success: 'boolean', }; } validate() { if(this.data && typeof (this.data as any).validate === 'function') { (this.data as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }