/**
* Nudm_SDM
* Nudm Subscriber Data Management Service. � 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. 
*
* The version of the OpenAPI document: 2.1.0.alpha-1
* 
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
 * ChangeItem.h
 *
 * 
 */

#ifndef ChangeItem_H_
#define ChangeItem_H_


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

namespace oai {
namespace udm {
namespace model {

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

    void validate();

    /////////////////////////////////////////////
    /// ChangeItem members

    /// <summary>
    /// 
    /// </summary>
    ChangeType getOp() const;
    void setOp(ChangeType const& value);
        /// <summary>
    /// 
    /// </summary>
    std::string getPath() const;
    void setPath(std::string const& value);
        /// <summary>
    /// 
    /// </summary>
    std::string getFrom() const;
    void setFrom(std::string const& value);
    bool fromIsSet() const;
    void unsetFrom();
    /// <summary>
    /// 
    /// </summary>
//    Object getOrigValue() const;
//    void setOrigValue(Object const& value);
    bool origValueIsSet() const;
    void unsetOrigValue();
    /// <summary>
    /// 
    /// </summary>
//    Object getNewValue() const;
 //   void setNewValue(Object const& value);
    bool newValueIsSet() const;
    void unsetNewValue();

    friend void to_json(nlohmann::json& j, const ChangeItem& o);
    friend void from_json(const nlohmann::json& j, ChangeItem& o);
protected:
    ChangeType m_Op;

    std::string m_Path;

    std::string m_From;
    bool m_FromIsSet;
//    Object m_OrigValue;
    bool m_OrigValueIsSet;
//    Object m_NewValue;
    bool m_NewValueIsSet;
};

}
}
}

#endif /* ChangeItem_H_ */
