/* tslint:disable */ /* eslint-disable */ /** * Tandoor * Tandoor API Docs * * The version of the OpenAPI document: 0.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'; import type { ExportLog } from './ExportLog'; import { ExportLogFromJSON, ExportLogFromJSONTyped, ExportLogToJSON, } from './ExportLog'; /** * * @export * @interface PaginatedExportLogList */ export interface PaginatedExportLogList { /** * * @type {number} * @memberof PaginatedExportLogList */ count?: number; /** * * @type {string} * @memberof PaginatedExportLogList */ next?: string; /** * * @type {string} * @memberof PaginatedExportLogList */ previous?: string; /** * * @type {Array} * @memberof PaginatedExportLogList */ results?: Array; } /** * Check if a given object implements the PaginatedExportLogList interface. */ export function instanceOfPaginatedExportLogList(value: object): boolean { return true; } export function PaginatedExportLogListFromJSON(json: any): PaginatedExportLogList { return PaginatedExportLogListFromJSONTyped(json, false); } export function PaginatedExportLogListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedExportLogList { if (json == null) { return json; } return { 'count': json['count'] == null ? undefined : json['count'], 'next': json['next'] == null ? undefined : json['next'], 'previous': json['previous'] == null ? undefined : json['previous'], 'results': json['results'] == null ? undefined : ((json['results'] as Array).map(ExportLogFromJSON)), }; } export function PaginatedExportLogListToJSON(value?: PaginatedExportLogList | null): any { if (value == null) { return value; } return { 'count': value['count'], 'next': value['next'], 'previous': value['previous'], 'results': value['results'] == null ? undefined : ((value['results'] as Array).map(ExportLogToJSON)), }; }