/**
 * Nudm_UEAU
 * UDM UE Authentication Service. � 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 1.2.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 "AvEapAkaPrime.h"

namespace oai {
namespace udm {
namespace model {

AvEapAkaPrime::AvEapAkaPrime() {
  m_Rand = "";
  m_Xres = "";
  m_Autn = "";
  m_CkPrime = "";
  m_IkPrime = "";
}

AvEapAkaPrime::~AvEapAkaPrime() {}

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

void to_json(nlohmann::json &j, const AvEapAkaPrime &o) {
  j = nlohmann::json();
  j["avType"] = o.m_AvType;
  j["rand"] = o.m_Rand;
  j["xres"] = o.m_Xres;
  j["autn"] = o.m_Autn;
  j["ckPrime"] = o.m_CkPrime;
  j["ikPrime"] = o.m_IkPrime;
}

void from_json(const nlohmann::json &j, AvEapAkaPrime &o) {
  j.at("avType").get_to(o.m_AvType);
  j.at("rand").get_to(o.m_Rand);
  j.at("xres").get_to(o.m_Xres);
  j.at("autn").get_to(o.m_Autn);
  j.at("ckPrime").get_to(o.m_CkPrime);
  j.at("ikPrime").get_to(o.m_IkPrime);
}

AvType AvEapAkaPrime::getAvType() const { return m_AvType; }
void AvEapAkaPrime::setAvType(AvType const &value) { m_AvType = value; }
std::string AvEapAkaPrime::getRand() const { return m_Rand; }
void AvEapAkaPrime::setRand(std::string const &value) { m_Rand = value; }
std::string AvEapAkaPrime::getXres() const { return m_Xres; }
void AvEapAkaPrime::setXres(std::string const &value) { m_Xres = value; }
std::string AvEapAkaPrime::getAutn() const { return m_Autn; }
void AvEapAkaPrime::setAutn(std::string const &value) { m_Autn = value; }
std::string AvEapAkaPrime::getCkPrime() const { return m_CkPrime; }
void AvEapAkaPrime::setCkPrime(std::string const &value) { m_CkPrime = value; }
std::string AvEapAkaPrime::getIkPrime() const { return m_IkPrime; }
void AvEapAkaPrime::setIkPrime(std::string const &value) { m_IkPrime = value; }

} // namespace model
} // namespace udm
} // namespace oai
