@Test(expected = IllegalArgumentException.class) public void listWorkspaceVariables()throws Exception{ WorkspaceVariableImpl.listWorkspaceVariables(getTerraformWorkspaceVariableInputs); }
@NotNull public static Map<String, String> listWorkspaceVariables(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs) throws Exception { final HttpClientInputs httpClientInputs = new HttpClientInputs(); httpClientInputs.setUrl(listWorkspaceVariablesUrl(terraformWorkspaceVariableInputs)); setCommonHttpInputs(httpClientInputs, terraformWorkspaceVariableInputs.getCommonInputs()); httpClientInputs.setAuthType(ANONYMOUS); httpClientInputs.setMethod(GET); httpClientInputs.setContentType(APPLICATION_VND_API_JSON); httpClientInputs.setResponseCharacterSet(terraformWorkspaceVariableInputs.getCommonInputs().getResponseCharacterSet()); httpClientInputs.setHeaders(getAuthHeaders(terraformWorkspaceVariableInputs.getCommonInputs().getAuthToken())); return new HttpClientService().execute(httpClientInputs); }
WorkspaceVariableImpl { @NotNull public static Map<String, String> listWorkspaceVariables(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs) throws Exception { final HttpClientInputs httpClientInputs = new HttpClientInputs(); httpClientInputs.setUrl(listWorkspaceVariablesUrl(terraformWorkspaceVariableInputs)); setCommonHttpInputs(httpClientInputs, terraformWorkspaceVariableInputs.getCommonInputs()); httpClientInputs.setAuthType(ANONYMOUS); httpClientInputs.setMethod(GET); httpClientInputs.setContentType(APPLICATION_VND_API_JSON); httpClientInputs.setResponseCharacterSet(terraformWorkspaceVariableInputs.getCommonInputs().getResponseCharacterSet()); httpClientInputs.setHeaders(getAuthHeaders(terraformWorkspaceVariableInputs.getCommonInputs().getAuthToken())); return new HttpClientService().execute(httpClientInputs); } }
WorkspaceVariableImpl { @NotNull public static Map<String, String> listWorkspaceVariables(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs) throws Exception { final HttpClientInputs httpClientInputs = new HttpClientInputs(); httpClientInputs.setUrl(listWorkspaceVariablesUrl(terraformWorkspaceVariableInputs)); setCommonHttpInputs(httpClientInputs, terraformWorkspaceVariableInputs.getCommonInputs()); httpClientInputs.setAuthType(ANONYMOUS); httpClientInputs.setMethod(GET); httpClientInputs.setContentType(APPLICATION_VND_API_JSON); httpClientInputs.setResponseCharacterSet(terraformWorkspaceVariableInputs.getCommonInputs().getResponseCharacterSet()); httpClientInputs.setHeaders(getAuthHeaders(terraformWorkspaceVariableInputs.getCommonInputs().getAuthToken())); return new HttpClientService().execute(httpClientInputs); }  }
WorkspaceVariableImpl { @NotNull public static Map<String, String> listWorkspaceVariables(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs) throws Exception { final HttpClientInputs httpClientInputs = new HttpClientInputs(); httpClientInputs.setUrl(listWorkspaceVariablesUrl(terraformWorkspaceVariableInputs)); setCommonHttpInputs(httpClientInputs, terraformWorkspaceVariableInputs.getCommonInputs()); httpClientInputs.setAuthType(ANONYMOUS); httpClientInputs.setMethod(GET); httpClientInputs.setContentType(APPLICATION_VND_API_JSON); httpClientInputs.setResponseCharacterSet(terraformWorkspaceVariableInputs.getCommonInputs().getResponseCharacterSet()); httpClientInputs.setHeaders(getAuthHeaders(terraformWorkspaceVariableInputs.getCommonInputs().getAuthToken())); return new HttpClientService().execute(httpClientInputs); }  @NotNull static Map<String, String> createWorkspaceVariable(@NotNull TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static Map<String, Map<String, String>> createWorkspaceVariables(@NotNull TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static Map<String, Map<String, String>> updateWorkspaceVariables(@NotNull TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static Map<String, String> getWorkspaceVariablesOperationOutput(String workspaceVariablesJson, String sensitiveWorkspaceVariablesJson, Map<String, Map<String, String>> result); @NotNull static Map<String, String> listWorkspaceVariables(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static String listWorkspaceVariablesUrl(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static String getWorkspaceVariablePath(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); static Map<String, String> updateWorkspaceVariable(@NotNull final TerraformWorkspaceVariableInputs updateWorkspaceVariableInputs); @NotNull static Map<String, String> deleteWorkspaceVariable(@NotNull final TerraformWorkspaceVariableInputs deleteWorkspaceVariableInputs); @NotNull static String getWorkspaceVariablesPath(@NotNull final TerraformWorkspaceVariableInputs updateWorkspaceVariableInputs); @NotNull static String createWorkspaceVariableRequestBody(TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static String updateWorkspaceVariableRequestBody(TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); }
WorkspaceVariableImpl { @NotNull public static Map<String, String> listWorkspaceVariables(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs) throws Exception { final HttpClientInputs httpClientInputs = new HttpClientInputs(); httpClientInputs.setUrl(listWorkspaceVariablesUrl(terraformWorkspaceVariableInputs)); setCommonHttpInputs(httpClientInputs, terraformWorkspaceVariableInputs.getCommonInputs()); httpClientInputs.setAuthType(ANONYMOUS); httpClientInputs.setMethod(GET); httpClientInputs.setContentType(APPLICATION_VND_API_JSON); httpClientInputs.setResponseCharacterSet(terraformWorkspaceVariableInputs.getCommonInputs().getResponseCharacterSet()); httpClientInputs.setHeaders(getAuthHeaders(terraformWorkspaceVariableInputs.getCommonInputs().getAuthToken())); return new HttpClientService().execute(httpClientInputs); }  @NotNull static Map<String, String> createWorkspaceVariable(@NotNull TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static Map<String, Map<String, String>> createWorkspaceVariables(@NotNull TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static Map<String, Map<String, String>> updateWorkspaceVariables(@NotNull TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static Map<String, String> getWorkspaceVariablesOperationOutput(String workspaceVariablesJson, String sensitiveWorkspaceVariablesJson, Map<String, Map<String, String>> result); @NotNull static Map<String, String> listWorkspaceVariables(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static String listWorkspaceVariablesUrl(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static String getWorkspaceVariablePath(@NotNull final TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); static Map<String, String> updateWorkspaceVariable(@NotNull final TerraformWorkspaceVariableInputs updateWorkspaceVariableInputs); @NotNull static Map<String, String> deleteWorkspaceVariable(@NotNull final TerraformWorkspaceVariableInputs deleteWorkspaceVariableInputs); @NotNull static String getWorkspaceVariablesPath(@NotNull final TerraformWorkspaceVariableInputs updateWorkspaceVariableInputs); @NotNull static String createWorkspaceVariableRequestBody(TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs); @NotNull static String updateWorkspaceVariableRequestBody(TerraformWorkspaceVariableInputs terraformWorkspaceVariableInputs);  }