@Test public void getApplyRunBody() throws JsonProcessingException { String applyRunRequestBody = RunImpl.applyRunBody(applyRunInputs); assertEquals(EXPECTED_APPLY_RUN_REQUEST_BODY, applyRunRequestBody); }
@NotNull public static String applyRunBody(TerraformRunInputs applyRunInputs) throws JsonProcessingException { ObjectMapper mapper = new ObjectMapper(); ApplyRunRequestBody applyRunBody = new ApplyRunRequestBody(); applyRunBody.setRunComment(applyRunInputs.getRunComment()); String requestBody = EMPTY; requestBody = mapper.writeValueAsString(applyRunBody); return requestBody; }
RunImpl { @NotNull public static String applyRunBody(TerraformRunInputs applyRunInputs) throws JsonProcessingException { ObjectMapper mapper = new ObjectMapper(); ApplyRunRequestBody applyRunBody = new ApplyRunRequestBody(); applyRunBody.setRunComment(applyRunInputs.getRunComment()); String requestBody = EMPTY; requestBody = mapper.writeValueAsString(applyRunBody); return requestBody; } }
RunImpl { @NotNull public static String applyRunBody(TerraformRunInputs applyRunInputs) throws JsonProcessingException { ObjectMapper mapper = new ObjectMapper(); ApplyRunRequestBody applyRunBody = new ApplyRunRequestBody(); applyRunBody.setRunComment(applyRunInputs.getRunComment()); String requestBody = EMPTY; requestBody = mapper.writeValueAsString(applyRunBody); return requestBody; }  }
RunImpl { @NotNull public static String applyRunBody(TerraformRunInputs applyRunInputs) throws JsonProcessingException { ObjectMapper mapper = new ObjectMapper(); ApplyRunRequestBody applyRunBody = new ApplyRunRequestBody(); applyRunBody.setRunComment(applyRunInputs.getRunComment()); String requestBody = EMPTY; requestBody = mapper.writeValueAsString(applyRunBody); return requestBody; }  @NotNull static Map<String, String> createRunClient(@NotNull final TerraformRunInputs createRunInputs); @NotNull static Map<String, String> applyRunClient(@NotNull final TerraformRunInputs applyRunInputs); @NotNull static Map<String, String> listRunsInWorkspaceClient(@NotNull final TerraformRunInputs listRunsInWorkspaceInputs); @NotNull static Map<String, String> getRunDetails(@NotNull final TerraformRunInputs getRunDetailsInputs); @NotNull static Map<String, String> planDetails(@NotNull final TerraformRunInputs planDetailsInputs); static Map<String, String> cancelRun(@NotNull final TerraformRunInputs cancelRunInputs); @NotNull static Map<String, String> getApplyDetails(@NotNull final TerraformRunInputs getApplyDetailsInputs); @NotNull static String createRunClientUrl(); @NotNull static String getRunDetailsUrl(@NotNull final String runId); @NotNull static String planDetailsUrl(@NotNull final String planId); static String cancelRunUrl(@NotNull final String runId); @NotNull static String getApplyDetailsUrl(@NotNull final String applyId); @NotNull static String applyRunClientUrl(@NotNull String runId); @NotNull static String listRunsInWorkspaceClientUrl(@NotNull String workspaceId); @NotNull static String createRunBody(TerraformRunInputs createRunInputs); @NotNull static String applyRunBody(TerraformRunInputs applyRunInputs); }
RunImpl { @NotNull public static String applyRunBody(TerraformRunInputs applyRunInputs) throws JsonProcessingException { ObjectMapper mapper = new ObjectMapper(); ApplyRunRequestBody applyRunBody = new ApplyRunRequestBody(); applyRunBody.setRunComment(applyRunInputs.getRunComment()); String requestBody = EMPTY; requestBody = mapper.writeValueAsString(applyRunBody); return requestBody; }  @NotNull static Map<String, String> createRunClient(@NotNull final TerraformRunInputs createRunInputs); @NotNull static Map<String, String> applyRunClient(@NotNull final TerraformRunInputs applyRunInputs); @NotNull static Map<String, String> listRunsInWorkspaceClient(@NotNull final TerraformRunInputs listRunsInWorkspaceInputs); @NotNull static Map<String, String> getRunDetails(@NotNull final TerraformRunInputs getRunDetailsInputs); @NotNull static Map<String, String> planDetails(@NotNull final TerraformRunInputs planDetailsInputs); static Map<String, String> cancelRun(@NotNull final TerraformRunInputs cancelRunInputs); @NotNull static Map<String, String> getApplyDetails(@NotNull final TerraformRunInputs getApplyDetailsInputs); @NotNull static String createRunClientUrl(); @NotNull static String getRunDetailsUrl(@NotNull final String runId); @NotNull static String planDetailsUrl(@NotNull final String planId); static String cancelRunUrl(@NotNull final String runId); @NotNull static String getApplyDetailsUrl(@NotNull final String applyId); @NotNull static String applyRunClientUrl(@NotNull String runId); @NotNull static String listRunsInWorkspaceClientUrl(@NotNull String workspaceId); @NotNull static String createRunBody(TerraformRunInputs createRunInputs); @NotNull static String applyRunBody(TerraformRunInputs applyRunInputs);  }