code: public Observable<ServiceResponse<OperationStatusResponseInner>> getOperationStatusWithServiceResponseAsync(String userName, String operationUrl) {
          if (userName == null) {
              throw new IllegalArgumentException("Parameter userName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          if (operationUrl == null) {
              throw new IllegalArgumentException("Parameter operationUrl is required and cannot be null.");
          }
          OperationStatusPayload operationStatusPayload = new OperationStatusPayload();
          operationStatusPayload.withOperationUrl(operationUrl);
          return service.getOperationStatus(userName, this.client.apiVersion(), this.client.acceptLanguage(), operationStatusPayload, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<OperationStatusResponseInner>>>() {
                  @Override
                  public Observable<ServiceResponse<OperationStatusResponseInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<OperationStatusResponseInner> clientResponse = getOperationStatusDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Gets the status of long running operation.
  
  @param userName The name of the user.
  @param operationUrl The operation url of long running operation
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the OperationStatusResponseInner object