mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
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.
218 lines
5.8 KiB
C++
218 lines
5.8 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_O11yLogConfigVersion.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_O11y_O11yLogConfigVersion_H_
|
|
#define HANZO_MODEL_O11y_O11yLogConfigVersion_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class O11y_O11yLogConfigVersion
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
O11y_O11yLogConfigVersion();
|
|
virtual ~O11y_O11yLogConfigVersion();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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_O11yLogConfigVersion members
|
|
|
|
|
|
/// <summary>
|
|
/// Config is the rendered collector config the version deployed.
|
|
/// </summary>
|
|
utility::string_t getConfig() const;
|
|
bool configIsSet() const;
|
|
void unsetConfig();
|
|
void setConfig(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// CreatedAt is when the version was created.
|
|
/// </summary>
|
|
utility::datetime getCreatedAt() const;
|
|
bool createdAtIsSet() const;
|
|
void unsetCreatedAt();
|
|
void setCreatedAt(const utility::datetime& value);
|
|
|
|
/// <summary>
|
|
/// CreatedBy is the id of who created the version.
|
|
/// </summary>
|
|
utility::string_t getCreatedBy() const;
|
|
bool createdByIsSet() const;
|
|
void unsetCreatedBy();
|
|
void setCreatedBy(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// CreatedByName is the display name of who created the version.
|
|
/// </summary>
|
|
utility::string_t getCreatedByName() const;
|
|
bool createdByNameIsSet() const;
|
|
void unsetCreatedByName();
|
|
void setCreatedByName(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// DeployResult is the deployment's outcome message.
|
|
/// </summary>
|
|
utility::string_t getDeployResult() const;
|
|
bool deployResultIsSet() const;
|
|
void unsetDeployResult();
|
|
void setDeployResult(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// DeploySequence orders this deployment among the version's deployments.
|
|
/// </summary>
|
|
int64_t getDeploySequence() const;
|
|
bool deploySequenceIsSet() const;
|
|
void unsetDeploySequence();
|
|
void setDeploySequence(int64_t value);
|
|
|
|
/// <summary>
|
|
/// DeployStatus is where the deployment stands, e.g. dirty, deploying, deployed, in_progress, failed, unknown.
|
|
/// </summary>
|
|
utility::string_t getDeployStatus() const;
|
|
bool deployStatusIsSet() const;
|
|
void unsetDeployStatus();
|
|
void setDeployStatus(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// ElementType is the config element the version carries — log_pipelines.
|
|
/// </summary>
|
|
utility::string_t getElementType() const;
|
|
bool elementTypeIsSet() const;
|
|
void unsetElementType();
|
|
void setElementType(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// ID is the version record's id.
|
|
/// </summary>
|
|
utility::string_t getId() const;
|
|
bool idIsSet() const;
|
|
void unsetId();
|
|
void setId(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// LastHash is the deployed config's hash.
|
|
/// </summary>
|
|
utility::string_t getLastHash() const;
|
|
bool lastHashIsSet() const;
|
|
void unsetLastHash();
|
|
void setLastHash(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// OrgID is the org the version belongs to.
|
|
/// </summary>
|
|
utility::string_t getOrgId() const;
|
|
bool orgIdIsSet() const;
|
|
void unsetOrgId();
|
|
void setOrgId(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// UpdatedAt is when the version last changed.
|
|
/// </summary>
|
|
utility::datetime getUpdatedAt() const;
|
|
bool updatedAtIsSet() const;
|
|
void unsetUpdatedAt();
|
|
void setUpdatedAt(const utility::datetime& value);
|
|
|
|
/// <summary>
|
|
/// UpdatedBy is the id of who last changed it.
|
|
/// </summary>
|
|
utility::string_t getUpdatedBy() const;
|
|
bool updatedByIsSet() const;
|
|
void unsetUpdatedBy();
|
|
void setUpdatedBy(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Version is the config version number.
|
|
/// </summary>
|
|
int64_t getVersion() const;
|
|
bool versionIsSet() const;
|
|
void unsetVersion();
|
|
void setVersion(int64_t value);
|
|
|
|
|
|
protected:
|
|
utility::string_t m_Config;
|
|
bool m_ConfigIsSet;
|
|
|
|
utility::datetime m_CreatedAt;
|
|
bool m_CreatedAtIsSet;
|
|
|
|
utility::string_t m_CreatedBy;
|
|
bool m_CreatedByIsSet;
|
|
|
|
utility::string_t m_CreatedByName;
|
|
bool m_CreatedByNameIsSet;
|
|
|
|
utility::string_t m_DeployResult;
|
|
bool m_DeployResultIsSet;
|
|
|
|
int64_t m_DeploySequence;
|
|
bool m_DeploySequenceIsSet;
|
|
|
|
utility::string_t m_DeployStatus;
|
|
bool m_DeployStatusIsSet;
|
|
|
|
utility::string_t m_ElementType;
|
|
bool m_ElementTypeIsSet;
|
|
|
|
utility::string_t m_Id;
|
|
bool m_IdIsSet;
|
|
|
|
utility::string_t m_LastHash;
|
|
bool m_LastHashIsSet;
|
|
|
|
utility::string_t m_OrgId;
|
|
bool m_OrgIdIsSet;
|
|
|
|
utility::datetime m_UpdatedAt;
|
|
bool m_UpdatedAtIsSet;
|
|
|
|
utility::string_t m_UpdatedBy;
|
|
bool m_UpdatedByIsSet;
|
|
|
|
int64_t m_Version;
|
|
bool m_VersionIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_O11y_O11yLogConfigVersion_H_ */
|