Newer
Older
* Npcf_SMPolicyControl API
* Session Management Policy Control Service © 2020, 3GPP Organizational
* Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.1.1.alpha-5
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
#include "SMPoliciesCollectionApiImpl.h"
namespace oai {
namespace pcf {
namespace api {
using namespace oai::pcf::helpers;
using namespace oai::pcf::model;
Stefan Spettel
committed
using namespace oai::pcf::app;
SMPoliciesCollectionApiImpl::SMPoliciesCollectionApiImpl(
Stefan Spettel
committed
const std::shared_ptr<Pistache::Rest::Router>& rtr,
const std::shared_ptr<pcf_smpc> smpc_service, std::string address)
: SMPoliciesCollectionApi(rtr) {
this->m_address = address;
this->smpc_service = smpc_service;
}
void SMPoliciesCollectionApiImpl::create_sm_policy(
const SmPolicyContextData& smPolicyContextData,
Pistache::Http::ResponseWriter& response) {
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
} // namespace api
} // namespace pcf
} // namespace oai