Files
sdk/include/hanzo/model/CaptableEquityPlan.h
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

163 lines
4.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.
*/
/*
* CaptableEquityPlan.h
*
*
*/
#ifndef HANZO_MODEL_CaptableEquityPlan_H_
#define HANZO_MODEL_CaptableEquityPlan_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class CaptableEquityPlan
: public ModelBase
{
public:
CaptableEquityPlan();
virtual ~CaptableEquityPlan();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// CaptableEquityPlan members
/// <summary>
/// BoardApprovalDate is the ISO date the board approved the plan.
/// </summary>
utility::string_t getBoardApprovalDate() const;
bool boardApprovalDateIsSet() const;
void unsetBoardApprovalDate();
void setBoardApprovalDate(const utility::string_t& value);
/// <summary>
/// Comments is free-form notes on the plan.
/// </summary>
utility::string_t getComments() const;
bool commentsIsSet() const;
void unsetComments();
void setComments(const utility::string_t& value);
/// <summary>
/// CreatedAt is when the plan was recorded, in unix milliseconds.
/// </summary>
int64_t getCreatedAt() const;
bool createdAtIsSet() const;
void unsetCreatedAt();
void setCreatedAt(int64_t value);
/// <summary>
/// DefaultCancellatonBehavior is what happens to cancelled grants, RETIRE or RETURN_TO_POOL. The key is spelled as the cap-table wire spells it.
/// </summary>
utility::string_t getDefaultCancellatonBehavior() const;
bool defaultCancellatonBehaviorIsSet() const;
void unsetDefaultCancellatonBehavior();
void setDefaultCancellatonBehavior(const utility::string_t& value);
/// <summary>
/// ID is the equity plan id.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// InitialSharesReserved is how many shares the plan reserves.
/// </summary>
int64_t getInitialSharesReserved() const;
bool initialSharesReservedIsSet() const;
void unsetInitialSharesReserved();
void setInitialSharesReserved(int64_t value);
/// <summary>
/// Name is the plan name, e.g. \&quot;2026 Stock Option Plan\&quot;.
/// </summary>
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
/// <summary>
/// PlanEffectiveDate is the ISO date the plan takes effect.
/// </summary>
utility::string_t getPlanEffectiveDate() const;
bool planEffectiveDateIsSet() const;
void unsetPlanEffectiveDate();
void setPlanEffectiveDate(const utility::string_t& value);
/// <summary>
/// ShareClassID is the class the reserved shares come from.
/// </summary>
utility::string_t getShareClassId() const;
bool shareClassIdIsSet() const;
void unsetShareClassId();
void setShareClassId(const utility::string_t& value);
protected:
utility::string_t m_BoardApprovalDate;
bool m_BoardApprovalDateIsSet;
utility::string_t m_Comments;
bool m_CommentsIsSet;
int64_t m_CreatedAt;
bool m_CreatedAtIsSet;
utility::string_t m_DefaultCancellatonBehavior;
bool m_DefaultCancellatonBehaviorIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
int64_t m_InitialSharesReserved;
bool m_InitialSharesReservedIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
utility::string_t m_PlanEffectiveDate;
bool m_PlanEffectiveDateIsSet;
utility::string_t m_ShareClassId;
bool m_ShareClassIdIsSet;
};
}
}
#endif /* HANZO_MODEL_CaptableEquityPlan_H_ */