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 (creationTime != null) {
    _json["creationTime"] = creationTime;
  }
  if (deletionTime != null) {
    _json["deletionTime"] = deletionTime;
  }
  if (description != null) {
    _json["description"] = description;
  }
  if (lastModificationTime != null) {
    _json["lastModificationTime"] = lastModificationTime;
  }
  if (name != null) {
    _json["name"] = name;
  }
  if (notificationConfig != null) {
    _json["notificationConfig"] = (notificationConfig).toJson();
  }
  if (projectId != null) {
    _json["projectId"] = projectId;
  }
  if (schedule != null) {
    _json["schedule"] = (schedule).toJson();
  }
  if (status != null) {
    _json["status"] = status;
  }
  if (transferSpec != null) {
    _json["transferSpec"] = (transferSpec).toJson();
  }
  return _json;
}