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
Hide 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
/**
* NRF NFDiscovery Service
* NRF NFDiscovery 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 "NFProfile.h"
namespace
oai
{
namespace
smf_server
{
namespace
model
{
NFProfile
::
NFProfile
()
{
m_NfInstanceId
=
""
;
m_NfInstanceName
=
""
;
m_NfInstanceNameIsSet
=
false
;
m_HeartBeatTimer
=
0
;
m_HeartBeatTimerIsSet
=
false
;
m_PlmnListIsSet
=
false
;
m_SNssaisIsSet
=
false
;
m_PerPlmnSnssaiListIsSet
=
false
;
m_NsiListIsSet
=
false
;
m_Fqdn
=
""
;
m_FqdnIsSet
=
false
;
m_InterPlmnFqdn
=
""
;
m_InterPlmnFqdnIsSet
=
false
;
m_Ipv4AddressesIsSet
=
false
;
m_Ipv6AddressesIsSet
=
false
;
m_AllowedPlmnsIsSet
=
false
;
m_AllowedNfTypesIsSet
=
false
;
m_AllowedNfDomainsIsSet
=
false
;
m_AllowedNssaisIsSet
=
false
;
m_Priority
=
0
;
m_PriorityIsSet
=
false
;
m_Capacity
=
0
;
m_CapacityIsSet
=
false
;
m_Load
=
0
;
m_LoadIsSet
=
false
;
m_Locality
=
""
;
m_LocalityIsSet
=
false
;
m_Priority
=
0
;
m_PriorityIsSet
=
false
;
m_UpfInfoIsSet
=
false
;
m_UpfInfoExtIsSet
=
false
;
m_RecoveryTime
=
""
;
m_RecoveryTimeIsSet
=
false
;
m_NfServicePersistence
=
false
;
m_NfServicePersistenceIsSet
=
false
;
m_NfProfileChangesSupportInd
=
false
;
m_NfProfileChangesSupportIndIsSet
=
false
;
m_NfProfileChangesInd
=
false
;
m_NfProfileChangesIndIsSet
=
false
;
}
NFProfile
::~
NFProfile
()
{
}
void
NFProfile
::
validate
()
{
// TODO: implement validation
}
void
to_json
(
nlohmann
::
json
&
j
,
const
NFProfile
&
o
)
{
j
=
nlohmann
::
json
();
j
[
"nfInstanceId"
]
=
o
.
m_NfInstanceId
;
if
(
o
.
nfInstanceNameIsSet
())
j
[
"nfInstanceName"
]
=
o
.
m_NfInstanceName
;
j
[
"nfType"
]
=
o
.
m_NfType
;
j
[
"nfStatus"
]
=
o
.
m_NfStatus
;
if
(
o
.
heartBeatTimerIsSet
())
j
[
"heartBeatTimer"
]
=
o
.
m_HeartBeatTimer
;
if
(
o
.
plmnListIsSet
()
||
!
o
.
m_PlmnList
.
empty
())
j
[
"plmnList"
]
=
o
.
m_PlmnList
;
if
(
o
.
sNssaisIsSet
()
||
!
o
.
m_SNssais
.
empty
())
j
[
"sNssais"
]
=
o
.
m_SNssais
;
if
(
o
.
perPlmnSnssaiListIsSet
()
||
!
o
.
m_PerPlmnSnssaiList
.
empty
())
j
[
"perPlmnSnssaiList"
]
=
o
.
m_PerPlmnSnssaiList
;
if
(
o
.
nsiListIsSet
()
||
!
o
.
m_NsiList
.
empty
())
j
[
"nsiList"
]
=
o
.
m_NsiList
;
if
(
o
.
fqdnIsSet
())
j
[
"fqdn"
]
=
o
.
m_Fqdn
;
if
(
o
.
interPlmnFqdnIsSet
())
j
[
"interPlmnFqdn"
]
=
o
.
m_InterPlmnFqdn
;
if
(
o
.
ipv4AddressesIsSet
()
||
!
o
.
m_Ipv4Addresses
.
empty
())
j
[
"ipv4Addresses"
]
=
o
.
m_Ipv4Addresses
;
if
(
o
.
ipv6AddressesIsSet
()
||
!
o
.
m_Ipv6Addresses
.
empty
())
j
[
"ipv6Addresses"
]
=
o
.
m_Ipv6Addresses
;
if
(
o
.
allowedPlmnsIsSet
()
||
!
o
.
m_AllowedPlmns
.
empty
())
j
[
"allowedPlmns"
]
=
o
.
m_AllowedPlmns
;
if
(
o
.
allowedNfTypesIsSet
()
||
!
o
.
m_AllowedNfTypes
.
empty
())
j
[
"allowedNfTypes"
]
=
o
.
m_AllowedNfTypes
;
if
(
o
.
allowedNfDomainsIsSet
()
||
!
o
.
m_AllowedNfDomains
.
empty
())
j
[
"allowedNfDomains"
]
=
o
.
m_AllowedNfDomains
;
if
(
o
.
allowedNssaisIsSet
()
||
!
o
.
m_AllowedNssais
.
empty
())
j
[
"allowedNssais"
]
=
o
.
m_AllowedNssais
;
if
(
o
.
priorityIsSet
())
j
[
"priority"
]
=
o
.
m_Priority
;
if
(
o
.
capacityIsSet
())
j
[
"capacity"
]
=
o
.
m_Capacity
;
if
(
o
.
loadIsSet
())
j
[
"load"
]
=
o
.
m_Load
;
if
(
o
.
localityIsSet
())
j
[
"locality"
]
=
o
.
m_Locality
;
if
(
o
.
priorityIsSet
())
j
[
"priority"
]
=
o
.
m_Priority
;
if
(
o
.
upfInfoIsSet
())
j
[
"upfInfo"
]
=
o
.
m_UpfInfo
;
if
(
o
.
upfInfoExtIsSet
()
||
!
o
.
m_UpfInfoExt
.
empty
())
j
[
"upfInfoExt"
]
=
o
.
m_UpfInfoExt
;
if
(
o
.
recoveryTimeIsSet
())
j
[
"recoveryTime"
]
=
o
.
m_RecoveryTime
;
if
(
o
.
nfServicePersistenceIsSet
())
j
[
"nfServicePersistence"
]
=
o
.
m_NfServicePersistence
;
if
(
o
.
nfProfileChangesSupportIndIsSet
())
j
[
"nfProfileChangesSupportInd"
]
=
o
.
m_NfProfileChangesSupportInd
;
if
(
o
.
nfProfileChangesIndIsSet
())
j
[
"nfProfileChangesInd"
]
=
o
.
m_NfProfileChangesInd
;
}
void
from_json
(
const
nlohmann
::
json
&
j
,
NFProfile
&
o
)
{
j
.
at
(
"nfInstanceId"
).
get_to
(
o
.
m_NfInstanceId
);
if
(
j
.
find
(
"nfInstanceName"
)
!=
j
.
end
())
{
j
.
at
(
"nfInstanceName"
).
get_to
(
o
.
m_NfInstanceName
);
o
.
m_NfInstanceNameIsSet
=
true
;
}
j
.
at
(
"nfType"
).
get_to
(
o
.
m_NfType
);
j
.
at
(
"nfStatus"
).
get_to
(
o
.
m_NfStatus
);
if
(
j
.
find
(
"heartBeatTimer"
)
!=
j
.
end
())
{
j
.
at
(
"heartBeatTimer"
).
get_to
(
o
.
m_HeartBeatTimer
);
o
.
m_HeartBeatTimerIsSet
=
true
;
}
if
(
j
.
find
(
"plmnList"
)
!=
j
.
end
())
{
j
.
at
(
"plmnList"
).
get_to
(
o
.
m_PlmnList
);
o
.
m_PlmnListIsSet
=
true
;
}
if
(
j
.
find
(
"sNssais"
)
!=
j
.
end
())
{
j
.
at
(
"sNssais"
).
get_to
(
o
.
m_SNssais
);
o
.
m_SNssaisIsSet
=
true
;
}
if
(
j
.
find
(
"perPlmnSnssaiList"
)
!=
j
.
end
())
{
j
.
at
(
"perPlmnSnssaiList"
).
get_to
(
o
.
m_PerPlmnSnssaiList
);
o
.
m_PerPlmnSnssaiListIsSet
=
true
;
}
if
(
j
.
find
(
"nsiList"
)
!=
j
.
end
())
{
j
.
at
(
"nsiList"
).
get_to
(
o
.
m_NsiList
);
o
.
m_NsiListIsSet
=
true
;
}
if
(
j
.
find
(
"fqdn"
)
!=
j
.
end
())
{
j
.
at
(
"fqdn"
).
get_to
(
o
.
m_Fqdn
);
o
.
m_FqdnIsSet
=
true
;
}
if
(
j
.
find
(
"interPlmnFqdn"
)
!=
j
.
end
())
{
j
.
at
(
"interPlmnFqdn"
).
get_to
(
o
.
m_InterPlmnFqdn
);
o
.
m_InterPlmnFqdnIsSet
=
true
;
}
if
(
j
.
find
(
"ipv4Addresses"
)
!=
j
.
end
())
{
j
.
at
(
"ipv4Addresses"
).
get_to
(
o
.
m_Ipv4Addresses
);
o
.
m_Ipv4AddressesIsSet
=
true
;
}
if
(
j
.
find
(
"ipv6Addresses"
)
!=
j
.
end
())
{
j
.
at
(
"ipv6Addresses"
).
get_to
(
o
.
m_Ipv6Addresses
);
o
.
m_Ipv6AddressesIsSet
=
true
;
}
if
(
j
.
find
(
"allowedPlmns"
)
!=
j
.
end
())
{
j
.
at
(
"allowedPlmns"
).
get_to
(
o
.
m_AllowedPlmns
);
o
.
m_AllowedPlmnsIsSet
=
true
;
}
if
(
j
.
find
(
"allowedNfTypes"
)
!=
j
.
end
())
{
j
.
at
(
"allowedNfTypes"
).
get_to
(
o
.
m_AllowedNfTypes
);
o
.
m_AllowedNfTypesIsSet
=
true
;
}
if
(
j
.
find
(
"allowedNfDomains"
)
!=
j
.
end
())
{
j
.
at
(
"allowedNfDomains"
).
get_to
(
o
.
m_AllowedNfDomains
);
o
.
m_AllowedNfDomainsIsSet
=
true
;
}
if
(
j
.
find
(
"allowedNssais"
)
!=
j
.
end
())
{
j
.
at
(
"allowedNssais"
).
get_to
(
o
.
m_AllowedNssais
);
o
.
m_AllowedNssaisIsSet
=
true
;
}
if
(
j
.
find
(
"priority"
)
!=
j
.
end
())
{
j
.
at
(
"priority"
).
get_to
(
o
.
m_Priority
);
o
.
m_PriorityIsSet
=
true
;
}
if
(
j
.
find
(
"capacity"
)
!=
j
.
end
())
{
j
.
at
(
"capacity"
).
get_to
(
o
.
m_Capacity
);
o
.
m_CapacityIsSet
=
true
;
}
if
(
j
.
find
(
"load"
)
!=
j
.
end
())
{
j
.
at
(
"load"
).
get_to
(
o
.
m_Load
);
o
.
m_LoadIsSet
=
true
;
}
if
(
j
.
find
(
"locality"
)
!=
j
.
end
())
{
j
.
at
(
"locality"
).
get_to
(
o
.
m_Locality
);
o
.
m_LocalityIsSet
=
true
;
}
if
(
j
.
find
(
"priority"
)
!=
j
.
end
())
{
j
.
at
(
"priority"
).
get_to
(
o
.
m_Priority
);
o
.
m_PriorityIsSet
=
true
;
}
if
(
j
.
find
(
"upfInfo"
)
!=
j
.
end
())
{
j
.
at
(
"upfInfo"
).
get_to
(
o
.
m_UpfInfo
);
o
.
m_UpfInfoIsSet
=
true
;
}
if
(
j
.
find
(
"upfInfoExt"
)
!=
j
.
end
())
{
j
.
at
(
"upfInfoExt"
).
get_to
(
o
.
m_UpfInfoExt
);
o
.
m_UpfInfoExtIsSet
=
true
;
}
if
(
j
.
find
(
"recoveryTime"
)
!=
j
.
end
())
{
j
.
at
(
"recoveryTime"
).
get_to
(
o
.
m_RecoveryTime
);
o
.
m_RecoveryTimeIsSet
=
true
;
}
if
(
j
.
find
(
"nfServicePersistence"
)
!=
j
.
end
())
{
j
.
at
(
"nfServicePersistence"
).
get_to
(
o
.
m_NfServicePersistence
);
o
.
m_NfServicePersistenceIsSet
=
true
;
}
if
(
j
.
find
(
"nfProfileChangesSupportInd"
)
!=
j
.
end
())
{
j
.
at
(
"nfProfileChangesSupportInd"
).
get_to
(
o
.
m_NfProfileChangesSupportInd
);
o
.
m_NfProfileChangesSupportIndIsSet
=
true
;
}
if
(
j
.
find
(
"nfProfileChangesInd"
)
!=
j
.
end
())
{
j
.
at
(
"nfProfileChangesInd"
).
get_to
(
o
.
m_NfProfileChangesInd
);
o
.
m_NfProfileChangesIndIsSet
=
true
;
}
}
std
::
string
NFProfile
::
getNfInstanceId
()
const
{
return
m_NfInstanceId
;
}
void
NFProfile
::
setNfInstanceId
(
std
::
string
const
&
value
)
{
m_NfInstanceId
=
value
;
}
std
::
string
NFProfile
::
getNfInstanceName
()
const
{
return
m_NfInstanceName
;
}
void
NFProfile
::
setNfInstanceName
(
std
::
string
const
&
value
)
{
m_NfInstanceName
=
value
;
m_NfInstanceNameIsSet
=
true
;
}
bool
NFProfile
::
nfInstanceNameIsSet
()
const
{
return
m_NfInstanceNameIsSet
;
}
void
NFProfile
::
unsetNfInstanceName
()
{
m_NfInstanceNameIsSet
=
false
;
}
std
::
string
NFProfile
::
getNfType
()
const
{
return
m_NfType
;
}
void
NFProfile
::
setNfType
(
std
::
string
const
&
value
)
{
m_NfType
=
value
;
}
std
::
string
NFProfile
::
getNfStatus
()
const
{
return
m_NfStatus
;
}
void
NFProfile
::
setNfStatus
(
std
::
string
const
&
value
)
{
m_NfStatus
=
value
;
}
int32_t
NFProfile
::
getHeartBeatTimer
()
const
{
return
m_HeartBeatTimer
;
}
void
NFProfile
::
setHeartBeatTimer
(
int32_t
const
value
)
{
m_HeartBeatTimer
=
value
;
m_HeartBeatTimerIsSet
=
true
;
}
bool
NFProfile
::
heartBeatTimerIsSet
()
const
{
return
m_HeartBeatTimerIsSet
;
}
void
NFProfile
::
unsetHeartBeatTimer
()
{
m_HeartBeatTimerIsSet
=
false
;
}
std
::
vector
<
PlmnId
>&
NFProfile
::
getPlmnList
()
{
return
m_PlmnList
;
}
void
NFProfile
::
setPlmnList
(
std
::
vector
<
PlmnId
>
const
&
value
)
{
m_PlmnList
=
value
;
m_PlmnListIsSet
=
true
;
}
bool
NFProfile
::
plmnListIsSet
()
const
{
return
m_PlmnListIsSet
;
}
void
NFProfile
::
unsetPlmnList
()
{
m_PlmnListIsSet
=
false
;
}
std
::
vector
<
Snssai
>
NFProfile
::
getSNssais
()
const
{
return
m_SNssais
;
}
void
NFProfile
::
setSNssais
(
std
::
vector
<
Snssai
>
const
&
value
)
{
m_SNssais
=
value
;
m_SNssaisIsSet
=
true
;
}
bool
NFProfile
::
sNssaisIsSet
()
const
{
return
m_SNssaisIsSet
;
}
void
NFProfile
::
unsetSNssais
()
{
m_SNssaisIsSet
=
false
;
}
std
::
vector
<
PlmnSnssai
>&
NFProfile
::
getPerPlmnSnssaiList
()
{
return
m_PerPlmnSnssaiList
;
}
void
NFProfile
::
setPerPlmnSnssaiList
(
std
::
vector
<
PlmnSnssai
>
const
&
value
)
{
m_PerPlmnSnssaiList
=
value
;
m_PerPlmnSnssaiListIsSet
=
true
;
}
bool
NFProfile
::
perPlmnSnssaiListIsSet
()
const
{
return
m_PerPlmnSnssaiListIsSet
;
}
void
NFProfile
::
unsetPerPlmnSnssaiList
()
{
m_PerPlmnSnssaiListIsSet
=
false
;
}
std
::
vector
<
std
::
string
>&
NFProfile
::
getNsiList
()
{
return
m_NsiList
;
}
void
NFProfile
::
setNsiList
(
std
::
vector
<
std
::
string
>
const
&
value
)
{
m_NsiList
=
value
;
m_NsiListIsSet
=
true
;
}
bool
NFProfile
::
nsiListIsSet
()
const
{
return
m_NsiListIsSet
;
}
void
NFProfile
::
unsetNsiList
()
{
m_NsiListIsSet
=
false
;
}
std
::
string
NFProfile
::
getFqdn
()
const
{
return
m_Fqdn
;
}
void
NFProfile
::
setFqdn
(
std
::
string
const
&
value
)
{
m_Fqdn
=
value
;
m_FqdnIsSet
=
true
;
}
bool
NFProfile
::
fqdnIsSet
()
const
{
return
m_FqdnIsSet
;
}
void
NFProfile
::
unsetFqdn
()
{
m_FqdnIsSet
=
false
;
}
std
::
string
NFProfile
::
getInterPlmnFqdn
()
const
{
return
m_InterPlmnFqdn
;
}
void
NFProfile
::
setInterPlmnFqdn
(
std
::
string
const
&
value
)
{
m_InterPlmnFqdn
=
value
;
m_InterPlmnFqdnIsSet
=
true
;
}
bool
NFProfile
::
interPlmnFqdnIsSet
()
const
{
return
m_InterPlmnFqdnIsSet
;
}
void
NFProfile
::
unsetInterPlmnFqdn
()
{
m_InterPlmnFqdnIsSet
=
false
;
}
std
::
vector
<
std
::
string
>
NFProfile
::
getIpv4Addresses
()
const
{
return
m_Ipv4Addresses
;
}
void
NFProfile
::
setIpv4Addresses
(
std
::
vector
<
std
::
string
>
const
&
value
)
{
m_Ipv4Addresses
=
value
;
m_Ipv4AddressesIsSet
=
true
;
}
bool
NFProfile
::
ipv4AddressesIsSet
()
const
{
return
m_Ipv4AddressesIsSet
;
}
void
NFProfile
::
unsetIpv4Addresses
()
{
m_Ipv4AddressesIsSet
=
false
;
}
std
::
vector
<
Ipv6Addr
>&
NFProfile
::
getIpv6Addresses
()
{
return
m_Ipv6Addresses
;
}
void
NFProfile
::
setIpv6Addresses
(
std
::
vector
<
Ipv6Addr
>
const
&
value
)
{
m_Ipv6Addresses
=
value
;
m_Ipv6AddressesIsSet
=
true
;
}
bool
NFProfile
::
ipv6AddressesIsSet
()
const
{
return
m_Ipv6AddressesIsSet
;
}
void
NFProfile
::
unsetIpv6Addresses
()
{
m_Ipv6AddressesIsSet
=
false
;
}
std
::
vector
<
PlmnId
>&
NFProfile
::
getAllowedPlmns
()
{
return
m_AllowedPlmns
;
}
void
NFProfile
::
setAllowedPlmns
(
std
::
vector
<
PlmnId
>
const
&
value
)
{
m_AllowedPlmns
=
value
;
m_AllowedPlmnsIsSet
=
true
;
}
bool
NFProfile
::
allowedPlmnsIsSet
()
const
{
return
m_AllowedPlmnsIsSet
;
}
void
NFProfile
::
unsetAllowedPlmns
()
{
m_AllowedPlmnsIsSet
=
false
;
}
std
::
vector
<
std
::
string
>&
NFProfile
::
getAllowedNfTypes
()
{
return
m_AllowedNfTypes
;
}
void
NFProfile
::
setAllowedNfTypes
(
std
::
vector
<
std
::
string
>
const
&
value
)
{
m_AllowedNfTypes
=
value
;
m_AllowedNfTypesIsSet
=
true
;
}
bool
NFProfile
::
allowedNfTypesIsSet
()
const
{
return
m_AllowedNfTypesIsSet
;
}
void
NFProfile
::
unsetAllowedNfTypes
()
{
m_AllowedNfTypesIsSet
=
false
;
}
std
::
vector
<
std
::
string
>&
NFProfile
::
getAllowedNfDomains
()
{
return
m_AllowedNfDomains
;
}
void
NFProfile
::
setAllowedNfDomains
(
std
::
vector
<
std
::
string
>
const
&
value
)
{
m_AllowedNfDomains
=
value
;
m_AllowedNfDomainsIsSet
=
true
;
}
bool
NFProfile
::
allowedNfDomainsIsSet
()
const
{
return
m_AllowedNfDomainsIsSet
;
}
void
NFProfile
::
unsetAllowedNfDomains
()
{
m_AllowedNfDomainsIsSet
=
false
;
}
std
::
vector
<
Snssai
>&
NFProfile
::
getAllowedNssais
()
{
return
m_AllowedNssais
;
}
void
NFProfile
::
setAllowedNssais
(
std
::
vector
<
Snssai
>
const
&
value
)
{
m_AllowedNssais
=
value
;
m_AllowedNssaisIsSet
=
true
;
}
bool
NFProfile
::
allowedNssaisIsSet
()
const
{
return
m_AllowedNssaisIsSet
;
}
void
NFProfile
::
unsetAllowedNssais
()
{
m_AllowedNssaisIsSet
=
false
;
}
int32_t
NFProfile
::
getPriority
()
const
{
return
m_Priority
;
}
void
NFProfile
::
setPriority
(
int32_t
const
value
)
{
m_Priority
=
value
;
m_PriorityIsSet
=
true
;
}
bool
NFProfile
::
priorityIsSet
()
const
{
return
m_PriorityIsSet
;
}
void
NFProfile
::
unsetPriority
()
{
m_PriorityIsSet
=
false
;
}
int32_t
NFProfile
::
getCapacity
()
const
{
return
m_Capacity
;
}
void
NFProfile
::
setCapacity
(
int32_t
const
value
)
{
m_Capacity
=
value
;
m_CapacityIsSet
=
true
;
}
bool
NFProfile
::
capacityIsSet
()
const
{
return
m_CapacityIsSet
;
}
void
NFProfile
::
unsetCapacity
()
{
m_CapacityIsSet
=
false
;
}
int32_t
NFProfile
::
getLoad
()
const
{
return
m_Load
;
}
void
NFProfile
::
setLoad
(
int32_t
const
value
)
{
m_Load
=
value
;
m_LoadIsSet
=
true
;
}
bool
NFProfile
::
loadIsSet
()
const
{
return
m_LoadIsSet
;
}
void
NFProfile
::
unsetLoad
()
{
m_LoadIsSet
=
false
;
}
std
::
string
NFProfile
::
getLocality
()
const
{
return
m_Locality
;
}
void
NFProfile
::
setLocality
(
std
::
string
const
&
value
)
{
m_Locality
=
value
;
m_LocalityIsSet
=
true
;
}
bool
NFProfile
::
localityIsSet
()
const
{
return
m_LocalityIsSet
;
}
void
NFProfile
::
unsetLocality
()
{
m_LocalityIsSet
=
false
;
}
UpfInfo
NFProfile
::
getUpfInfo
()
const
{
return
m_UpfInfo
;
}
void
NFProfile
::
setUpfInfo
(
UpfInfo
const
&
value
)
{
m_UpfInfo
=
value
;
m_UpfInfoIsSet
=
true
;
}
bool
NFProfile
::
upfInfoIsSet
()
const
{
return
m_UpfInfoIsSet
;
}
void
NFProfile
::
unsetUpfInfo
()
{
m_UpfInfoIsSet
=
false
;
}
std
::
vector
<
UpfInfo
>&
NFProfile
::
getUpfInfoExt
()
{
return
m_UpfInfoExt
;
}
void
NFProfile
::
setUpfInfoExt
(
std
::
vector
<
UpfInfo
>
const
&
value
)
{
m_UpfInfoExt
=
value
;
m_UpfInfoExtIsSet
=
true
;
}
bool
NFProfile
::
upfInfoExtIsSet
()
const
{
return
m_UpfInfoExtIsSet
;
}
void
NFProfile
::
unsetUpfInfoExt
()
{
m_UpfInfoExtIsSet
=
false
;
}
std
::
string
NFProfile
::
getRecoveryTime
()
const
{
return
m_RecoveryTime
;
}
void
NFProfile
::
setRecoveryTime
(
std
::
string
const
&
value
)
{
m_RecoveryTime
=
value
;
m_RecoveryTimeIsSet
=
true
;
}
bool
NFProfile
::
recoveryTimeIsSet
()
const
{
return
m_RecoveryTimeIsSet
;
}
void
NFProfile
::
unsetRecoveryTime
()
{
m_RecoveryTimeIsSet
=
false
;
}
bool
NFProfile
::
isNfServicePersistence
()
const
{
return
m_NfServicePersistence
;
}
void
NFProfile
::
setNfServicePersistence
(
bool
const
value
)
{
m_NfServicePersistence
=
value
;
m_NfServicePersistenceIsSet
=
true
;
}
bool
NFProfile
::
nfServicePersistenceIsSet
()
const
{
return
m_NfServicePersistenceIsSet
;
}
void
NFProfile
::
unsetNfServicePersistence
()
{
m_NfServicePersistenceIsSet
=
false
;
}
bool
NFProfile
::
isNfProfileChangesSupportInd
()
const
{
return
m_NfProfileChangesSupportInd
;
}
void
NFProfile
::
setNfProfileChangesSupportInd
(
bool
const
value
)
{
m_NfProfileChangesSupportInd
=
value
;
m_NfProfileChangesSupportIndIsSet
=
true
;
}
bool
NFProfile
::
nfProfileChangesSupportIndIsSet
()
const
{
return
m_NfProfileChangesSupportIndIsSet
;
}
void
NFProfile
::
unsetNfProfileChangesSupportInd
()
{
m_NfProfileChangesSupportIndIsSet
=
false
;
}
bool
NFProfile
::
isNfProfileChangesInd
()
const
{
return
m_NfProfileChangesInd
;
}
void
NFProfile
::
setNfProfileChangesInd
(
bool
const
value
)
{
m_NfProfileChangesInd
=
value
;
m_NfProfileChangesIndIsSet
=
true
;
}
bool
NFProfile
::
nfProfileChangesIndIsSet
()
const
{
return
m_NfProfileChangesIndIsSet
;
}
void
NFProfile
::
unsetNfProfileChangesInd
()
{
m_NfProfileChangesIndIsSet
=
false
;
}
}
}
}
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