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

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

EpsIwkPgw::EpsIwkPgw() {
  m_PgwFqdn = "";
  m_SmfInstanceId = "";
}

EpsIwkPgw::~EpsIwkPgw() {}

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

void to_json(nlohmann::json &j, const EpsIwkPgw &o) {
  j = nlohmann::json();
  j["pgwFqdn"] = o.m_PgwFqdn;
  j["smfInstanceId"] = o.m_SmfInstanceId;
}

void from_json(const nlohmann::json &j, EpsIwkPgw &o) {
  j.at("pgwFqdn").get_to(o.m_PgwFqdn);
  j.at("smfInstanceId").get_to(o.m_SmfInstanceId);
}

std::string EpsIwkPgw::getPgwFqdn() const { return m_PgwFqdn; }
void EpsIwkPgw::setPgwFqdn(std::string const &value) { m_PgwFqdn = value; }
std::string EpsIwkPgw::getSmfInstanceId() const { return m_SmfInstanceId; }
void EpsIwkPgw::setSmfInstanceId(std::string const &value) {
  m_SmfInstanceId = value;
}

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