toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (completionTime != null) 'completionTime': completionTime!,
      if (conditions != null) 'conditions': conditions!,
      if (containers != null) 'containers': containers!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (encryptionKey != null) 'encryptionKey': encryptionKey!,
      if (etag != null) 'etag': etag!,
      if (execution != null) 'execution': execution!,
      if (executionEnvironment != null)
        'executionEnvironment': executionEnvironment!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (generation != null) 'generation': generation!,
      if (index != null) 'index': index!,
      if (job != null) 'job': job!,
      if (labels != null) 'labels': labels!,
      if (lastAttemptResult != null) 'lastAttemptResult': lastAttemptResult!,
      if (logUri != null) 'logUri': logUri!,
      if (maxRetries != null) 'maxRetries': maxRetries!,
      if (name != null) 'name': name!,
      if (observedGeneration != null)
        'observedGeneration': observedGeneration!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (retried != null) 'retried': retried!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (scheduledTime != null) 'scheduledTime': scheduledTime!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (startTime != null) 'startTime': startTime!,
      if (timeout != null) 'timeout': timeout!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (volumes != null) 'volumes': volumes!,
      if (vpcAccess != null) 'vpcAccess': vpcAccess!,
    };