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

218 lines
6.5 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.
*/
/*
* RiskLineage.h
*
*
*/
#ifndef HANZO_MODEL_RiskLineage_H_
#define HANZO_MODEL_RiskLineage_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class RiskLineage
: public ModelBase
{
public:
RiskLineage();
virtual ~RiskLineage();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// RiskLineage members
/// <summary>
/// Dataset is the dataset traced.
/// </summary>
utility::string_t getDataset() const;
bool datasetIsSet() const;
void unsetDataset();
void setDataset(const utility::string_t& value);
/// <summary>
/// Digest is the version&#39;s fingerprint, repeated here so a lineage answer is self-contained.
/// </summary>
utility::string_t getDigest() const;
bool digestIsSet() const;
void unsetDigest();
void setDigest(const utility::string_t& value);
/// <summary>
/// From is where the window actually read opens, RFC 3339. Same as the spec&#39;s.
/// </summary>
utility::string_t getFrom() const;
bool fromIsSet() const;
void unsetFrom();
void setFrom(const utility::string_t& value);
/// <summary>
/// Holds is what the source holds for the same window NOW. The difference between it and Rows is the whole of the reproducibility claim.
/// </summary>
int64_t getHolds() const;
bool holdsIsSet() const;
void unsetHolds();
void setHolds(int64_t value);
/// <summary>
/// Oversize is how many subjects the window held that were too large to represent when this version was built. It is part of the fingerprint, so it is part of what \&quot;reproducible\&quot; is measured over.
/// </summary>
int64_t getOversize() const;
bool oversizeIsSet() const;
void unsetOversize();
void setOversize(int64_t value);
/// <summary>
/// Refusal says which way it failed — the window expired, or the source now holds a different count. Absent when Reproducible is true.
/// </summary>
utility::string_t getRefusal() const;
bool refusalIsSet() const;
void unsetRefusal();
void setRefusal(const utility::string_t& value);
/// <summary>
/// Reproducible is true when the source still holds what this version was built from — measured by asking it again, not recalled. False is ordinary: the source is fed by a rollup that runs behind the events, so \&quot;it holds more now\&quot; is the common case and it means re-running the spec would not produce this version.
/// </summary>
bool isReproducible() const;
bool reproducibleIsSet() const;
void unsetReproducible();
void setReproducible(bool value);
/// <summary>
/// Retention is the source&#39;s own expiry rule as the store reports it, read at materialisation time rather than assumed. A source whose retention is shorter than this window cannot re-derive it.
/// </summary>
utility::string_t getRetention() const;
bool retentionIsSet() const;
void unsetRetention();
void setRetention(const utility::string_t& value);
/// <summary>
/// Rows is how many rows the source held for that window at materialisation time. Holds is the same question asked now, and the difference between them is the whole of the reproducibility claim.
/// </summary>
int64_t getRows() const;
bool rowsIsSet() const;
void unsetRows();
void setRows(int64_t value);
/// <summary>
/// Share is the fraction of subjects admitted, in thousandths.
/// </summary>
int64_t getShare() const;
bool shareIsSet() const;
void unsetShare();
void setShare(int64_t value);
/// <summary>
/// Source is the plane the rows were derived from.
/// </summary>
utility::string_t getSource() const;
bool sourceIsSet() const;
void unsetSource();
void setSource(const utility::string_t& value);
/// <summary>
/// Subjects is how many distinct subjects those rows belonged to. It is the real sample size — the row count flatters it whenever a subject is active.
/// </summary>
int64_t getSubjects() const;
bool subjectsIsSet() const;
void unsetSubjects();
void setSubjects(int64_t value);
/// <summary>
/// To is where it ends: the spec&#39;s own end pulled BACK by the maturity horizon, so it is usually earlier than the spec says. This is the window a reproduction has to ask for — asking the spec&#39;s would not return these rows.
/// </summary>
utility::string_t getTo() const;
bool toIsSet() const;
void unsetTo();
void setTo(const utility::string_t& value);
/// <summary>
/// Version is the version traced — the one asked for, or the newest published one when the request named none.
/// </summary>
int64_t getVersion() const;
bool versionIsSet() const;
void unsetVersion();
void setVersion(int64_t value);
protected:
utility::string_t m_Dataset;
bool m_DatasetIsSet;
utility::string_t m_Digest;
bool m_DigestIsSet;
utility::string_t m_From;
bool m_FromIsSet;
int64_t m_Holds;
bool m_HoldsIsSet;
int64_t m_Oversize;
bool m_OversizeIsSet;
utility::string_t m_Refusal;
bool m_RefusalIsSet;
bool m_Reproducible;
bool m_ReproducibleIsSet;
utility::string_t m_Retention;
bool m_RetentionIsSet;
int64_t m_Rows;
bool m_RowsIsSet;
int64_t m_Share;
bool m_ShareIsSet;
utility::string_t m_Source;
bool m_SourceIsSet;
int64_t m_Subjects;
bool m_SubjectsIsSet;
utility::string_t m_To;
bool m_ToIsSet;
int64_t m_Version;
bool m_VersionIsSet;
};
}
}
#endif /* HANZO_MODEL_RiskLineage_H_ */