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

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

TrafficInfluDataNotif::TrafficInfluDataNotif() {
  m_ResUri = "";
  m_TrafficInfluDataIsSet = false;
}

TrafficInfluDataNotif::~TrafficInfluDataNotif() {}

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

void to_json(nlohmann::json &j, const TrafficInfluDataNotif &o) {
  j = nlohmann::json();
  j["resUri"] = o.m_ResUri;
  if (o.trafficInfluDataIsSet())
    j["trafficInfluData"] = o.m_TrafficInfluData;
}

void from_json(const nlohmann::json &j, TrafficInfluDataNotif &o) {
  j.at("resUri").get_to(o.m_ResUri);
  if (j.find("trafficInfluData") != j.end()) {
    j.at("trafficInfluData").get_to(o.m_TrafficInfluData);
    o.m_TrafficInfluDataIsSet = true;
  }
}

std::string TrafficInfluDataNotif::getResUri() const { return m_ResUri; }
void TrafficInfluDataNotif::setResUri(std::string const &value) {
  m_ResUri = value;
}
TrafficInfluData TrafficInfluDataNotif::getTrafficInfluData() const {
  return m_TrafficInfluData;
}
void TrafficInfluDataNotif::setTrafficInfluData(TrafficInfluData const &value) {
  m_TrafficInfluData = value;
  m_TrafficInfluDataIsSet = true;
}
bool TrafficInfluDataNotif::trafficInfluDataIsSet() const {
  return m_TrafficInfluDataIsSet;
}
void TrafficInfluDataNotif::unsetTrafficInfluData() {
  m_TrafficInfluDataIsSet = false;
}

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