toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (name != null) 'name': name!,
if (parallelism != null) 'parallelism': parallelism!,
if (permissiveSsh != null) 'permissiveSsh': permissiveSsh!,
if (requireHostsFile != null) 'requireHostsFile': requireHostsFile!,
if (runAsNonRoot != null) 'runAsNonRoot': runAsNonRoot!,
if (schedulingPolicy != null) 'schedulingPolicy': schedulingPolicy!,
if (taskCount != null) 'taskCount': taskCount!,
if (taskCountPerNode != null) 'taskCountPerNode': taskCountPerNode!,
if (taskEnvironments != null) 'taskEnvironments': taskEnvironments!,
if (taskSpec != null) 'taskSpec': taskSpec!,
};