Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-AMF
Commits
abbadb7b
Commit
abbadb7b
authored
Mar 10, 2021
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update json parse rand\auts
parent
2c5aefe9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
136 additions
and
0 deletions
+136
-0
src/sbi/amf_server/model/ResynchronizationInfo.cpp
src/sbi/amf_server/model/ResynchronizationInfo.cpp
+69
-0
src/sbi/amf_server/model/ResynchronizationInfo.h
src/sbi/amf_server/model/ResynchronizationInfo.h
+67
-0
No files found.
src/sbi/amf_server/model/ResynchronizationInfo.cpp
0 → 100644
View file @
abbadb7b
/**
* AUSF API
* AUSF UE Authentication Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.1.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 "ResynchronizationInfo.h"
namespace
oai
{
namespace
amf
{
namespace
model
{
ResynchronizationInfo
::
ResynchronizationInfo
()
{
m_Rand
=
""
;
m_Auts
=
""
;
}
ResynchronizationInfo
::~
ResynchronizationInfo
()
{
}
void
ResynchronizationInfo
::
validate
()
{
// TODO: implement validation
}
void
to_json
(
nlohmann
::
json
&
j
,
const
ResynchronizationInfo
&
o
)
{
j
=
nlohmann
::
json
();
j
[
"rand"
]
=
o
.
m_Rand
;
j
[
"auts"
]
=
o
.
m_Auts
;
}
void
from_json
(
const
nlohmann
::
json
&
j
,
ResynchronizationInfo
&
o
)
{
j
.
at
(
"rand"
).
get_to
(
o
.
m_Rand
);
j
.
at
(
"auts"
).
get_to
(
o
.
m_Auts
);
}
std
::
string
ResynchronizationInfo
::
getRand
()
const
{
return
m_Rand
;
}
void
ResynchronizationInfo
::
setRand
(
std
::
string
const
&
value
)
{
m_Rand
=
value
;
}
std
::
string
ResynchronizationInfo
::
getAuts
()
const
{
return
m_Auts
;
}
void
ResynchronizationInfo
::
setAuts
(
std
::
string
const
&
value
)
{
m_Auts
=
value
;
}
}
}
}
src/sbi/amf_server/model/ResynchronizationInfo.h
0 → 100644
View file @
abbadb7b
/**
* AUSF API
* AUSF UE Authentication Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.1.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* ResynchronizationInfo.h
*
*
*/
#ifndef ResynchronizationInfo_H_
#define ResynchronizationInfo_H_
#include <string>
#include <nlohmann/json.hpp>
namespace
oai
{
namespace
amf
{
namespace
model
{
/// <summary>
///
/// </summary>
class
ResynchronizationInfo
{
public:
ResynchronizationInfo
();
virtual
~
ResynchronizationInfo
();
void
validate
();
/////////////////////////////////////////////
/// ResynchronizationInfo members
/// <summary>
///
/// </summary>
std
::
string
getRand
()
const
;
void
setRand
(
std
::
string
const
&
value
);
/// <summary>
///
/// </summary>
std
::
string
getAuts
()
const
;
void
setAuts
(
std
::
string
const
&
value
);
friend
void
to_json
(
nlohmann
::
json
&
j
,
const
ResynchronizationInfo
&
o
);
friend
void
from_json
(
const
nlohmann
::
json
&
j
,
ResynchronizationInfo
&
o
);
protected:
std
::
string
m_Rand
;
std
::
string
m_Auts
;
};
}
}
}
#endif
/* ResynchronizationInfo_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