Files
zeekay 645325a641 regenerate from cloud 939b09d4
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.
2026-08-24 23:32:53 -07:00

236 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.
*/
/*
* ConsoleSettings.h
*
*
*/
#ifndef HANZO_MODEL_ConsoleSettings_H_
#define HANZO_MODEL_ConsoleSettings_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/model/ConsoleSettings_googleAnalytics.h"
#include "hanzo/model/ConsoleSettings_help.h"
#include "hanzo/model/ConsoleSettings_dexConfig.h"
#include "hanzo/Object.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace hanzo {
namespace model {
class ConsoleSettings_dexConfig;
class ConsoleSettings_googleAnalytics;
class ConsoleSettings_help;
class ConsoleSettings
: public ModelBase
{
public:
ConsoleSettings();
virtual ~ConsoleSettings();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// ConsoleSettings members
/// <summary>
/// AppsInAnyNamespaceEnabled is false: applications are projected from operator App CRs in the platform namespaces, never declared in an arbitrary one.
/// </summary>
bool isAppsInAnyNamespaceEnabled() const;
bool appsInAnyNamespaceEnabledIsSet() const;
void unsetAppsInAnyNamespaceEnabled();
void setAppsInAnyNamespaceEnabled(bool value);
std::shared_ptr<ConsoleSettings_dexConfig> getDexConfig() const;
bool dexConfigIsSet() const;
void unsetDexConfig();
void setDexConfig(const std::shared_ptr<ConsoleSettings_dexConfig>& value);
/// <summary>
/// ExecEnabled is false: this plane serves no container terminal.
/// </summary>
bool isExecEnabled() const;
bool execEnabledIsSet() const;
void unsetExecEnabled();
void setExecEnabled(bool value);
std::shared_ptr<ConsoleSettings_googleAnalytics> getGoogleAnalytics() const;
bool googleAnalyticsIsSet() const;
void unsetGoogleAnalytics();
void setGoogleAnalytics(const std::shared_ptr<ConsoleSettings_googleAnalytics>& value);
std::shared_ptr<ConsoleSettings_help> getHelp() const;
bool helpIsSet() const;
void unsetHelp();
void setHelp(const std::shared_ptr<ConsoleSettings_help>& value);
/// <summary>
/// HydratorEnabled is false: there is no manifest hydrator on this plane.
/// </summary>
bool isHydratorEnabled() const;
bool hydratorEnabledIsSet() const;
void unsetHydratorEnabled();
void setHydratorEnabled(bool value);
/// <summary>
/// KustomizeVersions is always empty: an App CR is an image pin, not a kustomize build.
/// </summary>
std::vector<utility::string_t> getKustomizeVersions() const;
bool kustomizeVersionsIsSet() const;
void unsetKustomizeVersions();
void setKustomizeVersions(const std::vector<utility::string_t>& value);
std::shared_ptr<Object> getOidcConfig() const;
bool oidcConfigIsSet() const;
void unsetOidcConfig();
void setOidcConfig(const std::shared_ptr<Object>& value);
/// <summary>
/// Plugins is always empty: this plane loads no argocd config-management plugins.
/// </summary>
std::vector<Object> getPlugins() const;
bool pluginsIsSet() const;
void unsetPlugins();
void setPlugins(const std::vector<Object>& value);
/// <summary>
/// StatusBadgeEnabled is false: no badge endpoint is served.
/// </summary>
bool isStatusBadgeEnabled() const;
bool statusBadgeEnabledIsSet() const;
void unsetStatusBadgeEnabled();
void setStatusBadgeEnabled(bool value);
/// <summary>
/// StatusBadgeRootUrl is always empty, for the same reason.
/// </summary>
utility::string_t getStatusBadgeRootUrl() const;
bool statusBadgeRootUrlIsSet() const;
void unsetStatusBadgeRootUrl();
void setStatusBadgeRootUrl(const utility::string_t& value);
/// <summary>
/// SyncWithReplaceAllowed is false: a sync here asks the operator to reconcile an App CR, and never replaces an object.
/// </summary>
bool isSyncWithReplaceAllowed() const;
bool syncWithReplaceAllowedIsSet() const;
void unsetSyncWithReplaceAllowed();
void setSyncWithReplaceAllowed(bool value);
/// <summary>
/// UiBannerContent is always empty: this console shows no banner.
/// </summary>
utility::string_t getUiBannerContent() const;
bool uiBannerContentIsSet() const;
void unsetUiBannerContent();
void setUiBannerContent(const utility::string_t& value);
/// <summary>
/// UiCssURL is always empty: no stylesheet is injected.
/// </summary>
utility::string_t getUiCssURL() const;
bool uiCssURLIsSet() const;
void unsetUiCssURL();
void setUiCssURL(const utility::string_t& value);
/// <summary>
/// Url is the console&#39;s public origin, https://cd.hanzo.ai.
/// </summary>
utility::string_t getUrl() const;
bool urlIsSet() const;
void unsetUrl();
void setUrl(const utility::string_t& value);
/// <summary>
/// UserLoginsDisabled is true: the SPA must not render its own username/password form. Signing in goes through IAM, at GET /v1/deploy/login.
/// </summary>
bool isUserLoginsDisabled() const;
bool userLoginsDisabledIsSet() const;
void unsetUserLoginsDisabled();
void setUserLoginsDisabled(bool value);
protected:
bool m_AppsInAnyNamespaceEnabled;
bool m_AppsInAnyNamespaceEnabledIsSet;
std::shared_ptr<ConsoleSettings_dexConfig> m_DexConfig;
bool m_DexConfigIsSet;
bool m_ExecEnabled;
bool m_ExecEnabledIsSet;
std::shared_ptr<ConsoleSettings_googleAnalytics> m_GoogleAnalytics;
bool m_GoogleAnalyticsIsSet;
std::shared_ptr<ConsoleSettings_help> m_Help;
bool m_HelpIsSet;
bool m_HydratorEnabled;
bool m_HydratorEnabledIsSet;
std::vector<utility::string_t> m_KustomizeVersions;
bool m_KustomizeVersionsIsSet;
std::shared_ptr<Object> m_OidcConfig;
bool m_OidcConfigIsSet;
std::vector<Object> m_Plugins;
bool m_PluginsIsSet;
bool m_StatusBadgeEnabled;
bool m_StatusBadgeEnabledIsSet;
utility::string_t m_StatusBadgeRootUrl;
bool m_StatusBadgeRootUrlIsSet;
bool m_SyncWithReplaceAllowed;
bool m_SyncWithReplaceAllowedIsSet;
utility::string_t m_UiBannerContent;
bool m_UiBannerContentIsSet;
utility::string_t m_UiCssURL;
bool m_UiCssURLIsSet;
utility::string_t m_Url;
bool m_UrlIsSet;
bool m_UserLoginsDisabled;
bool m_UserLoginsDisabledIsSet;
};
}
}
#endif /* HANZO_MODEL_ConsoleSettings_H_ */