toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (cancelledCount != null) 'cancelledCount': cancelledCount!,
      if (completionTime != null) 'completionTime': completionTime!,
      if (conditions != null) 'conditions': conditions!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (etag != null) 'etag': etag!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (failedCount != null) 'failedCount': failedCount!,
      if (generation != null) 'generation': generation!,
      if (job != null) 'job': job!,
      if (labels != null) 'labels': labels!,
      if (launchStage != null) 'launchStage': launchStage!,
      if (logUri != null) 'logUri': logUri!,
      if (name != null) 'name': name!,
      if (observedGeneration != null)
        'observedGeneration': observedGeneration!,
      if (parallelism != null) 'parallelism': parallelism!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (retriedCount != null) 'retriedCount': retriedCount!,
      if (runningCount != null) 'runningCount': runningCount!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (startTime != null) 'startTime': startTime!,
      if (succeededCount != null) 'succeededCount': succeededCount!,
      if (taskCount != null) 'taskCount': taskCount!,
      if (template != null) 'template': template!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };