@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
38 lines • 1.21 kB
JavaScript
/* 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.
*/
export function IoK8sApiAuthenticationV1TokenRequestStatusFromJSON(json) {
return IoK8sApiAuthenticationV1TokenRequestStatusFromJSONTyped(json, false);
}
export function IoK8sApiAuthenticationV1TokenRequestStatusFromJSONTyped(json, _ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
expirationTimestamp: json['expirationTimestamp'],
token: json['token'],
};
}
export function IoK8sApiAuthenticationV1TokenRequestStatusToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
expirationTimestamp: value.expirationTimestamp,
token: value.token,
};
}
//# sourceMappingURL=IoK8sApiAuthenticationV1TokenRequestStatus.js.map