@Test public void getTaskDetailsPathTest() throws Exception { final String path = getTaskDetailsURL(nutanixGetTaskDetailsInputs); assertEquals(EXPECTED_GET_TASK_DETAILS_PATH, path); }
@NotNull public static String getTaskDetailsURL(NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs) throws Exception { final URIBuilder uriBuilder = getUriBuilder(nutanixGetTaskDetailsInputs.getCommonInputs()); StringBuilder pathString = new StringBuilder() .append(API) .append(nutanixGetTaskDetailsInputs.getCommonInputs().getAPIVersion()) .append(GET_TASK_DETAILS_PATH) .append(PATH_SEPARATOR) .append(nutanixGetTaskDetailsInputs.getTaskUUID()); uriBuilder.setPath(pathString.toString()); return uriBuilder.build().toURL().toString(); }
TaskImpl { @NotNull public static String getTaskDetailsURL(NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs) throws Exception { final URIBuilder uriBuilder = getUriBuilder(nutanixGetTaskDetailsInputs.getCommonInputs()); StringBuilder pathString = new StringBuilder() .append(API) .append(nutanixGetTaskDetailsInputs.getCommonInputs().getAPIVersion()) .append(GET_TASK_DETAILS_PATH) .append(PATH_SEPARATOR) .append(nutanixGetTaskDetailsInputs.getTaskUUID()); uriBuilder.setPath(pathString.toString()); return uriBuilder.build().toURL().toString(); } }
TaskImpl { @NotNull public static String getTaskDetailsURL(NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs) throws Exception { final URIBuilder uriBuilder = getUriBuilder(nutanixGetTaskDetailsInputs.getCommonInputs()); StringBuilder pathString = new StringBuilder() .append(API) .append(nutanixGetTaskDetailsInputs.getCommonInputs().getAPIVersion()) .append(GET_TASK_DETAILS_PATH) .append(PATH_SEPARATOR) .append(nutanixGetTaskDetailsInputs.getTaskUUID()); uriBuilder.setPath(pathString.toString()); return uriBuilder.build().toURL().toString(); }  }
TaskImpl { @NotNull public static String getTaskDetailsURL(NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs) throws Exception { final URIBuilder uriBuilder = getUriBuilder(nutanixGetTaskDetailsInputs.getCommonInputs()); StringBuilder pathString = new StringBuilder() .append(API) .append(nutanixGetTaskDetailsInputs.getCommonInputs().getAPIVersion()) .append(GET_TASK_DETAILS_PATH) .append(PATH_SEPARATOR) .append(nutanixGetTaskDetailsInputs.getTaskUUID()); uriBuilder.setPath(pathString.toString()); return uriBuilder.build().toURL().toString(); }  @NotNull static Map<String, String> getTaskDetails(@NotNull final NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs); @NotNull static String getTaskDetailsURL(NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs); }
TaskImpl { @NotNull public static String getTaskDetailsURL(NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs) throws Exception { final URIBuilder uriBuilder = getUriBuilder(nutanixGetTaskDetailsInputs.getCommonInputs()); StringBuilder pathString = new StringBuilder() .append(API) .append(nutanixGetTaskDetailsInputs.getCommonInputs().getAPIVersion()) .append(GET_TASK_DETAILS_PATH) .append(PATH_SEPARATOR) .append(nutanixGetTaskDetailsInputs.getTaskUUID()); uriBuilder.setPath(pathString.toString()); return uriBuilder.build().toURL().toString(); }  @NotNull static Map<String, String> getTaskDetails(@NotNull final NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs); @NotNull static String getTaskDetailsURL(NutanixGetTaskDetailsInputs nutanixGetTaskDetailsInputs);  }