Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
fa438400
Commit
fa438400
authored
Jan 14, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add model files for NFStatusNotify
parent
a2977ed4
Changes
26
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
2725 additions
and
0 deletions
+2725
-0
src/api-server/model/AtsssCapability.cpp
src/api-server/model/AtsssCapability.cpp
+83
-0
src/api-server/model/AtsssCapability.h
src/api-server/model/AtsssCapability.h
+68
-0
src/api-server/model/ChangeItem.cpp
src/api-server/model/ChangeItem.cpp
+119
-0
src/api-server/model/ChangeItem.h
src/api-server/model/ChangeItem.h
+94
-0
src/api-server/model/ChangeType.cpp
src/api-server/model/ChangeType.cpp
+40
-0
src/api-server/model/ChangeType.h
src/api-server/model/ChangeType.h
+49
-0
src/api-server/model/DnnUpfInfoItem.cpp
src/api-server/model/DnnUpfInfoItem.cpp
+91
-0
src/api-server/model/DnnUpfInfoItem.h
src/api-server/model/DnnUpfInfoItem.h
+78
-0
src/api-server/model/InterfaceUpfInfoItem.cpp
src/api-server/model/InterfaceUpfInfoItem.cpp
+133
-0
src/api-server/model/InterfaceUpfInfoItem.h
src/api-server/model/InterfaceUpfInfoItem.h
+97
-0
src/api-server/model/NFProfile.cpp
src/api-server/model/NFProfile.cpp
+570
-0
src/api-server/model/NFProfile.h
src/api-server/model/NFProfile.h
+312
-0
src/api-server/model/NFStatus.cpp
src/api-server/model/NFStatus.cpp
+40
-0
src/api-server/model/NFStatus.h
src/api-server/model/NFStatus.h
+49
-0
src/api-server/model/NotificationData.cpp
src/api-server/model/NotificationData.cpp
+98
-0
src/api-server/model/NotificationData.h
src/api-server/model/NotificationData.h
+87
-0
src/api-server/model/NotificationEventType.cpp
src/api-server/model/NotificationEventType.cpp
+40
-0
src/api-server/model/NotificationEventType.h
src/api-server/model/NotificationEventType.h
+49
-0
src/api-server/model/PlmnSnssai.cpp
src/api-server/model/PlmnSnssai.cpp
+57
-0
src/api-server/model/PlmnSnssai.h
src/api-server/model/PlmnSnssai.h
+67
-0
src/api-server/model/SnssaiUpfInfoItem.cpp
src/api-server/model/SnssaiUpfInfoItem.cpp
+58
-0
src/api-server/model/SnssaiUpfInfoItem.h
src/api-server/model/SnssaiUpfInfoItem.h
+67
-0
src/api-server/model/UPInterfaceType.cpp
src/api-server/model/UPInterfaceType.cpp
+40
-0
src/api-server/model/UPInterfaceType.h
src/api-server/model/UPInterfaceType.h
+49
-0
src/api-server/model/UpfInfo.cpp
src/api-server/model/UpfInfo.cpp
+173
-0
src/api-server/model/UpfInfo.h
src/api-server/model/UpfInfo.h
+117
-0
No files found.
src/api-server/model/AtsssCapability.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
}
}
}
}
src/api-server/model/AtsssCapability.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
};
}
}
}
#endif
/* AtsssCapability_H_ */
src/api-server/model/ChangeItem.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
}
}
}
}
src/api-server/model/ChangeItem.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
};
}
}
}
#endif
/* ChangeItem_H_ */
src/api-server/model/ChangeType.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
)
{
}
}
}
}
src/api-server/model/ChangeType.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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:
};
}
}
}
#endif
/* ChangeType_H_ */
src/api-server/model/DnnUpfInfoItem.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
}
}
}
}
src/api-server/model/DnnUpfInfoItem.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
};
}
}
}
#endif
/* DnnUpfInfoItem_H_ */
src/api-server/model/InterfaceUpfInfoItem.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
}
}
}
}
src/api-server/model/InterfaceUpfInfoItem.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
};
}
}
}
#endif
/* InterfaceUpfInfoItem_H_ */
src/api-server/model/NFProfile.cpp
0 → 100644
View file @
fa438400
This diff is collapsed.
Click to expand it.
src/api-server/model/NFProfile.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
};
}
}
}
#endif
/* NFProfile_H_ */
src/api-server/model/NFStatus.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_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
)
{
}
}
}
}
src/api-server/model/NFStatus.h
0 → 100644
View file @
fa438400
/**
* 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
smf_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:
};
}
}
}
#endif
/* NFStatus_H_ */
src/api-server/model/NotificationData.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
}
}
NotificationEventType
NotificationData
::
getEvent
()
const
{
return
m_Event
;
}
void
NotificationData
::
setEvent
(
NotificationEventType
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
;
}
}
}
}
src/api-server/model/NotificationData.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
namespace
model
{
/// <summary>
///
/// </summary>
class
NotificationData
{
public:
NotificationData
();
virtual
~
NotificationData
();
void
validate
();
/////////////////////////////////////////////
/// NotificationData members
/// <summary>
///
/// </summary>
NotificationEventType
getEvent
()
const
;
void
setEvent
(
NotificationEventType
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:
NotificationEventType
m_Event
;
std
::
string
m_NfInstanceUri
;
NFProfile
m_NfProfile
;
bool
m_NfProfileIsSet
;
std
::
vector
<
ChangeItem
>
m_ProfileChanges
;
bool
m_ProfileChangesIsSet
;
};
}
}
}
#endif
/* NotificationData_H_ */
src/api-server/model/NotificationEventType.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
)
{
}
}
}
}
src/api-server/model/NotificationEventType.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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:
};
}
}
}
#endif
/* NotificationEventType_H_ */
src/api-server/model/PlmnSnssai.cpp
0 → 100644
View file @
fa438400
/**
* 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 "PlmnSnssai.h"
namespace
oai
{
namespace
smf_server
{
namespace
model
{
PlmnSnssai
::
PlmnSnssai
()
{
}
PlmnSnssai
::~
PlmnSnssai
()
{
}
void
PlmnSnssai
::
validate
()
{
// TODO: implement validation
}
void
to_json
(
nlohmann
::
json
&
j
,
const
PlmnSnssai
&
o
)
{
j
=
nlohmann
::
json
();
j
[
"plmnId"
]
=
o
.
m_PlmnId
;
j
[
"sNssaiList"
]
=
o
.
m_SNssaiList
;
}
void
from_json
(
const
nlohmann
::
json
&
j
,
PlmnSnssai
&
o
)
{
j
.
at
(
"plmnId"
).
get_to
(
o
.
m_PlmnId
);
j
.
at
(
"sNssaiList"
).
get_to
(
o
.
m_SNssaiList
);
}
PlmnId
PlmnSnssai
::
getPlmnId
()
const
{
return
m_PlmnId
;
}
void
PlmnSnssai
::
setPlmnId
(
PlmnId
const
&
value
)
{
m_PlmnId
=
value
;
}
std
::
vector
<
Snssai
>&
PlmnSnssai
::
getSNssaiList
()
{
return
m_SNssaiList
;
}
void
PlmnSnssai
::
setSNssaiList
(
std
::
vector
<
Snssai
>
const
&
value
)
{
m_SNssaiList
=
value
;
}
}
}
}
src/api-server/model/PlmnSnssai.h
0 → 100644
View file @
fa438400
/**
* 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.
*/
/*
* PlmnSnssai.h
*
*
*/
#ifndef PlmnSnssai_H_
#define PlmnSnssai_H_
#include "PlmnId.h"
#include "Snssai.h"
#include <vector>
#include <nlohmann/json.hpp>
namespace
oai
{
namespace
smf_server
{
namespace
model
{
/// <summary>
///
/// </summary>
class
PlmnSnssai
{
public:
PlmnSnssai
();
virtual
~
PlmnSnssai
();
void
validate
();
/////////////////////////////////////////////
/// PlmnSnssai members
/// <summary>
///
/// </summary>
PlmnId
getPlmnId
()
const
;
void
setPlmnId
(
PlmnId
const
&
value
);
/// <summary>
///
/// </summary>
std
::
vector
<
Snssai
>&
getSNssaiList
();
void
setSNssaiList
(
std
::
vector
<
Snssai
>
const
&
value
);
friend
void
to_json
(
nlohmann
::
json
&
j
,
const
PlmnSnssai
&
o
);
friend
void
from_json
(
const
nlohmann
::
json
&
j
,
PlmnSnssai
&
o
);
protected:
PlmnId
m_PlmnId
;
std
::
vector
<
Snssai
>
m_SNssaiList
;
};
}
}
}
#endif
/* PlmnSnssai_H_ */
src/api-server/model/SnssaiUpfInfoItem.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
}
}
}
}
src/api-server/model/SnssaiUpfInfoItem.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
;
};
}
}
}
#endif
/* SnssaiUpfInfoItem_H_ */
src/api-server/model/UPInterfaceType.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
)
{
}
}
}
}
src/api-server/model/UPInterfaceType.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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:
};
}
}
}
#endif
/* UPInterfaceType_H_ */
src/api-server/model/UpfInfo.cpp
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
namespace
model
{
UpfInfo
::
UpfInfo
()
{
m_SmfServingAreaIsSet
=
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
.
smfServingAreaIsSet
()
||
!
o
.
m_SmfServingArea
.
empty
())
j
[
"smfServingArea"
]
=
o
.
m_SmfServingArea
;
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
(
"smfServingArea"
)
!=
j
.
end
())
{
j
.
at
(
"smfServingArea"
).
get_to
(
o
.
m_SmfServingArea
);
o
.
m_SmfServingAreaIsSet
=
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
::
getSmfServingArea
()
{
return
m_SmfServingArea
;
}
void
UpfInfo
::
setSmfServingArea
(
std
::
vector
<
std
::
string
>
const
&
value
)
{
m_SmfServingArea
=
value
;
m_SmfServingAreaIsSet
=
true
;
}
bool
UpfInfo
::
smfServingAreaIsSet
()
const
{
return
m_SmfServingAreaIsSet
;
}
void
UpfInfo
::
unsetSmfServingArea
()
{
m_SmfServingAreaIsSet
=
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
;
}
}
}
}
src/api-server/model/UpfInfo.h
0 → 100644
View file @
fa438400
/**
* 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
smf_server
{
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
>&
getSmfServingArea
();
void
setSmfServingArea
(
std
::
vector
<
std
::
string
>
const
&
value
);
bool
smfServingAreaIsSet
()
const
;
void
unsetSmfServingArea
();
/// <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_SmfServingArea
;
bool
m_SmfServingAreaIsSet
;
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
;
};
}
}
}
#endif
/* UpfInfo_H_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment