/* 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 DownloadConfig */ export interface DownloadConfig { /** * * @type {string} * @memberof DownloadConfig */ iqCliUrl?: string; /** * * @type {string} * @memberof DownloadConfig */ iqCliVersion?: string; } /** * Check if a given object implements the DownloadConfig interface. */ export function instanceOfDownloadConfig(value: object): value is DownloadConfig { return true; } export function DownloadConfigFromJSON(json: any): DownloadConfig { return DownloadConfigFromJSONTyped(json, false); } export function DownloadConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): DownloadConfig { if (json == null) { return json; } return { 'iqCliUrl': json['iqCliUrl'] == null ? undefined : json['iqCliUrl'], 'iqCliVersion': json['iqCliVersion'] == null ? undefined : json['iqCliVersion'], }; } export function DownloadConfigToJSON(json: any): DownloadConfig { return DownloadConfigToJSONTyped(json, false); } export function DownloadConfigToJSONTyped(value?: DownloadConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'iqCliUrl': value['iqCliUrl'], 'iqCliVersion': value['iqCliVersion'], }; }