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 (aggregationInterval != null) {
    _json["aggregationInterval"] = aggregationInterval;
  }
  if (enable != null) {
    _json["enable"] = enable;
  }
  if (filterExpr != null) {
    _json["filterExpr"] = filterExpr;
  }
  if (flowSampling != null) {
    _json["flowSampling"] = flowSampling;
  }
  if (metadata != null) {
    _json["metadata"] = metadata;
  }
  if (metadataFields != null) {
    _json["metadataFields"] = metadataFields;
  }
  return _json;
}