/**
* Nudsf_DataRepository
* Nudsf Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. 
*
* The version of the OpenAPI document: 1.1.0-alpha.2
* 
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
 * NotificationSubscription.h
 *
 * Definition of a notification subscription
 */

#ifndef NotificationSubscription_H_
#define NotificationSubscription_H_


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

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

/// <summary>
/// Definition of a notification subscription
/// </summary>
class  NotificationSubscription
{
public:
    NotificationSubscription();
    virtual ~NotificationSubscription();

    void validate();

    /////////////////////////////////////////////
    /// NotificationSubscription members

    /// <summary>
    /// 
    /// </summary>
    ClientId getClientId() const;
    void setClientId(ClientId const& value);
    /// <summary>
    /// 
    /// </summary>
    std::string getCallbackReference() const;
    void setCallbackReference(std::string const& value);
    /// <summary>
    /// 
    /// </summary>
    std::string getExpiry() const;
    void setExpiry(std::string const& value);
    bool expiryIsSet() const;
    void unsetExpiry();
    /// <summary>
    /// 
    /// </summary>
    SubscriptionFilter getSubFilter() const;
    void setSubFilter(SubscriptionFilter const& value);
    bool subFilterIsSet() const;
    void unsetSubFilter();
    /// <summary>
    /// 
    /// </summary>
    std::string getSupportedFeatures() const;
    void setSupportedFeatures(std::string const& value);
    bool supportedFeaturesIsSet() const;
    void unsetSupportedFeatures();

    friend void to_json(nlohmann::json& j, const NotificationSubscription& o);
    friend void from_json(const nlohmann::json& j, NotificationSubscription& o);
protected:
    ClientId m_ClientId;

    std::string m_CallbackReference;

    std::string m_Expiry;
    bool m_ExpiryIsSet;
    SubscriptionFilter m_SubFilter;
    bool m_SubFilterIsSet;
    std::string m_SupportedFeatures;
    bool m_SupportedFeaturesIsSet;
};

}
}
}
}

#endif /* NotificationSubscription_H_ */
