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

218 lines
5.8 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.
*/
/*
* CaptableStakeholder.h
*
*
*/
#ifndef HANZO_MODEL_CaptableStakeholder_H_
#define HANZO_MODEL_CaptableStakeholder_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class CaptableStakeholder
: public ModelBase
{
public:
CaptableStakeholder();
virtual ~CaptableStakeholder();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// CaptableStakeholder members
/// <summary>
/// City is the stakeholder&#39;s city, if recorded.
/// </summary>
utility::string_t getCity() const;
bool cityIsSet() const;
void unsetCity();
void setCity(const utility::string_t& value);
/// <summary>
/// CompanyName is the name of the company whose cap table this is.
/// </summary>
utility::string_t getCompanyName() const;
bool companyNameIsSet() const;
void unsetCompanyName();
void setCompanyName(const utility::string_t& value);
/// <summary>
/// Country is the stakeholder&#39;s two-letter country code.
/// </summary>
utility::string_t getCountry() const;
bool countryIsSet() const;
void unsetCountry();
void setCountry(const utility::string_t& value);
/// <summary>
/// CreatedAt is when the stakeholder was added, in unix milliseconds.
/// </summary>
int64_t getCreatedAt() const;
bool createdAtIsSet() const;
void unsetCreatedAt();
void setCreatedAt(int64_t value);
/// <summary>
/// CurrentRelationship is how the stakeholder relates to the company, e.g. FOUNDER, INVESTOR or EMPLOYEE.
/// </summary>
utility::string_t getCurrentRelationship() const;
bool currentRelationshipIsSet() const;
void unsetCurrentRelationship();
void setCurrentRelationship(const utility::string_t& value);
/// <summary>
/// Email is the stakeholder&#39;s email, unique within the company.
/// </summary>
utility::string_t getEmail() const;
bool emailIsSet() const;
void unsetEmail();
void setEmail(const utility::string_t& value);
/// <summary>
/// ID is the stakeholder id.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// InstitutionName names the institution, when the stakeholder is one.
/// </summary>
utility::string_t getInstitutionName() const;
bool institutionNameIsSet() const;
void unsetInstitutionName();
void setInstitutionName(const utility::string_t& value);
/// <summary>
/// Name is the stakeholder&#39;s full name.
/// </summary>
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
/// <summary>
/// StakeholderType is INDIVIDUAL or INSTITUTION.
/// </summary>
utility::string_t getStakeholderType() const;
bool stakeholderTypeIsSet() const;
void unsetStakeholderType();
void setStakeholderType(const utility::string_t& value);
/// <summary>
/// State is the stakeholder&#39;s state or province, if recorded.
/// </summary>
utility::string_t getState() const;
bool stateIsSet() const;
void unsetState();
void setState(const utility::string_t& value);
/// <summary>
/// StreetAddress is the stakeholder&#39;s street address, if recorded.
/// </summary>
utility::string_t getStreetAddress() const;
bool streetAddressIsSet() const;
void unsetStreetAddress();
void setStreetAddress(const utility::string_t& value);
/// <summary>
/// TaxID is the stakeholder&#39;s tax identifier, if recorded.
/// </summary>
utility::string_t getTaxId() const;
bool taxIdIsSet() const;
void unsetTaxId();
void setTaxId(const utility::string_t& value);
/// <summary>
/// Zipcode is the stakeholder&#39;s postal code, if recorded.
/// </summary>
utility::string_t getZipcode() const;
bool zipcodeIsSet() const;
void unsetZipcode();
void setZipcode(const utility::string_t& value);
protected:
utility::string_t m_City;
bool m_CityIsSet;
utility::string_t m_CompanyName;
bool m_CompanyNameIsSet;
utility::string_t m_Country;
bool m_CountryIsSet;
int64_t m_CreatedAt;
bool m_CreatedAtIsSet;
utility::string_t m_CurrentRelationship;
bool m_CurrentRelationshipIsSet;
utility::string_t m_Email;
bool m_EmailIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_InstitutionName;
bool m_InstitutionNameIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
utility::string_t m_StakeholderType;
bool m_StakeholderTypeIsSet;
utility::string_t m_State;
bool m_StateIsSet;
utility::string_t m_StreetAddress;
bool m_StreetAddressIsSet;
utility::string_t m_TaxId;
bool m_TaxIdIsSet;
utility::string_t m_Zipcode;
bool m_ZipcodeIsSet;
};
}
}
#endif /* HANZO_MODEL_CaptableStakeholder_H_ */