/* 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 ProviderRepresentation */ export interface ProviderRepresentation { /** * * @type {{ [key: string]: object; }} * @memberof ProviderRepresentation */ operationalInfo?: { [key: string]: object; }; /** * * @type {number} * @memberof ProviderRepresentation */ order?: number; } export function ProviderRepresentationFromJSON(json: any): ProviderRepresentation { return ProviderRepresentationFromJSONTyped(json, false); } export function ProviderRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderRepresentation { if ((json === undefined) || (json === null)) { return json; } return { 'operationalInfo': !exists(json, 'operationalInfo') ? undefined : json['operationalInfo'], 'order': !exists(json, 'order') ? undefined : json['order'], }; } export function ProviderRepresentationToJSON(value?: ProviderRepresentation | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'operationalInfo': value.operationalInfo, 'order': value.order, }; }