UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

45 lines 1.62 kB
/* tslint:disable */ /* eslint-disable */ /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * 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 function IoK8sApiStoragemigrationV1alpha1MigrationConditionFromJSON(json) { return IoK8sApiStoragemigrationV1alpha1MigrationConditionFromJSONTyped(json, false); } export function IoK8sApiStoragemigrationV1alpha1MigrationConditionFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { lastUpdateTime: !exists(json, 'lastUpdateTime') ? undefined : json['lastUpdateTime'], message: !exists(json, 'message') ? undefined : json['message'], reason: !exists(json, 'reason') ? undefined : json['reason'], status: json['status'], type: json['type'], }; } export function IoK8sApiStoragemigrationV1alpha1MigrationConditionToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { lastUpdateTime: value.lastUpdateTime === undefined ? undefined : value.lastUpdateTime, message: value.message, reason: value.reason, status: value.status, type: value.type, }; } //# sourceMappingURL=IoK8sApiStoragemigrationV1alpha1MigrationCondition.js.map