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 {
|
||||
ClientProfileRepresentation,
|
||||
ClientProfileRepresentationFromJSON,
|
||||
ClientProfileRepresentationFromJSONTyped,
|
||||
ClientProfileRepresentationToJSON,
|
||||
} from './';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ClientProfilesRepresentation
|
||||
*/
|
||||
export interface ClientProfilesRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {Array<ClientProfileRepresentation>}
|
||||
* @memberof ClientProfilesRepresentation
|
||||
*/
|
||||
globalProfiles?: Array<ClientProfileRepresentation>;
|
||||
/**
|
||||
*
|
||||
* @type {Array<ClientProfileRepresentation>}
|
||||
* @memberof ClientProfilesRepresentation
|
||||
*/
|
||||
profiles?: Array<ClientProfileRepresentation>;
|
||||
}
|
||||
|
||||
export function ClientProfilesRepresentationFromJSON(json: any): ClientProfilesRepresentation {
|
||||
return ClientProfilesRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ClientProfilesRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientProfilesRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'globalProfiles': !exists(json, 'globalProfiles') ? undefined : ((json['globalProfiles'] as Array<any>).map(ClientProfileRepresentationFromJSON)),
|
||||
'profiles': !exists(json, 'profiles') ? undefined : ((json['profiles'] as Array<any>).map(ClientProfileRepresentationFromJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
export function ClientProfilesRepresentationToJSON(value?: ClientProfilesRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'globalProfiles': value.globalProfiles === undefined ? undefined : ((value.globalProfiles as Array<any>).map(ClientProfileRepresentationToJSON)),
|
||||
'profiles': value.profiles === undefined ? undefined : ((value.profiles as Array<any>).map(ClientProfileRepresentationToJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user