/**
 * Namf_Communication
 * AMF Communication 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 "NasSecurityMode.h"

namespace oai {
namespace amf {
namespace model {

NasSecurityMode::NasSecurityMode() {}

NasSecurityMode::~NasSecurityMode() {}

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

void to_json(nlohmann::json& j, const NasSecurityMode& o) {
  j                       = nlohmann::json();
  j["integrityAlgorithm"] = o.m_IntegrityAlgorithm;
  j["cipheringAlgorithm"] = o.m_CipheringAlgorithm;
}

void from_json(const nlohmann::json& j, NasSecurityMode& o) {
  j.at("integrityAlgorithm").get_to(o.m_IntegrityAlgorithm);
  j.at("cipheringAlgorithm").get_to(o.m_CipheringAlgorithm);
}

IntegrityAlgorithm NasSecurityMode::getIntegrityAlgorithm() const {
  return m_IntegrityAlgorithm;
}
void NasSecurityMode::setIntegrityAlgorithm(IntegrityAlgorithm const& value) {
  m_IntegrityAlgorithm = value;
}
CipheringAlgorithm NasSecurityMode::getCipheringAlgorithm() const {
  return m_CipheringAlgorithm;
}
void NasSecurityMode::setCipheringAlgorithm(CipheringAlgorithm const& value) {
  m_CipheringAlgorithm = value;
}

}  // namespace model
}  // namespace amf
}  // namespace oai
