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