class TrafficGroup implements Serializable {

  @Override
  public boolean equals(@Nullable Object obj) {
    if (this == obj) {
      return true;
    }
    if (!(obj instanceof TrafficGroup)) {
      return false;
    }
    TrafficGroup rhs = (TrafficGroup) obj;
    return Objects.equals(_haGroup, rhs._haGroup)
        && Objects.equals(_mac, rhs._mac)
        && _name.equals(rhs._name)
        && Objects.equals(_unitId, rhs._unitId);
  }

  private  TrafficGroup(
      @Nullable String haGroup, @Nullable MacAddress mac, String name, @Nullable Integer unitId);

}