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

218 lines
5.7 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.
*/
/*
* CaptableOption.h
*
*
*/
#ifndef HANZO_MODEL_CaptableOption_H_
#define HANZO_MODEL_CaptableOption_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class CaptableOption
: public ModelBase
{
public:
CaptableOption();
virtual ~CaptableOption();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// CaptableOption members
/// <summary>
/// CliffYears is how many years before any of the grant vests.
/// </summary>
int64_t getCliffYears() const;
bool cliffYearsIsSet() const;
void unsetCliffYears();
void setCliffYears(int64_t value);
/// <summary>
/// EquityPlanID is the plan the grant draws from.
/// </summary>
utility::string_t getEquityPlanId() const;
bool equityPlanIdIsSet() const;
void unsetEquityPlanId();
void setEquityPlanId(const utility::string_t& value);
/// <summary>
/// EquityPlanName is that plan&#39;s name.
/// </summary>
utility::string_t getEquityPlanName() const;
bool equityPlanNameIsSet() const;
void unsetEquityPlanName();
void setEquityPlanName(const utility::string_t& value);
/// <summary>
/// ExercisePrice is the strike price per share.
/// </summary>
double getExercisePrice() const;
bool exercisePriceIsSet() const;
void unsetExercisePrice();
void setExercisePrice(double value);
/// <summary>
/// ExpirationDate is the ISO date the grant expires.
/// </summary>
utility::string_t getExpirationDate() const;
bool expirationDateIsSet() const;
void unsetExpirationDate();
void setExpirationDate(const utility::string_t& value);
/// <summary>
/// GrantID is the grant number, unique within the company.
/// </summary>
utility::string_t getGrantId() const;
bool grantIdIsSet() const;
void unsetGrantId();
void setGrantId(const utility::string_t& value);
/// <summary>
/// ID is the option id.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// IssueDate is the ISO date the grant was issued.
/// </summary>
utility::string_t getIssueDate() const;
bool issueDateIsSet() const;
void unsetIssueDate();
void setIssueDate(const utility::string_t& value);
/// <summary>
/// Quantity is how many shares the grant covers.
/// </summary>
int64_t getQuantity() const;
bool quantityIsSet() const;
void unsetQuantity();
void setQuantity(int64_t value);
/// <summary>
/// StakeholderID is the grantee.
/// </summary>
utility::string_t getStakeholderId() const;
bool stakeholderIdIsSet() const;
void unsetStakeholderId();
void setStakeholderId(const utility::string_t& value);
/// <summary>
/// StakeholderName is that grantee&#39;s name.
/// </summary>
utility::string_t getStakeholderName() const;
bool stakeholderNameIsSet() const;
void unsetStakeholderName();
void setStakeholderName(const utility::string_t& value);
/// <summary>
/// Status is the grant&#39;s state, e.g. DRAFT, ACTIVE, EXERCISED, EXPIRED or CANCELLED. Only non-terminal grants dilute the cap table.
/// </summary>
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
/// <summary>
/// Type is the grant kind, ISO or NSO.
/// </summary>
utility::string_t getType() const;
bool typeIsSet() const;
void unsetType();
void setType(const utility::string_t& value);
/// <summary>
/// VestingYears is the total vesting period in years.
/// </summary>
int64_t getVestingYears() const;
bool vestingYearsIsSet() const;
void unsetVestingYears();
void setVestingYears(int64_t value);
protected:
int64_t m_CliffYears;
bool m_CliffYearsIsSet;
utility::string_t m_EquityPlanId;
bool m_EquityPlanIdIsSet;
utility::string_t m_EquityPlanName;
bool m_EquityPlanNameIsSet;
double m_ExercisePrice;
bool m_ExercisePriceIsSet;
utility::string_t m_ExpirationDate;
bool m_ExpirationDateIsSet;
utility::string_t m_GrantId;
bool m_GrantIdIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_IssueDate;
bool m_IssueDateIsSet;
int64_t m_Quantity;
bool m_QuantityIsSet;
utility::string_t m_StakeholderId;
bool m_StakeholderIdIsSet;
utility::string_t m_StakeholderName;
bool m_StakeholderNameIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
utility::string_t m_Type;
bool m_TypeIsSet;
int64_t m_VestingYears;
bool m_VestingYearsIsSet;
};
}
}
#endif /* HANZO_MODEL_CaptableOption_H_ */