Commit a221f39c authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

Merge branch 'fix-cppcheck' into 'develop'

[cppcheck] fix all 3 errors

See merge request !5
parents 962473d4 c7b5363d
Pipeline #24692 failed with stage
in 0 seconds
/**
* NRF OAuth2
* NRF OAuth2 Authorization. © 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.0.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* NRF OAuth2
* NRF OAuth2 Authorization. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.0.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
#include "AccessTokenRequestApi.h"
#include "Helpers.h"
......@@ -23,46 +24,52 @@ namespace api {
using namespace oai::nrf::helpers;
using namespace oai::nrf::model;
AccessTokenRequestApi::AccessTokenRequestApi(std::shared_ptr<Pistache::Rest::Router> rtr) {
router = rtr;
AccessTokenRequestApi::AccessTokenRequestApi(
std::shared_ptr<Pistache::Rest::Router> rtr) {
router = rtr;
}
void AccessTokenRequestApi::init() {
setupRoutes();
setupRoutes();
}
void AccessTokenRequestApi::setupRoutes() {
using namespace Pistache::Rest;
using namespace Pistache::Rest;
Routes::Post(*router, base + "/oauth2/token", Routes::bind(&AccessTokenRequestApi::access_token_request_handler, this));
Routes::Post(
*router, base + "/oauth2/token",
Routes::bind(&AccessTokenRequestApi::access_token_request_handler, this));
// Default handler, called when a route is not found
router->addCustomHandler(Routes::bind(&AccessTokenRequestApi::access_token_request_api_default_handler, this));
// Default handler, called when a route is not found
router->addCustomHandler(Routes::bind(
&AccessTokenRequestApi::access_token_request_api_default_handler, this));
}
void AccessTokenRequestApi::access_token_request_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response) {
try {
this->access_token_request(request, response);
} catch (nlohmann::detail::exception &e) {
//send a 400 error
response.send(Pistache::Http::Code::Bad_Request, e.what());
return;
} catch (Pistache::Http::HttpError &e) {
response.send(static_cast<Pistache::Http::Code>(e.code()), e.what());
return;
} catch (std::exception &e) {
//send a 500 error
response.send(Pistache::Http::Code::Internal_Server_Error, e.what());
return;
}
}
void AccessTokenRequestApi::access_token_request_api_default_handler(const Pistache::Rest::Request &, Pistache::Http::ResponseWriter response) {
response.send(Pistache::Http::Code::Not_Found, "The requested method does not exist");
void AccessTokenRequestApi::access_token_request_handler(
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter response) {
try {
this->access_token_request(request, response);
} catch (nlohmann::detail::exception& e) {
// send a 400 error
response.send(Pistache::Http::Code::Bad_Request, e.what());
return;
} catch (Pistache::Http::HttpError& e) {
response.send(static_cast<Pistache::Http::Code>(e.code()), e.what());
return;
} catch (std::exception& e) {
// send a 500 error
response.send(Pistache::Http::Code::Internal_Server_Error, e.what());
return;
}
}
}
}
void AccessTokenRequestApi::access_token_request_api_default_handler(
const Pistache::Rest::Request&, Pistache::Http::ResponseWriter response) {
response.send(
Pistache::Http::Code::Not_Found, "The requested method does not exist");
}
} // namespace api
} // namespace nrf
} // namespace oai
/**
* NRF OAuth2
* NRF OAuth2 Authorization. © 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.0.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
* NRF OAuth2
* NRF OAuth2 Authorization. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.0.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* AccessTokenRequestApi.h
*
*
*
*/
#ifndef AccessTokenRequestApi_H_
#define AccessTokenRequestApi_H_
#include <pistache/http.h>
#include <pistache/router.h>
#include <pistache/http_headers.h>
#include <pistache/optional.h>
#include "AccessTokenErr.h"
#include "AccessTokenRsp.h"
#include "NFType.h"
......@@ -38,35 +37,39 @@ namespace api {
using namespace oai::nrf::model;
class AccessTokenRequestApi {
public:
AccessTokenRequestApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~AccessTokenRequestApi() {}
void init();
const std::string base = "";
private:
void setupRoutes();
void access_token_request_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response);
void access_token_request_api_default_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response);
std::shared_ptr<Pistache::Rest::Router> router;
/// <summary>
/// Access Token Request
/// </summary>
/// <remarks>
///
/// </remarks>
virtual void access_token_request(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter &response) = 0;
class AccessTokenRequestApi {
public:
AccessTokenRequestApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~AccessTokenRequestApi() {}
void init();
const std::string base = "";
private:
void setupRoutes();
void access_token_request_handler(
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter response);
void access_token_request_api_default_handler(
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter response);
std::shared_ptr<Pistache::Rest::Router> router;
/// <summary>
/// Access Token Request
/// </summary>
/// <remarks>
///
/// </remarks>
virtual void access_token_request(
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter& response) = 0;
};
}
}
}
} // namespace api
} // namespace nrf
} // namespace oai
#endif /* AccessTokenRequestApi_H_ */
/**
* NRF NFDiscovery Service
* NRF NFDiscovery Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
* NRF NFDiscovery Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.1.0.alpha-1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
#include "CompleteStoredSearchDocumentApi.h"
......@@ -36,49 +37,48 @@ void CompleteStoredSearchDocumentApi::setupRoutes() {
using namespace Pistache::Rest;
Routes::Get(
*router,
base + nrf_cfg.sbi_api_version + "/searches/:searchId/complete",
*router, base + nrf_cfg.sbi_api_version + "/searches/:searchId/complete",
Routes::bind(
&CompleteStoredSearchDocumentApi::retrieve_complete_search_handler,
this));
// Default handler, called when a route is not found
router->addCustomHandler(
Routes::bind(
&CompleteStoredSearchDocumentApi::complete_stored_search_document_api_default_handler,
this));
router->addCustomHandler(Routes::bind(
&CompleteStoredSearchDocumentApi::
complete_stored_search_document_api_default_handler,
this));
}
void CompleteStoredSearchDocumentApi::retrieve_complete_search_handler(
const Pistache::Rest::Request &request,
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter response) {
// Getting the path params
auto searchId = request.param(":searchId").as<std::string>();
try {
this->retrieve_complete_search(searchId, response);
} catch (nlohmann::detail::exception &e) {
//send a 400 error
} catch (nlohmann::detail::exception& e) {
// send a 400 error
response.send(Pistache::Http::Code::Bad_Request, e.what());
return;
} catch (Pistache::Http::HttpError &e) {
} catch (Pistache::Http::HttpError& e) {
response.send(static_cast<Pistache::Http::Code>(e.code()), e.what());
return;
} catch (std::exception &e) {
//send a 500 error
} catch (std::exception& e) {
// send a 500 error
response.send(Pistache::Http::Code::Internal_Server_Error, e.what());
return;
}
}
void CompleteStoredSearchDocumentApi::complete_stored_search_document_api_default_handler(
const Pistache::Rest::Request&, Pistache::Http::ResponseWriter response) {
response.send(Pistache::Http::Code::Not_Found,
"The requested method does not exist");
}
}
}
void CompleteStoredSearchDocumentApi::
complete_stored_search_document_api_default_handler(
const Pistache::Rest::Request&,
Pistache::Http::ResponseWriter response) {
response.send(
Pistache::Http::Code::Not_Found, "The requested method does not exist");
}
} // namespace api
} // namespace nrf
} // namespace oai
/**
* NRF NFDiscovery Service
* NRF NFDiscovery Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
* NRF NFDiscovery Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.1.0.alpha-1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* CompleteStoredSearchDocumentApi.h
*
*
*
*/
#ifndef CompleteStoredSearchDocumentApi_H_
......@@ -34,9 +35,8 @@ using namespace oai::nrf::model;
class CompleteStoredSearchDocumentApi {
public:
CompleteStoredSearchDocumentApi (std::shared_ptr<Pistache::Rest::Router>);
virtual ~CompleteStoredSearchDocumentApi() {
}
CompleteStoredSearchDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~CompleteStoredSearchDocumentApi() {}
void init();
const std::string base = "/nnrf-disc/";
......@@ -45,30 +45,28 @@ class CompleteStoredSearchDocumentApi {
void setupRoutes();
void retrieve_complete_search_handler(
const Pistache::Rest::Request &request,
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter response);
void complete_stored_search_document_api_default_handler(
const Pistache::Rest::Request &request,
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter response);
std::shared_ptr<Pistache::Rest::Router> router;
/// <summary>
///
///
/// </summary>
/// <remarks>
///
///
/// </remarks>
/// <param name="searchId">Id of a stored search</param>
virtual void retrieve_complete_search(
const std::string &searchId,
Pistache::Http::ResponseWriter &response) = 0;
const std::string& searchId,
Pistache::Http::ResponseWriter& response) = 0;
};
}
}
}
} // namespace api
} // namespace nrf
} // namespace oai
#endif /* CompleteStoredSearchDocumentApi_H_ */
/**
* NRF NFDiscovery Service
* NRF NFDiscovery Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
* NRF NFDiscovery Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.1.0.alpha-1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
* the class manually.
*/
/*
* NFInstancesStoreApi.h
*
*
*
*/
#ifndef DiscNFInstancesStoreApi_H_
......@@ -51,9 +52,8 @@ using namespace oai::nrf::model;
class DiscNFInstancesStoreApi {
public:
DiscNFInstancesStoreApi (std::shared_ptr<Pistache::Rest::Router>);
virtual ~DiscNFInstancesStoreApi() {
}
DiscNFInstancesStoreApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~DiscNFInstancesStoreApi() {}
void init();
const std::string base = "/nnrf-disc/";
......@@ -61,10 +61,11 @@ class DiscNFInstancesStoreApi {
private:
void setupRoutes();
void search_nf_instances_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void search_nf_instances_handler(
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter response);
void nf_instances_store_api_default_handler(
const Pistache::Rest::Request &request,
const Pistache::Rest::Request& request,
Pistache::Http::ResponseWriter response);
std::shared_ptr<Pistache::Rest::Router> router;
......@@ -73,110 +74,141 @@ class DiscNFInstancesStoreApi {
/// Search a collection of NF Instances
/// </summary>
/// <remarks>
///
///
/// </remarks>
/// <param name="targetNfType">Type of the target NF</param>
/// <param name="requesterNfType">Type of the requester NF</param>
/// <param name="requesterNfInstanceId">NfInstanceId of the requester NF (optional, default to &quot;&quot;)</param>
/// <param name="serviceNames">Names of the services offered by the NF (optional, default to std::vector&lt;ServiceName&gt;())</param>
/// <param name="requesterNfInstanceFqdn">FQDN of the requester NF (optional, default to &quot;&quot;)</param>
/// <param name="targetPlmnList">Id of the PLMN of the target NF (optional, default to std::vector&lt;PlmnId&gt;())</param>
/// <param name="requesterPlmnList">Id of the PLMN where the NF issuing the Discovery request is located (optional, default to std::vector&lt;PlmnId&gt;())</param>
/// <param name="targetNfInstanceId">Identity of the NF instance being discovered (optional, default to &quot;&quot;)</param>
/// <param name="targetNfFqdn">FQDN of the NF instance being discovered (optional, default to &quot;&quot;)</param>
/// <param name="hnrfUri">Uri of the home NRF (optional, default to &quot;&quot;)</param>
/// <param name="snssais">Slice info of the target NF (optional, default to std::vector&lt;Snssai&gt;())</param>
/// <param name="requesterSnssais">Slice info of the requester NF (optional, default to std::vector&lt;Snssai&gt;())</param>
/// <param name="plmnSpecificSnssaiList">PLMN specific Slice info of the target NF (optional, default to std::vector&lt;PlmnSnssai&gt;())</param>
/// <param name="dnn">Dnn supported by the BSF, SMF or UPF (optional, default to &quot;&quot;)</param>
/// <param name="nsiList">NSI IDs that are served by the services being discovered (optional, default to std::vector&lt;std::string&gt;())</param>
/// <param name="smfServingArea"> (optional, default to &quot;&quot;)</param>
/// <param name="tai">Tracking Area Identity (optional, default to Tai())</param>
/// <param name="amfRegionId">AMF Region Identity (optional, default to &quot;&quot;)</param>
/// <param name="amfSetId">AMF Set Identity (optional, default to &quot;&quot;)</param>
/// <param name="guami">Guami used to search for an appropriate AMF (optional, default to Guami())</param>
/// <param name="supi">SUPI of the user (optional, default to &quot;&quot;)</param>
/// <param name="ueIpv4Address">IPv4 address of the UE (optional, default to &quot;&quot;)</param>
/// <param name="ipDomain">IP domain of the UE, which supported by BSF (optional, default to &quot;&quot;)</param>
/// <param name="ueIpv6Prefix">IPv6 prefix of the UE (optional, default to Ipv6Prefix())</param>
/// <param name="pgwInd">Combined PGW-C and SMF or a standalone SMF (optional, default to false)</param>
/// <param name="pgw">PGW FQDN of a combined PGW-C and SMF (optional, default to &quot;&quot;)</param>
/// <param name="gpsi">GPSI of the user (optional, default to &quot;&quot;)</param>
/// <param name="externalGroupIdentity">external group identifier of the user (optional, default to &quot;&quot;)</param>
/// <param name="dataSet">data set supported by the NF (optional, default to DataSetId())</param>
/// <param name="routingIndicator">routing indicator in SUCI (optional, default to &quot;&quot;)</param>
/// <param name="groupIdList">Group IDs of the NFs being discovered (optional, default to std::vector&lt;std::string&gt;())</param>
/// <param name="dnaiList">Data network access identifiers of the NFs being discovered (optional, default to std::vector&lt;std::string&gt;())</param>
/// <param name="pduSessionTypes">list of PDU Session Type required to be supported by the target NF (optional, default to std::vector&lt;PduSessionType&gt;())</param>
/// <param name="eventIdList">Analytics event(s) requested to be supported by the Nnwdaf_AnalyticsInfo service (optional, default to std::vector&lt;EventId&gt;())</param>
/// <param name="nwdafEventList">Analytics event(s) requested to be supported by the Nnwdaf_EventsSubscription service. (optional, default to std::vector&lt;NwdafEvent&gt;())</param>
/// <param name="supportedFeatures">Features required to be supported by the target NF (optional, default to &quot;&quot;)</param>
/// <param name="upfIwkEpsInd">UPF supporting interworking with EPS or not (optional, default to false)</param>
/// <param name="chfSupportedPlmn">PLMN ID supported by a CHF (optional, default to PlmnId())</param>
/// <param name="preferredLocality">preferred target NF location (optional, default to &quot;&quot;)</param>
/// <param name="accessType">AccessType supported by the target NF (optional, default to AccessType())</param>
/// <param name="limit">Maximum number of NFProfiles to return in the response (optional, default to 0)</param>
/// <param name="requiredFeatures">Features required to be supported by the target NF (optional, default to std::vector&lt;std::string&gt;())</param>
/// <param name="complexQuery">the complex query condition expression (optional, default to ComplexQuery())</param>
/// <param name="maxPayloadSize">Maximum payload size of the response expressed in kilo octets (optional, default to 0)</param>
/// <param name="atsssCapability">ATSSS Capability (optional, default to AtsssCapability())</param>
/// <param name="upfUeIpAddrInd">UPF supporting allocating UE IP addresses/prefixes (optional, default to false)</param>
/// <param name="ifNoneMatch">Validator for conditional requests, as described in IETF RFC 7232, 3.2 (optional, default to &quot;&quot;)</param>
/// <param name="requesterNfInstanceId">NfInstanceId of the requester NF
/// (optional, default to &quot;&quot;)</param> <param
/// name="serviceNames">Names of the services offered by the NF (optional,
/// default to std::vector&lt;ServiceName&gt;())</param> <param
/// name="requesterNfInstanceFqdn">FQDN of the requester NF (optional, default
/// to &quot;&quot;)</param> <param name="targetPlmnList">Id of the PLMN of
/// the target NF (optional, default to std::vector&lt;PlmnId&gt;())</param>
/// <param name="requesterPlmnList">Id of the PLMN where the NF issuing the
/// Discovery request is located (optional, default to
/// std::vector&lt;PlmnId&gt;())</param> <param
/// name="targetNfInstanceId">Identity of the NF instance being discovered
/// (optional, default to &quot;&quot;)</param> <param
/// name="targetNfFqdn">FQDN of the NF instance being discovered (optional,
/// default to &quot;&quot;)</param> <param name="hnrfUri">Uri of the home NRF
/// (optional, default to &quot;&quot;)</param> <param name="snssais">Slice
/// info of the target NF (optional, default to
/// std::vector&lt;Snssai&gt;())</param> <param name="requesterSnssais">Slice
/// info of the requester NF (optional, default to
/// std::vector&lt;Snssai&gt;())</param> <param
/// name="plmnSpecificSnssaiList">PLMN specific Slice info of the target NF
/// (optional, default to std::vector&lt;PlmnSnssai&gt;())</param> <param
/// name="dnn">Dnn supported by the BSF, SMF or UPF (optional, default to
/// &quot;&quot;)</param> <param name="nsiList">NSI IDs that are served by the
/// services being discovered (optional, default to
/// std::vector&lt;std::string&gt;())</param> <param name="smfServingArea">
/// (optional, default to &quot;&quot;)</param> <param name="tai">Tracking
/// Area Identity (optional, default to Tai())</param> <param
/// name="amfRegionId">AMF Region Identity (optional, default to
/// &quot;&quot;)</param> <param name="amfSetId">AMF Set Identity (optional,
/// default to &quot;&quot;)</param> <param name="guami">Guami used to search
/// for an appropriate AMF (optional, default to Guami())</param> <param
/// name="supi">SUPI of the user (optional, default to &quot;&quot;)</param>
/// <param name="ueIpv4Address">IPv4 address of the UE (optional, default to
/// &quot;&quot;)</param> <param name="ipDomain">IP domain of the UE, which
/// supported by BSF (optional, default to &quot;&quot;)</param> <param
/// name="ueIpv6Prefix">IPv6 prefix of the UE (optional, default to
/// Ipv6Prefix())</param> <param name="pgwInd">Combined PGW-C and SMF or a
/// standalone SMF (optional, default to false)</param> <param name="pgw">PGW
/// FQDN of a combined PGW-C and SMF (optional, default to
/// &quot;&quot;)</param> <param name="gpsi">GPSI of the user (optional,
/// default to &quot;&quot;)</param> <param
/// name="externalGroupIdentity">external group identifier of the user
/// (optional, default to &quot;&quot;)</param> <param name="dataSet">data set
/// supported by the NF (optional, default to DataSetId())</param> <param
/// name="routingIndicator">routing indicator in SUCI (optional, default to
/// &quot;&quot;)</param> <param name="groupIdList">Group IDs of the NFs being
/// discovered (optional, default to std::vector&lt;std::string&gt;())</param>
/// <param name="dnaiList">Data network access identifiers of the NFs being
/// discovered (optional, default to std::vector&lt;std::string&gt;())</param>
/// <param name="pduSessionTypes">list of PDU Session Type required to be
/// supported by the target NF (optional, default to
/// std::vector&lt;PduSessionType&gt;())</param> <param
/// name="eventIdList">Analytics event(s) requested to be supported by the
/// Nnwdaf_AnalyticsInfo service (optional, default to
/// std::vector&lt;EventId&gt;())</param> <param
/// name="nwdafEventList">Analytics event(s) requested to be supported by the
/// Nnwdaf_EventsSubscription service. (optional, default to
/// std::vector&lt;NwdafEvent&gt;())</param> <param
/// name="supportedFeatures">Features required to be supported by the target
/// NF (optional, default to &quot;&quot;)</param> <param
/// name="upfIwkEpsInd">UPF supporting interworking with EPS or not (optional,
/// default to false)</param> <param name="chfSupportedPlmn">PLMN ID supported
/// by a CHF (optional, default to PlmnId())</param> <param
/// name="preferredLocality">preferred target NF location (optional, default
/// to &quot;&quot;)</param> <param name="accessType">AccessType supported by
/// the target NF (optional, default to AccessType())</param> <param
/// name="limit">Maximum number of NFProfiles to return in the response
/// (optional, default to 0)</param> <param name="requiredFeatures">Features
/// required to be supported by the target NF (optional, default to
/// std::vector&lt;std::string&gt;())</param> <param name="complexQuery">the
/// complex query condition expression (optional, default to
/// ComplexQuery())</param> <param name="maxPayloadSize">Maximum payload size
/// of the response expressed in kilo octets (optional, default to 0)</param>
/// <param name="atsssCapability">ATSSS Capability (optional, default to
/// AtsssCapability())</param> <param name="upfUeIpAddrInd">UPF supporting
/// allocating UE IP addresses/prefixes (optional, default to false)</param>
/// <param name="ifNoneMatch">Validator for conditional requests, as described
/// in IETF RFC 7232, 3.2 (optional, default to &quot;&quot;)</param>
virtual void search_nf_instances(
const Pistache::Optional<std::string> &targetNfType,
const Pistache::Optional<std::string> &requesterNfType,
const Pistache::Optional<std::string> &requesterNfInstanceId,
const Pistache::Optional<std::vector<ServiceName>> &serviceNames,
const Pistache::Optional<std::string> &requesterNfInstanceFqdn,
const Pistache::Optional<std::vector<PlmnId>> &targetPlmnList,
const Pistache::Optional<std::vector<PlmnId>> &requesterPlmnList,
const Pistache::Optional<std::string> &targetNfInstanceId,
const Pistache::Optional<std::string> &targetNfFqdn,
const Pistache::Optional<std::string> &hnrfUri,
const Pistache::Optional<std::vector<Snssai>> &snssais,
const Pistache::Optional<std::vector<Snssai>> &requesterSnssais,
const Pistache::Optional<std::vector<PlmnSnssai>> &plmnSpecificSnssaiList,
const Pistache::Optional<std::string> &dnn,
const Pistache::Optional<std::vector<std::string>> &nsiList,
const Pistache::Optional<std::string> &smfServingArea,
const Pistache::Optional<Tai> &tai,
const Pistache::Optional<std::string> &amfRegionId,
const Pistache::Optional<std::string> &amfSetId,
const Pistache::Optional<Guami> &guami,
const Pistache::Optional<std::string> &supi,
const Pistache::Optional<std::string> &ueIpv4Address,
const Pistache::Optional<std::string> &ipDomain,
const Pistache::Optional<Ipv6Prefix> &ueIpv6Prefix,
const Pistache::Optional<bool> &pgwInd,
const Pistache::Optional<std::string> &pgw,