class StateVersionImpl {

    @NotNull
    public static Map<String, String> getCurrentStateVersion(@NotNull final TerraformStateVersionInputs
                                                                     getCurrentStateVersionInputs) throws Exception {
        final HttpClientInputs httpClientInputs = new HttpClientInputs();
        httpClientInputs.setUrl(getCurrentStateVersionUrl(getCurrentStateVersionInputs.getWorkspaceId()));
        httpClientInputs.setAuthType(ANONYMOUS);
        httpClientInputs.setMethod(GET);
        httpClientInputs.setHeaders(getAuthHeaders(getCurrentStateVersionInputs.getCommonInputs().getAuthToken()));
        httpClientInputs.setContentType(APPLICATION_VND_API_JSON);
        setCommonHttpInputs(httpClientInputs, getCurrentStateVersionInputs.getCommonInputs());
        return new HttpClientService().execute(httpClientInputs);
    }

}