UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

45 lines 1.46 kB
/* 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 function V1ListMetaFromJSON(json) { return V1ListMetaFromJSONTyped(json, false); } export function V1ListMetaFromJSONTyped(json, _ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { _continue: !exists(json, 'continue') ? undefined : json['continue'], remainingItemCount: !exists(json, 'remainingItemCount') ? undefined : json['remainingItemCount'], resourceVersion: !exists(json, 'resourceVersion') ? undefined : json['resourceVersion'], selfLink: !exists(json, 'selfLink') ? undefined : json['selfLink'], }; } export function V1ListMetaToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { continue: value._continue, remainingItemCount: value.remainingItemCount, resourceVersion: value.resourceVersion, selfLink: value.selfLink, }; } //# sourceMappingURL=V1ListMeta.js.map