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