mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
The projection these were generated from was a month old and predated the compute migration, so every one of them described /v1/visor — which the API serves at zero paths now. That is why a hand-written console client and a generated one had drifted the same way at the same time. No /v1/visor path survives here. The word still appears as a source-plane value and inside gvisor and supervisor, which are not this rename.
107 lines
2.6 KiB
C++
107 lines
2.6 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.
|
|
*/
|
|
|
|
/*
|
|
* ReindexOut.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_ReindexOut_H_
|
|
#define HANZO_MODEL_ReindexOut_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class ReindexOut
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
ReindexOut();
|
|
virtual ~ReindexOut();
|
|
|
|
/////////////////////////////////////////////
|
|
/// ModelBase overrides
|
|
|
|
void validate() override;
|
|
|
|
web::json::value toJson() const override;
|
|
bool fromJson(const web::json::value& json) override;
|
|
|
|
void toMultipart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) const override;
|
|
bool fromMultiPart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) override;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// ReindexOut members
|
|
|
|
|
|
/// <summary>
|
|
/// Failed is how many documents could not be embedded; each is logged with its name, and the rest of the rebuild went on without it.
|
|
/// </summary>
|
|
int64_t getFailed() const;
|
|
bool failedIsSet() const;
|
|
void unsetFailed();
|
|
void setFailed(int64_t value);
|
|
|
|
/// <summary>
|
|
/// Lexical is how many rows the org's lexical index holds now; 0 in a deployment without the index app.
|
|
/// </summary>
|
|
int64_t getLexical() const;
|
|
bool lexicalIsSet() const;
|
|
void unsetLexical();
|
|
void setLexical(int64_t value);
|
|
|
|
/// <summary>
|
|
/// Removed is how many rows the lexical index held for documents that no longer exist; 0 without the index app.
|
|
/// </summary>
|
|
int64_t getRemoved() const;
|
|
bool removedIsSet() const;
|
|
void unsetRemoved();
|
|
void setRemoved(int64_t value);
|
|
|
|
/// <summary>
|
|
/// Vectors is how many documents were embedded and written to the org's collection, which was dropped and created again at the configured size.
|
|
/// </summary>
|
|
int64_t getVectors() const;
|
|
bool vectorsIsSet() const;
|
|
void unsetVectors();
|
|
void setVectors(int64_t value);
|
|
|
|
|
|
protected:
|
|
int64_t m_Failed;
|
|
bool m_FailedIsSet;
|
|
|
|
int64_t m_Lexical;
|
|
bool m_LexicalIsSet;
|
|
|
|
int64_t m_Removed;
|
|
bool m_RemovedIsSet;
|
|
|
|
int64_t m_Vectors;
|
|
bool m_VectorsIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_ReindexOut_H_ */
|