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

131 lines
3.3 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_O11ySpanPercentileIn.h
*
*
*/
#ifndef HANZO_MODEL_O11y_O11ySpanPercentileIn_H_
#define HANZO_MODEL_O11y_O11ySpanPercentileIn_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
#include <map>
namespace hanzo {
namespace model {
class O11y_O11ySpanPercentileIn
: public ModelBase
{
public:
O11y_O11ySpanPercentileIn();
virtual ~O11y_O11ySpanPercentileIn();
/////////////////////////////////////////////
/// 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_O11ySpanPercentileIn members
/// <summary>
/// End is the window end, as epoch nanoseconds.
/// </summary>
int32_t getEnd() const;
bool endIsSet() const;
void unsetEnd();
void setEnd(int32_t value);
/// <summary>
/// Name is the span name whose peers are compared. Required.
/// </summary>
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
/// <summary>
/// ResourceAttributes narrow the peer group to spans carrying them all.
/// </summary>
std::map<utility::string_t, utility::string_t> getResourceAttributes() const;
bool resourceAttributesIsSet() const;
void unsetResourceAttributes();
void setResourceAttributes(const std::map<utility::string_t, utility::string_t>& value);
/// <summary>
/// ServiceName is the service the span belongs to. Required.
/// </summary>
utility::string_t getServiceName() const;
bool serviceNameIsSet() const;
void unsetServiceName();
void setServiceName(const utility::string_t& value);
/// <summary>
/// SpanDuration is the span&#39;s duration in nanoseconds.
/// </summary>
int64_t getSpanDuration() const;
bool spanDurationIsSet() const;
void unsetSpanDuration();
void setSpanDuration(int64_t value);
/// <summary>
/// Start is the window start, as epoch nanoseconds.
/// </summary>
int32_t getStart() const;
bool startIsSet() const;
void unsetStart();
void setStart(int32_t value);
protected:
int32_t m_End;
bool m_EndIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
std::map<utility::string_t, utility::string_t> m_ResourceAttributes;
bool m_ResourceAttributesIsSet;
utility::string_t m_ServiceName;
bool m_ServiceNameIsSet;
int64_t m_SpanDuration;
bool m_SpanDurationIsSet;
int32_t m_Start;
bool m_StartIsSet;
};
}
}
#endif /* HANZO_MODEL_O11y_O11ySpanPercentileIn_H_ */