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

137 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.
*/
/*
* O11y_PostableProfile.h
*
*
*/
#ifndef HANZO_MODEL_O11y_PostableProfile_H_
#define HANZO_MODEL_O11y_PostableProfile_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace hanzo {
namespace model {
class O11y_PostableProfile
: public ModelBase
{
public:
O11y_PostableProfile();
virtual ~O11y_PostableProfile();
/////////////////////////////////////////////
/// 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_PostableProfile members
utility::string_t getExistingObservabilityTool() const;
bool existingObservabilityToolIsSet() const;
void unsetExisting_observability_tool();
void setExistingObservabilityTool(const utility::string_t& value);
bool isHasExistingObservabilityTool() const;
bool hasExistingObservabilityToolIsSet() const;
void unsetHas_existing_observability_tool();
void setHasExistingObservabilityTool(bool value);
int64_t getLogsScalePerDayInGb() const;
bool logsScalePerDayInGbIsSet() const;
void unsetLogs_scale_per_day_in_gb();
void setLogsScalePerDayInGb(int64_t value);
int64_t getNumberOfHosts() const;
bool numberOfHostsIsSet() const;
void unsetNumber_of_hosts();
void setNumberOfHosts(int64_t value);
int64_t getNumberOfServices() const;
bool numberOfServicesIsSet() const;
void unsetNumber_of_services();
void setNumberOfServices(int64_t value);
std::vector<utility::string_t> getReasonsForInterestInO11y() const;
bool reasonsForInterestInO11yIsSet() const;
void unsetReasons_for_interest_in_o11y();
void setReasonsForInterestInO11y(const std::vector<utility::string_t>& value);
utility::string_t getTimelineForMigratingToO11y() const;
bool timelineForMigratingToO11yIsSet() const;
void unsetTimeline_for_migrating_to_o11y();
void setTimelineForMigratingToO11y(const utility::string_t& value);
bool isUsesOtel() const;
bool usesOtelIsSet() const;
void unsetUses_otel();
void setUsesOtel(bool value);
utility::string_t getWhereDidYouDiscoverO11y() const;
bool whereDidYouDiscoverO11yIsSet() const;
void unsetWhere_did_you_discover_o11y();
void setWhereDidYouDiscoverO11y(const utility::string_t& value);
protected:
utility::string_t m_Existing_observability_tool;
bool m_Existing_observability_toolIsSet;
bool m_Has_existing_observability_tool;
bool m_Has_existing_observability_toolIsSet;
int64_t m_Logs_scale_per_day_in_gb;
bool m_Logs_scale_per_day_in_gbIsSet;
int64_t m_Number_of_hosts;
bool m_Number_of_hostsIsSet;
int64_t m_Number_of_services;
bool m_Number_of_servicesIsSet;
std::vector<utility::string_t> m_Reasons_for_interest_in_o11y;
bool m_Reasons_for_interest_in_o11yIsSet;
utility::string_t m_Timeline_for_migrating_to_o11y;
bool m_Timeline_for_migrating_to_o11yIsSet;
bool m_Uses_otel;
bool m_Uses_otelIsSet;
utility::string_t m_Where_did_you_discover_o11y;
bool m_Where_did_you_discover_o11yIsSet;
};
}
}
#endif /* HANZO_MODEL_O11y_PostableProfile_H_ */