Files
zeekay 189ce08e51 Regenerate against the document the deployment answers for
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.
2026-09-05 18:07:13 -07:00

163 lines
3.9 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.
*/
/*
* IndexResult.h
*
*
*/
#ifndef HANZO_MODEL_IndexResult_H_
#define HANZO_MODEL_IndexResult_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class IndexResult
: public ModelBase
{
public:
IndexResult();
virtual ~IndexResult();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// IndexResult members
/// <summary>
/// Chunks is how many AST-boundary chunks the repo holds after this pass.
/// </summary>
int64_t getChunks() const;
bool chunksIsSet() const;
void unsetChunks();
void setChunks(int64_t value);
/// <summary>
/// Files is how many files the repo holds after this pass.
/// </summary>
int64_t getFiles() const;
bool filesIsSet() const;
void unsetFiles();
void setFiles(int64_t value);
/// <summary>
/// Indexed is how many files were parsed and written on this pass.
/// </summary>
int64_t getIndexed() const;
bool indexedIsSet() const;
void unsetIndexed();
void setIndexed(int64_t value);
/// <summary>
/// Pruned is how many stored files were deleted because prune was set and they were absent from the request.
/// </summary>
int64_t getPruned() const;
bool prunedIsSet() const;
void unsetPruned();
void setPruned(int64_t value);
/// <summary>
/// Repo is the repository that was indexed.
/// </summary>
utility::string_t getRepo() const;
bool repoIsSet() const;
void unsetRepo();
void setRepo(const utility::string_t& value);
/// <summary>
/// Semantic reports whether the semantic tier was available for this pass. When false the index is lexical + symbolic only and hybrid search still works.
/// </summary>
bool isSemantic() const;
bool semanticIsSet() const;
void unsetSemantic();
void setSemantic(bool value);
/// <summary>
/// Skipped is how many files were unchanged by content hash and left alone.
/// </summary>
int64_t getSkipped() const;
bool skippedIsSet() const;
void unsetSkipped();
void setSkipped(int64_t value);
/// <summary>
/// Symbols is how many symbol definitions the repo holds after this pass.
/// </summary>
int64_t getSymbols() const;
bool symbolsIsSet() const;
void unsetSymbols();
void setSymbols(int64_t value);
/// <summary>
/// Vectors is how many of those chunks carry an embedding.
/// </summary>
int64_t getVectors() const;
bool vectorsIsSet() const;
void unsetVectors();
void setVectors(int64_t value);
protected:
int64_t m_Chunks;
bool m_ChunksIsSet;
int64_t m_Files;
bool m_FilesIsSet;
int64_t m_Indexed;
bool m_IndexedIsSet;
int64_t m_Pruned;
bool m_PrunedIsSet;
utility::string_t m_Repo;
bool m_RepoIsSet;
bool m_Semantic;
bool m_SemanticIsSet;
int64_t m_Skipped;
bool m_SkippedIsSet;
int64_t m_Symbols;
bool m_SymbolsIsSet;
int64_t m_Vectors;
bool m_VectorsIsSet;
};
}
}
#endif /* HANZO_MODEL_IndexResult_H_ */