/* 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'; /** * Represents the structure of vm-migration-detective library inspection concerns * @export * @interface VmInspectionConcern */ export interface VmInspectionConcern { /** * Short label identifying the concern * @type {string} * @memberof VmInspectionConcern */ label: string; /** * * @type {string} * @memberof VmInspectionConcern */ message: string; /** * * @type {string} * @memberof VmInspectionConcern */ category: string; } /** * Check if a given object implements the VmInspectionConcern interface. */ export function instanceOfVmInspectionConcern(value: object): value is VmInspectionConcern { if (!('label' in value) || value['label'] === undefined) return false; if (!('message' in value) || value['message'] === undefined) return false; if (!('category' in value) || value['category'] === undefined) return false; return true; } export function VmInspectionConcernFromJSON(json: any): VmInspectionConcern { return VmInspectionConcernFromJSONTyped(json, false); } export function VmInspectionConcernFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionConcern { if (json == null) { return json; } return { 'label': json['label'], 'message': json['message'], 'category': json['category'], }; } export function VmInspectionConcernToJSON(json: any): VmInspectionConcern { return VmInspectionConcernToJSONTyped(json, false); } export function VmInspectionConcernToJSONTyped(value?: VmInspectionConcern | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'label': value['label'], 'message': value['message'], 'category': value['category'], }; }