Files
sdk/include/hanzo/model/O11y_GettableRuleStateHistory.h
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

146 lines
3.7 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.
*/
/*
* O11y_GettableRuleStateHistory.h
*
*
*/
#ifndef HANZO_MODEL_O11y_GettableRuleStateHistory_H_
#define HANZO_MODEL_O11y_GettableRuleStateHistory_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/AnyType.h"
#include <cpprest/details/basic_types.h>
#include "hanzo/model/O11y_Label.h"
#include <vector>
namespace hanzo {
namespace model {
class O11y_Label;
class O11y_GettableRuleStateHistory
: public ModelBase
{
public:
O11y_GettableRuleStateHistory();
virtual ~O11y_GettableRuleStateHistory();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// O11y_GettableRuleStateHistory members
int32_t getFingerprint() const;
bool fingerprintIsSet() const;
void unsetFingerprint();
void setFingerprint(int32_t value);
std::vector<std::shared_ptr<O11y_Label>> getLabels() const;
bool labelsIsSet() const;
void unsetLabels();
void setLabels(const std::vector<std::shared_ptr<O11y_Label>>& value);
std::shared_ptr<AnyType> getOverallState() const;
bool overallStateIsSet() const;
void unsetOverallState();
void setOverallState(const std::shared_ptr<AnyType>& value);
bool isOverallStateChanged() const;
bool overallStateChangedIsSet() const;
void unsetOverallStateChanged();
void setOverallStateChanged(bool value);
utility::string_t getRuleId() const;
bool ruleIdIsSet() const;
void unsetRuleId();
void setRuleId(const utility::string_t& value);
utility::string_t getRuleName() const;
bool ruleNameIsSet() const;
void unsetRuleName();
void setRuleName(const utility::string_t& value);
std::shared_ptr<AnyType> getState() const;
bool stateIsSet() const;
void unsetState();
void setState(const std::shared_ptr<AnyType>& value);
bool isStateChanged() const;
bool stateChangedIsSet() const;
void unsetStateChanged();
void setStateChanged(bool value);
int64_t getUnixMilli() const;
bool unixMilliIsSet() const;
void unsetUnixMilli();
void setUnixMilli(int64_t value);
double getValue() const;
bool valueIsSet() const;
void unsetValue();
void setValue(double value);
protected:
int32_t m_Fingerprint;
bool m_FingerprintIsSet;
std::vector<std::shared_ptr<O11y_Label>> m_Labels;
bool m_LabelsIsSet;
boost::optional<std::shared_ptr<AnyType>> m_OverallState;
bool m_OverallStateChanged;
bool m_OverallStateChangedIsSet;
utility::string_t m_RuleId;
bool m_RuleIdIsSet;
utility::string_t m_RuleName;
bool m_RuleNameIsSet;
boost::optional<std::shared_ptr<AnyType>> m_State;
bool m_StateChanged;
bool m_StateChangedIsSet;
int64_t m_UnixMilli;
bool m_UnixMilliIsSet;
double m_Value;
bool m_ValueIsSet;
};
}
}
#endif /* HANZO_MODEL_O11y_GettableRuleStateHistory_H_ */