Files
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

197 lines
5.5 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.
*/
/*
* Taxon.h
*
*
*/
#ifndef HANZO_MODEL_Taxon_H_
#define HANZO_MODEL_Taxon_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace hanzo {
namespace model {
class Taxon
: public ModelBase
{
public:
Taxon();
virtual ~Taxon();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// Taxon members
/// <summary>
/// Brands are the brands whose console shows this taxon. Absent means every brand its category admits.
/// </summary>
std::vector<utility::string_t> getBrands() const;
bool brandsIsSet() const;
void unsetBrands();
void setBrands(const std::vector<utility::string_t>& value);
/// <summary>
/// Category is the id of the category this taxon is filed under.
/// </summary>
utility::string_t getCategory() const;
bool categoryIsSet() const;
void unsetCategory();
void setCategory(const utility::string_t& value);
/// <summary>
/// Description is the one line shown beneath the name in the catalogue and nav.
/// </summary>
utility::string_t getDescription() const;
bool descriptionIsSet() const;
void unsetDescription();
void setDescription(const utility::string_t& value);
/// <summary>
/// Href is the absolute URL an external product launches, for the taxa that genuinely live at their own domain. Empty for an in-console product.
/// </summary>
utility::string_t getHref() const;
bool hrefIsSet() const;
void unsetHref();
void setHref(const utility::string_t& value);
/// <summary>
/// Icon names the icon the surface renders, e.g. \&quot;Database\&quot;. It is a NAME, not an image: which icon set draws it is the rendering surface&#39;s business.
/// </summary>
utility::string_t getIcon() const;
bool iconIsSet() const;
void unsetIcon();
void setIcon(const utility::string_t& value);
/// <summary>
/// ID is the stable slug this taxon is addressed by, e.g. \&quot;vector\&quot;.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Name is the display name, e.g. \&quot;Vector\&quot;.
/// </summary>
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
/// <summary>
/// Order is where the taxon sits within its category, ascending.
/// </summary>
int64_t getOrder() const;
bool orderIsSet() const;
void unsetOrder();
void setOrder(int64_t value);
/// <summary>
/// Owner is the org this product belongs to: the platform&#39;s own org for one every tenant sees, or your org for one you added. Where two rows share an id, yours is the one served.
/// </summary>
utility::string_t getOwner() const;
bool ownerIsSet() const;
void unsetOwner();
void setOwner(const utility::string_t& value);
/// <summary>
/// Published is whether the taxon is shown. An unpublished taxon is served only to an editor, so a product can be staged before anyone sees it.
/// </summary>
bool isPublished() const;
bool publishedIsSet() const;
void unsetPublished();
void setPublished(bool value);
/// <summary>
/// Route is the in-console path this taxon opens, e.g. \&quot;/vector\&quot;. Set for a product the console renders itself; empty for an external one.
/// </summary>
utility::string_t getRoute() const;
bool routeIsSet() const;
void unsetRoute();
void setRoute(const utility::string_t& value);
/// <summary>
/// Tags are free-form labels for search and grouping across categories.
/// </summary>
std::vector<utility::string_t> getTags() const;
bool tagsIsSet() const;
void unsetTags();
void setTags(const std::vector<utility::string_t>& value);
protected:
std::vector<utility::string_t> m_Brands;
bool m_BrandsIsSet;
utility::string_t m_Category;
bool m_CategoryIsSet;
utility::string_t m_Description;
bool m_DescriptionIsSet;
utility::string_t m_Href;
bool m_HrefIsSet;
utility::string_t m_Icon;
bool m_IconIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
int64_t m_Order;
bool m_OrderIsSet;
utility::string_t m_Owner;
bool m_OwnerIsSet;
bool m_Published;
bool m_PublishedIsSet;
utility::string_t m_Route;
bool m_RouteIsSet;
std::vector<utility::string_t> m_Tags;
bool m_TagsIsSet;
};
}
}
#endif /* HANZO_MODEL_Taxon_H_ */