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

#ifndef CagData_H_
#define CagData_H_

#include "CagInfo.h"
#include <map>
#include <nlohmann/json.hpp>
#include <string>
#include <vector>

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

/// <summary>
///
/// </summary>
class CagData {
public:
  CagData();
  virtual ~CagData();

  void validate();

  /////////////////////////////////////////////
  /// CagData members

  /// <summary>
  /// A map (list of key-value pairs where PlmnId serves as key) of CagInfo
  /// </summary>
  std::map<std::string, CagInfo> &getCagInfos();
  void setCagInfos(std::map<std::string, CagInfo> const &value);
  /// <summary>
  ///
  /// </summary>
  std::string getProvisioningTime() const;
  void setProvisioningTime(std::string const &value);
  bool provisioningTimeIsSet() const;
  void unsetProvisioningTime();

  friend void to_json(nlohmann::json &j, const CagData &o);
  friend void from_json(const nlohmann::json &j, CagData &o);

protected:
  std::map<std::string, CagInfo> m_CagInfos;

  std::string m_ProvisioningTime;
  bool m_ProvisioningTimeIsSet;
};

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

#endif /* CagData_H_ */
