class HaGroupTrunk implements Serializable {

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

  private  HaGroupTrunk(String name, @Nullable Integer weight);

}