/**
 * 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.
 */
/*
 * NotificationItem.h
 *
 * Identifies a data change notification when the change occurs in a fragment
 * (subset of resource data) of a given resource.
 */

#ifndef NotificationItem_H_
#define NotificationItem_H_

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

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

/// <summary>
/// Identifies a data change notification when the change occurs in a fragment
/// (subset of resource data) of a given resource.
/// </summary>
class NotificationItem {
public:
  NotificationItem();
  virtual ~NotificationItem();

  void validate();

  /////////////////////////////////////////////
  /// NotificationItem members

  /// <summary>
  ///
  /// </summary>
  std::string getResourceId() const;
  void setResourceId(std::string const &value);
  /// <summary>
  ///
  /// </summary>
  std::vector<UpdatedItem> &getNotifItems();
  void setNotifItems(std::vector<UpdatedItem> const &value);

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

protected:
  std::string m_ResourceId;

  std::vector<UpdatedItem> m_NotifItems;
};

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

#endif /* NotificationItem_H_ */
