toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (displayName != null) 'displayName': displayName!,
  if (jobCount != null) 'jobCount': jobCount!,
  if (lastUpdateTime != null) 'lastUpdateTime': lastUpdateTime!,
  if (name != null) 'name': name!,
  if (pipelineSources != null) 'pipelineSources': pipelineSources!,
  if (scheduleInfo != null) 'scheduleInfo': scheduleInfo!,
  if (schedulerServiceAccountEmail != null)
    'schedulerServiceAccountEmail': schedulerServiceAccountEmail!,
  if (state != null) 'state': state!,
  if (type != null) 'type': type!,
  if (workload != null) 'workload': workload!,
};