/* 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 AuthenticationExecutionInfoRepresentation */ export interface AuthenticationExecutionInfoRepresentation { /** * * @type {string} * @memberof AuthenticationExecutionInfoRepresentation */ alias?: string; /** * * @type {string} * @memberof AuthenticationExecutionInfoRepresentation */ authenticationConfig?: string; /** * * @type {boolean} * @memberof AuthenticationExecutionInfoRepresentation */ authenticationFlow?: boolean; /** * * @type {boolean} * @memberof AuthenticationExecutionInfoRepresentation */ configurable?: boolean; /** * * @type {string} * @memberof AuthenticationExecutionInfoRepresentation */ description?: string; /** * * @type {string} * @memberof AuthenticationExecutionInfoRepresentation */ displayName?: string; /** * * @type {string} * @memberof AuthenticationExecutionInfoRepresentation */ flowId?: string; /** * * @type {string} * @memberof AuthenticationExecutionInfoRepresentation */ id?: string; /** * * @type {number} * @memberof AuthenticationExecutionInfoRepresentation */ index?: number; /** * * @type {number} * @memberof AuthenticationExecutionInfoRepresentation */ level?: number; /** * * @type {string} * @memberof AuthenticationExecutionInfoRepresentation */ providerId?: string; /** * * @type {string} * @memberof AuthenticationExecutionInfoRepresentation */ requirement?: string; /** * * @type {Array} * @memberof AuthenticationExecutionInfoRepresentation */ requirementChoices?: Array; } export function AuthenticationExecutionInfoRepresentationFromJSON(json: any): AuthenticationExecutionInfoRepresentation { return AuthenticationExecutionInfoRepresentationFromJSONTyped(json, false); } export function AuthenticationExecutionInfoRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationExecutionInfoRepresentation { if ((json === undefined) || (json === null)) { return json; } return { 'alias': !exists(json, 'alias') ? undefined : json['alias'], 'authenticationConfig': !exists(json, 'authenticationConfig') ? undefined : json['authenticationConfig'], 'authenticationFlow': !exists(json, 'authenticationFlow') ? undefined : json['authenticationFlow'], 'configurable': !exists(json, 'configurable') ? undefined : json['configurable'], 'description': !exists(json, 'description') ? undefined : json['description'], 'displayName': !exists(json, 'displayName') ? undefined : json['displayName'], 'flowId': !exists(json, 'flowId') ? undefined : json['flowId'], 'id': !exists(json, 'id') ? undefined : json['id'], 'index': !exists(json, 'index') ? undefined : json['index'], 'level': !exists(json, 'level') ? undefined : json['level'], 'providerId': !exists(json, 'providerId') ? undefined : json['providerId'], 'requirement': !exists(json, 'requirement') ? undefined : json['requirement'], 'requirementChoices': !exists(json, 'requirementChoices') ? undefined : json['requirementChoices'], }; } export function AuthenticationExecutionInfoRepresentationToJSON(value?: AuthenticationExecutionInfoRepresentation | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'alias': value.alias, 'authenticationConfig': value.authenticationConfig, 'authenticationFlow': value.authenticationFlow, 'configurable': value.configurable, 'description': value.description, 'displayName': value.displayName, 'flowId': value.flowId, 'id': value.id, 'index': value.index, 'level': value.level, 'providerId': value.providerId, 'requirement': value.requirement, 'requirementChoices': value.requirementChoices, }; }