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

130 lines
4.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.
*/
/*
* RiskModelValue.h
*
*
*/
#ifndef HANZO_MODEL_RiskModelValue_H_
#define HANZO_MODEL_RiskModelValue_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class RiskModelValue
: public ModelBase
{
public:
RiskModelValue();
virtual ~RiskModelValue();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// RiskModelValue members
/// <summary>
/// Address names this value by its own content: the model&#39;s shape, the geometry seed, its position in the window, its threshold, its masses as IEEE-754 bits and the fold watermark behind them. Nothing else — no clock, no counter and deliberately NOT the organisation, so an identical model has one name and a name is never an authority. Holding another organisation&#39;s address resolves nothing.
/// </summary>
utility::string_t getAddress() const;
bool addressIsSet() const;
void unsetAddress();
void setAddress(const utility::string_t& value);
/// <summary>
/// At is when it was published, RFC 3339, on the server clock. You do not supply it: a record whose date the audited party chose is not a record.
/// </summary>
utility::string_t getAt() const;
bool atIsSet() const;
void unsetAt();
void setAt(const utility::string_t& value);
/// <summary>
/// Learned is how many events are behind the masses.
/// </summary>
int64_t getLearned() const;
bool learnedIsSet() const;
void unsetLearned();
void setLearned(int64_t value);
/// <summary>
/// Sequence is this value&#39;s place in YOUR organisation&#39;s own history, from 1 and contiguous until retention disposes of the oldest.
/// </summary>
int64_t getSequence() const;
bool sequenceIsSet() const;
void unsetSequence();
void setSequence(int64_t value);
/// <summary>
/// Shape NAMES the model space the masses are only meaningful against, as &#x60;&lt;family&gt;:&lt;digest&gt;&#x60; — the KIND of model, and that family&#39;s own digest over the feature inventory in order and the detector&#39;s geometry parameters. Compare it with the &#x60;shape&#x60; on your model state (GET /v1/risk/state): equal means adopting this value restores masses into the space already running, and different means adopting it REPLANTS the model into the space this value describes. That is what makes a searched shape installable. A DIFFERENT FAMILY IS NOT ADOPTABLE AT ALL, and that is the one difference the family term makes here: a different geometry in the same family is a replant, and a different family is a refusal naming both — its masses do not describe your model in any space.
/// </summary>
utility::string_t getShape() const;
bool shapeIsSet() const;
void unsetShape();
void setShape(const utility::string_t& value);
/// <summary>
/// Warmed is how far your own event surface had been folded in when this value was published, RFC 3339. It is part of the address because two models with identical masses reached by different routes disagree about what is left to fold, and one of them will re-teach history the other will not.
/// </summary>
utility::string_t getWarmed() const;
bool warmedIsSet() const;
void unsetWarmed();
void setWarmed(const utility::string_t& value);
protected:
utility::string_t m_Address;
bool m_AddressIsSet;
utility::string_t m_At;
bool m_AtIsSet;
int64_t m_Learned;
bool m_LearnedIsSet;
int64_t m_Sequence;
bool m_SequenceIsSet;
utility::string_t m_Shape;
bool m_ShapeIsSet;
utility::string_t m_Warmed;
bool m_WarmedIsSet;
};
}
}
#endif /* HANZO_MODEL_RiskModelValue_H_ */