toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (batchModePriority != null) 'batchModePriority': batchModePriority!,
if (config != null) 'config': config!,
if (createTime != null) 'createTime': createTime!,
if (endTime != null) 'endTime': endTime!,
if (error != null) 'error': error!,
if (inputUri != null) 'inputUri': inputUri!,
if (labels != null) 'labels': labels!,
if (mode != null) 'mode': mode!,
if (name != null) 'name': name!,
if (optimization != null) 'optimization': optimization!,
if (outputUri != null) 'outputUri': outputUri!,
if (startTime != null) 'startTime': startTime!,
if (state != null) 'state': state!,
if (templateId != null) 'templateId': templateId!,
if (ttlAfterCompletionDays != null)
'ttlAfterCompletionDays': ttlAfterCompletionDays!,
};