/**
 * Nudr_DataRepository API OpenAPI file
 * Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 2.1.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */

#include "ResourceItem.h"

namespace org {
namespace openapitools {
namespace server {
namespace model {

ResourceItem::ResourceItem() { m_MonResourceUri = ""; }

ResourceItem::~ResourceItem() {}

void ResourceItem::validate() {
  // TODO: implement validation
}

void to_json(nlohmann::json &j, const ResourceItem &o) {
  j = nlohmann::json();
  j["monResourceUri"] = o.m_MonResourceUri;
  j["items"] = o.m_Items;
}

void from_json(const nlohmann::json &j, ResourceItem &o) {
  j.at("monResourceUri").get_to(o.m_MonResourceUri);
  j.at("items").get_to(o.m_Items);
}

std::string ResourceItem::getMonResourceUri() const { return m_MonResourceUri; }
void ResourceItem::setMonResourceUri(std::string const &value) {
  m_MonResourceUri = value;
}
std::vector<std::string> &ResourceItem::getItems() { return m_Items; }
void ResourceItem::setItems(std::vector<std::string> const &value) {
  m_Items = value;
}

} // namespace model
} // namespace server
} // namespace openapitools
} // namespace org
