// 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 { GroundWaterLevel, GroundWaterLevelFromJSON, GroundWaterLevelToJSON, } from './'; /** * * @export * @interface InlineResponse20056 */ export interface InlineResponse20056 { /** * * @type {number} * @memberof InlineResponse20056 */ count: number; /** * * @type {string} * @memberof InlineResponse20056 */ next?: string | null; /** * * @type {string} * @memberof InlineResponse20056 */ previous?: string | null; /** * * @type {Array} * @memberof InlineResponse20056 */ results: Array; } export function InlineResponse20056FromJSON(json: any): InlineResponse20056 { return { 'count': json['count'], 'next': !exists(json, 'next') ? undefined : json['next'], 'previous': !exists(json, 'previous') ? undefined : json['previous'], 'results': (json['results'] as Array).map(GroundWaterLevelFromJSON), }; } export function InlineResponse20056ToJSON(value?: InlineResponse20056): any { if (value === undefined) { return undefined; } return { 'count': value.count, 'next': value.next, 'previous': value.previous, 'results': (value.results as Array).map(GroundWaterLevelToJSON), }; }