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

158 lines
4.0 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_RuleStateHistory.h
*
*
*/
#ifndef HANZO_MODEL_O11y_RuleStateHistory_H_
#define HANZO_MODEL_O11y_RuleStateHistory_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/AnyType.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class O11y_RuleStateHistory
: public ModelBase
{
public:
O11y_RuleStateHistory();
virtual ~O11y_RuleStateHistory();
/////////////////////////////////////////////
/// 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_RuleStateHistory members
int32_t getFingerprint() const;
bool fingerprintIsSet() const;
void unsetFingerprint();
void setFingerprint(int32_t value);
std::shared_ptr<AnyType> getLabels() const;
bool labelsIsSet() const;
void unsetLabels();
void setLabels(const std::shared_ptr<AnyType>& 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 getRelatedLogsLink() const;
bool relatedLogsLinkIsSet() const;
void unsetRelatedLogsLink();
void setRelatedLogsLink(const utility::string_t& value);
utility::string_t getRelatedTracesLink() const;
bool relatedTracesLinkIsSet() const;
void unsetRelatedTracesLink();
void setRelatedTracesLink(const utility::string_t& 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;
boost::optional<std::shared_ptr<AnyType>> m_Labels;
boost::optional<std::shared_ptr<AnyType>> m_OverallState;
bool m_OverallStateChanged;
bool m_OverallStateChangedIsSet;
utility::string_t m_RelatedLogsLink;
bool m_RelatedLogsLinkIsSet;
utility::string_t m_RelatedTracesLink;
bool m_RelatedTracesLinkIsSet;
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_RuleStateHistory_H_ */