/* 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'; import type { ApiRepositoryComponentsInQuarantineDTO } from './ApiRepositoryComponentsInQuarantineDTO'; import { ApiRepositoryComponentsInQuarantineDTOFromJSON, ApiRepositoryComponentsInQuarantineDTOFromJSONTyped, ApiRepositoryComponentsInQuarantineDTOToJSON, ApiRepositoryComponentsInQuarantineDTOToJSONTyped, } from './ApiRepositoryComponentsInQuarantineDTO'; /** * * @export * @interface ApiComponentsInQuarantineDTO */ export interface ApiComponentsInQuarantineDTO { /** * * @type {Array} * @memberof ApiComponentsInQuarantineDTO */ componentsInQuarantine?: Array; } /** * Check if a given object implements the ApiComponentsInQuarantineDTO interface. */ export function instanceOfApiComponentsInQuarantineDTO(value: object): value is ApiComponentsInQuarantineDTO { return true; } export function ApiComponentsInQuarantineDTOFromJSON(json: any): ApiComponentsInQuarantineDTO { return ApiComponentsInQuarantineDTOFromJSONTyped(json, false); } export function ApiComponentsInQuarantineDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiComponentsInQuarantineDTO { if (json == null) { return json; } return { 'componentsInQuarantine': json['componentsInQuarantine'] == null ? undefined : ((json['componentsInQuarantine'] as Array).map(ApiRepositoryComponentsInQuarantineDTOFromJSON)), }; } export function ApiComponentsInQuarantineDTOToJSON(json: any): ApiComponentsInQuarantineDTO { return ApiComponentsInQuarantineDTOToJSONTyped(json, false); } export function ApiComponentsInQuarantineDTOToJSONTyped(value?: ApiComponentsInQuarantineDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'componentsInQuarantine': value['componentsInQuarantine'] == null ? undefined : ((value['componentsInQuarantine'] as Array).map(ApiRepositoryComponentsInQuarantineDTOToJSON)), }; }