toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (awsS3DataSource != null) {
    _json["awsS3DataSource"] = (awsS3DataSource).toJson();
  }
  if (azureBlobStorageDataSource != null) {
    _json["azureBlobStorageDataSource"] =
        (azureBlobStorageDataSource).toJson();
  }
  if (gcsDataSink != null) {
    _json["gcsDataSink"] = (gcsDataSink).toJson();
  }
  if (gcsDataSource != null) {
    _json["gcsDataSource"] = (gcsDataSource).toJson();
  }
  if (httpDataSource != null) {
    _json["httpDataSource"] = (httpDataSource).toJson();
  }
  if (objectConditions != null) {
    _json["objectConditions"] = (objectConditions).toJson();
  }
  if (transferOptions != null) {
    _json["transferOptions"] = (transferOptions).toJson();
  }
  return _json;
}