/* tslint:disable */ /* eslint-disable */ /** * Keycloak Admin REST API * This is a REST API reference for the Keycloak Admin * * The version of the OpenAPI document: 1 * * * 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'; /** * * @export * @interface MultivaluedHashMap */ export interface MultivaluedHashMap { /** * * @type {boolean} * @memberof MultivaluedHashMap */ empty?: boolean; /** * * @type {number} * @memberof MultivaluedHashMap */ loadFactor?: number; /** * * @type {number} * @memberof MultivaluedHashMap */ threshold?: number; } export function MultivaluedHashMapFromJSON(json: any): MultivaluedHashMap { return MultivaluedHashMapFromJSONTyped(json, false); } export function MultivaluedHashMapFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultivaluedHashMap { if ((json === undefined) || (json === null)) { return json; } return { 'empty': !exists(json, 'empty') ? undefined : json['empty'], 'loadFactor': !exists(json, 'loadFactor') ? undefined : json['loadFactor'], 'threshold': !exists(json, 'threshold') ? undefined : json['threshold'], }; } export function MultivaluedHashMapToJSON(value?: MultivaluedHashMap | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'empty': value.empty, 'loadFactor': value.loadFactor, 'threshold': value.threshold, }; }