/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface SearchRequestAllOfPagination */ export interface SearchRequestAllOfPagination { /** * * @type {number} * @memberof SearchRequestAllOfPagination */ 'page'?: number; /** * * @type {number} * @memberof SearchRequestAllOfPagination */ 'pageSize'?: number; } /** * Check if a given object implements the SearchRequestAllOfPagination interface. */ export function instanceOfSearchRequestAllOfPagination(value: object): value is SearchRequestAllOfPagination { return true; } export function SearchRequestAllOfPaginationFromJSON(json: any): SearchRequestAllOfPagination { return SearchRequestAllOfPaginationFromJSONTyped(json, false); } export function SearchRequestAllOfPaginationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchRequestAllOfPagination { if (json == null) { return json; } const result = { } as SearchRequestAllOfPagination; if (json['page'] !== undefined) { result['page'] = json['page']; } if (json['pageSize'] !== undefined) { result['pageSize'] = json['pageSize']; } return result; } export function SearchRequestAllOfPaginationToJSON(json: any): SearchRequestAllOfPagination { return SearchRequestAllOfPaginationToJSONTyped(json, false); } export function SearchRequestAllOfPaginationToJSONTyped(value?: SearchRequestAllOfPagination | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'page': value['page'], 'pageSize': value['pageSize'], }; }