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

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

Polygon_allOf::Polygon_allOf() {}

Polygon_allOf::~Polygon_allOf() {}

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

void to_json(nlohmann::json &j, const Polygon_allOf &o) {
  j = nlohmann::json();
  j["pointList"] = o.m_PointList;
}

void from_json(const nlohmann::json &j, Polygon_allOf &o) {
  j.at("pointList").get_to(o.m_PointList);
}

std::vector<GeographicalCoordinates> &Polygon_allOf::getPointList() {
  return m_PointList;
}
void Polygon_allOf::setPointList(
    std::vector<GeographicalCoordinates> const &value) {
  m_PointList = value;
}

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