toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (computeResource != null) 'computeResource': computeResource!,
if (environment != null) 'environment': environment!,
if (environments != null) 'environments': environments!,
if (lifecyclePolicies != null) 'lifecyclePolicies': lifecyclePolicies!,
if (maxRetryCount != null) 'maxRetryCount': maxRetryCount!,
if (maxRunDuration != null) 'maxRunDuration': maxRunDuration!,
if (runnables != null) 'runnables': runnables!,
if (volumes != null) 'volumes': volumes!,
};