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