106 lines
3.2 KiB
TypeScript
106 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 AuthenticationExecutionExportRepresentation
|
|
*/
|
|
export interface AuthenticationExecutionExportRepresentation {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionExportRepresentation
|
|
*/
|
|
authenticator?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionExportRepresentation
|
|
*/
|
|
authenticatorConfig?: string;
|
|
/**
|
|
*
|
|
* @type {boolean}
|
|
* @memberof AuthenticationExecutionExportRepresentation
|
|
*/
|
|
authenticatorFlow?: boolean;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionExportRepresentation
|
|
*/
|
|
flowAlias?: string;
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof AuthenticationExecutionExportRepresentation
|
|
*/
|
|
priority?: number;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AuthenticationExecutionExportRepresentation
|
|
*/
|
|
requirement?: string;
|
|
/**
|
|
*
|
|
* @type {boolean}
|
|
* @memberof AuthenticationExecutionExportRepresentation
|
|
*/
|
|
userSetupAllowed?: boolean;
|
|
}
|
|
|
|
export function AuthenticationExecutionExportRepresentationFromJSON(json: any): AuthenticationExecutionExportRepresentation {
|
|
return AuthenticationExecutionExportRepresentationFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function AuthenticationExecutionExportRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationExecutionExportRepresentation {
|
|
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'],
|
|
'flowAlias': !exists(json, 'flowAlias') ? undefined : json['flowAlias'],
|
|
'priority': !exists(json, 'priority') ? undefined : json['priority'],
|
|
'requirement': !exists(json, 'requirement') ? undefined : json['requirement'],
|
|
'userSetupAllowed': !exists(json, 'userSetupAllowed') ? undefined : json['userSetupAllowed'],
|
|
};
|
|
}
|
|
|
|
export function AuthenticationExecutionExportRepresentationToJSON(value?: AuthenticationExecutionExportRepresentation | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'authenticator': value.authenticator,
|
|
'authenticatorConfig': value.authenticatorConfig,
|
|
'authenticatorFlow': value.authenticatorFlow,
|
|
'flowAlias': value.flowAlias,
|
|
'priority': value.priority,
|
|
'requirement': value.requirement,
|
|
'userSetupAllowed': value.userSetupAllowed,
|
|
};
|
|
}
|
|
|
|
|