class OspfAreaSummary implements Serializable {

  @Override
  public boolean equals(@Nullable Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof OspfAreaSummary)) {
      return false;
    }
    OspfAreaSummary that = (OspfAreaSummary) o;
    return getAdvertised() == that.getAdvertised() && Objects.equals(getMetric(), that.getMetric());
  }

  public  OspfAreaSummary(boolean advertised, @Nullable Long metric);

}