Commit e0bf9580 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Add license for API Model

parent 52523953
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -36,14 +56,10 @@ void _5GVnGroupConfiguration::validate() {
void to_json(nlohmann::json &j, const _5GVnGroupConfiguration &o) {
j = nlohmann::json();
if (o.r5gVnGroupDataIsSet())
j["5gVnGroupData"] = o.m_r_5gVnGroupData;
if (o.membersIsSet() || !o.m_Members.empty())
j["members"] = o.m_Members;
if (o.referenceIdIsSet())
j["referenceId"] = o.m_ReferenceId;
if (o.afInstanceIdIsSet())
j["afInstanceId"] = o.m_AfInstanceId;
if (o.r5gVnGroupDataIsSet()) j["5gVnGroupData"] = o.m_r_5gVnGroupData;
if (o.membersIsSet() || !o.m_Members.empty()) j["members"] = o.m_Members;
if (o.referenceIdIsSet()) j["referenceId"] = o.m_ReferenceId;
if (o.afInstanceIdIsSet()) j["afInstanceId"] = o.m_AfInstanceId;
if (o.internalGroupIdentifierIsSet())
j["internalGroupIdentifier"] = o.m_InternalGroupIdentifier;
if (o.mtcProviderInformationIsSet())
......@@ -153,4 +169,4 @@ void _5GVnGroupConfiguration::unsetMtcProviderInformation() {
m_MtcProviderInformationIsSet = false;
}
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* 5GVnGroupConfiguration.h
*
*
*
*/
#ifndef _5GVnGroupConfiguration_H_
#define _5GVnGroupConfiguration_H_
#include "5GVnGroupData.h"
#include <nlohmann/json.hpp>
#include <string>
#include <vector>
#include <nlohmann/json.hpp>
#include "5GVnGroupData.h"
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class _5GVnGroupConfiguration
{
public:
_5GVnGroupConfiguration();
virtual ~_5GVnGroupConfiguration();
class _5GVnGroupConfiguration {
public:
_5GVnGroupConfiguration();
virtual ~_5GVnGroupConfiguration();
void validate();
void validate();
/////////////////////////////////////////////
/// _5GVnGroupConfiguration members
/////////////////////////////////////////////
/// _5GVnGroupConfiguration members
/// <summary>
///
/// </summary>
_5GVnGroupData getR5gVnGroupData() const;
void setR5gVnGroupData(_5GVnGroupData const& value);
bool r5gVnGroupDataIsSet() const;
void unsetr_5gVnGroupData();
/// <summary>
///
/// </summary>
std::vector<std::string>& getMembers();
void setMembers(std::vector<std::string> const& value);
bool membersIsSet() const;
void unsetMembers();
/// <summary>
///
/// </summary>
int32_t getReferenceId() const;
void setReferenceId(int32_t const value);
bool referenceIdIsSet() const;
void unsetReferenceId();
/// <summary>
///
/// </summary>
std::string getAfInstanceId() const;
void setAfInstanceId(std::string const& value);
bool afInstanceIdIsSet() const;
void unsetAfInstanceId();
/// <summary>
///
/// </summary>
std::string getInternalGroupIdentifier() const;
void setInternalGroupIdentifier(std::string const& value);
bool internalGroupIdentifierIsSet() const;
void unsetInternalGroupIdentifier();
/// <summary>
///
/// </summary>
std::string getMtcProviderInformation() const;
void setMtcProviderInformation(std::string const& value);
bool mtcProviderInformationIsSet() const;
void unsetMtcProviderInformation();
friend void to_json(nlohmann::json& j, const _5GVnGroupConfiguration& o);
friend void from_json(const nlohmann::json& j, _5GVnGroupConfiguration& o);
protected:
_5GVnGroupData m_r_5gVnGroupData;
bool m_r_5gVnGroupDataIsSet;
std::vector<std::string> m_Members;
bool m_MembersIsSet;
int32_t m_ReferenceId;
bool m_ReferenceIdIsSet;
std::string m_AfInstanceId;
bool m_AfInstanceIdIsSet;
std::string m_InternalGroupIdentifier;
bool m_InternalGroupIdentifierIsSet;
std::string m_MtcProviderInformation;
bool m_MtcProviderInformationIsSet;
};
}
/// <summary>
///
/// </summary>
_5GVnGroupData getR5gVnGroupData() const;
void setR5gVnGroupData(_5GVnGroupData const& value);
bool r5gVnGroupDataIsSet() const;
void unsetr_5gVnGroupData();
/// <summary>
///
/// </summary>
std::vector<std::string>& getMembers();
void setMembers(std::vector<std::string> const& value);
bool membersIsSet() const;
void unsetMembers();
/// <summary>
///
/// </summary>
int32_t getReferenceId() const;
void setReferenceId(int32_t const value);
bool referenceIdIsSet() const;
void unsetReferenceId();
/// <summary>
///
/// </summary>
std::string getAfInstanceId() const;
void setAfInstanceId(std::string const& value);
bool afInstanceIdIsSet() const;
void unsetAfInstanceId();
/// <summary>
///
/// </summary>
std::string getInternalGroupIdentifier() const;
void setInternalGroupIdentifier(std::string const& value);
bool internalGroupIdentifierIsSet() const;
void unsetInternalGroupIdentifier();
/// <summary>
///
/// </summary>
std::string getMtcProviderInformation() const;
void setMtcProviderInformation(std::string const& value);
bool mtcProviderInformationIsSet() const;
void unsetMtcProviderInformation();
friend void to_json(nlohmann::json& j, const _5GVnGroupConfiguration& o);
friend void from_json(const nlohmann::json& j, _5GVnGroupConfiguration& o);
protected:
_5GVnGroupData m_r_5gVnGroupData;
bool m_r_5gVnGroupDataIsSet;
std::vector<std::string> m_Members;
bool m_MembersIsSet;
int32_t m_ReferenceId;
bool m_ReferenceIdIsSet;
std::string m_AfInstanceId;
bool m_AfInstanceIdIsSet;
std::string m_InternalGroupIdentifier;
bool m_InternalGroupIdentifierIsSet;
std::string m_MtcProviderInformation;
bool m_MtcProviderInformationIsSet;
};
} // namespace oai::udr::model
#endif /* 5GVnGroupConfiguration_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -38,10 +58,8 @@ void to_json(nlohmann::json &j, const _5GVnGroupData &o) {
j["pduSessionTypes"] = o.m_PduSessionTypes;
if (o.appDescriptorsIsSet() || !o.m_AppDescriptors.empty())
j["appDescriptors"] = o.m_AppDescriptors;
if (o.secondaryAuthIsSet())
j["secondaryAuth"] = o.m_SecondaryAuth;
if (o.dnAaaAddressIsSet())
j["dnAaaAddress"] = o.m_DnAaaAddress;
if (o.secondaryAuthIsSet()) j["secondaryAuth"] = o.m_SecondaryAuth;
if (o.dnAaaAddressIsSet()) j["dnAaaAddress"] = o.m_DnAaaAddress;
}
void from_json(const nlohmann::json &j, _5GVnGroupData &o) {
......@@ -108,4 +126,4 @@ void _5GVnGroupData::setDnAaaAddress(IpAddress const &value) {
bool _5GVnGroupData::dnAaaAddressIsSet() const { return m_DnAaaAddressIsSet; }
void _5GVnGroupData::unsetDnAaaAddress() { m_DnAaaAddressIsSet = false; }
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* 5GVnGroupData.h
*
*
*
*/
#ifndef _5GVnGroupData_H_
#define _5GVnGroupData_H_
#include "IpAddress.h"
#include <nlohmann/json.hpp>
#include <string>
#include <vector>
#include "AppDescriptor.h"
#include "IpAddress.h"
#include "PduSessionType.h"
#include "Snssai.h"
#include <vector>
#include <nlohmann/json.hpp>
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class _5GVnGroupData
{
public:
_5GVnGroupData();
virtual ~_5GVnGroupData();
void validate();
/////////////////////////////////////////////
/// 5GVnGroupData members
/// <summary>
///
/// </summary>
std::string getDnn() const;
void setDnn(std::string const& value);
/// <summary>
///
/// </summary>
Snssai getSNssai() const;
void setSNssai(Snssai const& value);
/// <summary>
///
/// </summary>
std::vector<PduSessionType>& getPduSessionTypes();
void setPduSessionTypes(std::vector<PduSessionType> const& value);
bool pduSessionTypesIsSet() const;
void unsetPduSessionTypes();
/// <summary>
///
/// </summary>
std::vector<AppDescriptor>& getAppDescriptors();
void setAppDescriptors(std::vector<AppDescriptor> const& value);
bool appDescriptorsIsSet() const;
void unsetAppDescriptors();
/// <summary>
///
/// </summary>
bool isSecondaryAuth() const;
void setSecondaryAuth(bool const value);
bool secondaryAuthIsSet() const;
void unsetSecondaryAuth();
/// <summary>
///
/// </summary>
IpAddress getDnAaaAddress() const;
void setDnAaaAddress(IpAddress const& value);
bool dnAaaAddressIsSet() const;
void unsetDnAaaAddress();
friend void to_json(nlohmann::json& j, const _5GVnGroupData& o);
friend void from_json(const nlohmann::json& j, _5GVnGroupData& o);
protected:
std::string m_Dnn;
Snssai m_SNssai;
std::vector<PduSessionType> m_PduSessionTypes;
bool m_PduSessionTypesIsSet;
std::vector<AppDescriptor> m_AppDescriptors;
bool m_AppDescriptorsIsSet;
bool m_SecondaryAuth;
bool m_SecondaryAuthIsSet;
IpAddress m_DnAaaAddress;
bool m_DnAaaAddressIsSet;
class _5GVnGroupData {
public:
_5GVnGroupData();
virtual ~_5GVnGroupData();
void validate();
/////////////////////////////////////////////
/// 5GVnGroupData members
/// <summary>
///
/// </summary>
std::string getDnn() const;
void setDnn(std::string const& value);
/// <summary>
///
/// </summary>
Snssai getSNssai() const;
void setSNssai(Snssai const& value);
/// <summary>
///
/// </summary>
std::vector<PduSessionType>& getPduSessionTypes();
void setPduSessionTypes(std::vector<PduSessionType> const& value);
bool pduSessionTypesIsSet() const;
void unsetPduSessionTypes();
/// <summary>
///
/// </summary>
std::vector<AppDescriptor>& getAppDescriptors();
void setAppDescriptors(std::vector<AppDescriptor> const& value);
bool appDescriptorsIsSet() const;
void unsetAppDescriptors();
/// <summary>
///
/// </summary>
bool isSecondaryAuth() const;
void setSecondaryAuth(bool const value);
bool secondaryAuthIsSet() const;
void unsetSecondaryAuth();
/// <summary>
///
/// </summary>
IpAddress getDnAaaAddress() const;
void setDnAaaAddress(IpAddress const& value);
bool dnAaaAddressIsSet() const;
void unsetDnAaaAddress();
friend void to_json(nlohmann::json& j, const _5GVnGroupData& o);
friend void from_json(const nlohmann::json& j, _5GVnGroupData& o);
protected:
std::string m_Dnn;
Snssai m_SNssai;
std::vector<PduSessionType> m_PduSessionTypes;
bool m_PduSessionTypesIsSet;
std::vector<AppDescriptor> m_AppDescriptors;
bool m_AppDescriptorsIsSet;
bool m_SecondaryAuth;
bool m_SecondaryAuthIsSet;
IpAddress m_DnAaaAddress;
bool m_DnAaaAddressIsSet;
};
}
} // namespace oai::udr::model
#endif /* 5GVnGroupData_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -58,46 +78,31 @@ void AccessAndMobilityData::validate() {
void to_json(nlohmann::json &j, const AccessAndMobilityData &o) {
j = nlohmann::json();
if (o.locationIsSet())
j["location"] = o.m_Location;
if (o.locationTsIsSet())
j["locationTs"] = o.m_LocationTs;
if (o.timeZoneIsSet())
j["timeZone"] = o.m_TimeZone;
if (o.timeZoneTsIsSet())
j["timeZoneTs"] = o.m_TimeZoneTs;
if (o.accessTypeIsSet())
j["accessType"] = o.m_AccessType;
if (o.locationIsSet()) j["location"] = o.m_Location;
if (o.locationTsIsSet()) j["locationTs"] = o.m_LocationTs;
if (o.timeZoneIsSet()) j["timeZone"] = o.m_TimeZone;
if (o.timeZoneTsIsSet()) j["timeZoneTs"] = o.m_TimeZoneTs;
if (o.accessTypeIsSet()) j["accessType"] = o.m_AccessType;
if (o.regStatesIsSet() || !o.m_RegStates.empty())
j["regStates"] = o.m_RegStates;
if (o.regStatesTsIsSet())
j["regStatesTs"] = o.m_RegStatesTs;
if (o.regStatesTsIsSet()) j["regStatesTs"] = o.m_RegStatesTs;
if (o.connStatesIsSet() || !o.m_ConnStates.empty())
j["connStates"] = o.m_ConnStates;
if (o.connStatesTsIsSet())
j["connStatesTs"] = o.m_ConnStatesTs;
if (o.connStatesTsIsSet()) j["connStatesTs"] = o.m_ConnStatesTs;
if (o.reachabilityStatusIsSet())
j["reachabilityStatus"] = o.m_ReachabilityStatus;
if (o.reachabilityStatusTsIsSet())
j["reachabilityStatusTs"] = o.m_ReachabilityStatusTs;
if (o.smsOverNasStatusIsSet())
j["smsOverNasStatus"] = o.m_SmsOverNasStatus;
if (o.smsOverNasStatusIsSet()) j["smsOverNasStatus"] = o.m_SmsOverNasStatus;
if (o.smsOverNasStatusTsIsSet())
j["smsOverNasStatusTs"] = o.m_SmsOverNasStatusTs;
if (o.roamingStatusIsSet())
j["roamingStatus"] = o.m_RoamingStatus;
if (o.roamingStatusTsIsSet())
j["roamingStatusTs"] = o.m_RoamingStatusTs;
if (o.currentPlmnIsSet())
j["currentPlmn"] = o.m_CurrentPlmn;
if (o.currentPlmnTsIsSet())
j["currentPlmnTs"] = o.m_CurrentPlmnTs;
if (o.ratTypeIsSet() || !o.m_RatType.empty())
j["ratType"] = o.m_RatType;
if (o.ratTypesTsIsSet())
j["ratTypesTs"] = o.m_RatTypesTs;
if (o.suppFeatIsSet())
j["suppFeat"] = o.m_SuppFeat;
if (o.roamingStatusIsSet()) j["roamingStatus"] = o.m_RoamingStatus;
if (o.roamingStatusTsIsSet()) j["roamingStatusTs"] = o.m_RoamingStatusTs;
if (o.currentPlmnIsSet()) j["currentPlmn"] = o.m_CurrentPlmn;
if (o.currentPlmnTsIsSet()) j["currentPlmnTs"] = o.m_CurrentPlmnTs;
if (o.ratTypeIsSet() || !o.m_RatType.empty()) j["ratType"] = o.m_RatType;
if (o.ratTypesTsIsSet()) j["ratTypesTs"] = o.m_RatTypesTs;
if (o.suppFeatIsSet()) j["suppFeat"] = o.m_SuppFeat;
}
void from_json(const nlohmann::json &j, AccessAndMobilityData &o) {
......@@ -394,4 +399,4 @@ void AccessAndMobilityData::setSuppFeat(std::string const &value) {
bool AccessAndMobilityData::suppFeatIsSet() const { return m_SuppFeatIsSet; }
void AccessAndMobilityData::unsetSuppFeat() { m_SuppFeatIsSet = false; }
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -29,4 +49,4 @@ void to_json(nlohmann::json &j, const AccessRightStatus &o) {
void from_json(const nlohmann::json &j, AccessRightStatus &o) {}
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AccessRightStatus.h
*
* Possible values are - FULLY_ALLOWED: The User is fully allowed to access to the channel. - PREVIEW_ALLOWED: The User is preview allowed to access to the channel. - NO_ALLOWED: The User is not allowed to access to the channel.
* Possible values are - FULLY_ALLOWED: The User is fully allowed to access to
* the channel. - PREVIEW_ALLOWED: The User is preview allowed to access to the
* channel. - NO_ALLOWED: The User is not allowed to access to the channel.
*/
#ifndef AccessRightStatus_H_
#define AccessRightStatus_H_
#include <nlohmann/json.hpp>
namespace oai::udr::model {
/// <summary>
/// Possible values are - FULLY_ALLOWED: The User is fully allowed to access to the channel. - PREVIEW_ALLOWED: The User is preview allowed to access to the channel. - NO_ALLOWED: The User is not allowed to access to the channel.
/// Possible values are - FULLY_ALLOWED: The User is fully allowed to access to
/// the channel. - PREVIEW_ALLOWED: The User is preview allowed to access to the
/// channel. - NO_ALLOWED: The User is not allowed to access to the channel.
/// </summary>
class AccessRightStatus
{
public:
AccessRightStatus();
virtual ~AccessRightStatus();
class AccessRightStatus {
public:
AccessRightStatus();
virtual ~AccessRightStatus();
void validate();
void validate();
/////////////////////////////////////////////
/// AccessRightStatus members
/////////////////////////////////////////////
/// AccessRightStatus members
friend void to_json(nlohmann::json& j, const AccessRightStatus& o);
friend void from_json(const nlohmann::json& j, AccessRightStatus& o);
friend void to_json(nlohmann::json& j, const AccessRightStatus& o);
friend void from_json(const nlohmann::json& j, AccessRightStatus& o);
protected:
protected:
};
}
} // namespace oai::udr::model
#endif /* AccessRightStatus_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -27,4 +47,4 @@ void to_json(nlohmann::json &j, const AccessTech &o) { j = nlohmann::json(); }
void from_json(const nlohmann::json &j, AccessTech &o) {}
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AccessTech.h
*
*
*
*/
#ifndef AccessTech_H_
#define AccessTech_H_
#include <nlohmann/json.hpp>
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class AccessTech
{
public:
AccessTech();
virtual ~AccessTech();
class AccessTech {
public:
AccessTech();
virtual ~AccessTech();
void validate();
void validate();
/////////////////////////////////////////////
/// AccessTech members
/////////////////////////////////////////////
/// AccessTech members
friend void to_json(nlohmann::json& j, const AccessTech& o);
friend void from_json(const nlohmann::json& j, AccessTech& o);
friend void to_json(nlohmann::json& j, const AccessTech& o);
friend void from_json(const nlohmann::json& j, AccessTech& o);
protected:
protected:
};
}
} // namespace oai::udr::model
#endif /* AccessTech_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -27,4 +47,4 @@ void to_json(nlohmann::json &j, const AccessType &o) { j = nlohmann::json(); }
void from_json(const nlohmann::json &j, AccessType &o) {}
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AccessType.h
*
*
*
*/
#ifndef AccessType_H_
#define AccessType_H_
#include <nlohmann/json.hpp>
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class AccessType
{
public:
AccessType();
virtual ~AccessType();
class AccessType {
public:
AccessType();
virtual ~AccessType();
void validate();
void validate();
/////////////////////////////////////////////
/// AccessType members
/////////////////////////////////////////////
/// AccessType members
friend void to_json(nlohmann::json& j, const AccessType& o);
friend void from_json(const nlohmann::json& j, AccessType& o);
friend void to_json(nlohmann::json& j, const AccessType& o);
friend void from_json(const nlohmann::json& j, AccessType& o);
protected:
protected:
};
}
} // namespace oai::udr::model
#endif /* AccessType_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -31,12 +51,9 @@ void AcsInfo::validate() {
void to_json(nlohmann::json &j, const AcsInfo &o) {
j = nlohmann::json();
if (o.acsUrlIsSet())
j["acsUrl"] = o.m_AcsUrl;
if (o.acsIpv4AddrIsSet())
j["acsIpv4Addr"] = o.m_AcsIpv4Addr;
if (o.acsIpv6AddrIsSet())
j["acsIpv6Addr"] = o.m_AcsIpv6Addr;
if (o.acsUrlIsSet()) j["acsUrl"] = o.m_AcsUrl;
if (o.acsIpv4AddrIsSet()) j["acsIpv4Addr"] = o.m_AcsIpv4Addr;
if (o.acsIpv6AddrIsSet()) j["acsIpv6Addr"] = o.m_AcsIpv6Addr;
}
void from_json(const nlohmann::json &j, AcsInfo &o) {
......@@ -76,4 +93,4 @@ void AcsInfo::setAcsIpv6Addr(Ipv6Addr const &value) {
bool AcsInfo::acsIpv6AddrIsSet() const { return m_AcsIpv6AddrIsSet; }
void AcsInfo::unsetAcsIpv6Addr() { m_AcsIpv6AddrIsSet = false; }
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AcsInfo.h
*
*
*
*/
#ifndef AcsInfo_H_
#define AcsInfo_H_
#include <nlohmann/json.hpp>
#include <string>
#include "Ipv6Addr.h"
#include <nlohmann/json.hpp>
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class AcsInfo
{
public:
AcsInfo();
virtual ~AcsInfo();
class AcsInfo {
public:
AcsInfo();
virtual ~AcsInfo();
void validate();
void validate();
/////////////////////////////////////////////
/// AcsInfo members
/////////////////////////////////////////////
/// AcsInfo members
/// <summary>
///
/// </summary>
std::string getAcsUrl() const;
void setAcsUrl(std::string const& value);
bool acsUrlIsSet() const;
void unsetAcsUrl();
/// <summary>
///
/// </summary>
std::string getAcsIpv4Addr() const;
void setAcsIpv4Addr(std::string const& value);
bool acsIpv4AddrIsSet() const;
void unsetAcsIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Addr getAcsIpv6Addr() const;
void setAcsIpv6Addr(Ipv6Addr const& value);
bool acsIpv6AddrIsSet() const;
void unsetAcsIpv6Addr();
friend void to_json(nlohmann::json& j, const AcsInfo& o);
friend void from_json(const nlohmann::json& j, AcsInfo& o);
protected:
std::string m_AcsUrl;
bool m_AcsUrlIsSet;
std::string m_AcsIpv4Addr;
bool m_AcsIpv4AddrIsSet;
Ipv6Addr m_AcsIpv6Addr;
bool m_AcsIpv6AddrIsSet;
};
}
/// <summary>
///
/// </summary>
std::string getAcsUrl() const;
void setAcsUrl(std::string const& value);
bool acsUrlIsSet() const;
void unsetAcsUrl();
/// <summary>
///
/// </summary>
std::string getAcsIpv4Addr() const;
void setAcsIpv4Addr(std::string const& value);
bool acsIpv4AddrIsSet() const;
void unsetAcsIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Addr getAcsIpv6Addr() const;
void setAcsIpv6Addr(Ipv6Addr const& value);
bool acsIpv6AddrIsSet() const;
void unsetAcsIpv6Addr();
friend void to_json(nlohmann::json& j, const AcsInfo& o);
friend void from_json(const nlohmann::json& j, AcsInfo& o);
protected:
std::string m_AcsUrl;
bool m_AcsUrlIsSet;
std::string m_AcsIpv4Addr;
bool m_AcsIpv4AddrIsSet;
Ipv6Addr m_AcsIpv6Addr;
bool m_AcsIpv6AddrIsSet;
};
} // namespace oai::udr::model
#endif /* AcsInfo_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -31,12 +51,9 @@ void AcsInfoRm::validate() {
void to_json(nlohmann::json &j, const AcsInfoRm &o) {
j = nlohmann::json();
if (o.acsUrlIsSet())
j["acsUrl"] = o.m_AcsUrl;
if (o.acsIpv4AddrIsSet())
j["acsIpv4Addr"] = o.m_AcsIpv4Addr;
if (o.acsIpv6AddrIsSet())
j["acsIpv6Addr"] = o.m_AcsIpv6Addr;
if (o.acsUrlIsSet()) j["acsUrl"] = o.m_AcsUrl;
if (o.acsIpv4AddrIsSet()) j["acsIpv4Addr"] = o.m_AcsIpv4Addr;
if (o.acsIpv6AddrIsSet()) j["acsIpv6Addr"] = o.m_AcsIpv6Addr;
}
void from_json(const nlohmann::json &j, AcsInfoRm &o) {
......@@ -76,4 +93,4 @@ void AcsInfoRm::setAcsIpv6Addr(Ipv6Addr const &value) {
bool AcsInfoRm::acsIpv6AddrIsSet() const { return m_AcsIpv6AddrIsSet; }
void AcsInfoRm::unsetAcsIpv6Addr() { m_AcsIpv6AddrIsSet = false; }
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AcsInfoRm.h
*
*
*
*/
#ifndef AcsInfoRm_H_
#define AcsInfoRm_H_
#include <nlohmann/json.hpp>
#include <string>
#include "Ipv6Addr.h"
#include "AcsInfo.h"
#include "Ipv6Addr.h"
#include "NullValue.h"
#include <nlohmann/json.hpp>
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class AcsInfoRm
{
public:
AcsInfoRm();
virtual ~AcsInfoRm();
class AcsInfoRm {
public:
AcsInfoRm();
virtual ~AcsInfoRm();
void validate();
void validate();
/////////////////////////////////////////////
/// AcsInfoRm members
/////////////////////////////////////////////
/// AcsInfoRm members
/// <summary>
///
/// </summary>
std::string getAcsUrl() const;
void setAcsUrl(std::string const& value);
bool acsUrlIsSet() const;
void unsetAcsUrl();
/// <summary>
///
/// </summary>
std::string getAcsIpv4Addr() const;
void setAcsIpv4Addr(std::string const& value);
bool acsIpv4AddrIsSet() const;
void unsetAcsIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Addr getAcsIpv6Addr() const;
void setAcsIpv6Addr(Ipv6Addr const& value);
bool acsIpv6AddrIsSet() const;
void unsetAcsIpv6Addr();
friend void to_json(nlohmann::json& j, const AcsInfoRm& o);
friend void from_json(const nlohmann::json& j, AcsInfoRm& o);
protected:
std::string m_AcsUrl;
bool m_AcsUrlIsSet;
std::string m_AcsIpv4Addr;
bool m_AcsIpv4AddrIsSet;
Ipv6Addr m_AcsIpv6Addr;
bool m_AcsIpv6AddrIsSet;
};
}
/// <summary>
///
/// </summary>
std::string getAcsUrl() const;
void setAcsUrl(std::string const& value);
bool acsUrlIsSet() const;
void unsetAcsUrl();
/// <summary>
///
/// </summary>
std::string getAcsIpv4Addr() const;
void setAcsIpv4Addr(std::string const& value);
bool acsIpv4AddrIsSet() const;
void unsetAcsIpv4Addr();
/// <summary>
///
/// </summary>
Ipv6Addr getAcsIpv6Addr() const;
void setAcsIpv6Addr(Ipv6Addr const& value);
bool acsIpv6AddrIsSet() const;
void unsetAcsIpv6Addr();
friend void to_json(nlohmann::json& j, const AcsInfoRm& o);
friend void from_json(const nlohmann::json& j, AcsInfoRm& o);
protected:
std::string m_AcsUrl;
bool m_AcsUrlIsSet;
std::string m_AcsIpv4Addr;
bool m_AcsIpv4AddrIsSet;
Ipv6Addr m_AcsIpv6Addr;
bool m_AcsIpv6AddrIsSet;
};
} // namespace oai::udr::model
#endif /* AcsInfoRm_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -53,4 +73,4 @@ void AdditionalSnssaiData::unsetRequiredAuthnAuthz() {
m_RequiredAuthnAuthzIsSet = false;
}
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AdditionalSnssaiData.h
*
*
*
*/
#ifndef AdditionalSnssaiData_H_
#define AdditionalSnssaiData_H_
#include <nlohmann/json.hpp>
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class AdditionalSnssaiData
{
public:
AdditionalSnssaiData();
virtual ~AdditionalSnssaiData();
void validate();
/////////////////////////////////////////////
/// AdditionalSnssaiData members
/// <summary>
///
/// </summary>
bool isRequiredAuthnAuthz() const;
void setRequiredAuthnAuthz(bool const value);
bool requiredAuthnAuthzIsSet() const;
void unsetRequiredAuthnAuthz();
friend void to_json(nlohmann::json& j, const AdditionalSnssaiData& o);
friend void from_json(const nlohmann::json& j, AdditionalSnssaiData& o);
protected:
bool m_RequiredAuthnAuthz;
bool m_RequiredAuthnAuthzIsSet;
};
class AdditionalSnssaiData {
public:
AdditionalSnssaiData();
virtual ~AdditionalSnssaiData();
}
void validate();
/////////////////////////////////////////////
/// AdditionalSnssaiData members
/// <summary>
///
/// </summary>
bool isRequiredAuthnAuthz() const;
void setRequiredAuthnAuthz(bool const value);
bool requiredAuthnAuthzIsSet() const;
void unsetRequiredAuthnAuthz();
friend void to_json(nlohmann::json& j, const AdditionalSnssaiData& o);
friend void from_json(const nlohmann::json& j, AdditionalSnssaiData& o);
protected:
bool m_RequiredAuthnAuthz;
bool m_RequiredAuthnAuthzIsSet;
};
} // namespace oai::udr::model
#endif /* AdditionalSnssaiData_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -31,14 +51,12 @@ void AfExternal::validate() {
void to_json(nlohmann::json &j, const AfExternal &o) {
j = nlohmann::json();
if (o.afIdIsSet())
j["afId"] = o.m_AfId;
if (o.afIdIsSet()) j["afId"] = o.m_AfId;
if (o.allowedGeographicAreaIsSet() || !o.m_AllowedGeographicArea.empty())
j["allowedGeographicArea"] = o.m_AllowedGeographicArea;
if (o.privacyCheckRelatedActionIsSet())
j["privacyCheckRelatedAction"] = o.m_PrivacyCheckRelatedAction;
if (o.validTimePeriodIsSet())
j["validTimePeriod"] = o.m_ValidTimePeriod;
if (o.validTimePeriodIsSet()) j["validTimePeriod"] = o.m_ValidTimePeriod;
}
void from_json(const nlohmann::json &j, AfExternal &o) {
......@@ -105,4 +123,4 @@ void AfExternal::setValidTimePeriod(ValidTimePeriod const &value) {
bool AfExternal::validTimePeriodIsSet() const { return m_ValidTimePeriodIsSet; }
void AfExternal::unsetValidTimePeriod() { m_ValidTimePeriodIsSet = false; }
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AfExternal.h
*
*
*
*/
#ifndef AfExternal_H_
#define AfExternal_H_
#include <nlohmann/json.hpp>
#include <string>
#include <vector>
#include "GeographicArea.h"
#include <string>
#include "ValidTimePeriod.h"
#include "PrivacyCheckRelatedAction.h"
#include <vector>
#include <nlohmann/json.hpp>
#include "ValidTimePeriod.h"
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class AfExternal
{
public:
AfExternal();
virtual ~AfExternal();
void validate();
class AfExternal {
public:
AfExternal();
virtual ~AfExternal();
/////////////////////////////////////////////
/// AfExternal members
void validate();
/// <summary>
///
/// </summary>
std::string getAfId() const;
void setAfId(std::string const& value);
bool afIdIsSet() const;
void unsetAfId();
/// <summary>
///
/// </summary>
std::vector<GeographicArea>& getAllowedGeographicArea();
void setAllowedGeographicArea(std::vector<GeographicArea> const& value);
bool allowedGeographicAreaIsSet() const;
void unsetAllowedGeographicArea();
/// <summary>
///
/// </summary>
PrivacyCheckRelatedAction getPrivacyCheckRelatedAction() const;
void setPrivacyCheckRelatedAction(PrivacyCheckRelatedAction const& value);
bool privacyCheckRelatedActionIsSet() const;
void unsetPrivacyCheckRelatedAction();
/// <summary>
///
/// </summary>
ValidTimePeriod getValidTimePeriod() const;
void setValidTimePeriod(ValidTimePeriod const& value);
bool validTimePeriodIsSet() const;
void unsetValidTimePeriod();
/////////////////////////////////////////////
/// AfExternal members
friend void to_json(nlohmann::json& j, const AfExternal& o);
friend void from_json(const nlohmann::json& j, AfExternal& o);
protected:
std::string m_AfId;
bool m_AfIdIsSet;
std::vector<GeographicArea> m_AllowedGeographicArea;
bool m_AllowedGeographicAreaIsSet;
PrivacyCheckRelatedAction m_PrivacyCheckRelatedAction;
bool m_PrivacyCheckRelatedActionIsSet;
ValidTimePeriod m_ValidTimePeriod;
bool m_ValidTimePeriodIsSet;
};
}
/// <summary>
///
/// </summary>
std::string getAfId() const;
void setAfId(std::string const& value);
bool afIdIsSet() const;
void unsetAfId();
/// <summary>
///
/// </summary>
std::vector<GeographicArea>& getAllowedGeographicArea();
void setAllowedGeographicArea(std::vector<GeographicArea> const& value);
bool allowedGeographicAreaIsSet() const;
void unsetAllowedGeographicArea();
/// <summary>
///
/// </summary>
PrivacyCheckRelatedAction getPrivacyCheckRelatedAction() const;
void setPrivacyCheckRelatedAction(PrivacyCheckRelatedAction const& value);
bool privacyCheckRelatedActionIsSet() const;
void unsetPrivacyCheckRelatedAction();
/// <summary>
///
/// </summary>
ValidTimePeriod getValidTimePeriod() const;
void setValidTimePeriod(ValidTimePeriod const& value);
bool validTimePeriodIsSet() const;
void unsetValidTimePeriod();
friend void to_json(nlohmann::json& j, const AfExternal& o);
friend void from_json(const nlohmann::json& j, AfExternal& o);
protected:
std::string m_AfId;
bool m_AfIdIsSet;
std::vector<GeographicArea> m_AllowedGeographicArea;
bool m_AllowedGeographicAreaIsSet;
PrivacyCheckRelatedAction m_PrivacyCheckRelatedAction;
bool m_PrivacyCheckRelatedActionIsSet;
ValidTimePeriod m_ValidTimePeriod;
bool m_ValidTimePeriodIsSet;
};
} // namespace oai::udr::model
#endif /* AfExternal_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -28,8 +48,7 @@ void AmPolicyData::validate() {
void to_json(nlohmann::json &j, const AmPolicyData &o) {
j = nlohmann::json();
if (o.praInfosIsSet() || !o.m_PraInfos.empty())
j["praInfos"] = o.m_PraInfos;
if (o.praInfosIsSet() || !o.m_PraInfos.empty()) j["praInfos"] = o.m_PraInfos;
if (o.subscCatsIsSet() || !o.m_SubscCats.empty())
j["subscCats"] = o.m_SubscCats;
}
......@@ -63,4 +82,4 @@ void AmPolicyData::setSubscCats(std::vector<std::string> const &value) {
bool AmPolicyData::subscCatsIsSet() const { return m_SubscCatsIsSet; }
void AmPolicyData::unsetSubscCats() { m_SubscCatsIsSet = false; }
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AmPolicyData.h
*
......@@ -18,56 +39,53 @@
#ifndef AmPolicyData_H_
#define AmPolicyData_H_
#include <string>
#include "PresenceInfo.h"
#include <map>
#include <vector>
#include <nlohmann/json.hpp>
#include <string>
#include <vector>
#include "PresenceInfo.h"
namespace oai::udr::model {
/// <summary>
/// Contains the AM policy data for a given subscriber.
/// </summary>
class AmPolicyData
{
public:
AmPolicyData();
virtual ~AmPolicyData();
void validate();
class AmPolicyData {
public:
AmPolicyData();
virtual ~AmPolicyData();
/////////////////////////////////////////////
/// AmPolicyData members
void validate();
/// <summary>
///
/// </summary>
std::map<std::string, PresenceInfo>& getPraInfos();
void setPraInfos(std::map<std::string, PresenceInfo> const& value);
bool praInfosIsSet() const;
void unsetPraInfos();
/// <summary>
///
/// </summary>
std::vector<std::string>& getSubscCats();
void setSubscCats(std::vector<std::string> const& value);
bool subscCatsIsSet() const;
void unsetSubscCats();
/////////////////////////////////////////////
/// AmPolicyData members
friend void to_json(nlohmann::json& j, const AmPolicyData& o);
friend void from_json(const nlohmann::json& j, AmPolicyData& o);
protected:
std::map<std::string, PresenceInfo> m_PraInfos;
bool m_PraInfosIsSet;
std::vector<std::string> m_SubscCats;
bool m_SubscCatsIsSet;
};
}
/// <summary>
///
/// </summary>
std::map<std::string, PresenceInfo>& getPraInfos();
void setPraInfos(std::map<std::string, PresenceInfo> const& value);
bool praInfosIsSet() const;
void unsetPraInfos();
/// <summary>
///
/// </summary>
std::vector<std::string>& getSubscCats();
void setSubscCats(std::vector<std::string> const& value);
bool subscCatsIsSet() const;
void unsetSubscCats();
friend void to_json(nlohmann::json& j, const AmPolicyData& o);
friend void from_json(const nlohmann::json& j, AmPolicyData& o);
protected:
std::map<std::string, PresenceInfo> m_PraInfos;
bool m_PraInfosIsSet;
std::vector<std::string> m_SubscCats;
bool m_SubscCatsIsSet;
};
} // namespace oai::udr::model
#endif /* AmPolicyData_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -42,4 +62,4 @@ void Ambr::setUplink(std::string const &value) { m_Uplink = value; }
std::string Ambr::getDownlink() const { return m_Downlink; }
void Ambr::setDownlink(std::string const &value) { m_Downlink = value; }
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* Ambr.h
*
*
*
*/
#ifndef Ambr_H_
#define Ambr_H_
#include <string>
#include <nlohmann/json.hpp>
#include <string>
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class Ambr
{
public:
Ambr();
virtual ~Ambr();
void validate();
/////////////////////////////////////////////
/// Ambr members
/// <summary>
///
/// </summary>
std::string getUplink() const;
void setUplink(std::string const& value);
/// <summary>
///
/// </summary>
std::string getDownlink() const;
void setDownlink(std::string const& value);
friend void to_json(nlohmann::json& j, const Ambr& o);
friend void from_json(const nlohmann::json& j, Ambr& o);
protected:
std::string m_Uplink;
std::string m_Downlink;
class Ambr {
public:
Ambr();
virtual ~Ambr();
void validate();
/////////////////////////////////////////////
/// Ambr members
/// <summary>
///
/// </summary>
std::string getUplink() const;
void setUplink(std::string const& value);
/// <summary>
///
/// </summary>
std::string getDownlink() const;
void setDownlink(std::string const& value);
friend void to_json(nlohmann::json& j, const Ambr& o);
friend void from_json(const nlohmann::json& j, Ambr& o);
protected:
std::string m_Uplink;
std::string m_Downlink;
};
}
} // namespace oai::udr::model
#endif /* Ambr_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -42,4 +62,4 @@ void AmbrRm::setUplink(std::string const &value) { m_Uplink = value; }
std::string AmbrRm::getDownlink() const { return m_Downlink; }
void AmbrRm::setDownlink(std::string const &value) { m_Downlink = value; }
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
* ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AmbrRm.h
*
*
*
*/
#ifndef AmbrRm_H_
#define AmbrRm_H_
#include <nlohmann/json.hpp>
#include <string>
#include "Ambr.h"
#include <string>
#include "NullValue.h"
#include <nlohmann/json.hpp>
namespace oai::udr::model {
/// <summary>
///
///
/// </summary>
class AmbrRm
{
public:
AmbrRm();
virtual ~AmbrRm();
void validate();
/////////////////////////////////////////////
/// AmbrRm members
/// <summary>
///
/// </summary>
std::string getUplink() const;
void setUplink(std::string const& value);
/// <summary>
///
/// </summary>
std::string getDownlink() const;
void setDownlink(std::string const& value);
friend void to_json(nlohmann::json& j, const AmbrRm& o);
friend void from_json(const nlohmann::json& j, AmbrRm& o);
protected:
std::string m_Uplink;
std::string m_Downlink;
class AmbrRm {
public:
AmbrRm();
virtual ~AmbrRm();
void validate();
/////////////////////////////////////////////
/// AmbrRm members
/// <summary>
///
/// </summary>
std::string getUplink() const;
void setUplink(std::string const& value);
/// <summary>
///
/// </summary>
std::string getDownlink() const;
void setDownlink(std::string const& value);
friend void to_json(nlohmann::json& j, const AmbrRm& o);
friend void from_json(const nlohmann::json& j, AmbrRm& o);
protected:
std::string m_Uplink;
std::string m_Downlink;
};
}
} // namespace oai::udr::model
#endif /* AmbrRm_H_ */
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -60,12 +80,9 @@ void to_json(nlohmann::json &j, const Amf3GppAccessRegistration &o) {
j["amfInstanceId"] = o.m_AmfInstanceId;
if (o.supportedFeaturesIsSet())
j["supportedFeatures"] = o.m_SupportedFeatures;
if (o.purgeFlagIsSet())
j["purgeFlag"] = o.m_PurgeFlag;
if (o.peiIsSet())
j["pei"] = o.m_Pei;
if (o.imsVoPsIsSet())
j["imsVoPs"] = o.m_ImsVoPs;
if (o.purgeFlagIsSet()) j["purgeFlag"] = o.m_PurgeFlag;
if (o.peiIsSet()) j["pei"] = o.m_Pei;
if (o.imsVoPsIsSet()) j["imsVoPs"] = o.m_ImsVoPs;
j["deregCallbackUri"] = o.m_DeregCallbackUri;
if (o.amfServiceNameDeregIsSet())
j["amfServiceNameDereg"] = o.m_AmfServiceNameDereg;
......@@ -78,23 +95,18 @@ void to_json(nlohmann::json &j, const Amf3GppAccessRegistration &o) {
j["guami"] = o.m_Guami;
if (o.backupAmfInfoIsSet() || !o.m_BackupAmfInfo.empty())
j["backupAmfInfo"] = o.m_BackupAmfInfo;
if (o.drFlagIsSet())
j["drFlag"] = o.m_DrFlag;
if (o.drFlagIsSet()) j["drFlag"] = o.m_DrFlag;
j["ratType"] = o.m_RatType;
if (o.urrpIndicatorIsSet())
j["urrpIndicator"] = o.m_UrrpIndicator;
if (o.urrpIndicatorIsSet()) j["urrpIndicator"] = o.m_UrrpIndicator;
if (o.amfEeSubscriptionIdIsSet())
j["amfEeSubscriptionId"] = o.m_AmfEeSubscriptionId;
if (o.epsInterworkingInfoIsSet())
j["epsInterworkingInfo"] = o.m_EpsInterworkingInfo;
if (o.ueSrvccCapabilityIsSet())
j["ueSrvccCapability"] = o.m_UeSrvccCapability;
if (o.registrationTimeIsSet())
j["registrationTime"] = o.m_RegistrationTime;
if (o.vgmlcAddressIsSet())
j["vgmlcAddress"] = o.m_VgmlcAddress;
if (o.contextInfoIsSet())
j["contextInfo"] = o.m_ContextInfo;
if (o.registrationTimeIsSet()) j["registrationTime"] = o.m_RegistrationTime;
if (o.vgmlcAddressIsSet()) j["vgmlcAddress"] = o.m_VgmlcAddress;
if (o.contextInfoIsSet()) j["contextInfo"] = o.m_ContextInfo;
if (o.noEeSubscriptionIndIsSet())
j["noEeSubscriptionInd"] = o.m_NoEeSubscriptionInd;
}
......@@ -417,4 +429,4 @@ void Amf3GppAccessRegistration::unsetNoEeSubscriptionInd() {
m_NoEeSubscriptionIndIsSet = false;
}
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -50,10 +70,8 @@ void to_json(nlohmann::json &j, const AmfNon3GppAccessRegistration &o) {
j["amfInstanceId"] = o.m_AmfInstanceId;
if (o.supportedFeaturesIsSet())
j["supportedFeatures"] = o.m_SupportedFeatures;
if (o.purgeFlagIsSet())
j["purgeFlag"] = o.m_PurgeFlag;
if (o.peiIsSet())
j["pei"] = o.m_Pei;
if (o.purgeFlagIsSet()) j["purgeFlag"] = o.m_PurgeFlag;
if (o.peiIsSet()) j["pei"] = o.m_Pei;
j["imsVoPs"] = o.m_ImsVoPs;
j["deregCallbackUri"] = o.m_DeregCallbackUri;
if (o.amfServiceNameDeregIsSet())
......@@ -66,16 +84,12 @@ void to_json(nlohmann::json &j, const AmfNon3GppAccessRegistration &o) {
if (o.backupAmfInfoIsSet() || !o.m_BackupAmfInfo.empty())
j["backupAmfInfo"] = o.m_BackupAmfInfo;
j["ratType"] = o.m_RatType;
if (o.urrpIndicatorIsSet())
j["urrpIndicator"] = o.m_UrrpIndicator;
if (o.urrpIndicatorIsSet()) j["urrpIndicator"] = o.m_UrrpIndicator;
if (o.amfEeSubscriptionIdIsSet())
j["amfEeSubscriptionId"] = o.m_AmfEeSubscriptionId;
if (o.registrationTimeIsSet())
j["registrationTime"] = o.m_RegistrationTime;
if (o.vgmlcAddressIsSet())
j["vgmlcAddress"] = o.m_VgmlcAddress;
if (o.contextInfoIsSet())
j["contextInfo"] = o.m_ContextInfo;
if (o.registrationTimeIsSet()) j["registrationTime"] = o.m_RegistrationTime;
if (o.vgmlcAddressIsSet()) j["vgmlcAddress"] = o.m_VgmlcAddress;
if (o.contextInfoIsSet()) j["contextInfo"] = o.m_ContextInfo;
}
void from_json(const nlohmann::json &j, AmfNon3GppAccessRegistration &o) {
......@@ -197,8 +211,8 @@ bool AmfNon3GppAccessRegistration::amfServiceNameDeregIsSet() const {
void AmfNon3GppAccessRegistration::unsetAmfServiceNameDereg() {
m_AmfServiceNameDeregIsSet = false;
}
std::string
AmfNon3GppAccessRegistration::getPcscfRestorationCallbackUri() const {
std::string AmfNon3GppAccessRegistration::getPcscfRestorationCallbackUri()
const {
return m_PcscfRestorationCallbackUri;
}
void AmfNon3GppAccessRegistration::setPcscfRestorationCallbackUri(
......@@ -316,4 +330,4 @@ void AmfNon3GppAccessRegistration::unsetContextInfo() {
m_ContextInfoIsSet = false;
}
} // namespace oai::udr::model
} // namespace oai::udr::model
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -73,4 +93,4 @@ void AmfSubscriptionInfo::unsetSubsChangeNotifyCorrelationId() {
m_SubsChangeNotifyCorrelationIdIsSet = false;
}
} // namespace oai::udr::model
} // namespace oai::udr::model
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
......@@ -47,4 +67,4 @@ void Arp::setPreemptVuln(PreemptionVulnerability const &value) {
m_PreemptVuln = value;
}
} // namespace oai::udr::model
} // namespace oai::udr::model
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment