/**
 * Nsmf_PDUSession
 * SMF PDU Session Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
 * CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 1.1.0.alpha-1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */

#include "PduSessionNotifyItem.h"

namespace oai {
namespace smf_server {
namespace model {

PduSessionNotifyItem::PduSessionNotifyItem() {}

PduSessionNotifyItem::~PduSessionNotifyItem() {}

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

void to_json(nlohmann::json& j, const PduSessionNotifyItem& o) {
  j                      = nlohmann::json();
  j["notificationCause"] = o.m_NotificationCause;
}

void from_json(const nlohmann::json& j, PduSessionNotifyItem& o) {
  j.at("notificationCause").get_to(o.m_NotificationCause);
}

NotificationCause PduSessionNotifyItem::getNotificationCause() const {
  return m_NotificationCause;
}
void PduSessionNotifyItem::setNotificationCause(
    NotificationCause const& value) {
  m_NotificationCause = value;
}

}  // namespace model
}  // namespace smf_server
}  // namespace oai
