class UserApi {

    public String loginUser(String username, String password) throws IOException {
        HttpResponse response = loginUserForHttpResponse(username, password);
        TypeReference<String> typeRef = new TypeReference<String>() {};
        return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
    }

    public  UserApi();
    public  UserApi(ApiClient apiClient);

}