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 (addTarget != null) {
    _json["addTarget"] = (addTarget).toJson();
  }
  if (labels != null) {
    _json["labels"] = labels;
  }
  if (removeTarget != null) {
    _json["removeTarget"] = removeTarget;
  }
  return _json;
}