Switched kc_sdk to fetch
This commit is contained in:
180
backend/keycloak/kc-client/models/ServerInfoRepresentation.ts
Normal file
180
backend/keycloak/kc-client/models/ServerInfoRepresentation.ts
Normal file
@@ -0,0 +1,180 @@
|
||||
/* 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 {
|
||||
MemoryInfoRepresentation,
|
||||
MemoryInfoRepresentationFromJSON,
|
||||
MemoryInfoRepresentationFromJSONTyped,
|
||||
MemoryInfoRepresentationToJSON,
|
||||
PasswordPolicyTypeRepresentation,
|
||||
PasswordPolicyTypeRepresentationFromJSON,
|
||||
PasswordPolicyTypeRepresentationFromJSONTyped,
|
||||
PasswordPolicyTypeRepresentationToJSON,
|
||||
ProfileInfoRepresentation,
|
||||
ProfileInfoRepresentationFromJSON,
|
||||
ProfileInfoRepresentationFromJSONTyped,
|
||||
ProfileInfoRepresentationToJSON,
|
||||
SystemInfoRepresentation,
|
||||
SystemInfoRepresentationFromJSON,
|
||||
SystemInfoRepresentationFromJSONTyped,
|
||||
SystemInfoRepresentationToJSON,
|
||||
} from './';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ServerInfoRepresentation
|
||||
*/
|
||||
export interface ServerInfoRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
builtinProtocolMappers?: { [key: string]: object; };
|
||||
/**
|
||||
*
|
||||
* @type {Array<{ [key: string]: object; }>}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
clientImporters?: Array<{ [key: string]: object; }>;
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
clientInstallations?: { [key: string]: object; };
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
componentTypes?: { [key: string]: object; };
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
enums?: { [key: string]: object; };
|
||||
/**
|
||||
*
|
||||
* @type {Array<{ [key: string]: object; }>}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
identityProviders?: Array<{ [key: string]: object; }>;
|
||||
/**
|
||||
*
|
||||
* @type {MemoryInfoRepresentation}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
memoryInfo?: MemoryInfoRepresentation;
|
||||
/**
|
||||
*
|
||||
* @type {Array<PasswordPolicyTypeRepresentation>}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
passwordPolicies?: Array<PasswordPolicyTypeRepresentation>;
|
||||
/**
|
||||
*
|
||||
* @type {ProfileInfoRepresentation}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
profileInfo?: ProfileInfoRepresentation;
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
protocolMapperTypes?: { [key: string]: object; };
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
providers?: { [key: string]: object; };
|
||||
/**
|
||||
*
|
||||
* @type {Array<{ [key: string]: object; }>}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
socialProviders?: Array<{ [key: string]: object; }>;
|
||||
/**
|
||||
*
|
||||
* @type {SystemInfoRepresentation}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
systemInfo?: SystemInfoRepresentation;
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: object; }}
|
||||
* @memberof ServerInfoRepresentation
|
||||
*/
|
||||
themes?: { [key: string]: object; };
|
||||
}
|
||||
|
||||
export function ServerInfoRepresentationFromJSON(json: any): ServerInfoRepresentation {
|
||||
return ServerInfoRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ServerInfoRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerInfoRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'builtinProtocolMappers': !exists(json, 'builtinProtocolMappers') ? undefined : json['builtinProtocolMappers'],
|
||||
'clientImporters': !exists(json, 'clientImporters') ? undefined : json['clientImporters'],
|
||||
'clientInstallations': !exists(json, 'clientInstallations') ? undefined : json['clientInstallations'],
|
||||
'componentTypes': !exists(json, 'componentTypes') ? undefined : json['componentTypes'],
|
||||
'enums': !exists(json, 'enums') ? undefined : json['enums'],
|
||||
'identityProviders': !exists(json, 'identityProviders') ? undefined : json['identityProviders'],
|
||||
'memoryInfo': !exists(json, 'memoryInfo') ? undefined : MemoryInfoRepresentationFromJSON(json['memoryInfo']),
|
||||
'passwordPolicies': !exists(json, 'passwordPolicies') ? undefined : ((json['passwordPolicies'] as Array<any>).map(PasswordPolicyTypeRepresentationFromJSON)),
|
||||
'profileInfo': !exists(json, 'profileInfo') ? undefined : ProfileInfoRepresentationFromJSON(json['profileInfo']),
|
||||
'protocolMapperTypes': !exists(json, 'protocolMapperTypes') ? undefined : json['protocolMapperTypes'],
|
||||
'providers': !exists(json, 'providers') ? undefined : json['providers'],
|
||||
'socialProviders': !exists(json, 'socialProviders') ? undefined : json['socialProviders'],
|
||||
'systemInfo': !exists(json, 'systemInfo') ? undefined : SystemInfoRepresentationFromJSON(json['systemInfo']),
|
||||
'themes': !exists(json, 'themes') ? undefined : json['themes'],
|
||||
};
|
||||
}
|
||||
|
||||
export function ServerInfoRepresentationToJSON(value?: ServerInfoRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'builtinProtocolMappers': value.builtinProtocolMappers,
|
||||
'clientImporters': value.clientImporters,
|
||||
'clientInstallations': value.clientInstallations,
|
||||
'componentTypes': value.componentTypes,
|
||||
'enums': value.enums,
|
||||
'identityProviders': value.identityProviders,
|
||||
'memoryInfo': MemoryInfoRepresentationToJSON(value.memoryInfo),
|
||||
'passwordPolicies': value.passwordPolicies === undefined ? undefined : ((value.passwordPolicies as Array<any>).map(PasswordPolicyTypeRepresentationToJSON)),
|
||||
'profileInfo': ProfileInfoRepresentationToJSON(value.profileInfo),
|
||||
'protocolMapperTypes': value.protocolMapperTypes,
|
||||
'providers': value.providers,
|
||||
'socialProviders': value.socialProviders,
|
||||
'systemInfo': SystemInfoRepresentationToJSON(value.systemInfo),
|
||||
'themes': value.themes,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user