/* tslint:disable */ /* eslint-disable */ /** * Assisted Migration Agent API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * 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.js'; import type { VmInspectionConcern } from './VmInspectionConcern.js'; import { VmInspectionConcernFromJSON, VmInspectionConcernFromJSONTyped, VmInspectionConcernToJSON, VmInspectionConcernToJSONTyped, } from './VmInspectionConcern.js'; /** * VirtualMachine Inspection results * @export * @interface VmInspectionResults */ export interface VmInspectionResults { /** * * @type {Array} * @memberof VmInspectionResults */ concerns?: Array; } /** * Check if a given object implements the VmInspectionResults interface. */ export function instanceOfVmInspectionResults(value: object): value is VmInspectionResults { return true; } export function VmInspectionResultsFromJSON(json: any): VmInspectionResults { return VmInspectionResultsFromJSONTyped(json, false); } export function VmInspectionResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionResults { if (json == null) { return json; } return { 'concerns': json['concerns'] == null ? undefined : ((json['concerns'] as Array).map(VmInspectionConcernFromJSON)), }; } export function VmInspectionResultsToJSON(json: any): VmInspectionResults { return VmInspectionResultsToJSONTyped(json, false); } export function VmInspectionResultsToJSONTyped(value?: VmInspectionResults | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'concerns': value['concerns'] == null ? undefined : ((value['concerns'] as Array).map(VmInspectionConcernToJSON)), }; }