/**
 * 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.
 */

/*
 * SMSFNon3GPPRegistrationDocumentApiImpl.h
 *
 *
 */

#ifndef SMSF_NON3_GPP_REGISTRATION_DOCUMENT_API_IMPL_H_
#define SMSF_NON3_GPP_REGISTRATION_DOCUMENT_API_IMPL_H_

#include <SMSFNon3GPPRegistrationDocumentApi.h>
#include <pistache/endpoint.h>
#include <pistache/http.h>
#include <pistache/optional.h>
#include <pistache/router.h>

#include <memory>
#include <string>

#include "SmsfRegistration.h"
#include "udr_app.hpp"
namespace oai::udr::api {

using namespace oai::udr::model;
using namespace oai::udr::app;

class SMSFNon3GPPRegistrationDocumentApiImpl
    : public oai::udr::api::SMSFNon3GPPRegistrationDocumentApi {
 private:
  udr_app *m_udr_app;
  std::string m_address;

 public:
  SMSFNon3GPPRegistrationDocumentApiImpl(
      std::shared_ptr<Pistache::Rest::Router>, udr_app *udr_app_inst,
      std::string address);
  ~SMSFNon3GPPRegistrationDocumentApiImpl() {}

  void create_smsf_context_non3gpp(const std::string &ueId,
                                   const SmsfRegistration &smsfRegistration,
                                   Pistache::Http::ResponseWriter &response);
  void delete_smsf_context_non3gpp(const std::string &ueId,
                                   Pistache::Http::ResponseWriter &response);
  void query_smsf_context_non3gpp(
      const std::string &ueId,
      const Pistache::Optional<std::vector<std::string>> &fields,
      const Pistache::Optional<std::string> &supportedFeatures,
      Pistache::Http::ResponseWriter &response);
};

}  // namespace oai::udr::api

#endif