/**
 * 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 "NotificationItem.h"

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

NotificationItem::NotificationItem() { m_ResourceId = ""; }

NotificationItem::~NotificationItem() {}

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

void to_json(nlohmann::json &j, const NotificationItem &o) {
  j = nlohmann::json();
  j["resourceId"] = o.m_ResourceId;
  j["notifItems"] = o.m_NotifItems;
}

void from_json(const nlohmann::json &j, NotificationItem &o) {
  j.at("resourceId").get_to(o.m_ResourceId);
  j.at("notifItems").get_to(o.m_NotifItems);
}

std::string NotificationItem::getResourceId() const { return m_ResourceId; }
void NotificationItem::setResourceId(std::string const &value) {
  m_ResourceId = value;
}
std::vector<UpdatedItem> &NotificationItem::getNotifItems() {
  return m_NotifItems;
}
void NotificationItem::setNotifItems(std::vector<UpdatedItem> const &value) {
  m_NotifItems = value;
}

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