dialogflow/dialogflow-java-client

How to read developer entities?

awal11 opened this issue · 0 comments

I wanted to read developer entities without reimplementing everything from scratch and I see there are two ways to do it now:

  1. Add it on top of #13 , as this would require minimal additions
  2. More generic - change the method protected <TResponse> TResponse doRequest(final Type responseType, final String endpoint, final String method) to public. This would also require adding method AIConfig.getServiceUrl() as it is currently missing.

Is there a chance to have one of them approved? I can provide a pull request for option 2.