code: public Observable<ServiceResponse<LuisResult>> resolveWithServiceResponseAsync(String appId, String query, Double timezoneOffset, Boolean verbose, Boolean staging, Boolean spellCheck, String bingSpellCheckSubscriptionKey, Boolean log) {
          if (this.client.endpoint() == null) {
              throw new IllegalArgumentException("Parameter this.client.endpoint() is required and cannot be null.");
          }
          if (appId == null) {
              throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
          }
          if (query == null) {
              throw new IllegalArgumentException("Parameter query is required and cannot be null.");
          }
          String parameterizedHost = Joiner.on(", ").join("{endpoint}", this.client.endpoint());
          return service.resolve(appId, query, timezoneOffset, verbose, staging, spellCheck, bingSpellCheckSubscriptionKey, log, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<LuisResult>>>() {
                  @Override
                  public Observable<ServiceResponse<LuisResult>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<LuisResult> clientResponse = resolveDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Gets predictions for a given utterance, in the form of intents and entities. The current maximum query size is 500 characters.
  
  @param appId The LUIS application ID (Guid).
  @param query The utterance to predict.
  @param timezoneOffset The timezone offset for the location of the request.
  @param verbose If true, return all intents instead of just the top scoring intent.
  @param staging Use the staging endpoint slot.
  @param spellCheck Enable spell checking.
  @param bingSpellCheckSubscriptionKey The subscription key to use when enabling bing spell check
  @param log Log query (default is true)
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the LuisResult object