/* 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 RootCauseDTO */ export interface RootCauseDTO { /** * * @type {Array} * @memberof RootCauseDTO */ listOfPaths?: Array; /** * * @type {string} * @memberof RootCauseDTO */ versionRange?: string; } /** * Check if a given object implements the RootCauseDTO interface. */ export function instanceOfRootCauseDTO(value: object): value is RootCauseDTO { return true; } export function RootCauseDTOFromJSON(json: any): RootCauseDTO { return RootCauseDTOFromJSONTyped(json, false); } export function RootCauseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RootCauseDTO { if (json == null) { return json; } return { 'listOfPaths': json['listOfPaths'] == null ? undefined : json['listOfPaths'], 'versionRange': json['versionRange'] == null ? undefined : json['versionRange'], }; } export function RootCauseDTOToJSON(json: any): RootCauseDTO { return RootCauseDTOToJSONTyped(json, false); } export function RootCauseDTOToJSONTyped(value?: RootCauseDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'listOfPaths': value['listOfPaths'], 'versionRange': value['versionRange'], }; }