Files
onspring-api-sdk-javascript/src/models/GetPagedAppsResponse.ts
T

27 lines
960 B
TypeScript
Raw Normal View History

2023-02-01 23:45:14 -06:00
import { PagedResponse } from './PagedResponse';
import { App } from './App';
2023-01-27 22:53:14 -06:00
2023-02-02 20:24:20 -06:00
/**
* @class GetPagedAppsResponse - A paged response model for the GetApps method.
*/
2023-01-27 22:53:14 -06:00
export class GetPagedAppsResponse extends PagedResponse<App> {
2023-02-02 20:24:20 -06:00
/**
* @constructor - Creates a new instance of the GetPagedAppsResponse class.
* @param {App[]} items - The items in the collection.
* @param {number} pageNumber - The page number of the response.
* @param {number} pageSize - The page size of the response.
* @param {number} totalPages - The total number of pages in the response.
* @param {number} totalRecords - The total number of records in the response.
* @returns {GetPagedAppsResponse} - A new instance of the GetPagedAppsResponse class.
*/
2023-02-01 23:45:14 -06:00
constructor(
items: App[],
pageNumber: number,
pageSize: number,
totalPages: number,
totalRecords: number
) {
super(items, pageNumber, pageSize, totalPages, totalRecords);
2023-01-27 22:53:14 -06:00
}
2023-02-01 23:45:14 -06:00
}