Files
zeekay 9b40e8a274
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
Hanzo CI/CD / test-amd64 (push) Failing after 42s
Hanzo CI/CD / cicd (push) Skipped
CI/CD / cicd (push) Failing after 43s
regenerate from cloud 529be4ccb9
2026-08-28 08:11:48 -07:00

64 lines
1.4 KiB
C++

/**
* Hanzo Cloud API
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* SearchApi.h
*
*
*/
#ifndef HANZO_API_SearchApi_H_
#define HANZO_API_SearchApi_H_
#include "hanzo/ApiClient.h"
#include "hanzo/model/Fusion.h"
#include "hanzo/model/Request.h"
#include <boost/optional.hpp>
namespace hanzo {
namespace api {
using namespace hanzo::model;
class SearchApi
{
public:
explicit SearchApi( std::shared_ptr<const ApiClient> apiClient );
virtual ~SearchApi();
/// <summary>
/// Hybrid search over the org&#39;s own corpora
/// </summary>
/// <remarks>
/// Is the typed op behind POST /v1/search. It does exactly two things the in-process entry point must not do: resolve the tenant from the validated principal, and refuse when there is none. Everything else is ForOrg.
/// </remarks>
/// <param name="request"></param>
pplx::task<std::shared_ptr<Fusion>> search(
std::shared_ptr<Request> request
) const;
protected:
std::shared_ptr<const ApiClient> m_ApiClient;
};
}
}
#endif /* HANZO_API_SearchApi_H_ */