class NamespaceRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements NamespaceRepository {

  @Override
  public Observable<NamespaceInfo> getNamespace(NamespaceId namespaceId) {
    Callable<NamespaceInfoDTO> callback = () -> getClient().getNamespace(namespaceId.getIdAsHex());
    return exceptionHandling(call(callback).map(this::toNamespaceInfo));
  }

  public  NamespaceRepositoryOkHttpImpl(ApiClient apiClient);

}