class ServiceFunctionGroup {

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof ServiceFunctionGroup) {
            ServiceFunctionGroup that = (ServiceFunctionGroup) obj;
            return Objects.equals(name, that.name()) &&
                    Objects.equals(description, that.description()) &&
                    Objects.equals(portPairLoadMap, that.portPairLoadMap());
        }
        return false;
    }

    public  ServiceFunctionGroup(String name, String description,
                                Map<PortPairId, Integer> portPairLoadMap);

}