code: public Observable<ServiceResponseWithHeaders<Void, ComputeNodeEnableSchedulingHeaders>> enableSchedulingWithServiceResponseAsync(String poolId, String nodeId) {
          if (this.client.batchUrl() == null) {
              throw new IllegalArgumentException("Parameter this.client.batchUrl() is required and cannot be null.");
          }
          if (poolId == null) {
              throw new IllegalArgumentException("Parameter poolId is required and cannot be null.");
          }
          if (nodeId == null) {
              throw new IllegalArgumentException("Parameter nodeId is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          final ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions = null;
          Integer timeout = null;
          UUID clientRequestId = null;
          Boolean returnClientRequestId = null;
          DateTime ocpDate = null;
          String parameterizedHost = Joiner.on(", ").join("{batchUrl}", this.client.batchUrl());
          DateTimeRfc1123 ocpDateConverted = null;
          if (ocpDate != null) {
              ocpDateConverted = new DateTimeRfc1123(ocpDate);
          }
          return service.enableScheduling(poolId, nodeId, this.client.apiVersion(), this.client.acceptLanguage(), timeout, clientRequestId, returnClientRequestId, ocpDateConverted, parameterizedHost, this.client.userAgent())
                  .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponseWithHeaders<Void, ComputeNodeEnableSchedulingHeaders>>>() {
                      @Override
                      public Observable<ServiceResponseWithHeaders<Void, ComputeNodeEnableSchedulingHeaders>> call(Response<ResponseBody> response) {
                          try {
                              ServiceResponseWithHeaders<Void, ComputeNodeEnableSchedulingHeaders> clientResponse = enableSchedulingDelegate(response);
                              return Observable.just(clientResponse);
                          } catch (Throwable t) {
                              return Observable.error(t);
                          }
                      }
                  });
      }
docs: Enables task scheduling on the specified compute node.
  You can enable task scheduling on a node only if its current scheduling state is disabled.
  
  @param poolId The ID of the pool that contains the compute node.
  @param nodeId The ID of the compute node on which you want to enable task scheduling.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceResponseWithHeaders} object if successful.