Commit 68d63bf6 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Delete unecessary files from SMF

parent e46a3d39
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "AtsssCapability.h"
namespace oai {
namespace amf {
namespace model {
AtsssCapability::AtsssCapability() {
m_AtsssLL = false;
m_AtsssLLIsSet = false;
m_Mptcp = false;
m_MptcpIsSet = false;
}
AtsssCapability::~AtsssCapability() {}
void AtsssCapability::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const AtsssCapability& o) {
j = nlohmann::json();
if (o.atsssLLIsSet()) j["atsssLL"] = o.m_AtsssLL;
if (o.mptcpIsSet()) j["mptcp"] = o.m_Mptcp;
}
void from_json(const nlohmann::json& j, AtsssCapability& o) {
if (j.find("atsssLL") != j.end()) {
j.at("atsssLL").get_to(o.m_AtsssLL);
o.m_AtsssLLIsSet = true;
}
if (j.find("mptcp") != j.end()) {
j.at("mptcp").get_to(o.m_Mptcp);
o.m_MptcpIsSet = true;
}
}
bool AtsssCapability::isAtsssLL() const {
return m_AtsssLL;
}
void AtsssCapability::setAtsssLL(bool const value) {
m_AtsssLL = value;
m_AtsssLLIsSet = true;
}
bool AtsssCapability::atsssLLIsSet() const {
return m_AtsssLLIsSet;
}
void AtsssCapability::unsetAtsssLL() {
m_AtsssLLIsSet = false;
}
bool AtsssCapability::isMptcp() const {
return m_Mptcp;
}
void AtsssCapability::setMptcp(bool const value) {
m_Mptcp = value;
m_MptcpIsSet = true;
}
bool AtsssCapability::mptcpIsSet() const {
return m_MptcpIsSet;
}
void AtsssCapability::unsetMptcp() {
m_MptcpIsSet = false;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* AtsssCapability.h
*
*
*/
#ifndef AtsssCapability_H_
#define AtsssCapability_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class AtsssCapability {
public:
AtsssCapability();
virtual ~AtsssCapability();
void validate();
/////////////////////////////////////////////
/// AtsssCapability members
/// <summary>
///
/// </summary>
bool isAtsssLL() const;
void setAtsssLL(bool const value);
bool atsssLLIsSet() const;
void unsetAtsssLL();
/// <summary>
///
/// </summary>
bool isMptcp() const;
void setMptcp(bool const value);
bool mptcpIsSet() const;
void unsetMptcp();
friend void to_json(nlohmann::json& j, const AtsssCapability& o);
friend void from_json(const nlohmann::json& j, AtsssCapability& o);
protected:
bool m_AtsssLL;
bool m_AtsssLLIsSet;
bool m_Mptcp;
bool m_MptcpIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* AtsssCapability_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "ChangeItem.h"
namespace oai {
namespace amf {
namespace model {
ChangeItem::ChangeItem() {
m_Path = "";
m_From = "";
m_FromIsSet = false;
m_OrigValueIsSet = false;
m_NewValueIsSet = false;
}
ChangeItem::~ChangeItem() {}
void ChangeItem::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const ChangeItem& o) {
j = nlohmann::json();
j["op"] = o.m_Op;
j["path"] = o.m_Path;
if (o.fromIsSet()) j["from"] = o.m_From;
if (o.origValueIsSet()) j["origValue"] = o.m_OrigValue;
if (o.newValueIsSet()) j["newValue"] = o.m_NewValue;
}
void from_json(const nlohmann::json& j, ChangeItem& o) {
j.at("op").get_to(o.m_Op);
j.at("path").get_to(o.m_Path);
if (j.find("from") != j.end()) {
j.at("from").get_to(o.m_From);
o.m_FromIsSet = true;
}
if (j.find("origValue") != j.end()) {
j.at("origValue").get_to(o.m_OrigValue);
o.m_OrigValueIsSet = true;
}
if (j.find("newValue") != j.end()) {
j.at("newValue").get_to(o.m_NewValue);
o.m_NewValueIsSet = true;
}
}
ChangeType ChangeItem::getOp() const {
return m_Op;
}
void ChangeItem::setOp(ChangeType const& value) {
m_Op = value;
}
std::string ChangeItem::getPath() const {
return m_Path;
}
void ChangeItem::setPath(std::string const& value) {
m_Path = value;
}
std::string ChangeItem::getFrom() const {
return m_From;
}
void ChangeItem::setFrom(std::string const& value) {
m_From = value;
m_FromIsSet = true;
}
bool ChangeItem::fromIsSet() const {
return m_FromIsSet;
}
void ChangeItem::unsetFrom() {
m_FromIsSet = false;
}
std::string ChangeItem::getOrigValue() const {
return m_OrigValue;
}
void ChangeItem::setOrigValue(std::string const& value) {
m_OrigValue = value;
m_OrigValueIsSet = true;
}
bool ChangeItem::origValueIsSet() const {
return m_OrigValueIsSet;
}
void ChangeItem::unsetOrigValue() {
m_OrigValueIsSet = false;
}
std::string ChangeItem::getNewValue() const {
return m_NewValue;
}
void ChangeItem::setNewValue(std::string const& value) {
m_NewValue = value;
m_NewValueIsSet = true;
}
bool ChangeItem::newValueIsSet() const {
return m_NewValueIsSet;
}
void ChangeItem::unsetNewValue() {
m_NewValueIsSet = false;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "AnyType.h"
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
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>
std::string getOrigValue() const;
void setOrigValue(std::string const& value);
bool origValueIsSet() const;
void unsetOrigValue();
/// <summary>
///
/// </summary>
std::string getNewValue() const;
void setNewValue(std::string 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;
std::string m_OrigValue;
bool m_OrigValueIsSet;
std::string m_NewValue;
bool m_NewValueIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* ChangeItem_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "ChangeType.h"
namespace oai {
namespace amf {
namespace model {
ChangeType::ChangeType() {}
ChangeType::~ChangeType() {}
void ChangeType::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const ChangeType& o) {
j = nlohmann::json();
}
void from_json(const nlohmann::json& j, ChangeType& o) {}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* ChangeType.h
*
*
*/
#ifndef ChangeType_H_
#define ChangeType_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class ChangeType {
public:
ChangeType();
virtual ~ChangeType();
void validate();
/////////////////////////////////////////////
/// ChangeType members
friend void to_json(nlohmann::json& j, const ChangeType& o);
friend void from_json(const nlohmann::json& j, ChangeType& o);
protected:
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* ChangeType_H_ */
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "DddStatus.h"
namespace oai {
namespace amf {
namespace model {
DddStatus::DddStatus() {}
DddStatus::~DddStatus() {}
void DddStatus::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const DddStatus& o) {
j = nlohmann::json();
}
void from_json(const nlohmann::json& j, DddStatus& o) {}
} // namespace model
} // namespace amf
} // namespace oai
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* DddStatus.h
*
* Possible values are - BUFFERED: The downlink data are buffered. -
* TRANSMITTED: The downlink data are transmitted - DISCARDED: The downlink data
* are discarded.
*/
#ifndef DddStatus_H_
#define DddStatus_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
/// Possible values are - BUFFERED: The downlink data are buffered. -
/// TRANSMITTED: The downlink data are transmitted - DISCARDED: The downlink
/// data are discarded.
/// </summary>
class DddStatus {
public:
DddStatus();
virtual ~DddStatus();
void validate();
/////////////////////////////////////////////
/// DddStatus members
friend void to_json(nlohmann::json& j, const DddStatus& o);
friend void from_json(const nlohmann::json& j, DddStatus& o);
protected:
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* DddStatus_H_ */
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "DddTrafficDescriptor.h"
namespace oai {
namespace amf {
namespace model {
DddTrafficDescriptor::DddTrafficDescriptor() {
m_Ipv4Addr = "";
m_Ipv4AddrIsSet = false;
m_Ipv6AddrIsSet = false;
m_Port = 0;
m_PortIsSet = false;
}
DddTrafficDescriptor::~DddTrafficDescriptor() {}
void DddTrafficDescriptor::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const DddTrafficDescriptor& o) {
j = nlohmann::json();
if (o.ipv4AddrIsSet()) j["ipv4Addr"] = o.m_Ipv4Addr;
if (o.ipv6AddrIsSet()) j["ipv6Addr"] = o.m_Ipv6Addr;
if (o.portIsSet()) j["port"] = o.m_Port;
}
void from_json(const nlohmann::json& j, DddTrafficDescriptor& o) {
if (j.find("ipv4Addr") != j.end()) {
j.at("ipv4Addr").get_to(o.m_Ipv4Addr);
o.m_Ipv4AddrIsSet = true;
}
if (j.find("ipv6Addr") != j.end()) {
j.at("ipv6Addr").get_to(o.m_Ipv6Addr);
o.m_Ipv6AddrIsSet = true;
}
if (j.find("port") != j.end()) {
j.at("port").get_to(o.m_Port);
o.m_PortIsSet = true;
}
}
std::string DddTrafficDescriptor::getIpv4Addr() const {
return m_Ipv4Addr;
}
void DddTrafficDescriptor::setIpv4Addr(std::string const& value) {
m_Ipv4Addr = value;
m_Ipv4AddrIsSet = true;
}
bool DddTrafficDescriptor::ipv4AddrIsSet() const {
return m_Ipv4AddrIsSet;
}
void DddTrafficDescriptor::unsetIpv4Addr() {
m_Ipv4AddrIsSet = false;
}
Ipv6Addr DddTrafficDescriptor::getIpv6Addr() const {
return m_Ipv6Addr;
}
void DddTrafficDescriptor::setIpv6Addr(Ipv6Addr const& value) {
m_Ipv6Addr = value;
m_Ipv6AddrIsSet = true;
}
bool DddTrafficDescriptor::ipv6AddrIsSet() const {
return m_Ipv6AddrIsSet;
}
void DddTrafficDescriptor::unsetIpv6Addr() {
m_Ipv6AddrIsSet = false;
}
int32_t DddTrafficDescriptor::getPort() const {
return m_Port;
}
void DddTrafficDescriptor::setPort(int32_t const value) {
m_Port = value;
m_PortIsSet = true;
}
bool DddTrafficDescriptor::portIsSet() const {
return m_PortIsSet;
}
void DddTrafficDescriptor::unsetPort() {
m_PortIsSet = false;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* DddTrafficDescriptor.h
*
*
*/
#ifndef DddTrafficDescriptor_H_
#define DddTrafficDescriptor_H_
#include <string>
#include "Ipv6Addr.h"
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class DddTrafficDescriptor {
public:
DddTrafficDescriptor();
virtual ~DddTrafficDescriptor();
void validate();
/////////////////////////////////////////////
/// DddTrafficDescriptor members
/// <summary>
///
/// </summary>
std::string getIpv4Addr() const;
void setIpv4Addr(std::string const& value);
bool ipv4AddrIsSet() const;
void unsetIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Addr getIpv6Addr() const;
void setIpv6Addr(Ipv6Addr const& value);
bool ipv6AddrIsSet() const;
void unsetIpv6Addr();
/// <summary>
///
/// </summary>
int32_t getPort() const;
void setPort(int32_t const value);
bool portIsSet() const;
void unsetPort();
friend void to_json(nlohmann::json& j, const DddTrafficDescriptor& o);
friend void from_json(const nlohmann::json& j, DddTrafficDescriptor& o);
protected:
std::string m_Ipv4Addr;
bool m_Ipv4AddrIsSet;
Ipv6Addr m_Ipv6Addr;
bool m_Ipv6AddrIsSet;
int32_t m_Port;
bool m_PortIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* DddTrafficDescriptor_H_ */
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "DnaiChangeType.h"
namespace oai {
namespace amf {
namespace model {
DnaiChangeType::DnaiChangeType() {}
DnaiChangeType::~DnaiChangeType() {}
void DnaiChangeType::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const DnaiChangeType& o) {
j = nlohmann::json();
}
void from_json(const nlohmann::json& j, DnaiChangeType& o) {}
} // namespace model
} // namespace amf
} // namespace oai
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* DnaiChangeType.h
*
* Possible values are - EARLY: Early notification of UP path reconfiguration. -
* EARLY_LATE: Early and late notification of UP path reconfiguration. This
* value shall only be present in the subscription to the DNAI change event. -
* LATE: Late notification of UP path reconfiguration.
*/
#ifndef DnaiChangeType_H_
#define DnaiChangeType_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
/// Possible values are - EARLY: Early notification of UP path reconfiguration.
/// - EARLY_LATE: Early and late notification of UP path reconfiguration. This
/// value shall only be present in the subscription to the DNAI change event. -
/// LATE: Late notification of UP path reconfiguration.
/// </summary>
class DnaiChangeType {
public:
DnaiChangeType();
virtual ~DnaiChangeType();
void validate();
/////////////////////////////////////////////
/// DnaiChangeType members
friend void to_json(nlohmann::json& j, const DnaiChangeType& o);
friend void from_json(const nlohmann::json& j, DnaiChangeType& o);
protected:
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* DnaiChangeType_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "DnnUpfInfoItem.h"
namespace oai {
namespace amf {
namespace model {
DnnUpfInfoItem::DnnUpfInfoItem() {
m_Dnn = "";
m_DnaiListIsSet = false;
// m_PduSessionTypesIsSet = false;
}
DnnUpfInfoItem::~DnnUpfInfoItem() {}
void DnnUpfInfoItem::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const DnnUpfInfoItem& o) {
j = nlohmann::json();
j["dnn"] = o.m_Dnn;
if (o.dnaiListIsSet() || !o.m_DnaiList.empty()) j["dnaiList"] = o.m_DnaiList;
// if (o.pduSessionTypesIsSet() || !o.m_PduSessionTypes.empty())
// j["pduSessionTypes"] = o.m_PduSessionTypes;
}
void from_json(const nlohmann::json& j, DnnUpfInfoItem& o) {
j.at("dnn").get_to(o.m_Dnn);
if (j.find("dnaiList") != j.end()) {
j.at("dnaiList").get_to(o.m_DnaiList);
o.m_DnaiListIsSet = true;
}
// if (j.find("pduSessionTypes") != j.end()) {
// j.at("pduSessionTypes").get_to(o.m_PduSessionTypes);
// o.m_PduSessionTypesIsSet = true;
//}
}
std::string DnnUpfInfoItem::getDnn() const {
return m_Dnn;
}
void DnnUpfInfoItem::setDnn(std::string const& value) {
m_Dnn = value;
}
std::vector<std::string>& DnnUpfInfoItem::getDnaiList() {
return m_DnaiList;
}
void DnnUpfInfoItem::setDnaiList(std::vector<std::string> const& value) {
m_DnaiList = value;
m_DnaiListIsSet = true;
}
bool DnnUpfInfoItem::dnaiListIsSet() const {
return m_DnaiListIsSet;
}
void DnnUpfInfoItem::unsetDnaiList() {
m_DnaiListIsSet = false;
}
// std::vector<PduSessionType>& DnnUpfInfoItem::getPduSessionTypes() {
// return m_PduSessionTypes;
//}
// void DnnUpfInfoItem::setPduSessionTypes(
// std::vector<PduSessionType> const& value) {
// m_PduSessionTypes = value;
// m_PduSessionTypesIsSet = true;
//}
// bool DnnUpfInfoItem::pduSessionTypesIsSet() const {
// return m_PduSessionTypesIsSet;
//}
// void DnnUpfInfoItem::unsetPduSessionTypes() {
// m_PduSessionTypesIsSet = false;
//}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* DnnUpfInfoItem.h
*
*
*/
#ifndef DnnUpfInfoItem_H_
#define DnnUpfInfoItem_H_
#include <string>
//#include "PduSessionType.h"
#include <vector>
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class DnnUpfInfoItem {
public:
DnnUpfInfoItem();
virtual ~DnnUpfInfoItem();
void validate();
/////////////////////////////////////////////
/// DnnUpfInfoItem members
/// <summary>
///
/// </summary>
std::string getDnn() const;
void setDnn(std::string const& value);
/// <summary>
///
/// </summary>
std::vector<std::string>& getDnaiList();
void setDnaiList(std::vector<std::string> const& value);
bool dnaiListIsSet() const;
void unsetDnaiList();
/// <summary>
///
/// </summary>
// std::vector<PduSessionType>& getPduSessionTypes();
// void setPduSessionTypes(std::vector<PduSessionType> const& value);
// bool pduSessionTypesIsSet() const;
// void unsetPduSessionTypes();
friend void to_json(nlohmann::json& j, const DnnUpfInfoItem& o);
friend void from_json(const nlohmann::json& j, DnnUpfInfoItem& o);
protected:
std::string m_Dnn;
std::vector<std::string> m_DnaiList;
bool m_DnaiListIsSet;
// std::vector<PduSessionType> m_PduSessionTypes;
// bool m_PduSessionTypesIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* DnnUpfInfoItem_H_ */
This diff is collapsed.
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* EventNotification.h
*
*
*/
#ifndef EventNotification_H_
#define EventNotification_H_
#include "DnaiChangeType.h"
#include "DddStatus.h"
#include <string>
#include "Ipv6Prefix.h"
#include "AmfEvent.h"
#include "PlmnId.h"
#include "RouteToLocation.h"
#include "AccessType.h"
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class EventNotification {
public:
EventNotification();
virtual ~EventNotification();
void validate();
/////////////////////////////////////////////
/// EventNotification members
/// <summary>
///
/// </summary>
AmfEvent getEvent() const;
void setEvent(AmfEvent const& value);
/// <summary>
///
/// </summary>
std::string getTimeStamp() const;
void setTimeStamp(std::string const& value);
/// <summary>
///
/// </summary>
std::string getSupi() const;
void setSupi(std::string const& value);
bool supiIsSet() const;
void unsetSupi();
/// <summary>
///
/// </summary>
std::string getGpsi() const;
void setGpsi(std::string const& value);
bool gpsiIsSet() const;
void unsetGpsi();
/// <summary>
///
/// </summary>
std::string getSourceDnai() const;
void setSourceDnai(std::string const& value);
bool sourceDnaiIsSet() const;
void unsetSourceDnai();
/// <summary>
///
/// </summary>
std::string getTargetDnai() const;
void setTargetDnai(std::string const& value);
bool targetDnaiIsSet() const;
void unsetTargetDnai();
/// <summary>
///
/// </summary>
DnaiChangeType getDnaiChgType() const;
void setDnaiChgType(DnaiChangeType const& value);
bool dnaiChgTypeIsSet() const;
void unsetDnaiChgType();
/// <summary>
///
/// </summary>
std::string getSourceUeIpv4Addr() const;
void setSourceUeIpv4Addr(std::string const& value);
bool sourceUeIpv4AddrIsSet() const;
void unsetSourceUeIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Prefix getSourceUeIpv6Prefix() const;
void setSourceUeIpv6Prefix(Ipv6Prefix const& value);
bool sourceUeIpv6PrefixIsSet() const;
void unsetSourceUeIpv6Prefix();
/// <summary>
///
/// </summary>
std::string getTargetUeIpv4Addr() const;
void setTargetUeIpv4Addr(std::string const& value);
bool targetUeIpv4AddrIsSet() const;
void unsetTargetUeIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Prefix getTargetUeIpv6Prefix() const;
void setTargetUeIpv6Prefix(Ipv6Prefix const& value);
bool targetUeIpv6PrefixIsSet() const;
void unsetTargetUeIpv6Prefix();
/// <summary>
///
/// </summary>
RouteToLocation getSourceTraRouting() const;
void setSourceTraRouting(RouteToLocation const& value);
bool sourceTraRoutingIsSet() const;
void unsetSourceTraRouting();
/// <summary>
///
/// </summary>
RouteToLocation getTargetTraRouting() const;
void setTargetTraRouting(RouteToLocation const& value);
bool targetTraRoutingIsSet() const;
void unsetTargetTraRouting();
/// <summary>
///
/// </summary>
std::string getUeMac() const;
void setUeMac(std::string const& value);
bool ueMacIsSet() const;
void unsetUeMac();
/// <summary>
///
/// </summary>
std::string getAdIpv4Addr() const;
void setAdIpv4Addr(std::string const& value);
bool adIpv4AddrIsSet() const;
void unsetAdIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Prefix getAdIpv6Prefix() const;
void setAdIpv6Prefix(Ipv6Prefix const& value);
bool adIpv6PrefixIsSet() const;
void unsetAdIpv6Prefix();
/// <summary>
///
/// </summary>
std::string getReIpv4Addr() const;
void setReIpv4Addr(std::string const& value);
bool reIpv4AddrIsSet() const;
void unsetReIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Prefix getReIpv6Prefix() const;
void setReIpv6Prefix(Ipv6Prefix const& value);
bool reIpv6PrefixIsSet() const;
void unsetReIpv6Prefix();
/// <summary>
///
/// </summary>
PlmnId getPlmnId() const;
void setPlmnId(PlmnId const& value);
bool plmnIdIsSet() const;
void unsetPlmnId();
/// <summary>
///
/// </summary>
AccessType getAccType() const;
void setAccType(AccessType const& value);
bool accTypeIsSet() const;
void unsetAccType();
/// <summary>
///
/// </summary>
int32_t getPduSeId() const;
void setPduSeId(int32_t const value);
bool pduSeIdIsSet() const;
void unsetPduSeId();
/// <summary>
///
/// </summary>
DddStatus getDddStatus() const;
void setDddStatus(DddStatus const& value);
bool dddStatusIsSet() const;
void unsetDddStatus();
/// <summary>
///
/// </summary>
std::string getMaxWaitTime() const;
void setMaxWaitTime(std::string const& value);
bool maxWaitTimeIsSet() const;
void unsetMaxWaitTime();
friend void to_json(nlohmann::json& j, const EventNotification& o);
friend void from_json(const nlohmann::json& j, EventNotification& o);
protected:
AmfEvent m_Event;
std::string m_TimeStamp;
std::string m_Supi;
bool m_SupiIsSet;
std::string m_Gpsi;
bool m_GpsiIsSet;
std::string m_SourceDnai;
bool m_SourceDnaiIsSet;
std::string m_TargetDnai;
bool m_TargetDnaiIsSet;
DnaiChangeType m_DnaiChgType;
bool m_DnaiChgTypeIsSet;
std::string m_SourceUeIpv4Addr;
bool m_SourceUeIpv4AddrIsSet;
Ipv6Prefix m_SourceUeIpv6Prefix;
bool m_SourceUeIpv6PrefixIsSet;
std::string m_TargetUeIpv4Addr;
bool m_TargetUeIpv4AddrIsSet;
Ipv6Prefix m_TargetUeIpv6Prefix;
bool m_TargetUeIpv6PrefixIsSet;
RouteToLocation m_SourceTraRouting;
bool m_SourceTraRoutingIsSet;
RouteToLocation m_TargetTraRouting;
bool m_TargetTraRoutingIsSet;
std::string m_UeMac;
bool m_UeMacIsSet;
std::string m_AdIpv4Addr;
bool m_AdIpv4AddrIsSet;
Ipv6Prefix m_AdIpv6Prefix;
bool m_AdIpv6PrefixIsSet;
std::string m_ReIpv4Addr;
bool m_ReIpv4AddrIsSet;
Ipv6Prefix m_ReIpv6Prefix;
bool m_ReIpv6PrefixIsSet;
PlmnId m_PlmnId;
bool m_PlmnIdIsSet;
AccessType m_AccType;
bool m_AccTypeIsSet;
int32_t m_PduSeId;
bool m_PduSeIdIsSet;
DddStatus m_DddStatus;
bool m_DddStatusIsSet;
std::string m_MaxWaitTime;
bool m_MaxWaitTimeIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* EventNotification_H_ */
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "EventSubscription.h"
namespace oai {
namespace amf {
namespace model {
EventSubscription::EventSubscription() {
m_DnaiChgTypeIsSet = false;
m_DddTraDesIsSet = false;
m_DddStatiIsSet = false;
}
EventSubscription::~EventSubscription() {}
void EventSubscription::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const EventSubscription& o) {
j = nlohmann::json();
j["event"] = o.m_Event;
if (o.dnaiChgTypeIsSet()) j["dnaiChgType"] = o.m_DnaiChgType;
if (o.dddTraDesIsSet()) j["dddTraDes"] = o.m_DddTraDes;
if (o.dddStatiIsSet() || !o.m_DddStati.empty()) j["dddStati"] = o.m_DddStati;
}
void from_json(const nlohmann::json& j, EventSubscription& o) {
j.at("event").get_to(o.m_Event);
if (j.find("dnaiChgType") != j.end()) {
j.at("dnaiChgType").get_to(o.m_DnaiChgType);
o.m_DnaiChgTypeIsSet = true;
}
if (j.find("dddTraDes") != j.end()) {
j.at("dddTraDes").get_to(o.m_DddTraDes);
o.m_DddTraDesIsSet = true;
}
if (j.find("dddStati") != j.end()) {
j.at("dddStati").get_to(o.m_DddStati);
o.m_DddStatiIsSet = true;
}
}
AmfEvent EventSubscription::getEvent() const {
return m_Event;
}
void EventSubscription::setEvent(AmfEvent const& value) {
m_Event = value;
}
DnaiChangeType EventSubscription::getDnaiChgType() const {
return m_DnaiChgType;
}
void EventSubscription::setDnaiChgType(DnaiChangeType const& value) {
m_DnaiChgType = value;
m_DnaiChgTypeIsSet = true;
}
bool EventSubscription::dnaiChgTypeIsSet() const {
return m_DnaiChgTypeIsSet;
}
void EventSubscription::unsetDnaiChgType() {
m_DnaiChgTypeIsSet = false;
}
DddTrafficDescriptor EventSubscription::getDddTraDes() const {
return m_DddTraDes;
}
void EventSubscription::setDddTraDes(DddTrafficDescriptor const& value) {
m_DddTraDes = value;
m_DddTraDesIsSet = true;
}
bool EventSubscription::dddTraDesIsSet() const {
return m_DddTraDesIsSet;
}
void EventSubscription::unsetDddTraDes() {
m_DddTraDesIsSet = false;
}
std::vector<DddStatus>& EventSubscription::getDddStati() {
return m_DddStati;
}
void EventSubscription::setDddStati(std::vector<DddStatus> const& value) {
m_DddStati = value;
m_DddStatiIsSet = true;
}
bool EventSubscription::dddStatiIsSet() const {
return m_DddStatiIsSet;
}
void EventSubscription::unsetDddStati() {
m_DddStatiIsSet = false;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* EventSubscription.h
*
*
*/
#ifndef EventSubscription_H_
#define EventSubscription_H_
#include "DnaiChangeType.h"
#include "DddTrafficDescriptor.h"
#include "DddStatus.h"
#include "AmfEvent.h"
#include <vector>
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class EventSubscription {
public:
EventSubscription();
virtual ~EventSubscription();
void validate();
/////////////////////////////////////////////
/// EventSubscription members
/// <summary>
///
/// </summary>
AmfEvent getEvent() const;
void setEvent(AmfEvent const& value);
/// <summary>
///
/// </summary>
DnaiChangeType getDnaiChgType() const;
void setDnaiChgType(DnaiChangeType const& value);
bool dnaiChgTypeIsSet() const;
void unsetDnaiChgType();
/// <summary>
///
/// </summary>
DddTrafficDescriptor getDddTraDes() const;
void setDddTraDes(DddTrafficDescriptor const& value);
bool dddTraDesIsSet() const;
void unsetDddTraDes();
/// <summary>
///
/// </summary>
std::vector<DddStatus>& getDddStati();
void setDddStati(std::vector<DddStatus> const& value);
bool dddStatiIsSet() const;
void unsetDddStati();
friend void to_json(nlohmann::json& j, const EventSubscription& o);
friend void from_json(const nlohmann::json& j, EventSubscription& o);
protected:
AmfEvent m_Event;
DnaiChangeType m_DnaiChgType;
bool m_DnaiChgTypeIsSet;
DddTrafficDescriptor m_DddTraDes;
bool m_DddTraDesIsSet;
std::vector<DddStatus> m_DddStati;
bool m_DddStatiIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* EventSubscription_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "InterfaceUpfInfoItem.h"
namespace oai {
namespace amf {
namespace model {
InterfaceUpfInfoItem::InterfaceUpfInfoItem() {
m_Ipv4EndpointAddressesIsSet = false;
m_Ipv6EndpointAddressesIsSet = false;
m_EndpointFqdn = "";
m_EndpointFqdnIsSet = false;
m_NetworkInstance = "";
m_NetworkInstanceIsSet = false;
}
InterfaceUpfInfoItem::~InterfaceUpfInfoItem() {}
void InterfaceUpfInfoItem::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const InterfaceUpfInfoItem& o) {
j = nlohmann::json();
j["interfaceType"] = o.m_InterfaceType;
if (o.ipv4EndpointAddressesIsSet() || !o.m_Ipv4EndpointAddresses.empty())
j["ipv4EndpointAddresses"] = o.m_Ipv4EndpointAddresses;
if (o.ipv6EndpointAddressesIsSet() || !o.m_Ipv6EndpointAddresses.empty())
j["ipv6EndpointAddresses"] = o.m_Ipv6EndpointAddresses;
if (o.endpointFqdnIsSet()) j["endpointFqdn"] = o.m_EndpointFqdn;
if (o.networkInstanceIsSet()) j["networkInstance"] = o.m_NetworkInstance;
}
void from_json(const nlohmann::json& j, InterfaceUpfInfoItem& o) {
j.at("interfaceType").get_to(o.m_InterfaceType);
if (j.find("ipv4EndpointAddresses") != j.end()) {
j.at("ipv4EndpointAddresses").get_to(o.m_Ipv4EndpointAddresses);
o.m_Ipv4EndpointAddressesIsSet = true;
}
if (j.find("ipv6EndpointAddresses") != j.end()) {
j.at("ipv6EndpointAddresses").get_to(o.m_Ipv6EndpointAddresses);
o.m_Ipv6EndpointAddressesIsSet = true;
}
if (j.find("endpointFqdn") != j.end()) {
j.at("endpointFqdn").get_to(o.m_EndpointFqdn);
o.m_EndpointFqdnIsSet = true;
}
if (j.find("networkInstance") != j.end()) {
j.at("networkInstance").get_to(o.m_NetworkInstance);
o.m_NetworkInstanceIsSet = true;
}
}
UPInterfaceType InterfaceUpfInfoItem::getInterfaceType() const {
return m_InterfaceType;
}
void InterfaceUpfInfoItem::setInterfaceType(UPInterfaceType const& value) {
m_InterfaceType = value;
}
std::vector<std::string>& InterfaceUpfInfoItem::getIpv4EndpointAddresses() {
return m_Ipv4EndpointAddresses;
}
void InterfaceUpfInfoItem::setIpv4EndpointAddresses(
std::vector<std::string> const& value) {
m_Ipv4EndpointAddresses = value;
m_Ipv4EndpointAddressesIsSet = true;
}
bool InterfaceUpfInfoItem::ipv4EndpointAddressesIsSet() const {
return m_Ipv4EndpointAddressesIsSet;
}
void InterfaceUpfInfoItem::unsetIpv4EndpointAddresses() {
m_Ipv4EndpointAddressesIsSet = false;
}
std::vector<Ipv6Addr>& InterfaceUpfInfoItem::getIpv6EndpointAddresses() {
return m_Ipv6EndpointAddresses;
}
void InterfaceUpfInfoItem::setIpv6EndpointAddresses(
std::vector<Ipv6Addr> const& value) {
m_Ipv6EndpointAddresses = value;
m_Ipv6EndpointAddressesIsSet = true;
}
bool InterfaceUpfInfoItem::ipv6EndpointAddressesIsSet() const {
return m_Ipv6EndpointAddressesIsSet;
}
void InterfaceUpfInfoItem::unsetIpv6EndpointAddresses() {
m_Ipv6EndpointAddressesIsSet = false;
}
std::string InterfaceUpfInfoItem::getEndpointFqdn() const {
return m_EndpointFqdn;
}
void InterfaceUpfInfoItem::setEndpointFqdn(std::string const& value) {
m_EndpointFqdn = value;
m_EndpointFqdnIsSet = true;
}
bool InterfaceUpfInfoItem::endpointFqdnIsSet() const {
return m_EndpointFqdnIsSet;
}
void InterfaceUpfInfoItem::unsetEndpointFqdn() {
m_EndpointFqdnIsSet = false;
}
std::string InterfaceUpfInfoItem::getNetworkInstance() const {
return m_NetworkInstance;
}
void InterfaceUpfInfoItem::setNetworkInstance(std::string const& value) {
m_NetworkInstance = value;
m_NetworkInstanceIsSet = true;
}
bool InterfaceUpfInfoItem::networkInstanceIsSet() const {
return m_NetworkInstanceIsSet;
}
void InterfaceUpfInfoItem::unsetNetworkInstance() {
m_NetworkInstanceIsSet = false;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* InterfaceUpfInfoItem.h
*
*
*/
#ifndef InterfaceUpfInfoItem_H_
#define InterfaceUpfInfoItem_H_
#include <string>
#include "Ipv6Addr.h"
#include <vector>
#include "UPInterfaceType.h"
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class InterfaceUpfInfoItem {
public:
InterfaceUpfInfoItem();
virtual ~InterfaceUpfInfoItem();
void validate();
/////////////////////////////////////////////
/// InterfaceUpfInfoItem members
/// <summary>
///
/// </summary>
UPInterfaceType getInterfaceType() const;
void setInterfaceType(UPInterfaceType const& value);
/// <summary>
///
/// </summary>
std::vector<std::string>& getIpv4EndpointAddresses();
void setIpv4EndpointAddresses(std::vector<std::string> const& value);
bool ipv4EndpointAddressesIsSet() const;
void unsetIpv4EndpointAddresses();
/// <summary>
///
/// </summary>
std::vector<Ipv6Addr>& getIpv6EndpointAddresses();
void setIpv6EndpointAddresses(std::vector<Ipv6Addr> const& value);
bool ipv6EndpointAddressesIsSet() const;
void unsetIpv6EndpointAddresses();
/// <summary>
///
/// </summary>
std::string getEndpointFqdn() const;
void setEndpointFqdn(std::string const& value);
bool endpointFqdnIsSet() const;
void unsetEndpointFqdn();
/// <summary>
///
/// </summary>
std::string getNetworkInstance() const;
void setNetworkInstance(std::string const& value);
bool networkInstanceIsSet() const;
void unsetNetworkInstance();
friend void to_json(nlohmann::json& j, const InterfaceUpfInfoItem& o);
friend void from_json(const nlohmann::json& j, InterfaceUpfInfoItem& o);
protected:
UPInterfaceType m_InterfaceType;
std::vector<std::string> m_Ipv4EndpointAddresses;
bool m_Ipv4EndpointAddressesIsSet;
std::vector<Ipv6Addr> m_Ipv6EndpointAddresses;
bool m_Ipv6EndpointAddressesIsSet;
std::string m_EndpointFqdn;
bool m_EndpointFqdnIsSet;
std::string m_NetworkInstance;
bool m_NetworkInstanceIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* InterfaceUpfInfoItem_H_ */
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "Ipv6Prefix.h"
namespace oai {
namespace amf {
namespace model {
Ipv6Prefix::Ipv6Prefix() {}
Ipv6Prefix::~Ipv6Prefix() {}
void Ipv6Prefix::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const Ipv6Prefix& o) {
j = nlohmann::json();
}
void from_json(const nlohmann::json& j, Ipv6Prefix& o) {}
} // namespace model
} // namespace amf
} // namespace oai
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* Ipv6Prefix.h
*
*
*/
#ifndef Ipv6Prefix_H_
#define Ipv6Prefix_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class Ipv6Prefix {
public:
Ipv6Prefix();
virtual ~Ipv6Prefix();
void validate();
/////////////////////////////////////////////
/// Ipv6Prefix members
friend void to_json(nlohmann::json& j, const Ipv6Prefix& o);
friend void from_json(const nlohmann::json& j, Ipv6Prefix& o);
protected:
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* Ipv6Prefix_H_ */
This diff is collapsed.
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* NFProfile.h
*
*
*/
#ifndef NFProfile_H_
#define NFProfile_H_
//#include "BsfInfo.h"
//#include "PcfInfo.h"
//#include "NrfInfo.h"
//#include "UdmInfo.h"
#include "UpfInfo.h"
//#include "ChfInfo.h"
//#include "SmfInfo.h"
#include <string>
//#include "DefaultNotificationSubscription.h"
#include "Ipv6Addr.h"
//#include "NFStatus.h"
//#include "NFService.h"
//#include "PlmnId.h"
//#include "Snssai.h"
#include <vector>
//#include "AmfInfo.h"
//#include "UdrInfo.h"
//#include "NFType.h"
//#include "Object.h"
//#include "PlmnSnssai.h"
//#include "AusfInfo.h"
//#include "NwdafInfo.h"
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class NFProfile {
public:
NFProfile();
virtual ~NFProfile();
void validate();
/////////////////////////////////////////////
/// NFProfile members
/// <summary>
///
/// </summary>
std::string getNfInstanceId() const;
void setNfInstanceId(std::string const& value);
/// <summary>
///
/// </summary>
std::string getNfInstanceName() const;
void setNfInstanceName(std::string const& value);
bool nfInstanceNameIsSet() const;
void unsetNfInstanceName();
/// <summary>
///
/// </summary>
std::string getNfType() const;
void setNfType(std::string const& value);
/// <summary>
///
/// </summary>
std::string getNfStatus() const;
void setNfStatus(std::string const& value);
/// <summary>
///
/// </summary>
int32_t getHeartBeatTimer() const;
void setHeartBeatTimer(int32_t const value);
bool heartBeatTimerIsSet() const;
void unsetHeartBeatTimer();
/// <summary>
///
/// </summary>
// std::vector<PlmnId>& getPlmnList();
// void setPlmnList(std::vector<PlmnId> const& value);
// bool plmnListIsSet() const;
// void unsetPlmnList();
/// <summary>
///
/// </summary>
// std::vector<Snssai> getSNssais() const;
// void setSNssais(std::vector<Snssai> const& value);
// bool sNssaisIsSet() const;
// void unsetSNssais();
/// <summary>
///
/// </summary>
// std::vector<PlmnSnssai>& getPerPlmnSnssaiList();
// void setPerPlmnSnssaiList(std::vector<PlmnSnssai> const& value);
// bool perPlmnSnssaiListIsSet() const;
// void unsetPerPlmnSnssaiList();
/// <summary>
///
/// </summary>
std::vector<std::string>& getNsiList();
void setNsiList(std::vector<std::string> const& value);
bool nsiListIsSet() const;
void unsetNsiList();
/// <summary>
///
/// </summary>
std::string getFqdn() const;
void setFqdn(std::string const& value);
bool fqdnIsSet() const;
void unsetFqdn();
/// <summary>
///
/// </summary>
std::string getInterPlmnFqdn() const;
void setInterPlmnFqdn(std::string const& value);
bool interPlmnFqdnIsSet() const;
void unsetInterPlmnFqdn();
/// <summary>
///
/// </summary>
std::vector<std::string> getIpv4Addresses() const;
void setIpv4Addresses(std::vector<std::string> const& value);
bool ipv4AddressesIsSet() const;
void unsetIpv4Addresses();
/// <summary>
///
/// </summary>
std::vector<Ipv6Addr>& getIpv6Addresses();
void setIpv6Addresses(std::vector<Ipv6Addr> const& value);
bool ipv6AddressesIsSet() const;
void unsetIpv6Addresses();
/// <summary>
///
/// </summary>
// std::vector<PlmnId>& getAllowedPlmns();
// void setAllowedPlmns(std::vector<PlmnId> const& value);
// bool allowedPlmnsIsSet() const;
// void unsetAllowedPlmns();
/// <summary>
///
/// </summary>
std::vector<std::string>& getAllowedNfTypes();
void setAllowedNfTypes(std::vector<std::string> const& value);
bool allowedNfTypesIsSet() const;
void unsetAllowedNfTypes();
/// <summary>
///
/// </summary>
std::vector<std::string>& getAllowedNfDomains();
void setAllowedNfDomains(std::vector<std::string> const& value);
bool allowedNfDomainsIsSet() const;
void unsetAllowedNfDomains();
/// <summary>
///
/// </summary>
// std::vector<Snssai>& getAllowedNssais();
// void setAllowedNssais(std::vector<Snssai> const& value);
// bool allowedNssaisIsSet() const;
// void unsetAllowedNssais();
/// <summary>
///
/// </summary>
int32_t getPriority() const;
void setPriority(int32_t const value);
bool priorityIsSet() const;
void unsetPriority();
/// <summary>
///
/// </summary>
int32_t getCapacity() const;
void setCapacity(int32_t const value);
bool capacityIsSet() const;
void unsetCapacity();
/// <summary>
///
/// </summary>
int32_t getLoad() const;
void setLoad(int32_t const value);
bool loadIsSet() const;
void unsetLoad();
/// <summary>
///
/// </summary>
std::string getLocality() const;
void setLocality(std::string const& value);
bool localityIsSet() const;
void unsetLocality();
/// <summary>
///
/// </summary>
UpfInfo getUpfInfo() const;
void setUpfInfo(UpfInfo const& value);
bool upfInfoIsSet() const;
void unsetUpfInfo();
/// <summary>
///
/// </summary>
std::vector<UpfInfo>& getUpfInfoExt();
void setUpfInfoExt(std::vector<UpfInfo> const& value);
bool upfInfoExtIsSet() const;
void unsetUpfInfoExt();
std::string getRecoveryTime() const;
void setRecoveryTime(std::string const& value);
bool recoveryTimeIsSet() const;
void unsetRecoveryTime();
/// <summary>
///
/// </summary>
bool isNfServicePersistence() const;
void setNfServicePersistence(bool const value);
bool nfServicePersistenceIsSet() const;
void unsetNfServicePersistence();
/// <summary>
///
/// <summary>
///
/// </summary>
bool isNfProfileChangesSupportInd() const;
void setNfProfileChangesSupportInd(bool const value);
bool nfProfileChangesSupportIndIsSet() const;
void unsetNfProfileChangesSupportInd();
/// <summary>
///
/// </summary>
bool isNfProfileChangesInd() const;
void setNfProfileChangesInd(bool const value);
bool nfProfileChangesIndIsSet() const;
void unsetNfProfileChangesInd();
/// <summary>
///
/// </summary>
friend void to_json(nlohmann::json& j, const NFProfile& o);
friend void from_json(const nlohmann::json& j, NFProfile& o);
protected:
std::string m_NfInstanceId;
std::string m_NfInstanceName;
bool m_NfInstanceNameIsSet;
std::string m_NfType;
std::string m_NfStatus;
int32_t m_HeartBeatTimer;
bool m_HeartBeatTimerIsSet;
// std::vector<PlmnId> m_PlmnList;
// bool m_PlmnListIsSet;
// std::vector<Snssai> m_SNssais;
// bool m_SNssaisIsSet;
// std::vector<PlmnSnssai> m_PerPlmnSnssaiList;
// bool m_PerPlmnSnssaiListIsSet;
std::vector<std::string> m_NsiList;
bool m_NsiListIsSet;
std::string m_Fqdn;
bool m_FqdnIsSet;
std::string m_InterPlmnFqdn;
bool m_InterPlmnFqdnIsSet;
std::vector<std::string> m_Ipv4Addresses;
bool m_Ipv4AddressesIsSet;
std::vector<Ipv6Addr> m_Ipv6Addresses;
bool m_Ipv6AddressesIsSet;
// std::vector<PlmnId> m_AllowedPlmns;
// bool m_AllowedPlmnsIsSet;
std::vector<std::string> m_AllowedNfTypes;
bool m_AllowedNfTypesIsSet;
std::vector<std::string> m_AllowedNfDomains;
bool m_AllowedNfDomainsIsSet;
// std::vector<Snssai> m_AllowedNssais;
// bool m_AllowedNssaisIsSet;
int32_t m_Capacity;
bool m_CapacityIsSet;
int32_t m_Load;
bool m_LoadIsSet;
std::string m_Locality;
bool m_LocalityIsSet;
int32_t m_Priority;
bool m_PriorityIsSet;
UpfInfo m_UpfInfo;
bool m_UpfInfoIsSet;
std::vector<UpfInfo> m_UpfInfoExt;
bool m_UpfInfoExtIsSet;
std::string m_RecoveryTime;
bool m_RecoveryTimeIsSet;
bool m_NfServicePersistence;
bool m_NfServicePersistenceIsSet;
bool m_NfProfileChangesSupportInd;
bool m_NfProfileChangesSupportIndIsSet;
bool m_NfProfileChangesInd;
bool m_NfProfileChangesIndIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* NFProfile_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "NFStatus.h"
namespace oai {
namespace amf_server {
namespace model {
NFStatus::NFStatus() {}
NFStatus::~NFStatus() {}
void NFStatus::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const NFStatus& o) {
j = nlohmann::json();
}
void from_json(const nlohmann::json& j, NFStatus& o) {}
} // namespace model
} // namespace amf_server
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* NFStatus.h
*
*
*/
#ifndef NFStatus_H_
#define NFStatus_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf_server {
namespace model {
/// <summary>
///
/// </summary>
class NFStatus {
public:
NFStatus();
virtual ~NFStatus();
void validate();
/////////////////////////////////////////////
/// NFStatus members
friend void to_json(nlohmann::json& j, const NFStatus& o);
friend void from_json(const nlohmann::json& j, NFStatus& o);
protected:
};
} // namespace model
} // namespace amf_server
} // namespace oai
#endif /* NFStatus_H_ */
This diff is collapsed.
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* NamfEventExposure.h
*
*
*/
#ifndef NamfEventExposure_H_
#define NamfEventExposure_H_
#include "EventSubscription.h"
#include "NotificationMethod.h"
#include <string>
#include "Ipv6Addr.h"
#include <vector>
#include "Guami.h"
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class NamfEventExposure {
public:
NamfEventExposure();
virtual ~NamfEventExposure();
void validate();
/////////////////////////////////////////////
/// NamfEventExposure members
/// <summary>
///
/// </summary>
std::string getSupi() const;
void setSupi(std::string const& value);
bool supiIsSet() const;
void unsetSupi();
/// <summary>
///
/// </summary>
std::string getGpsi() const;
void setGpsi(std::string const& value);
bool gpsiIsSet() const;
void unsetGpsi();
/// <summary>
/// Any UE indication. This IE shall be present if the event subscription is
/// applicable to any UE. Default value \&quot;FALSE\&quot; is used, if not
/// present.
/// </summary>
bool isAnyUeInd() const;
void setAnyUeInd(bool const value);
bool anyUeIndIsSet() const;
void unsetAnyUeInd();
/// <summary>
///
/// </summary>
std::string getGroupId() const;
void setGroupId(std::string const& value);
bool groupIdIsSet() const;
void unsetGroupId();
/// <summary>
///
/// </summary>
int32_t getPduSeId() const;
void setPduSeId(int32_t const value);
bool pduSeIdIsSet() const;
void unsetPduSeId();
/// <summary>
/// Identifies an Individual AMF Notification Subscription. To enable that the
/// value is used as part of a URI, the string shall only contain characters
/// allowed according to the \&quot;lower-with-hyphen\&quot; naming convention
/// defined in 3GPP TS 29.501 [2]. In an OpenAPI [10] schema, the format shall
/// be designated as \&quot;SubId\&quot;.
/// </summary>
std::string getSubId() const;
void setSubId(std::string const& value);
bool subIdIsSet() const;
void unsetSubId();
/// <summary>
/// Notification Correlation ID assigned by the NF service consumer.
/// </summary>
std::string getNotifId() const;
void setNotifId(std::string const& value);
/// <summary>
///
/// </summary>
std::string getNotifUri() const;
void setNotifUri(std::string const& value);
/// <summary>
/// Alternate or backup IPv4 Addess(es) where to send Notifications.
/// </summary>
std::vector<std::string>& getAltNotifIpv4Addrs();
void setAltNotifIpv4Addrs(std::vector<std::string> const& value);
bool altNotifIpv4AddrsIsSet() const;
void unsetAltNotifIpv4Addrs();
/// <summary>
/// Alternate or backup IPv6 Addess(es) where to send Notifications.
/// </summary>
std::vector<Ipv6Addr>& getAltNotifIpv6Addrs();
void setAltNotifIpv6Addrs(std::vector<Ipv6Addr> const& value);
bool altNotifIpv6AddrsIsSet() const;
void unsetAltNotifIpv6Addrs();
/// <summary>
/// Subscribed events
/// </summary>
std::vector<EventSubscription>& getEventSubs();
void setEventSubs(std::vector<EventSubscription> const& value);
/// <summary>
///
/// </summary>
bool isImmeRep() const;
void setImmeRep(bool const value);
bool immeRepIsSet() const;
void unsetImmeRep();
/// <summary>
///
/// </summary>
NotificationMethod getNotifMethod() const;
void setNotifMethod(NotificationMethod const& value);
bool notifMethodIsSet() const;
void unsetNotifMethod();
/// <summary>
///
/// </summary>
int32_t getMaxReportNbr() const;
void setMaxReportNbr(int32_t const value);
bool maxReportNbrIsSet() const;
void unsetMaxReportNbr();
/// <summary>
///
/// </summary>
std::string getExpiry() const;
void setExpiry(std::string const& value);
bool expiryIsSet() const;
void unsetExpiry();
/// <summary>
///
/// </summary>
int32_t getRepPeriod() const;
void setRepPeriod(int32_t const value);
bool repPeriodIsSet() const;
void unsetRepPeriod();
/// <summary>
///
/// </summary>
Guami getGuami() const;
void setGuami(Guami const& value);
bool guamiIsSet() const;
void unsetGuami();
/// <summary>
/// If the NF service consumer is an AMF, it should provide the name of a
/// service produced by the AMF that makes use of notifications about
/// subscribed events.
/// </summary>
std::string getServiveName() const;
void setServiveName(std::string const& value);
bool serviveNameIsSet() const;
void unsetServiveName();
/// <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 NamfEventExposure& o);
friend void from_json(const nlohmann::json& j, NamfEventExposure& o);
protected:
std::string m_Supi;
bool m_SupiIsSet;
std::string m_Gpsi;
bool m_GpsiIsSet;
bool m_AnyUeInd;
bool m_AnyUeIndIsSet;
std::string m_GroupId;
bool m_GroupIdIsSet;
int32_t m_PduSeId;
bool m_PduSeIdIsSet;
std::string m_SubId;
bool m_SubIdIsSet;
std::string m_NotifId;
std::string m_NotifUri;
std::vector<std::string> m_AltNotifIpv4Addrs;
bool m_AltNotifIpv4AddrsIsSet;
std::vector<Ipv6Addr> m_AltNotifIpv6Addrs;
bool m_AltNotifIpv6AddrsIsSet;
std::vector<EventSubscription> m_EventSubs;
bool m_ImmeRep;
bool m_ImmeRepIsSet;
NotificationMethod m_NotifMethod;
bool m_NotifMethodIsSet;
int32_t m_MaxReportNbr;
bool m_MaxReportNbrIsSet;
std::string m_Expiry;
bool m_ExpiryIsSet;
int32_t m_RepPeriod;
bool m_RepPeriodIsSet;
Guami m_Guami;
bool m_GuamiIsSet;
std::string m_ServiveName;
bool m_ServiveNameIsSet;
std::string m_SupportedFeatures;
bool m_SupportedFeaturesIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* NamfEventExposure_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "NotificationData.h"
namespace oai {
namespace amf {
namespace model {
NotificationData::NotificationData() {
m_NfInstanceUri = "";
m_NfProfileIsSet = false;
m_ProfileChangesIsSet = false;
}
NotificationData::~NotificationData() {}
void NotificationData::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const NotificationData& o) {
j = nlohmann::json();
j["event"] = o.m_Event;
j["nfInstanceUri"] = o.m_NfInstanceUri;
if (o.nfProfileIsSet()) j["nfProfile"] = o.m_NfProfile;
if (o.profileChangesIsSet() || !o.m_ProfileChanges.empty())
j["profileChanges"] = o.m_ProfileChanges;
}
void from_json(const nlohmann::json& j, NotificationData& o) {
j.at("event").get_to(o.m_Event);
j.at("nfInstanceUri").get_to(o.m_NfInstanceUri);
if (j.find("nfProfile") != j.end()) {
j.at("nfProfile").get_to(o.m_NfProfile);
o.m_NfProfileIsSet = true;
}
if (j.find("profileChanges") != j.end()) {
j.at("profileChanges").get_to(o.m_ProfileChanges);
o.m_ProfileChangesIsSet = true;
}
}
std::string NotificationData::getEvent() const {
return m_Event;
}
void NotificationData::setEvent(std::string const& value) {
m_Event = value;
}
std::string NotificationData::getNfInstanceUri() const {
return m_NfInstanceUri;
}
void NotificationData::setNfInstanceUri(std::string const& value) {
m_NfInstanceUri = value;
}
NFProfile NotificationData::getNfProfile() const {
return m_NfProfile;
}
void NotificationData::setNfProfile(NFProfile const& value) {
m_NfProfile = value;
m_NfProfileIsSet = true;
}
bool NotificationData::nfProfileIsSet() const {
return m_NfProfileIsSet;
}
void NotificationData::unsetNfProfile() {
m_NfProfileIsSet = false;
}
std::vector<ChangeItem>& NotificationData::getProfileChanges() {
return m_ProfileChanges;
}
void NotificationData::setProfileChanges(std::vector<ChangeItem> const& value) {
m_ProfileChanges = value;
m_ProfileChangesIsSet = true;
}
bool NotificationData::profileChangesIsSet() const {
return m_ProfileChangesIsSet;
}
void NotificationData::unsetProfileChanges() {
m_ProfileChangesIsSet = false;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* NotificationData.h
*
*
*/
#ifndef NotificationData_H_
#define NotificationData_H_
#include "NFProfile.h"
#include "ChangeItem.h"
#include <string>
#include "NotificationEventType.h"
#include <vector>
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class NotificationData {
public:
NotificationData();
virtual ~NotificationData();
void validate();
/////////////////////////////////////////////
/// NotificationData members
/// <summary>
///
/// </summary>
std::string getEvent() const;
void setEvent(std::string const& value);
/// <summary>
///
/// </summary>
std::string getNfInstanceUri() const;
void setNfInstanceUri(std::string const& value);
/// <summary>
///
/// </summary>
NFProfile getNfProfile() const;
void setNfProfile(NFProfile const& value);
bool nfProfileIsSet() const;
void unsetNfProfile();
/// <summary>
///
/// </summary>
std::vector<ChangeItem>& getProfileChanges();
void setProfileChanges(std::vector<ChangeItem> const& value);
bool profileChangesIsSet() const;
void unsetProfileChanges();
friend void to_json(nlohmann::json& j, const NotificationData& o);
friend void from_json(const nlohmann::json& j, NotificationData& o);
protected:
std::string m_Event;
std::string m_NfInstanceUri;
NFProfile m_NfProfile;
bool m_NfProfileIsSet;
std::vector<ChangeItem> m_ProfileChanges;
bool m_ProfileChangesIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* NotificationData_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "NotificationEventType.h"
namespace oai {
namespace amf {
namespace model {
NotificationEventType::NotificationEventType() {}
NotificationEventType::~NotificationEventType() {}
void NotificationEventType::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const NotificationEventType& o) {
j = nlohmann::json();
}
void from_json(const nlohmann::json& j, NotificationEventType& o) {}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* NotificationEventType.h
*
*
*/
#ifndef NotificationEventType_H_
#define NotificationEventType_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class NotificationEventType {
public:
NotificationEventType();
virtual ~NotificationEventType();
void validate();
/////////////////////////////////////////////
/// NotificationEventType members
friend void to_json(nlohmann::json& j, const NotificationEventType& o);
friend void from_json(const nlohmann::json& j, NotificationEventType& o);
protected:
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* NotificationEventType_H_ */
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "NotificationMethod.h"
namespace oai {
namespace amf {
namespace model {
NotificationMethod::NotificationMethod() {}
NotificationMethod::~NotificationMethod() {}
void NotificationMethod::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const NotificationMethod& o) {
j = nlohmann::json();
}
void from_json(const nlohmann::json& j, NotificationMethod& o) {}
} // namespace model
} // namespace amf
} // namespace oai
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* NotificationMethod.h
*
* Possible values are - PERIODIC - ONE_TIME - ON_EVENT_DETECTION
*/
#ifndef NotificationMethod_H_
#define NotificationMethod_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
/// Possible values are - PERIODIC - ONE_TIME - ON_EVENT_DETECTION
/// </summary>
class NotificationMethod {
public:
NotificationMethod();
virtual ~NotificationMethod();
void validate();
/////////////////////////////////////////////
/// NotificationMethod members
friend void to_json(nlohmann::json& j, const NotificationMethod& o);
friend void from_json(const nlohmann::json& j, NotificationMethod& o);
protected:
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* NotificationMethod_H_ */
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "RouteInformation.h"
namespace oai {
namespace amf {
namespace model {
RouteInformation::RouteInformation() {
m_Ipv4Addr = "";
m_Ipv4AddrIsSet = false;
m_Ipv6AddrIsSet = false;
m_PortNumber = 0;
}
RouteInformation::~RouteInformation() {}
void RouteInformation::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const RouteInformation& o) {
j = nlohmann::json();
if (o.ipv4AddrIsSet()) j["ipv4Addr"] = o.m_Ipv4Addr;
if (o.ipv6AddrIsSet()) j["ipv6Addr"] = o.m_Ipv6Addr;
j["portNumber"] = o.m_PortNumber;
}
void from_json(const nlohmann::json& j, RouteInformation& o) {
if (j.find("ipv4Addr") != j.end()) {
j.at("ipv4Addr").get_to(o.m_Ipv4Addr);
o.m_Ipv4AddrIsSet = true;
}
if (j.find("ipv6Addr") != j.end()) {
j.at("ipv6Addr").get_to(o.m_Ipv6Addr);
o.m_Ipv6AddrIsSet = true;
}
j.at("portNumber").get_to(o.m_PortNumber);
}
std::string RouteInformation::getIpv4Addr() const {
return m_Ipv4Addr;
}
void RouteInformation::setIpv4Addr(std::string const& value) {
m_Ipv4Addr = value;
m_Ipv4AddrIsSet = true;
}
bool RouteInformation::ipv4AddrIsSet() const {
return m_Ipv4AddrIsSet;
}
void RouteInformation::unsetIpv4Addr() {
m_Ipv4AddrIsSet = false;
}
Ipv6Addr RouteInformation::getIpv6Addr() const {
return m_Ipv6Addr;
}
void RouteInformation::setIpv6Addr(Ipv6Addr const& value) {
m_Ipv6Addr = value;
m_Ipv6AddrIsSet = true;
}
bool RouteInformation::ipv6AddrIsSet() const {
return m_Ipv6AddrIsSet;
}
void RouteInformation::unsetIpv6Addr() {
m_Ipv6AddrIsSet = false;
}
int32_t RouteInformation::getPortNumber() const {
return m_PortNumber;
}
void RouteInformation::setPortNumber(int32_t const value) {
m_PortNumber = value;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* RouteInformation.h
*
*
*/
#ifndef RouteInformation_H_
#define RouteInformation_H_
#include <string>
#include "Ipv6Addr.h"
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class RouteInformation {
public:
RouteInformation();
virtual ~RouteInformation();
void validate();
/////////////////////////////////////////////
/// RouteInformation members
/// <summary>
///
/// </summary>
std::string getIpv4Addr() const;
void setIpv4Addr(std::string const& value);
bool ipv4AddrIsSet() const;
void unsetIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Addr getIpv6Addr() const;
void setIpv6Addr(Ipv6Addr const& value);
bool ipv6AddrIsSet() const;
void unsetIpv6Addr();
/// <summary>
///
/// </summary>
int32_t getPortNumber() const;
void setPortNumber(int32_t const value);
friend void to_json(nlohmann::json& j, const RouteInformation& o);
friend void from_json(const nlohmann::json& j, RouteInformation& o);
protected:
std::string m_Ipv4Addr;
bool m_Ipv4AddrIsSet;
Ipv6Addr m_Ipv6Addr;
bool m_Ipv6AddrIsSet;
int32_t m_PortNumber;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* RouteInformation_H_ */
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "RouteToLocation.h"
namespace oai {
namespace amf {
namespace model {
RouteToLocation::RouteToLocation() {
m_Dnai = "";
m_RouteInfoIsSet = false;
m_RouteProfId = "";
m_RouteProfIdIsSet = false;
}
RouteToLocation::~RouteToLocation() {}
void RouteToLocation::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const RouteToLocation& o) {
j = nlohmann::json();
j["dnai"] = o.m_Dnai;
if (o.routeInfoIsSet()) j["routeInfo"] = o.m_RouteInfo;
if (o.routeProfIdIsSet()) j["routeProfId"] = o.m_RouteProfId;
}
void from_json(const nlohmann::json& j, RouteToLocation& o) {
j.at("dnai").get_to(o.m_Dnai);
if (j.find("routeInfo") != j.end()) {
j.at("routeInfo").get_to(o.m_RouteInfo);
o.m_RouteInfoIsSet = true;
}
if (j.find("routeProfId") != j.end()) {
j.at("routeProfId").get_to(o.m_RouteProfId);
o.m_RouteProfIdIsSet = true;
}
}
std::string RouteToLocation::getDnai() const {
return m_Dnai;
}
void RouteToLocation::setDnai(std::string const& value) {
m_Dnai = value;
}
RouteInformation RouteToLocation::getRouteInfo() const {
return m_RouteInfo;
}
void RouteToLocation::setRouteInfo(RouteInformation const& value) {
m_RouteInfo = value;
m_RouteInfoIsSet = true;
}
bool RouteToLocation::routeInfoIsSet() const {
return m_RouteInfoIsSet;
}
void RouteToLocation::unsetRouteInfo() {
m_RouteInfoIsSet = false;
}
std::string RouteToLocation::getRouteProfId() const {
return m_RouteProfId;
}
void RouteToLocation::setRouteProfId(std::string const& value) {
m_RouteProfId = value;
m_RouteProfIdIsSet = true;
}
bool RouteToLocation::routeProfIdIsSet() const {
return m_RouteProfIdIsSet;
}
void RouteToLocation::unsetRouteProfId() {
m_RouteProfIdIsSet = false;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* Namf_EventExposure
* Session Management Event Exposure Service. 2019, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* RouteToLocation.h
*
*
*/
#ifndef RouteToLocation_H_
#define RouteToLocation_H_
#include <string>
#include "RouteInformation.h"
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class RouteToLocation {
public:
RouteToLocation();
virtual ~RouteToLocation();
void validate();
/////////////////////////////////////////////
/// RouteToLocation members
/// <summary>
///
/// </summary>
std::string getDnai() const;
void setDnai(std::string const& value);
/// <summary>
///
/// </summary>
RouteInformation getRouteInfo() const;
void setRouteInfo(RouteInformation const& value);
bool routeInfoIsSet() const;
void unsetRouteInfo();
/// <summary>
///
/// </summary>
std::string getRouteProfId() const;
void setRouteProfId(std::string const& value);
bool routeProfIdIsSet() const;
void unsetRouteProfId();
friend void to_json(nlohmann::json& j, const RouteToLocation& o);
friend void from_json(const nlohmann::json& j, RouteToLocation& o);
protected:
std::string m_Dnai;
RouteInformation m_RouteInfo;
bool m_RouteInfoIsSet;
std::string m_RouteProfId;
bool m_RouteProfIdIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* RouteToLocation_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "SnssaiUpfInfoItem.h"
namespace oai {
namespace amf {
namespace model {
SnssaiUpfInfoItem::SnssaiUpfInfoItem() {}
SnssaiUpfInfoItem::~SnssaiUpfInfoItem() {}
void SnssaiUpfInfoItem::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const SnssaiUpfInfoItem& o) {
j = nlohmann::json();
j["sNssai"] = o.m_SNssai;
j["dnnUpfInfoList"] = o.m_DnnUpfInfoList;
}
void from_json(const nlohmann::json& j, SnssaiUpfInfoItem& o) {
j.at("sNssai").get_to(o.m_SNssai);
j.at("dnnUpfInfoList").get_to(o.m_DnnUpfInfoList);
}
Snssai SnssaiUpfInfoItem::getSNssai() const {
return m_SNssai;
}
void SnssaiUpfInfoItem::setSNssai(Snssai const& value) {
m_SNssai = value;
}
std::vector<DnnUpfInfoItem>& SnssaiUpfInfoItem::getDnnUpfInfoList() {
return m_DnnUpfInfoList;
}
void SnssaiUpfInfoItem::setDnnUpfInfoList(
std::vector<DnnUpfInfoItem> const& value) {
m_DnnUpfInfoList = value;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* SnssaiUpfInfoItem.h
*
*
*/
#ifndef SnssaiUpfInfoItem_H_
#define SnssaiUpfInfoItem_H_
#include "DnnUpfInfoItem.h"
#include "Snssai.h"
#include <vector>
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class SnssaiUpfInfoItem {
public:
SnssaiUpfInfoItem();
virtual ~SnssaiUpfInfoItem();
void validate();
/////////////////////////////////////////////
/// SnssaiUpfInfoItem members
/// <summary>
///
/// </summary>
Snssai getSNssai() const;
void setSNssai(Snssai const& value);
/// <summary>
///
/// </summary>
std::vector<DnnUpfInfoItem>& getDnnUpfInfoList();
void setDnnUpfInfoList(std::vector<DnnUpfInfoItem> const& value);
friend void to_json(nlohmann::json& j, const SnssaiUpfInfoItem& o);
friend void from_json(const nlohmann::json& j, SnssaiUpfInfoItem& o);
protected:
Snssai m_SNssai;
std::vector<DnnUpfInfoItem> m_DnnUpfInfoList;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* SnssaiUpfInfoItem_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "UPInterfaceType.h"
namespace oai {
namespace amf {
namespace model {
UPInterfaceType::UPInterfaceType() {}
UPInterfaceType::~UPInterfaceType() {}
void UPInterfaceType::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const UPInterfaceType& o) {
j = nlohmann::json();
}
void from_json(const nlohmann::json& j, UPInterfaceType& o) {}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* UPInterfaceType.h
*
*
*/
#ifndef UPInterfaceType_H_
#define UPInterfaceType_H_
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class UPInterfaceType {
public:
UPInterfaceType();
virtual ~UPInterfaceType();
void validate();
/////////////////////////////////////////////
/// UPInterfaceType members
friend void to_json(nlohmann::json& j, const UPInterfaceType& o);
friend void from_json(const nlohmann::json& j, UPInterfaceType& o);
protected:
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* UPInterfaceType_H_ */
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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 "UpfInfo.h"
namespace oai {
namespace amf {
namespace model {
UpfInfo::UpfInfo() {
m_AmfServingAreaIsSet = false;
m_InterfaceUpfInfoListIsSet = false;
m_IwkEpsInd = false;
m_IwkEpsIndIsSet = false;
// m_PduSessionTypesIsSet = false;
m_AtsssCapabilityIsSet = false;
m_UeIpAddrInd = false;
m_UeIpAddrIndIsSet = false;
}
UpfInfo::~UpfInfo() {}
void UpfInfo::validate() {
// TODO: implement validation
}
void to_json(nlohmann::json& j, const UpfInfo& o) {
j = nlohmann::json();
j["sNssaiUpfInfoList"] = o.m_SNssaiUpfInfoList;
if (o.amfServingAreaIsSet() || !o.m_AmfServingArea.empty())
j["amfServingArea"] = o.m_AmfServingArea;
if (o.interfaceUpfInfoListIsSet() || !o.m_InterfaceUpfInfoList.empty())
j["interfaceUpfInfoList"] = o.m_InterfaceUpfInfoList;
if (o.iwkEpsIndIsSet()) j["iwkEpsInd"] = o.m_IwkEpsInd;
// if (o.pduSessionTypesIsSet() || !o.m_PduSessionTypes.empty())
// j["pduSessionTypes"] = o.m_PduSessionTypes;
if (o.atsssCapabilityIsSet()) j["atsssCapability"] = o.m_AtsssCapability;
if (o.ueIpAddrIndIsSet()) j["ueIpAddrInd"] = o.m_UeIpAddrInd;
}
void from_json(const nlohmann::json& j, UpfInfo& o) {
j.at("sNssaiUpfInfoList").get_to(o.m_SNssaiUpfInfoList);
if (j.find("amfServingArea") != j.end()) {
j.at("amfServingArea").get_to(o.m_AmfServingArea);
o.m_AmfServingAreaIsSet = true;
}
if (j.find("interfaceUpfInfoList") != j.end()) {
j.at("interfaceUpfInfoList").get_to(o.m_InterfaceUpfInfoList);
o.m_InterfaceUpfInfoListIsSet = true;
}
if (j.find("iwkEpsInd") != j.end()) {
j.at("iwkEpsInd").get_to(o.m_IwkEpsInd);
o.m_IwkEpsIndIsSet = true;
}
// if (j.find("pduSessionTypes") != j.end()) {
// j.at("pduSessionTypes").get_to(o.m_PduSessionTypes);
// o.m_PduSessionTypesIsSet = true;
//}
if (j.find("atsssCapability") != j.end()) {
j.at("atsssCapability").get_to(o.m_AtsssCapability);
o.m_AtsssCapabilityIsSet = true;
}
if (j.find("ueIpAddrInd") != j.end()) {
j.at("ueIpAddrInd").get_to(o.m_UeIpAddrInd);
o.m_UeIpAddrIndIsSet = true;
}
}
std::vector<SnssaiUpfInfoItem>& UpfInfo::getSNssaiUpfInfoList() {
return m_SNssaiUpfInfoList;
}
void UpfInfo::setSNssaiUpfInfoList(
std::vector<SnssaiUpfInfoItem> const& value) {
m_SNssaiUpfInfoList = value;
}
std::vector<std::string>& UpfInfo::getAmfServingArea() {
return m_AmfServingArea;
}
void UpfInfo::setAmfServingArea(std::vector<std::string> const& value) {
m_AmfServingArea = value;
m_AmfServingAreaIsSet = true;
}
bool UpfInfo::amfServingAreaIsSet() const {
return m_AmfServingAreaIsSet;
}
void UpfInfo::unsetAmfServingArea() {
m_AmfServingAreaIsSet = false;
}
std::vector<InterfaceUpfInfoItem>& UpfInfo::getInterfaceUpfInfoList() {
return m_InterfaceUpfInfoList;
}
void UpfInfo::setInterfaceUpfInfoList(
std::vector<InterfaceUpfInfoItem> const& value) {
m_InterfaceUpfInfoList = value;
m_InterfaceUpfInfoListIsSet = true;
}
bool UpfInfo::interfaceUpfInfoListIsSet() const {
return m_InterfaceUpfInfoListIsSet;
}
void UpfInfo::unsetInterfaceUpfInfoList() {
m_InterfaceUpfInfoListIsSet = false;
}
bool UpfInfo::isIwkEpsInd() const {
return m_IwkEpsInd;
}
void UpfInfo::setIwkEpsInd(bool const value) {
m_IwkEpsInd = value;
m_IwkEpsIndIsSet = true;
}
bool UpfInfo::iwkEpsIndIsSet() const {
return m_IwkEpsIndIsSet;
}
void UpfInfo::unsetIwkEpsInd() {
m_IwkEpsIndIsSet = false;
}
// std::vector<PduSessionType>& UpfInfo::getPduSessionTypes() {
// return m_PduSessionTypes;
//}
// void UpfInfo::setPduSessionTypes(std::vector<PduSessionType> const& value) {
// m_PduSessionTypes = value;
// m_PduSessionTypesIsSet = true;
//}
// bool UpfInfo::pduSessionTypesIsSet() const {
// return m_PduSessionTypesIsSet;
//}
// void UpfInfo::unsetPduSessionTypes() {
// m_PduSessionTypesIsSet = false;
//}
AtsssCapability UpfInfo::getAtsssCapability() const {
return m_AtsssCapability;
}
void UpfInfo::setAtsssCapability(AtsssCapability const& value) {
m_AtsssCapability = value;
m_AtsssCapabilityIsSet = true;
}
bool UpfInfo::atsssCapabilityIsSet() const {
return m_AtsssCapabilityIsSet;
}
void UpfInfo::unsetAtsssCapability() {
m_AtsssCapabilityIsSet = false;
}
bool UpfInfo::isUeIpAddrInd() const {
return m_UeIpAddrInd;
}
void UpfInfo::setUeIpAddrInd(bool const value) {
m_UeIpAddrInd = value;
m_UeIpAddrIndIsSet = true;
}
bool UpfInfo::ueIpAddrIndIsSet() const {
return m_UeIpAddrIndIsSet;
}
void UpfInfo::unsetUeIpAddrInd() {
m_UeIpAddrIndIsSet = false;
}
} // namespace model
} // namespace amf
} // namespace oai
/**
* NRF NFManagement Service
* NRF NFManagement Service. 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.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.
*/
/*
* UpfInfo.h
*
*
*/
#ifndef UpfInfo_H_
#define UpfInfo_H_
#include "AtsssCapability.h"
#include "InterfaceUpfInfoItem.h"
#include "SnssaiUpfInfoItem.h"
#include <string>
//#include "PduSessionType.h"
#include <vector>
#include <nlohmann/json.hpp>
namespace oai {
namespace amf {
namespace model {
/// <summary>
///
/// </summary>
class UpfInfo {
public:
UpfInfo();
virtual ~UpfInfo();
void validate();
/////////////////////////////////////////////
/// UpfInfo members
/// <summary>
///
/// </summary>
std::vector<SnssaiUpfInfoItem>& getSNssaiUpfInfoList();
void setSNssaiUpfInfoList(std::vector<SnssaiUpfInfoItem> const& value);
/// <summary>
///
/// </summary>
std::vector<std::string>& getAmfServingArea();
void setAmfServingArea(std::vector<std::string> const& value);
bool amfServingAreaIsSet() const;
void unsetAmfServingArea();
/// <summary>
///
/// </summary>
std::vector<InterfaceUpfInfoItem>& getInterfaceUpfInfoList();
void setInterfaceUpfInfoList(std::vector<InterfaceUpfInfoItem> const& value);
bool interfaceUpfInfoListIsSet() const;
void unsetInterfaceUpfInfoList();
/// <summary>
///
/// </summary>
bool isIwkEpsInd() const;
void setIwkEpsInd(bool const value);
bool iwkEpsIndIsSet() const;
void unsetIwkEpsInd();
/// <summary>
///
/// </summary>
// std::vector<PduSessionType>& getPduSessionTypes();
// void setPduSessionTypes(std::vector<PduSessionType> const& value);
// bool pduSessionTypesIsSet() const;
// void unsetPduSessionTypes();
/// <summary>
///
/// </summary>
AtsssCapability getAtsssCapability() const;
void setAtsssCapability(AtsssCapability const& value);
bool atsssCapabilityIsSet() const;
void unsetAtsssCapability();
/// <summary>
///
/// </summary>
bool isUeIpAddrInd() const;
void setUeIpAddrInd(bool const value);
bool ueIpAddrIndIsSet() const;
void unsetUeIpAddrInd();
friend void to_json(nlohmann::json& j, const UpfInfo& o);
friend void from_json(const nlohmann::json& j, UpfInfo& o);
protected:
std::vector<SnssaiUpfInfoItem> m_SNssaiUpfInfoList;
std::vector<std::string> m_AmfServingArea;
bool m_AmfServingAreaIsSet;
std::vector<InterfaceUpfInfoItem> m_InterfaceUpfInfoList;
bool m_InterfaceUpfInfoListIsSet;
bool m_IwkEpsInd;
bool m_IwkEpsIndIsSet;
// std::vector<PduSessionType> m_PduSessionTypes;
// bool m_PduSessionTypesIsSet;
AtsssCapability m_AtsssCapability;
bool m_AtsssCapabilityIsSet;
bool m_UeIpAddrInd;
bool m_UeIpAddrIndIsSet;
};
} // namespace model
} // namespace amf
} // namespace oai
#endif /* UpfInfo_H_ */
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment