@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
40 lines • 1.34 kB
JavaScript
/* 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';
import { V1KubeVirtSelfSignConfigurationFromJSON, V1KubeVirtSelfSignConfigurationToJSON, } from './';
export function V1KubeVirtCertificateRotateStrategyFromJSON(json) {
return V1KubeVirtCertificateRotateStrategyFromJSONTyped(json, false);
}
export function V1KubeVirtCertificateRotateStrategyFromJSONTyped(json, _ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
selfSigned: !exists(json, 'selfSigned')
? undefined
: V1KubeVirtSelfSignConfigurationFromJSON(json['selfSigned']),
};
}
export function V1KubeVirtCertificateRotateStrategyToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
selfSigned: V1KubeVirtSelfSignConfigurationToJSON(value.selfSigned),
};
}
//# sourceMappingURL=V1KubeVirtCertificateRotateStrategy.js.map