/* 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 InnerSourceData */ export interface InnerSourceData { /** * * @type {string} * @memberof InnerSourceData */ innerSourceComponentPurl?: string; /** * * @type {string} * @memberof InnerSourceData */ ownerApplicationId?: string; /** * * @type {string} * @memberof InnerSourceData */ ownerApplicationName?: string; } /** * Check if a given object implements the InnerSourceData interface. */ export function instanceOfInnerSourceData(value: object): value is InnerSourceData { return true; } export function InnerSourceDataFromJSON(json: any): InnerSourceData { return InnerSourceDataFromJSONTyped(json, false); } export function InnerSourceDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): InnerSourceData { if (json == null) { return json; } return { 'innerSourceComponentPurl': json['innerSourceComponentPurl'] == null ? undefined : json['innerSourceComponentPurl'], 'ownerApplicationId': json['ownerApplicationId'] == null ? undefined : json['ownerApplicationId'], 'ownerApplicationName': json['ownerApplicationName'] == null ? undefined : json['ownerApplicationName'], }; } export function InnerSourceDataToJSON(json: any): InnerSourceData { return InnerSourceDataToJSONTyped(json, false); } export function InnerSourceDataToJSONTyped(value?: InnerSourceData | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'innerSourceComponentPurl': value['innerSourceComponentPurl'], 'ownerApplicationId': value['ownerApplicationId'], 'ownerApplicationName': value['ownerApplicationName'], }; }