code: public RestApi initialiseRestClient(int logLevelNet, APIConfig.BaseURIs baseURIs) {
  
          AuthManager authManager = new AuthManager() {
              @Override
              protected Observable<SessionData> restartSession() {
                  return reAuthenticate();
              }
          };
  
          restClient = new RestClient(new OkHttpAuthenticator(authManager), logLevelNet, baseURIs.getService().toString());
          service = restClient.getService();
          setService(service);
          return service;
      }
docs: Initialise REST API client.
  
  @param logLevelNet {@link LogLevel} of for the network library.
  @param baseURIs    API baseURIs.
  @return REST API client.