@Override
    public int hashCode() {
        int result = serviceName.hashCode();
        result = 31 * result + serviceType.hashCode();
        result = 31 * result + (ports != null ? ports.hashCode() : 0);
        result = 31 * result + (properties != null ? properties.hashCode() : 0);
        result = 31 * result + configId.hashCode();
        result = 31 * result + hostName.hashCode();
        return result;
    }
Contains information about a service.

@author Ulf Lilleengen
config-model-api/src/main/java/com/yahoo/config/model/api/ServiceInfo.java