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

144 lines
4.4 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.
*/
/*
* TemplateView.h
*
*
*/
#ifndef HANZO_MODEL_TemplateView_H_
#define HANZO_MODEL_TemplateView_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
#include <vector>
#include "hanzo/model/Field.h"
namespace hanzo {
namespace model {
class Field;
class TemplateView
: public ModelBase
{
public:
TemplateView();
virtual ~TemplateView();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// TemplateView members
/// <summary>
/// Category is the corporate need the template serves: formation, equity, ops or sales. Formation and equity are the securities-class categories, which is what forces counselReview.
/// </summary>
utility::string_t getCategory() const;
bool categoryIsSet() const;
void unsetCategory();
void setCategory(const utility::string_t& value);
/// <summary>
/// CounselReview marks a template whose rendered documents open with the counsel notice. True for every formation and equity template whatever an override sends: the engine prepends the notice and no caller can suppress it.
/// </summary>
bool isCounselReview() const;
bool counselReviewIsSet() const;
void unsetCounselReview();
void setCounselReview(bool value);
/// <summary>
/// Fields declares the merge fields the body consumes — every key a generation must supply, each with its human label. All are REQUIRED: a missing one is refused rather than rendered as a blank into a contract.
/// </summary>
std::vector<std::shared_ptr<Field>> getFields() const;
bool fieldsIsSet() const;
void unsetFields();
void setFields(const std::vector<std::shared_ptr<Field>>& value);
/// <summary>
/// ID is the template&#39;s stable id and the path segment that fetches its body — \&quot;nda\&quot;, \&quot;msa\&quot;, \&quot;safe\&quot;. An override keeps the built-in&#39;s id.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Origin is \&quot;builtin\&quot; for a template the platform ships or \&quot;org\&quot; for one this org saved. It separates the catalog every tenant sees from this tenant&#39;s own.
/// </summary>
utility::string_t getOrigin() const;
bool originIsSet() const;
void unsetOrigin();
void setOrigin(const utility::string_t& value);
/// <summary>
/// Title is the display name, e.g. \&quot;Mutual Non-Disclosure Agreement\&quot;. A generated document inherits it.
/// </summary>
utility::string_t getTitle() const;
bool titleIsSet() const;
void unsetTitle();
void setTitle(const utility::string_t& value);
/// <summary>
/// Version is which version of this template the caller&#39;s org resolves to. A built-in is version 1; the org&#39;s first override is 2 and each save increments, so an override version never collides with the built-in&#39;s.
/// </summary>
int64_t getVersion() const;
bool versionIsSet() const;
void unsetVersion();
void setVersion(int64_t value);
protected:
utility::string_t m_Category;
bool m_CategoryIsSet;
bool m_CounselReview;
bool m_CounselReviewIsSet;
std::vector<std::shared_ptr<Field>> m_Fields;
bool m_FieldsIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Origin;
bool m_OriginIsSet;
utility::string_t m_Title;
bool m_TitleIsSet;
int64_t m_Version;
bool m_VersionIsSet;
};
}
}
#endif /* HANZO_MODEL_TemplateView_H_ */