code: public Observable<ServiceResponse<UUID>> importMethodWithServiceResponseAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter) {
          if (this.client.endpoint() == null) {
              throw new IllegalArgumentException("Parameter this.client.endpoint() is required and cannot be null.");
          }
          if (luisApp == null) {
              throw new IllegalArgumentException("Parameter luisApp is required and cannot be null.");
          }
          Validator.validate(luisApp);
          final String appName = importMethodOptionalParameter != null ? importMethodOptionalParameter.appName() : null;
  
          return importMethodWithServiceResponseAsync(luisApp, appName);
      }
docs: Imports an application to LUIS, the application's structure should be included in in the request body.
  
  @param luisApp A LUIS application structure.
  @param importMethodOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the UUID object