toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (automaticUpdatePolicy != null)
'automaticUpdatePolicy': automaticUpdatePolicy!,
if (build != null) 'build': build!,
if (dockerRegistry != null) 'dockerRegistry': dockerRegistry!,
if (dockerRepository != null) 'dockerRepository': dockerRepository!,
if (entryPoint != null) 'entryPoint': entryPoint!,
if (environmentVariables != null)
'environmentVariables': environmentVariables!,
if (onDeployUpdatePolicy != null)
'onDeployUpdatePolicy': onDeployUpdatePolicy!,
if (runtime != null) 'runtime': runtime!,
if (serviceAccount != null) 'serviceAccount': serviceAccount!,
if (source != null) 'source': source!,
if (sourceProvenance != null) 'sourceProvenance': sourceProvenance!,
if (sourceToken != null) 'sourceToken': sourceToken!,
if (workerPool != null) 'workerPool': workerPool!,
};