/* 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 ApiRepositoryComponentPath */ export interface ApiRepositoryComponentPath { /** * * @type {string} * @memberof ApiRepositoryComponentPath */ pathname?: string; /** * * @type {boolean} * @memberof ApiRepositoryComponentPath */ quarantine?: boolean; } /** * Check if a given object implements the ApiRepositoryComponentPath interface. */ export function instanceOfApiRepositoryComponentPath(value: object): value is ApiRepositoryComponentPath { return true; } export function ApiRepositoryComponentPathFromJSON(json: any): ApiRepositoryComponentPath { return ApiRepositoryComponentPathFromJSONTyped(json, false); } export function ApiRepositoryComponentPathFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiRepositoryComponentPath { if (json == null) { return json; } return { 'pathname': json['pathname'] == null ? undefined : json['pathname'], 'quarantine': json['quarantine'] == null ? undefined : json['quarantine'], }; } export function ApiRepositoryComponentPathToJSON(json: any): ApiRepositoryComponentPath { return ApiRepositoryComponentPathToJSONTyped(json, false); } export function ApiRepositoryComponentPathToJSONTyped(value?: ApiRepositoryComponentPath | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'pathname': value['pathname'], 'quarantine': value['quarantine'], }; }