code: public ApiResponse<ApiSuccessResponse> getCategoryDetailsWithHttpInfo(String id, GetCategoryData getCategoryData) throws ApiException {
          com.squareup.okhttp.Call call = getCategoryDetailsValidateBeforeCall(id, getCategoryData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get the details of a Category.
  Get details of a Category including category sub tree. Only &#39;id&#39;, &#39;standardResponseId&#39;, and &#39;name&#39; attributes are returned for each Standard Response.
  @param id id of the Category (required)
  @param getCategoryData  (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body