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

namespace oai {
namespace smf_server {
namespace model {

Ecgi::Ecgi() {
  m_EutraCellId = "";
}

Ecgi::~Ecgi() {}

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

void to_json(nlohmann::json& j, const Ecgi& o) {
  j                = nlohmann::json();
  j["plmnId"]      = o.m_PlmnId;
  j["eutraCellId"] = o.m_EutraCellId;
}

void from_json(const nlohmann::json& j, Ecgi& o) {
  j.at("plmnId").get_to(o.m_PlmnId);
  j.at("eutraCellId").get_to(o.m_EutraCellId);
}

PlmnId Ecgi::getPlmnId() const {
  return m_PlmnId;
}
void Ecgi::setPlmnId(PlmnId const& value) {
  m_PlmnId = value;
}
std::string Ecgi::getEutraCellId() const {
  return m_EutraCellId;
}
void Ecgi::setEutraCellId(std::string const& value) {
  m_EutraCellId = value;
}

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