/* tslint:disable */ /* eslint-disable */ /** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface SystemConfig */ export interface SystemConfig { /** * * @type {string} * @memberof SystemConfig */ baseUrl?: string | null; /** * * @type {boolean} * @memberof SystemConfig */ forceBaseUrl?: boolean | null; } /** * Check if a given object implements the SystemConfig interface. */ export function instanceOfSystemConfig(value: object): value is SystemConfig { return true; } export function SystemConfigFromJSON(json: any): SystemConfig { return SystemConfigFromJSONTyped(json, false); } export function SystemConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemConfig { if (json == null) { return json; } return { 'baseUrl': json['baseUrl'] == null ? undefined : json['baseUrl'], 'forceBaseUrl': json['forceBaseUrl'] == null ? undefined : json['forceBaseUrl'], }; } export function SystemConfigToJSON(json: any): SystemConfig { return SystemConfigToJSONTyped(json, false); } export function SystemConfigToJSONTyped(value?: SystemConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'baseUrl': value['baseUrl'], 'forceBaseUrl': value['forceBaseUrl'], }; }