toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (done != null) 'done': done!,
      if (driverControlFilesUri != null)
        'driverControlFilesUri': driverControlFilesUri!,
      if (driverOutputResourceUri != null)
        'driverOutputResourceUri': driverOutputResourceUri!,
      if (driverSchedulingConfig != null)
        'driverSchedulingConfig': driverSchedulingConfig!,
      if (flinkJob != null) 'flinkJob': flinkJob!,
      if (hadoopJob != null) 'hadoopJob': hadoopJob!,
      if (hiveJob != null) 'hiveJob': hiveJob!,
      if (jobUuid != null) 'jobUuid': jobUuid!,
      if (labels != null) 'labels': labels!,
      if (pigJob != null) 'pigJob': pigJob!,
      if (placement != null) 'placement': placement!,
      if (prestoJob != null) 'prestoJob': prestoJob!,
      if (pysparkJob != null) 'pysparkJob': pysparkJob!,
      if (reference != null) 'reference': reference!,
      if (scheduling != null) 'scheduling': scheduling!,
      if (sparkJob != null) 'sparkJob': sparkJob!,
      if (sparkRJob != null) 'sparkRJob': sparkRJob!,
      if (sparkSqlJob != null) 'sparkSqlJob': sparkSqlJob!,
      if (status != null) 'status': status!,
      if (statusHistory != null) 'statusHistory': statusHistory!,
      if (trinoJob != null) 'trinoJob': trinoJob!,
      if (yarnApplications != null) 'yarnApplications': yarnApplications!,
    };