Switched kc_sdk to fetch
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
/* 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 {
|
||||
JsonNode,
|
||||
JsonNodeFromJSON,
|
||||
JsonNodeFromJSONTyped,
|
||||
JsonNodeToJSON,
|
||||
} from './';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ClientPolicyExecutorRepresentation
|
||||
*/
|
||||
export interface ClientPolicyExecutorRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {JsonNode}
|
||||
* @memberof ClientPolicyExecutorRepresentation
|
||||
*/
|
||||
_configuration?: JsonNode;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ClientPolicyExecutorRepresentation
|
||||
*/
|
||||
executor?: string;
|
||||
}
|
||||
|
||||
export function ClientPolicyExecutorRepresentationFromJSON(json: any): ClientPolicyExecutorRepresentation {
|
||||
return ClientPolicyExecutorRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ClientPolicyExecutorRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientPolicyExecutorRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'_configuration': !exists(json, 'configuration') ? undefined : JsonNodeFromJSON(json['configuration']),
|
||||
'executor': !exists(json, 'executor') ? undefined : json['executor'],
|
||||
};
|
||||
}
|
||||
|
||||
export function ClientPolicyExecutorRepresentationToJSON(value?: ClientPolicyExecutorRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'configuration': JsonNodeToJSON(value._configuration),
|
||||
'executor': value.executor,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user