/* 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 { ApiApplicationDTO } from './ApiApplicationDTO'; import { ApiApplicationDTOFromJSON, ApiApplicationDTOFromJSONTyped, ApiApplicationDTOToJSON, ApiApplicationDTOToJSONTyped, } from './ApiApplicationDTO'; /** * * @export * @interface ApiApplicationListDTO */ export interface ApiApplicationListDTO { /** * * @type {Array} * @memberof ApiApplicationListDTO */ applications?: Array; } /** * Check if a given object implements the ApiApplicationListDTO interface. */ export function instanceOfApiApplicationListDTO(value: object): value is ApiApplicationListDTO { return true; } export function ApiApplicationListDTOFromJSON(json: any): ApiApplicationListDTO { return ApiApplicationListDTOFromJSONTyped(json, false); } export function ApiApplicationListDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiApplicationListDTO { if (json == null) { return json; } return { 'applications': json['applications'] == null ? undefined : ((json['applications'] as Array).map(ApiApplicationDTOFromJSON)), }; } export function ApiApplicationListDTOToJSON(json: any): ApiApplicationListDTO { return ApiApplicationListDTOToJSONTyped(json, false); } export function ApiApplicationListDTOToJSONTyped(value?: ApiApplicationListDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'applications': value['applications'] == null ? undefined : ((value['applications'] as Array).map(ApiApplicationDTOToJSON)), }; }