class GaugesService {

    public List<PageContent> getContent(String gaugeId) throws IOException {
        try {
            HttpRequest request = execute(HttpRequest.get(URL_GAUGES + gaugeId + "/content"));
            ContentWrapper response = fromJson(request, ContentWrapper.class);
            if (response != null && response.content != null)
                return response.content;
            return Collections.emptyList();
        } catch (HttpRequestException e) {
            throw e.getCause();
        }
    }

    public  GaugesService(final String username, final String password);
    public  GaugesService(final String apiKey);

}