114 lines
3.2 KiB
TypeScript
114 lines
3.2 KiB
TypeScript
/* 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 AuthenticationExecutionRepresentation
|
|
*/
|
|
export interface AuthenticationExecutionRepresentation {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionRepresentation
|
|
*/
|
|
authenticator?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionRepresentation
|
|
*/
|
|
authenticatorConfig?: string;
|
|
/**
|
|
*
|
|
* @type {boolean}
|
|
* @memberof AuthenticationExecutionRepresentation
|
|
*/
|
|
authenticatorFlow?: boolean;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionRepresentation
|
|
*/
|
|
flowId?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionRepresentation
|
|
*/
|
|
id?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionRepresentation
|
|
*/
|
|
parentFlow?: string;
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof AuthenticationExecutionRepresentation
|
|
*/
|
|
priority?: number;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionRepresentation
|
|
*/
|
|
requirement?: string;
|
|
}
|
|
|
|
export function AuthenticationExecutionRepresentationFromJSON(json: any): AuthenticationExecutionRepresentation {
|
|
return AuthenticationExecutionRepresentationFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function AuthenticationExecutionRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationExecutionRepresentation {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'authenticator': !exists(json, 'authenticator') ? undefined : json['authenticator'],
|
|
'authenticatorConfig': !exists(json, 'authenticatorConfig') ? undefined : json['authenticatorConfig'],
|
|
'authenticatorFlow': !exists(json, 'authenticatorFlow') ? undefined : json['authenticatorFlow'],
|
|
'flowId': !exists(json, 'flowId') ? undefined : json['flowId'],
|
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
'parentFlow': !exists(json, 'parentFlow') ? undefined : json['parentFlow'],
|
|
'priority': !exists(json, 'priority') ? undefined : json['priority'],
|
|
'requirement': !exists(json, 'requirement') ? undefined : json['requirement'],
|
|
};
|
|
}
|
|
|
|
export function AuthenticationExecutionRepresentationToJSON(value?: AuthenticationExecutionRepresentation | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'authenticator': value.authenticator,
|
|
'authenticatorConfig': value.authenticatorConfig,
|
|
'authenticatorFlow': value.authenticatorFlow,
|
|
'flowId': value.flowId,
|
|
'id': value.id,
|
|
'parentFlow': value.parentFlow,
|
|
'priority': value.priority,
|
|
'requirement': value.requirement,
|
|
};
|
|
}
|
|
|
|
|