/* 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 SystemInfoRepresentation */ export interface SystemInfoRepresentation { /** * * @type {string} * @memberof SystemInfoRepresentation */ fileEncoding?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ javaHome?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ javaRuntime?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ javaVendor?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ javaVersion?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ javaVm?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ javaVmVersion?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ osArchitecture?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ osName?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ osVersion?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ serverTime?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ uptime?: string; /** * * @type {number} * @memberof SystemInfoRepresentation */ uptimeMillis?: number; /** * * @type {string} * @memberof SystemInfoRepresentation */ userDir?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ userLocale?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ userName?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ userTimezone?: string; /** * * @type {string} * @memberof SystemInfoRepresentation */ version?: string; } export function SystemInfoRepresentationFromJSON(json: any): SystemInfoRepresentation { return SystemInfoRepresentationFromJSONTyped(json, false); } export function SystemInfoRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfoRepresentation { if ((json === undefined) || (json === null)) { return json; } return { 'fileEncoding': !exists(json, 'fileEncoding') ? undefined : json['fileEncoding'], 'javaHome': !exists(json, 'javaHome') ? undefined : json['javaHome'], 'javaRuntime': !exists(json, 'javaRuntime') ? undefined : json['javaRuntime'], 'javaVendor': !exists(json, 'javaVendor') ? undefined : json['javaVendor'], 'javaVersion': !exists(json, 'javaVersion') ? undefined : json['javaVersion'], 'javaVm': !exists(json, 'javaVm') ? undefined : json['javaVm'], 'javaVmVersion': !exists(json, 'javaVmVersion') ? undefined : json['javaVmVersion'], 'osArchitecture': !exists(json, 'osArchitecture') ? undefined : json['osArchitecture'], 'osName': !exists(json, 'osName') ? undefined : json['osName'], 'osVersion': !exists(json, 'osVersion') ? undefined : json['osVersion'], 'serverTime': !exists(json, 'serverTime') ? undefined : json['serverTime'], 'uptime': !exists(json, 'uptime') ? undefined : json['uptime'], 'uptimeMillis': !exists(json, 'uptimeMillis') ? undefined : json['uptimeMillis'], 'userDir': !exists(json, 'userDir') ? undefined : json['userDir'], 'userLocale': !exists(json, 'userLocale') ? undefined : json['userLocale'], 'userName': !exists(json, 'userName') ? undefined : json['userName'], 'userTimezone': !exists(json, 'userTimezone') ? undefined : json['userTimezone'], 'version': !exists(json, 'version') ? undefined : json['version'], }; } export function SystemInfoRepresentationToJSON(value?: SystemInfoRepresentation | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'fileEncoding': value.fileEncoding, 'javaHome': value.javaHome, 'javaRuntime': value.javaRuntime, 'javaVendor': value.javaVendor, 'javaVersion': value.javaVersion, 'javaVm': value.javaVm, 'javaVmVersion': value.javaVmVersion, 'osArchitecture': value.osArchitecture, 'osName': value.osName, 'osVersion': value.osVersion, 'serverTime': value.serverTime, 'uptime': value.uptime, 'uptimeMillis': value.uptimeMillis, 'userDir': value.userDir, 'userLocale': value.userLocale, 'userName': value.userName, 'userTimezone': value.userTimezone, 'version': value.version, }; }