/* 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 CweIdDTO */ export interface CweIdDTO { /** * * @type {string} * @memberof CweIdDTO */ id?: string; /** * * @type {string} * @memberof CweIdDTO */ uri?: string; } /** * Check if a given object implements the CweIdDTO interface. */ export function instanceOfCweIdDTO(value: object): value is CweIdDTO { return true; } export function CweIdDTOFromJSON(json: any): CweIdDTO { return CweIdDTOFromJSONTyped(json, false); } export function CweIdDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CweIdDTO { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'uri': json['uri'] == null ? undefined : json['uri'], }; } export function CweIdDTOToJSON(json: any): CweIdDTO { return CweIdDTOToJSONTyped(json, false); } export function CweIdDTOToJSONTyped(value?: CweIdDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'id': value['id'], 'uri': value['uri'], }; }