/* 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 ApiComponentEvaluationRequestDTOV2 */ export interface ApiComponentEvaluationRequestDTOV2 { /** * * @type {Array} * @memberof ApiComponentEvaluationRequestDTOV2 */ components?: Array; } /** * Check if a given object implements the ApiComponentEvaluationRequestDTOV2 interface. */ export function instanceOfApiComponentEvaluationRequestDTOV2(value: object): value is ApiComponentEvaluationRequestDTOV2 { return true; } export function ApiComponentEvaluationRequestDTOV2FromJSON(json: any): ApiComponentEvaluationRequestDTOV2 { return ApiComponentEvaluationRequestDTOV2FromJSONTyped(json, false); } export function ApiComponentEvaluationRequestDTOV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiComponentEvaluationRequestDTOV2 { if (json == null) { return json; } return { 'components': json['components'] == null ? undefined : ((json['components'] as Array).map(ApiComponentDTOV2FromJSON)), }; } export function ApiComponentEvaluationRequestDTOV2ToJSON(json: any): ApiComponentEvaluationRequestDTOV2 { return ApiComponentEvaluationRequestDTOV2ToJSONTyped(json, false); } export function ApiComponentEvaluationRequestDTOV2ToJSONTyped(value?: ApiComponentEvaluationRequestDTOV2 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'components': value['components'] == null ? undefined : ((value['components'] as Array).map(ApiComponentDTOV2ToJSON)), }; }