98 lines
3.2 KiB
TypeScript
98 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 ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation
|
|
*/
|
|
export interface ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation
|
|
*/
|
|
containerId?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation
|
|
*/
|
|
containerName?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation
|
|
*/
|
|
containerType?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation
|
|
*/
|
|
mapperId?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation
|
|
*/
|
|
mapperName?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation
|
|
*/
|
|
protocolMapper?: string;
|
|
}
|
|
|
|
export function ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentationFromJSON(json: any): ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation {
|
|
return ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentationFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'containerId': !exists(json, 'containerId') ? undefined : json['containerId'],
|
|
'containerName': !exists(json, 'containerName') ? undefined : json['containerName'],
|
|
'containerType': !exists(json, 'containerType') ? undefined : json['containerType'],
|
|
'mapperId': !exists(json, 'mapperId') ? undefined : json['mapperId'],
|
|
'mapperName': !exists(json, 'mapperName') ? undefined : json['mapperName'],
|
|
'protocolMapper': !exists(json, 'protocolMapper') ? undefined : json['protocolMapper'],
|
|
};
|
|
}
|
|
|
|
export function ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentationToJSON(value?: ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'containerId': value.containerId,
|
|
'containerName': value.containerName,
|
|
'containerType': value.containerType,
|
|
'mapperId': value.mapperId,
|
|
'mapperName': value.mapperName,
|
|
'protocolMapper': value.protocolMapper,
|
|
};
|
|
}
|
|
|
|
|