class HashLockRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements HashLockRepository {

  @Override
  public Observable<HashLockInfo> getHashLock(String hash) {
    Callable<HashLockInfoDTO> callback = () -> getClient().getHashLock(hash);
    return this.call(callback, this::toHashLockInfo);
  }

  public  HashLockRepositoryOkHttpImpl(ApiClient apiClient);

}