/* 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 ApiComponentIdentifierDTOV2 */ export interface ApiComponentIdentifierDTOV2 { /** * * @type {{ [key: string]: string; }} * @memberof ApiComponentIdentifierDTOV2 */ coordinates?: { [key: string]: string; }; /** * * @type {string} * @memberof ApiComponentIdentifierDTOV2 */ format?: string; } /** * Check if a given object implements the ApiComponentIdentifierDTOV2 interface. */ export function instanceOfApiComponentIdentifierDTOV2(value: object): value is ApiComponentIdentifierDTOV2 { return true; } export function ApiComponentIdentifierDTOV2FromJSON(json: any): ApiComponentIdentifierDTOV2 { return ApiComponentIdentifierDTOV2FromJSONTyped(json, false); } export function ApiComponentIdentifierDTOV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiComponentIdentifierDTOV2 { if (json == null) { return json; } return { 'coordinates': json['coordinates'] == null ? undefined : json['coordinates'], 'format': json['format'] == null ? undefined : json['format'], }; } export function ApiComponentIdentifierDTOV2ToJSON(json: any): ApiComponentIdentifierDTOV2 { return ApiComponentIdentifierDTOV2ToJSONTyped(json, false); } export function ApiComponentIdentifierDTOV2ToJSONTyped(value?: ApiComponentIdentifierDTOV2 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'coordinates': value['coordinates'], 'format': value['format'], }; }