/* 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 ProfileInfoRepresentation */ export interface ProfileInfoRepresentation { /** * * @type {Array} * @memberof ProfileInfoRepresentation */ disabledFeatures?: Array; /** * * @type {Array} * @memberof ProfileInfoRepresentation */ experimentalFeatures?: Array; /** * * @type {string} * @memberof ProfileInfoRepresentation */ name?: string; /** * * @type {Array} * @memberof ProfileInfoRepresentation */ previewFeatures?: Array; } export function ProfileInfoRepresentationFromJSON(json: any): ProfileInfoRepresentation { return ProfileInfoRepresentationFromJSONTyped(json, false); } export function ProfileInfoRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileInfoRepresentation { if ((json === undefined) || (json === null)) { return json; } return { 'disabledFeatures': !exists(json, 'disabledFeatures') ? undefined : json['disabledFeatures'], 'experimentalFeatures': !exists(json, 'experimentalFeatures') ? undefined : json['experimentalFeatures'], 'name': !exists(json, 'name') ? undefined : json['name'], 'previewFeatures': !exists(json, 'previewFeatures') ? undefined : json['previewFeatures'], }; } export function ProfileInfoRepresentationToJSON(value?: ProfileInfoRepresentation | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'disabledFeatures': value.disabledFeatures, 'experimentalFeatures': value.experimentalFeatures, 'name': value.name, 'previewFeatures': value.previewFeatures, }; }