mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
The projection was 113 commits behind the document it claims to describe, and `generate.py --all --check` reported every one of the thirteen clients DRIFTED — the same +19 models in each, because they all fell behind the same emission. Regenerated in place from hanzo-inc/cloud openapi.yaml at 939b09d4 (sha256 087024f6…), which is the only description of this API that cannot name a route the binary does not serve. `--check` is clean across all thirteen after. .spec-lock moved with the code. The generator READS that file and never writes it — hanzoai/ci`s lane does — so a hand run leaves every lock naming the previous document. A lock that disagrees with the tree beside it is worse than no lock: the next `--check` without `--spec` fetches what production serves, compares it to a digest that was already wrong, and reports drift that is really staleness.
196 lines
5.1 KiB
C++
196 lines
5.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_O11yPodOnboarding.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_O11y_O11yPodOnboarding_H_
|
|
#define HANZO_MODEL_O11y_O11yPodOnboarding_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class O11y_O11yPodOnboarding
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
O11y_O11yPodOnboarding();
|
|
virtual ~O11y_O11yPodOnboarding();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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_O11yPodOnboarding members
|
|
|
|
|
|
/// <summary>
|
|
/// ClusterName is the pod's cluster.
|
|
/// </summary>
|
|
utility::string_t getClusterName() const;
|
|
bool clusterNameIsSet() const;
|
|
void unsetClusterName();
|
|
void setClusterName(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// HasClusterName says whether the cluster label is present.
|
|
/// </summary>
|
|
bool isHasClusterName() const;
|
|
bool hasClusterNameIsSet() const;
|
|
void unsetHasClusterName();
|
|
void setHasClusterName(bool value);
|
|
|
|
/// <summary>
|
|
/// HasCronjobName says whether the cronjob label is present.
|
|
/// </summary>
|
|
bool isHasCronjobName() const;
|
|
bool hasCronjobNameIsSet() const;
|
|
void unsetHasCronjobName();
|
|
void setHasCronjobName(bool value);
|
|
|
|
/// <summary>
|
|
/// HasDaemonsetName says whether the daemonset label is present.
|
|
/// </summary>
|
|
bool isHasDaemonsetName() const;
|
|
bool hasDaemonsetNameIsSet() const;
|
|
void unsetHasDaemonsetName();
|
|
void setHasDaemonsetName(bool value);
|
|
|
|
/// <summary>
|
|
/// HasDeploymentName says whether the deployment label is present.
|
|
/// </summary>
|
|
bool isHasDeploymentName() const;
|
|
bool hasDeploymentNameIsSet() const;
|
|
void unsetHasDeploymentName();
|
|
void setHasDeploymentName(bool value);
|
|
|
|
/// <summary>
|
|
/// HasJobName says whether the job label is present.
|
|
/// </summary>
|
|
bool isHasJobName() const;
|
|
bool hasJobNameIsSet() const;
|
|
void unsetHasJobName();
|
|
void setHasJobName(bool value);
|
|
|
|
/// <summary>
|
|
/// HasNamespaceName says whether the namespace label is present.
|
|
/// </summary>
|
|
bool isHasNamespaceName() const;
|
|
bool hasNamespaceNameIsSet() const;
|
|
void unsetHasNamespaceName();
|
|
void setHasNamespaceName(bool value);
|
|
|
|
/// <summary>
|
|
/// HasNodeName says whether the node label is present.
|
|
/// </summary>
|
|
bool isHasNodeName() const;
|
|
bool hasNodeNameIsSet() const;
|
|
void unsetHasNodeName();
|
|
void setHasNodeName(bool value);
|
|
|
|
/// <summary>
|
|
/// HasStatefulsetName says whether the statefulset label is present.
|
|
/// </summary>
|
|
bool isHasStatefulsetName() const;
|
|
bool hasStatefulsetNameIsSet() const;
|
|
void unsetHasStatefulsetName();
|
|
void setHasStatefulsetName(bool value);
|
|
|
|
/// <summary>
|
|
/// NamespaceName is the pod's namespace.
|
|
/// </summary>
|
|
utility::string_t getNamespaceName() const;
|
|
bool namespaceNameIsSet() const;
|
|
void unsetNamespaceName();
|
|
void setNamespaceName(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// NodeName is the pod's node.
|
|
/// </summary>
|
|
utility::string_t getNodeName() const;
|
|
bool nodeNameIsSet() const;
|
|
void unsetNodeName();
|
|
void setNodeName(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// PodName is the pod.
|
|
/// </summary>
|
|
utility::string_t getPodName() const;
|
|
bool podNameIsSet() const;
|
|
void unsetPodName();
|
|
void setPodName(const utility::string_t& value);
|
|
|
|
|
|
protected:
|
|
utility::string_t m_ClusterName;
|
|
bool m_ClusterNameIsSet;
|
|
|
|
bool m_HasClusterName;
|
|
bool m_HasClusterNameIsSet;
|
|
|
|
bool m_HasCronjobName;
|
|
bool m_HasCronjobNameIsSet;
|
|
|
|
bool m_HasDaemonsetName;
|
|
bool m_HasDaemonsetNameIsSet;
|
|
|
|
bool m_HasDeploymentName;
|
|
bool m_HasDeploymentNameIsSet;
|
|
|
|
bool m_HasJobName;
|
|
bool m_HasJobNameIsSet;
|
|
|
|
bool m_HasNamespaceName;
|
|
bool m_HasNamespaceNameIsSet;
|
|
|
|
bool m_HasNodeName;
|
|
bool m_HasNodeNameIsSet;
|
|
|
|
bool m_HasStatefulsetName;
|
|
bool m_HasStatefulsetNameIsSet;
|
|
|
|
utility::string_t m_NamespaceName;
|
|
bool m_NamespaceNameIsSet;
|
|
|
|
utility::string_t m_NodeName;
|
|
bool m_NodeNameIsSet;
|
|
|
|
utility::string_t m_PodName;
|
|
bool m_PodNameIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_O11y_O11yPodOnboarding_H_ */
|