/* tslint:disable */ /* eslint-disable */ /** * KubeVirt API * This is KubeVirt API an add-on for Kubernetes. * * The version of the OpenAPI document: 1.0.0 * Contact: kubevirt-dev@googlegroups.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists } from '../runtime'; /** * * @export * @interface V1CustomProfile */ export interface V1CustomProfile { /** * * @type {string} * @memberof V1CustomProfile */ localhostProfile?: string; /** * * @type {boolean} * @memberof V1CustomProfile */ runtimeDefaultProfile?: boolean; } export function V1CustomProfileFromJSON(json: any): V1CustomProfile { return V1CustomProfileFromJSONTyped(json, false); } export function V1CustomProfileFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1CustomProfile { if (json === undefined || json === null) { return json; } return { localhostProfile: !exists(json, 'localhostProfile') ? undefined : json['localhostProfile'], runtimeDefaultProfile: !exists(json, 'runtimeDefaultProfile') ? undefined : json['runtimeDefaultProfile'], }; } export function V1CustomProfileToJSON(value?: V1CustomProfile | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { localhostProfile: value.localhostProfile, runtimeDefaultProfile: value.runtimeDefaultProfile, }; }