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

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

SnssaiInfo::SnssaiInfo() {}

SnssaiInfo::~SnssaiInfo() {}

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

void to_json(nlohmann::json &j, const SnssaiInfo &o) {
  j = nlohmann::json();
  j["dnnInfos"] = o.m_DnnInfos;
}

void from_json(const nlohmann::json &j, SnssaiInfo &o) {
  j.at("dnnInfos").get_to(o.m_DnnInfos);
}

std::vector<DnnInfo> &SnssaiInfo::getDnnInfos() { return m_DnnInfos; }
void SnssaiInfo::setDnnInfos(std::vector<DnnInfo> const &value) {
  m_DnnInfos = value;
}

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