NotifyItem.cpp 1.14 KB
Newer Older
liuyu's avatar
liuyu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
/**
* 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.
*/


#include "NotifyItem.h"

namespace oai {
namespace udm {
namespace model {

NotifyItem::NotifyItem()
{
    m_ResourceId = "";
    
}

NotifyItem::~NotifyItem()
{
}

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

void to_json(nlohmann::json& j, const NotifyItem& o)
{
    j = nlohmann::json();
    j["resourceId"] = o.m_ResourceId;
    j["changes"] = o.m_Changes;
}

void from_json(const nlohmann::json& j, NotifyItem& o)
{
    j.at("resourceId").get_to(o.m_ResourceId);
    j.at("changes").get_to(o.m_Changes);
}

std::string NotifyItem::getResourceId() const
{
    return m_ResourceId;
}
void NotifyItem::setResourceId(std::string const& value)
{
    m_ResourceId = value;
    
}
std::vector<ChangeItem>& NotifyItem::getChanges()
{
    return m_Changes;
}

}
}
}