Switched kc_sdk to fetch
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
/* 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 AuthenticatorConfigRepresentation
|
||||
*/
|
||||
export interface AuthenticatorConfigRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AuthenticatorConfigRepresentation
|
||||
*/
|
||||
alias?: string;
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof AuthenticatorConfigRepresentation
|
||||
*/
|
||||
config?: { [key: string]: object; };
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AuthenticatorConfigRepresentation
|
||||
*/
|
||||
id?: string;
|
||||
}
|
||||
|
||||
export function AuthenticatorConfigRepresentationFromJSON(json: any): AuthenticatorConfigRepresentation {
|
||||
return AuthenticatorConfigRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function AuthenticatorConfigRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorConfigRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
||||
'config': !exists(json, 'config') ? undefined : json['config'],
|
||||
'id': !exists(json, 'id') ? undefined : json['id'],
|
||||
};
|
||||
}
|
||||
|
||||
export function AuthenticatorConfigRepresentationToJSON(value?: AuthenticatorConfigRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'alias': value.alias,
|
||||
'config': value.config,
|
||||
'id': value.id,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user