/* 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 ApiMoveApplicationResponseDTOV2 */ export interface ApiMoveApplicationResponseDTOV2 { /** * * @type {Array} * @memberof ApiMoveApplicationResponseDTOV2 */ errors?: Array; /** * * @type {Array} * @memberof ApiMoveApplicationResponseDTOV2 */ warnings?: Array; } /** * Check if a given object implements the ApiMoveApplicationResponseDTOV2 interface. */ export function instanceOfApiMoveApplicationResponseDTOV2(value: object): value is ApiMoveApplicationResponseDTOV2 { return true; } export function ApiMoveApplicationResponseDTOV2FromJSON(json: any): ApiMoveApplicationResponseDTOV2 { return ApiMoveApplicationResponseDTOV2FromJSONTyped(json, false); } export function ApiMoveApplicationResponseDTOV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiMoveApplicationResponseDTOV2 { if (json == null) { return json; } return { 'errors': json['errors'] == null ? undefined : json['errors'], 'warnings': json['warnings'] == null ? undefined : json['warnings'], }; } export function ApiMoveApplicationResponseDTOV2ToJSON(json: any): ApiMoveApplicationResponseDTOV2 { return ApiMoveApplicationResponseDTOV2ToJSONTyped(json, false); } export function ApiMoveApplicationResponseDTOV2ToJSONTyped(value?: ApiMoveApplicationResponseDTOV2 | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'errors': value['errors'], 'warnings': value['warnings'], }; }