Switched kc_sdk to fetch
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
/* 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 ScopeMappingRepresentation
|
||||
*/
|
||||
export interface ScopeMappingRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ScopeMappingRepresentation
|
||||
*/
|
||||
client?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ScopeMappingRepresentation
|
||||
*/
|
||||
clientScope?: string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof ScopeMappingRepresentation
|
||||
*/
|
||||
roles?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ScopeMappingRepresentation
|
||||
*/
|
||||
self?: string;
|
||||
}
|
||||
|
||||
export function ScopeMappingRepresentationFromJSON(json: any): ScopeMappingRepresentation {
|
||||
return ScopeMappingRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ScopeMappingRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScopeMappingRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'client': !exists(json, 'client') ? undefined : json['client'],
|
||||
'clientScope': !exists(json, 'clientScope') ? undefined : json['clientScope'],
|
||||
'roles': !exists(json, 'roles') ? undefined : json['roles'],
|
||||
'self': !exists(json, 'self') ? undefined : json['self'],
|
||||
};
|
||||
}
|
||||
|
||||
export function ScopeMappingRepresentationToJSON(value?: ScopeMappingRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'client': value.client,
|
||||
'clientScope': value.clientScope,
|
||||
'roles': value.roles,
|
||||
'self': value.self,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user