bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
Collection.h
1//
2// Created by ndp on 10/31/22.
3//
4
5#ifndef HYRAX_GIT_COLLECTION_H
6#define HYRAX_GIT_COLLECTION_H
7
8#include "config.h"
9
10#include <string>
11#include <utility>
12#include <vector>
13
14#include "nlohmann/json.hpp"
15
16namespace cmr {
17
18class Collection {
19private:
20 nlohmann::json d_collection_json_obj;
21
22public:
23 explicit Collection(nlohmann::json collection_obj): d_collection_json_obj(std::move(collection_obj)){}
24
25 std::string id();
26 std::string abstract();
27 std::string entry_title();
28 std::string short_name();
29
30 std::string to_string();
31};
32
33} // cmr
34
35#endif //HYRAX_GIT_COLLECTION_H