/* 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 { ApiSecurityIssueDTO } from './ApiSecurityIssueDTO'; import { ApiSecurityIssueDTOFromJSON, ApiSecurityIssueDTOFromJSONTyped, ApiSecurityIssueDTOToJSON, ApiSecurityIssueDTOToJSONTyped, } from './ApiSecurityIssueDTO'; /** * * @export * @interface ApiSecurityDataDTO */ export interface ApiSecurityDataDTO { /** * * @type {Array} * @memberof ApiSecurityDataDTO */ securityIssues?: Array; } /** * Check if a given object implements the ApiSecurityDataDTO interface. */ export function instanceOfApiSecurityDataDTO(value: object): value is ApiSecurityDataDTO { return true; } export function ApiSecurityDataDTOFromJSON(json: any): ApiSecurityDataDTO { return ApiSecurityDataDTOFromJSONTyped(json, false); } export function ApiSecurityDataDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSecurityDataDTO { if (json == null) { return json; } return { 'securityIssues': json['securityIssues'] == null ? undefined : ((json['securityIssues'] as Array).map(ApiSecurityIssueDTOFromJSON)), }; } export function ApiSecurityDataDTOToJSON(json: any): ApiSecurityDataDTO { return ApiSecurityDataDTOToJSONTyped(json, false); } export function ApiSecurityDataDTOToJSONTyped(value?: ApiSecurityDataDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'securityIssues': value['securityIssues'] == null ? undefined : ((value['securityIssues'] as Array).map(ApiSecurityIssueDTOToJSON)), }; }