Switched kc_sdk to fetch
This commit is contained in:
65
backend/keycloak/kc-client/models/SpiInfoRepresentation.ts
Normal file
65
backend/keycloak/kc-client/models/SpiInfoRepresentation.ts
Normal file
@@ -0,0 +1,65 @@
|
||||
/* 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 SpiInfoRepresentation
|
||||
*/
|
||||
export interface SpiInfoRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof SpiInfoRepresentation
|
||||
*/
|
||||
internal?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof SpiInfoRepresentation
|
||||
*/
|
||||
providers?: { [key: string]: object; };
|
||||
}
|
||||
|
||||
export function SpiInfoRepresentationFromJSON(json: any): SpiInfoRepresentation {
|
||||
return SpiInfoRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function SpiInfoRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpiInfoRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'internal': !exists(json, 'internal') ? undefined : json['internal'],
|
||||
'providers': !exists(json, 'providers') ? undefined : json['providers'],
|
||||
};
|
||||
}
|
||||
|
||||
export function SpiInfoRepresentationToJSON(value?: SpiInfoRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'internal': value.internal,
|
||||
'providers': value.providers,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user