Switched kc_sdk to fetch
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
/* 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 {
|
||||
ClientPolicyRepresentation,
|
||||
ClientPolicyRepresentationFromJSON,
|
||||
ClientPolicyRepresentationFromJSONTyped,
|
||||
ClientPolicyRepresentationToJSON,
|
||||
} from './';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ClientPoliciesRepresentation
|
||||
*/
|
||||
export interface ClientPoliciesRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {Array<ClientPolicyRepresentation>}
|
||||
* @memberof ClientPoliciesRepresentation
|
||||
*/
|
||||
policies?: Array<ClientPolicyRepresentation>;
|
||||
}
|
||||
|
||||
export function ClientPoliciesRepresentationFromJSON(json: any): ClientPoliciesRepresentation {
|
||||
return ClientPoliciesRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ClientPoliciesRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientPoliciesRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'policies': !exists(json, 'policies') ? undefined : ((json['policies'] as Array<any>).map(ClientPolicyRepresentationFromJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
export function ClientPoliciesRepresentationToJSON(value?: ClientPoliciesRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'policies': value.policies === undefined ? undefined : ((value.policies as Array<any>).map(ClientPolicyRepresentationToJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user