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 (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!,
      if (jobDetail != null) 'jobDetail': jobDetail!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (pipelineSpec != null) 'pipelineSpec': pipelineSpec!,
      if (reservedIpRanges != null) 'reservedIpRanges': reservedIpRanges!,
      if (runtimeConfig != null) 'runtimeConfig': runtimeConfig!,
      if (scheduleName != null) 'scheduleName': scheduleName!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (templateMetadata != null) 'templateMetadata': templateMetadata!,
      if (templateUri != null) 'templateUri': templateUri!,
      if (updateTime != null) 'updateTime': updateTime!,
    };