Switched kc_sdk to fetch
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
/* 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';
|
||||
import {
|
||||
ConfigPropertyRepresentation,
|
||||
ConfigPropertyRepresentationFromJSON,
|
||||
ConfigPropertyRepresentationFromJSONTyped,
|
||||
ConfigPropertyRepresentationToJSON,
|
||||
} from './';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface AuthenticatorConfigInfoRepresentation
|
||||
*/
|
||||
export interface AuthenticatorConfigInfoRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AuthenticatorConfigInfoRepresentation
|
||||
*/
|
||||
helpText?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AuthenticatorConfigInfoRepresentation
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<ConfigPropertyRepresentation>}
|
||||
* @memberof AuthenticatorConfigInfoRepresentation
|
||||
*/
|
||||
properties?: Array<ConfigPropertyRepresentation>;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AuthenticatorConfigInfoRepresentation
|
||||
*/
|
||||
providerId?: string;
|
||||
}
|
||||
|
||||
export function AuthenticatorConfigInfoRepresentationFromJSON(json: any): AuthenticatorConfigInfoRepresentation {
|
||||
return AuthenticatorConfigInfoRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function AuthenticatorConfigInfoRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorConfigInfoRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'helpText': !exists(json, 'helpText') ? undefined : json['helpText'],
|
||||
'name': !exists(json, 'name') ? undefined : json['name'],
|
||||
'properties': !exists(json, 'properties') ? undefined : ((json['properties'] as Array<any>).map(ConfigPropertyRepresentationFromJSON)),
|
||||
'providerId': !exists(json, 'providerId') ? undefined : json['providerId'],
|
||||
};
|
||||
}
|
||||
|
||||
export function AuthenticatorConfigInfoRepresentationToJSON(value?: AuthenticatorConfigInfoRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'helpText': value.helpText,
|
||||
'name': value.name,
|
||||
'properties': value.properties === undefined ? undefined : ((value.properties as Array<any>).map(ConfigPropertyRepresentationToJSON)),
|
||||
'providerId': value.providerId,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user