toJson method

Map<String, dynamic> toJson()

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!,
    };