/* 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 { ApiMalwareComponentEvaluationRequest } from './ApiMalwareComponentEvaluationRequest'; import { ApiMalwareComponentEvaluationRequestFromJSON, ApiMalwareComponentEvaluationRequestFromJSONTyped, ApiMalwareComponentEvaluationRequestToJSON, ApiMalwareComponentEvaluationRequestToJSONTyped, } from './ApiMalwareComponentEvaluationRequest'; /** * * @export * @interface ApiMalwareComponentEvaluationRequestList */ export interface ApiMalwareComponentEvaluationRequestList { /** * * @type {Array} * @memberof ApiMalwareComponentEvaluationRequestList */ components?: Array; /** * * @type {string} * @memberof ApiMalwareComponentEvaluationRequestList */ format?: string; } /** * Check if a given object implements the ApiMalwareComponentEvaluationRequestList interface. */ export function instanceOfApiMalwareComponentEvaluationRequestList(value: object): value is ApiMalwareComponentEvaluationRequestList { return true; } export function ApiMalwareComponentEvaluationRequestListFromJSON(json: any): ApiMalwareComponentEvaluationRequestList { return ApiMalwareComponentEvaluationRequestListFromJSONTyped(json, false); } export function ApiMalwareComponentEvaluationRequestListFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiMalwareComponentEvaluationRequestList { if (json == null) { return json; } return { 'components': json['components'] == null ? undefined : ((json['components'] as Array).map(ApiMalwareComponentEvaluationRequestFromJSON)), 'format': json['format'] == null ? undefined : json['format'], }; } export function ApiMalwareComponentEvaluationRequestListToJSON(json: any): ApiMalwareComponentEvaluationRequestList { return ApiMalwareComponentEvaluationRequestListToJSONTyped(json, false); } export function ApiMalwareComponentEvaluationRequestListToJSONTyped(value?: ApiMalwareComponentEvaluationRequestList | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'components': value['components'] == null ? undefined : ((value['components'] as Array).map(ApiMalwareComponentEvaluationRequestToJSON)), 'format': value['format'], }; }