/* 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'; /** * * @export * @interface ApiMatchStateSummaryDTOV2 */ export interface ApiMatchStateSummaryDTOV2 { /** * * @type {number} * @memberof ApiMatchStateSummaryDTOV2 */ knownComponentCount?: number; /** * * @type {number} * @memberof ApiMatchStateSummaryDTOV2 */ totalComponentCount?: number; } /** * Check if a given object implements the ApiMatchStateSummaryDTOV2 interface. */ export function instanceOfApiMatchStateSummaryDTOV2(value: object): value is ApiMatchStateSummaryDTOV2 { return true; } export function ApiMatchStateSummaryDTOV2FromJSON(json: any): ApiMatchStateSummaryDTOV2 { return ApiMatchStateSummaryDTOV2FromJSONTyped(json, false); } export function ApiMatchStateSummaryDTOV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiMatchStateSummaryDTOV2 { if (json == null) { return json; } return { 'knownComponentCount': json['knownComponentCount'] == null ? undefined : json['knownComponentCount'], 'totalComponentCount': json['totalComponentCount'] == null ? undefined : json['totalComponentCount'], }; } export function ApiMatchStateSummaryDTOV2ToJSON(json: any): ApiMatchStateSummaryDTOV2 { return ApiMatchStateSummaryDTOV2ToJSONTyped(json, false); } export function ApiMatchStateSummaryDTOV2ToJSONTyped(value?: ApiMatchStateSummaryDTOV2 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'knownComponentCount': value['knownComponentCount'], 'totalComponentCount': value['totalComponentCount'], }; }