/* tslint:disable */ /* eslint-disable */ /** * OpenAPI definition * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0 * * * 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 { LicenseDto, LicenseDtoFromJSON, LicenseDtoFromJSONTyped, LicenseDtoToJSON, } from './'; /** * * @export * @interface LicenseDtoList */ export interface LicenseDtoList { /** * * @type {number} * @memberof LicenseDtoList */ count?: number; /** * * @type {Array} * @memberof LicenseDtoList */ items?: Array; } export function LicenseDtoListFromJSON(json: any): LicenseDtoList { return LicenseDtoListFromJSONTyped(json, false); } export function LicenseDtoListFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenseDtoList { if ((json === undefined) || (json === null)) { return json; } return { 'count': !exists(json, 'count') ? undefined : json['count'], 'items': !exists(json, 'items') ? undefined : ((json['items'] as Array).map(LicenseDtoFromJSON)), }; } export function LicenseDtoListToJSON(value?: LicenseDtoList | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'count': value.count, 'items': value.items === undefined ? undefined : ((value.items as Array).map(LicenseDtoToJSON)), }; }