48 std::string d_data_access_url;
49 std::string d_dap_service_url;
50 std::string d_metadata_access_url;
51 std::string d_size_str;
52 std::string d_last_modified_time;
54 void setName(
const nlohmann::json& jobj);
55 void setId(
const nlohmann::json& go);
56 void setDataGranuleUrl(
const nlohmann::json& go);
57 void setDapServiceUrl(
const nlohmann::json& go);
58 void setMetadataAccessUrl(
const nlohmann::json& granule_obj);
59 void setSize(
const nlohmann::json& j_obj);
60 void setLastModifiedStr(
const nlohmann::json& go);
61 const nlohmann::json& get_links_array(
const nlohmann::json& go)
const;
64 explicit Granule(
const nlohmann::json& granule_json);
66 std::string getName()
const {
return d_name; }
67 std::string getId()
const {
return d_id; }
68 std::string getDataGranuleUrl()
const {
return d_data_access_url; }
69 std::string getDapServiceUrl()
const {
return d_dap_service_url; }
70 std::string getMetadataAccessUrl(){
return d_metadata_access_url; }
71 std::string getSizeStr()
const {
return d_size_str; }
72 std::string getLastModifiedStr()
const {
return d_last_modified_time; }
73 size_t getSize()
const;