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

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

CmInfo::CmInfo() {}

CmInfo::~CmInfo() {}

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

void to_json(nlohmann::json &j, const CmInfo &o) {
  j = nlohmann::json();
  j["cmState"] = o.m_CmState;
  j["accessType"] = o.m_AccessType;
}

void from_json(const nlohmann::json &j, CmInfo &o) {
  j.at("cmState").get_to(o.m_CmState);
  j.at("accessType").get_to(o.m_AccessType);
}

CmState CmInfo::getCmState() const { return m_CmState; }
void CmInfo::setCmState(CmState const &value) { m_CmState = value; }
AccessType CmInfo::getAccessType() const { return m_AccessType; }
void CmInfo::setAccessType(AccessType const &value) { m_AccessType = value; }

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