/* 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'; import type { ApiHashComponentIdentifierDTO } from './ApiHashComponentIdentifierDTO'; import { ApiHashComponentIdentifierDTOFromJSON, ApiHashComponentIdentifierDTOFromJSONTyped, ApiHashComponentIdentifierDTOToJSON, ApiHashComponentIdentifierDTOToJSONTyped, } from './ApiHashComponentIdentifierDTO'; /** * * @export * @interface ApiHashComponentIdentifiersDTO */ export interface ApiHashComponentIdentifiersDTO { /** * * @type {Array} * @memberof ApiHashComponentIdentifiersDTO */ componentClaims?: Array; } /** * Check if a given object implements the ApiHashComponentIdentifiersDTO interface. */ export function instanceOfApiHashComponentIdentifiersDTO(value: object): value is ApiHashComponentIdentifiersDTO { return true; } export function ApiHashComponentIdentifiersDTOFromJSON(json: any): ApiHashComponentIdentifiersDTO { return ApiHashComponentIdentifiersDTOFromJSONTyped(json, false); } export function ApiHashComponentIdentifiersDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiHashComponentIdentifiersDTO { if (json == null) { return json; } return { 'componentClaims': json['componentClaims'] == null ? undefined : ((json['componentClaims'] as Array).map(ApiHashComponentIdentifierDTOFromJSON)), }; } export function ApiHashComponentIdentifiersDTOToJSON(json: any): ApiHashComponentIdentifiersDTO { return ApiHashComponentIdentifiersDTOToJSONTyped(json, false); } export function ApiHashComponentIdentifiersDTOToJSONTyped(value?: ApiHashComponentIdentifiersDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'componentClaims': value['componentClaims'] == null ? undefined : ((value['componentClaims'] as Array).map(ApiHashComponentIdentifierDTOToJSON)), }; }