/* 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 { ApiComponentDTOV2 } from './ApiComponentDTOV2'; import { ApiComponentDTOV2FromJSON, ApiComponentDTOV2FromJSONTyped, ApiComponentDTOV2ToJSON, ApiComponentDTOV2ToJSONTyped, } from './ApiComponentDTOV2'; /** * * @export * @interface ApiBulkComponentRemediationRequestDTO */ export interface ApiBulkComponentRemediationRequestDTO { /** * * @type {Array} * @memberof ApiBulkComponentRemediationRequestDTO */ components?: Array; } /** * Check if a given object implements the ApiBulkComponentRemediationRequestDTO interface. */ export function instanceOfApiBulkComponentRemediationRequestDTO(value: object): value is ApiBulkComponentRemediationRequestDTO { return true; } export function ApiBulkComponentRemediationRequestDTOFromJSON(json: any): ApiBulkComponentRemediationRequestDTO { return ApiBulkComponentRemediationRequestDTOFromJSONTyped(json, false); } export function ApiBulkComponentRemediationRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiBulkComponentRemediationRequestDTO { if (json == null) { return json; } return { 'components': json['components'] == null ? undefined : ((json['components'] as Array).map(ApiComponentDTOV2FromJSON)), }; } export function ApiBulkComponentRemediationRequestDTOToJSON(json: any): ApiBulkComponentRemediationRequestDTO { return ApiBulkComponentRemediationRequestDTOToJSONTyped(json, false); } export function ApiBulkComponentRemediationRequestDTOToJSONTyped(value?: ApiBulkComponentRemediationRequestDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'components': value['components'] == null ? undefined : ((value['components'] as Array).map(ApiComponentDTOV2ToJSON)), }; }