toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (minNodeCpus != null) 'minNodeCpus': minNodeCpus!,
if (nodeAffinities != null) 'nodeAffinities': nodeAffinities!,
if (onHostMaintenance != null) 'onHostMaintenance': onHostMaintenance!,
if (restartType != null) 'restartType': restartType!,
};