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 ClientPolicyConditionRepresentation
|
||||
*/
|
||||
export interface ClientPolicyConditionRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ClientPolicyConditionRepresentation
|
||||
*/
|
||||
condition?: string;
|
||||
/**
|
||||
*
|
||||
* @type {JsonNode}
|
||||
* @memberof ClientPolicyConditionRepresentation
|
||||
*/
|
||||
_configuration?: JsonNode;
|
||||
}
|
||||
|
||||
export function ClientPolicyConditionRepresentationFromJSON(json: any): ClientPolicyConditionRepresentation {
|
||||
return ClientPolicyConditionRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ClientPolicyConditionRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientPolicyConditionRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'condition': !exists(json, 'condition') ? undefined : json['condition'],
|
||||
'_configuration': !exists(json, 'configuration') ? undefined : JsonNodeFromJSON(json['configuration']),
|
||||
};
|
||||
}
|
||||
|
||||
export function ClientPolicyConditionRepresentationToJSON(value?: ClientPolicyConditionRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'condition': value.condition,
|
||||
'configuration': JsonNodeToJSON(value._configuration),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user