/**
 * Namf_EventExposure
 * AMF Event Exposure 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 "AmfEventType.h"
#include "Helpers.h"

#include <sstream>

namespace oai::amf::model {

AmfEventType::AmfEventType() {}

void AmfEventType::validate() const {
  std::stringstream msg;
  if (!validate(msg)) {
    throw oai::amf::helpers::ValidationException(msg.str());
  }
}

bool AmfEventType::validate(std::stringstream& msg) const {
  return validate(msg, "");
}

bool AmfEventType::validate(
    std::stringstream& msg, const std::string& pathPrefix) const {
  bool success = true;
  const std::string _pathPrefix =
      pathPrefix.empty() ? "AmfEventType" : pathPrefix;

  return success;
}

bool AmfEventType::operator==(const AmfEventType& rhs) const {
  return true;  // TODO
}

bool AmfEventType::operator!=(const AmfEventType& rhs) const {
  return !(*this == rhs);
}

void AmfEventType::set_value(std::string value) {
  this->value = value;
}
void AmfEventType::get_value(std::string& value) const {
  value = this->value;
}
std::string AmfEventType::get_value() const {
  return value;
}

void to_json(nlohmann::json& j, const AmfEventType& o) {
  j = o.get_value();
}

void from_json(const nlohmann::json& j, AmfEventType& o) {
  o.set_value(j.get<std::string>());
}

}  // namespace oai::amf::model
