class SecHubClient {

    public static SecHubReport importSecHubJsonReport(File file) throws SecHubReportException {
        SecHubReport report = null;
        ObjectMapper mapper = new ObjectMapper();

        try {
            // Do not fail on unknown properties
            mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
            report = mapper.readValue(file, SecHubReport.class);
        } catch (JsonParseException | JsonMappingException e) {
            throw new SecHubReportException("Content is not valid JSON", e);
        } catch (IOException e) {
            throw new SecHubReportException("Wasn't able to read report file", e);
        }

        return report;
    }

    private  SecHubClient(String username, String apiToken, URI hostUri, int hostPort, boolean trustAll);

}