class RunImpl {

    @NotNull
    public static Map<String, String> listRunsInWorkspaceClient(@NotNull final TerraformRunInputs listRunsInWorkspaceInputs) throws Exception {
        final HttpClientInputs httpClientInputs = new HttpClientInputs();
        final TerraformCommonInputs commonInputs = listRunsInWorkspaceInputs.getCommonInputs();
        httpClientInputs.setUrl(listRunsInWorkspaceClientUrl(listRunsInWorkspaceInputs.getWorkspaceId()));
        httpClientInputs.setAuthType(ANONYMOUS);
        httpClientInputs.setMethod(GET);
        httpClientInputs.setHeaders(getAuthHeaders(commonInputs.getAuthToken()));
        httpClientInputs.setContentType(APPLICATION_VND_API_JSON);
        setCommonHttpInputs(httpClientInputs, commonInputs);
        httpClientInputs.setQueryParams(getQueryParams(listRunsInWorkspaceInputs.getCommonInputs().getPageNumber(),
                listRunsInWorkspaceInputs.getCommonInputs().getPageSize()));
        httpClientInputs.setResponseCharacterSet(commonInputs.getResponseCharacterSet());
        return new HttpClientService().execute(httpClientInputs);
    }

}