toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (flinkJob != null) 'flinkJob': flinkJob!,
      if (hadoopJob != null) 'hadoopJob': hadoopJob!,
      if (hiveJob != null) 'hiveJob': hiveJob!,
      if (labels != null) 'labels': labels!,
      if (pigJob != null) 'pigJob': pigJob!,
      if (prerequisiteStepIds != null)
        'prerequisiteStepIds': prerequisiteStepIds!,
      if (prestoJob != null) 'prestoJob': prestoJob!,
      if (pysparkJob != null) 'pysparkJob': pysparkJob!,
      if (scheduling != null) 'scheduling': scheduling!,
      if (sparkJob != null) 'sparkJob': sparkJob!,
      if (sparkRJob != null) 'sparkRJob': sparkRJob!,
      if (sparkSqlJob != null) 'sparkSqlJob': sparkSqlJob!,
      if (stepId != null) 'stepId': stepId!,
      if (trinoJob != null) 'trinoJob': trinoJob!,
    };