/* 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 ProxyConfig */ export interface ProxyConfig { /** * * @type {string} * @memberof ProxyConfig */ host?: string; } /** * Check if a given object implements the ProxyConfig interface. */ export function instanceOfProxyConfig(value: object): value is ProxyConfig { return true; } export function ProxyConfigFromJSON(json: any): ProxyConfig { return ProxyConfigFromJSONTyped(json, false); } export function ProxyConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProxyConfig { if (json == null) { return json; } return { 'host': json['host'] == null ? undefined : json['host'], }; } export function ProxyConfigToJSON(json: any): ProxyConfig { return ProxyConfigToJSONTyped(json, false); } export function ProxyConfigToJSONTyped(value?: ProxyConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'host': value['host'], }; }