/* tslint:disable */ /* eslint-disable */ /** * KubeVirt Containerized Data Importer API * Containerized Data Importer for KubeVirt. * * 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 V1beta1PlatformOptions */ export interface V1beta1PlatformOptions { /** * Architecture specifies the image target CPU architecture * @type {string} * @memberof V1beta1PlatformOptions */ architecture?: string; } export function V1beta1PlatformOptionsFromJSON(json: any): V1beta1PlatformOptions { return V1beta1PlatformOptionsFromJSONTyped(json, false); } export function V1beta1PlatformOptionsFromJSONTyped( json: any, _ignoreDiscriminator: boolean, ): V1beta1PlatformOptions { if (json === undefined || json === null) { return json; } return { architecture: !exists(json, 'architecture') ? undefined : json['architecture'], }; } export function V1beta1PlatformOptionsToJSON(value?: V1beta1PlatformOptions | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { architecture: value.architecture, }; }