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