docs: @Deprecated
      public static <T> T buildJsonResponse(Response response, Class<T> clazz) throws IOException, SlackApiException {
          if (response.code() == 200) {
              String body = response.body().string();
              DETAILED_LOGGER.accept(new HttpResponseListener.State(SlackConfig.DEFAULT, response, body));
              return GsonFactory.createSnakeCase().fromJson(body, clazz);
          } else {
              String body = response.body().string();
              throw new SlackApiException(response, body);
          }
      }