// tslint:disable /** * 3Di API * 3Di simulation API (latest stable version: v3) Framework release: 3.0.1 3Di core release: 2.3.0.dev0 deployed on: 10:42AM (UTC) on October 04, 2022 * * The version of the OpenAPI document: v3 * Contact: info@nelen-schuurmans.nl * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; import { Contract, ContractFromJSON, ContractToJSON, } from './'; /** * * @export * @interface InlineResponse2003 */ export interface InlineResponse2003 { /** * * @type {number} * @memberof InlineResponse2003 */ count: number; /** * * @type {string} * @memberof InlineResponse2003 */ next?: string | null; /** * * @type {string} * @memberof InlineResponse2003 */ previous?: string | null; /** * * @type {Array} * @memberof InlineResponse2003 */ results: Array; } export function InlineResponse2003FromJSON(json: any): InlineResponse2003 { return { 'count': json['count'], 'next': !exists(json, 'next') ? undefined : json['next'], 'previous': !exists(json, 'previous') ? undefined : json['previous'], 'results': (json['results'] as Array).map(ContractFromJSON), }; } export function InlineResponse2003ToJSON(value?: InlineResponse2003): any { if (value === undefined) { return undefined; } return { 'count': value.count, 'next': value.next, 'previous': value.previous, 'results': (value.results as Array).map(ContractToJSON), }; }