/* 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 ScanHealthConfigDTO */ export interface ScanHealthConfigDTO { /** * * @type {boolean} * @memberof ScanHealthConfigDTO */ failOnZeroComponents?: boolean; } /** * Check if a given object implements the ScanHealthConfigDTO interface. */ export function instanceOfScanHealthConfigDTO(value: object): value is ScanHealthConfigDTO { return true; } export function ScanHealthConfigDTOFromJSON(json: any): ScanHealthConfigDTO { return ScanHealthConfigDTOFromJSONTyped(json, false); } export function ScanHealthConfigDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScanHealthConfigDTO { if (json == null) { return json; } return { 'failOnZeroComponents': json['failOnZeroComponents'] == null ? undefined : json['failOnZeroComponents'], }; } export function ScanHealthConfigDTOToJSON(json: any): ScanHealthConfigDTO { return ScanHealthConfigDTOToJSONTyped(json, false); } export function ScanHealthConfigDTOToJSONTyped(value?: ScanHealthConfigDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'failOnZeroComponents': value['failOnZeroComponents'], }; }