/**
 * 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.
 */
/*
 * SmPolicySnssaiDataPatch.h
 *
 * Contains the SM policy data for a given subscriber and S-NSSAI.
 */

#ifndef SmPolicySnssaiDataPatch_H_
#define SmPolicySnssaiDataPatch_H_

#include "SmPolicyDnnDataPatch.h"
#include "Snssai.h"
#include <map>
#include <nlohmann/json.hpp>
#include <vector>

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

/// <summary>
/// Contains the SM policy data for a given subscriber and S-NSSAI.
/// </summary>
class SmPolicySnssaiDataPatch {
public:
  SmPolicySnssaiDataPatch();
  virtual ~SmPolicySnssaiDataPatch();

  void validate();

  /////////////////////////////////////////////
  /// SmPolicySnssaiDataPatch members

  /// <summary>
  ///
  /// </summary>
  Snssai getSnssai() const;
  void setSnssai(Snssai const &value);
  /// <summary>
  ///
  /// </summary>
  std::map<std::string, SmPolicyDnnDataPatch> &getSmPolicyDnnData();
  void
  setSmPolicyDnnData(std::map<std::string, SmPolicyDnnDataPatch> const &value);
  bool smPolicyDnnDataIsSet() const;
  void unsetSmPolicyDnnData();

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

protected:
  Snssai m_Snssai;

  std::map<std::string, SmPolicyDnnDataPatch> m_SmPolicyDnnData;
  bool m_SmPolicyDnnDataIsSet;
};

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

#endif /* SmPolicySnssaiDataPatch_H_ */
