class SW360ClientConfig {

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        SW360ClientConfig that = (SW360ClientConfig) o;
        return getRestURL().equals(that.getRestURL()) &&
                getAuthURL().equals(that.getAuthURL()) &&
                getUser().equals(that.getUser()) &&
                getPassword().equals(that.getPassword()) &&
                getClientId().equals(that.getClientId()) &&
                getClientPassword().equals(that.getClientPassword()) &&
                getToken().equals(that.getToken()) &&
                getHttpClient().equals(that.getHttpClient()) &&
                getObjectMapper().equals(that.getObjectMapper());
    }

    private  SW360ClientConfig(URI baseURI, String authURL, String user, String password, String clientId,
                              String clientPassword, String token, HttpClient httpClient, ObjectMapper objectMapper);

}