code: public ApiClient setHttpClient(OkHttpClient newHttpClient) {
          if (!httpClient.equals(newHttpClient)) {
              newHttpClient.networkInterceptors().addAll(httpClient.networkInterceptors());
              httpClient.networkInterceptors().clear();
              newHttpClient.interceptors().addAll(httpClient.interceptors());
              httpClient.interceptors().clear();
              this.httpClient = newHttpClient;
          }
          return this;
      }
docs: Set HTTP client
  
  @param httpClient
  An instance of OkHttpClient
  @return Api Client