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

namespace oai {
namespace smf_server {
namespace model {

HsmfUpdatedData::HsmfUpdatedData() {
  m_N1SmInfoToUeIsSet = false;
}

HsmfUpdatedData::~HsmfUpdatedData() {}

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

void to_json(nlohmann::json& j, const HsmfUpdatedData& o) {
  j = nlohmann::json();
  if (o.n1SmInfoToUeIsSet()) j["n1SmInfoToUe"] = o.m_N1SmInfoToUe;
}

void from_json(const nlohmann::json& j, HsmfUpdatedData& o) {
  if (j.find("n1SmInfoToUe") != j.end()) {
    j.at("n1SmInfoToUe").get_to(o.m_N1SmInfoToUe);
    o.m_N1SmInfoToUeIsSet = true;
  }
}

RefToBinaryData HsmfUpdatedData::getN1SmInfoToUe() const {
  return m_N1SmInfoToUe;
}
void HsmfUpdatedData::setN1SmInfoToUe(RefToBinaryData const& value) {
  m_N1SmInfoToUe      = value;
  m_N1SmInfoToUeIsSet = true;
}
bool HsmfUpdatedData::n1SmInfoToUeIsSet() const {
  return m_N1SmInfoToUeIsSet;
}
void HsmfUpdatedData::unsetN1SmInfoToUe() {
  m_N1SmInfoToUeIsSet = false;
}

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