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

273 lines
7.1 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_O11yErrorIssue.h
*
*
*/
#ifndef HANZO_MODEL_O11y_O11yErrorIssue_H_
#define HANZO_MODEL_O11y_O11yErrorIssue_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class O11y_O11yErrorIssue
: public ModelBase
{
public:
O11y_O11yErrorIssue();
virtual ~O11y_O11yErrorIssue();
/////////////////////////////////////////////
/// 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_O11yErrorIssue members
/// <summary>
/// Assignee is who the issue is assigned to.
/// </summary>
utility::string_t getAssignee() const;
bool assigneeIsSet() const;
void unsetAssignee();
void setAssignee(const utility::string_t& value);
/// <summary>
/// Count is how many occurrences have landed on the issue.
/// </summary>
int64_t getCount() const;
bool countIsSet() const;
void unsetCount();
void setCount(int64_t value);
/// <summary>
/// CreatedAt is when the issue was first recorded.
/// </summary>
utility::datetime getCreatedAt() const;
bool createdAtIsSet() const;
void unsetCreatedAt();
void setCreatedAt(const utility::datetime& value);
/// <summary>
/// Culprit is where it came from — the function or route blamed for it.
/// </summary>
utility::string_t getCulprit() const;
bool culpritIsSet() const;
void unsetCulprit();
void setCulprit(const utility::string_t& value);
/// <summary>
/// Environment is the deployment the issue was seen in.
/// </summary>
utility::string_t getEnvironment() const;
bool environmentIsSet() const;
void unsetEnvironment();
void setEnvironment(const utility::string_t& value);
/// <summary>
/// Fingerprint is the grouping key that puts like errors in one issue.
/// </summary>
utility::string_t getFingerprint() const;
bool fingerprintIsSet() const;
void unsetFingerprint();
void setFingerprint(const utility::string_t& value);
/// <summary>
/// FirstSeen is when the earliest occurrence was recorded.
/// </summary>
utility::datetime getFirstSeen() const;
bool firstSeenIsSet() const;
void unsetFirstSeen();
void setFirstSeen(const utility::datetime& value);
/// <summary>
/// ID is the issue id.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// LastSeen is when the latest was.
/// </summary>
utility::datetime getLastSeen() const;
bool lastSeenIsSet() const;
void unsetLastSeen();
void setLastSeen(const utility::datetime& value);
/// <summary>
/// Level is the issue&#39;s severity, e.g. error, warning, info.
/// </summary>
utility::string_t getLevel() const;
bool levelIsSet() const;
void unsetLevel();
void setLevel(const utility::string_t& value);
/// <summary>
/// Platform is the reporting runtime, e.g. go, python, javascript.
/// </summary>
utility::string_t getPlatform() const;
bool platformIsSet() const;
void unsetPlatform();
void setPlatform(const utility::string_t& value);
/// <summary>
/// Regressed marks an issue that reopened after being resolved.
/// </summary>
bool isRegressed() const;
bool regressedIsSet() const;
void unsetRegressed();
void setRegressed(bool value);
/// <summary>
/// Release is the version that produced it.
/// </summary>
utility::string_t getRelease() const;
bool releaseIsSet() const;
void unsetRelease();
void setRelease(const utility::string_t& value);
/// <summary>
/// ResolvedAt is when the issue was resolved, if it is.
/// </summary>
utility::datetime getResolvedAt() const;
bool resolvedAtIsSet() const;
void unsetResolvedAt();
void setResolvedAt(const utility::datetime& value);
/// <summary>
/// ServiceName is the service that reported it.
/// </summary>
utility::string_t getServiceName() const;
bool serviceNameIsSet() const;
void unsetServiceName();
void setServiceName(const utility::string_t& value);
/// <summary>
/// Status is the lifecycle state: unresolved, resolved or ignored.
/// </summary>
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
/// <summary>
/// Type is the exception type.
/// </summary>
utility::string_t getType() const;
bool typeIsSet() const;
void unsetType();
void setType(const utility::string_t& value);
/// <summary>
/// UpdatedAt is when the issue last changed.
/// </summary>
utility::datetime getUpdatedAt() const;
bool updatedAtIsSet() const;
void unsetUpdatedAt();
void setUpdatedAt(const utility::datetime& value);
/// <summary>
/// Value is the exception value.
/// </summary>
utility::string_t getValue() const;
bool valueIsSet() const;
void unsetValue();
void setValue(const utility::string_t& value);
protected:
utility::string_t m_Assignee;
bool m_AssigneeIsSet;
int64_t m_Count;
bool m_CountIsSet;
utility::datetime m_CreatedAt;
bool m_CreatedAtIsSet;
utility::string_t m_Culprit;
bool m_CulpritIsSet;
utility::string_t m_Environment;
bool m_EnvironmentIsSet;
utility::string_t m_Fingerprint;
bool m_FingerprintIsSet;
utility::datetime m_FirstSeen;
bool m_FirstSeenIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::datetime m_LastSeen;
bool m_LastSeenIsSet;
utility::string_t m_Level;
bool m_LevelIsSet;
utility::string_t m_Platform;
bool m_PlatformIsSet;
bool m_Regressed;
bool m_RegressedIsSet;
utility::string_t m_Release;
bool m_ReleaseIsSet;
utility::datetime m_ResolvedAt;
bool m_ResolvedAtIsSet;
utility::string_t m_ServiceName;
bool m_ServiceNameIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
utility::string_t m_Type;
bool m_TypeIsSet;
utility::datetime m_UpdatedAt;
bool m_UpdatedAtIsSet;
utility::string_t m_Value;
bool m_ValueIsSet;
};
}
}
#endif /* HANZO_MODEL_O11y_O11yErrorIssue_H_ */