code: public Observable<ServiceResponse<SourceControlInner>> updateSourceControlWithServiceResponseAsync(String sourceControlType, SourceControlInner requestMessage) {
          if (sourceControlType == null) {
              throw new IllegalArgumentException("Parameter sourceControlType is required and cannot be null.");
          }
          if (requestMessage == null) {
              throw new IllegalArgumentException("Parameter requestMessage is required and cannot be null.");
          }
          if (this.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null.");
          }
          Validator.validate(requestMessage);
          return service.updateSourceControl(sourceControlType, requestMessage, this.apiVersion(), this.acceptLanguage(), this.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<SourceControlInner>>>() {
                  @Override
                  public Observable<ServiceResponse<SourceControlInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<SourceControlInner> clientResponse = updateSourceControlDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Updates source control token.
  Updates source control token.
  
  @param sourceControlType Type of source control
  @param requestMessage Source control token information
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the SourceControlInner object