UNPKG

wallee

Version:
40 lines (39 loc) 1.29 kB
/** * * @export * @interface ResultPortionModel */ export interface ResultPortionModel { /** * 0-based offset of items. * @type {number} * @memberof ResultPortionModel */ readonly offset?: number; /** * Amount of items in portion. * @type {number} * @memberof ResultPortionModel */ readonly limit?: number; /** * Total count of items. * @type {number} * @memberof ResultPortionModel */ readonly totalCount?: number; /** * Items of the result portion. * @type {Array<any>} * @memberof ResultPortionModel */ readonly items?: Array<any>; } /** * Check if a given object implements the ResultPortionModel interface. */ export declare function instanceOfResultPortionModel(value: object): value is ResultPortionModel; export declare function ResultPortionModelFromJSON(json: any): ResultPortionModel; export declare function ResultPortionModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultPortionModel; export declare function ResultPortionModelToJSON(json: any): ResultPortionModel; export declare function ResultPortionModelToJSONTyped(value?: Omit<ResultPortionModel, 'offset' | 'limit' | 'totalCount' | 'items'> | null, ignoreDiscriminator?: boolean): any;