mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
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.
208 lines
5.6 KiB
C++
208 lines
5.6 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.
|
|
*/
|
|
|
|
/*
|
|
* CaptableShare.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_CaptableShare_H_
|
|
#define HANZO_MODEL_CaptableShare_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
#include <vector>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class CaptableShare
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
CaptableShare();
|
|
virtual ~CaptableShare();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// CaptableShare members
|
|
|
|
|
|
/// <summary>
|
|
/// CapitalContribution is the cash paid for the certificate, if recorded.
|
|
/// </summary>
|
|
double getCapitalContribution() const;
|
|
bool capitalContributionIsSet() const;
|
|
void unsetCapitalContribution();
|
|
void setCapitalContribution(double value);
|
|
|
|
/// <summary>
|
|
/// CertificateID is the certificate number, unique within the company.
|
|
/// </summary>
|
|
utility::string_t getCertificateId() const;
|
|
bool certificateIdIsSet() const;
|
|
void unsetCertificateId();
|
|
void setCertificateId(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// CompanyLegends are the restrictive legends printed on the certificate.
|
|
/// </summary>
|
|
std::vector<utility::string_t> getCompanyLegends() const;
|
|
bool companyLegendsIsSet() const;
|
|
void unsetCompanyLegends();
|
|
void setCompanyLegends(const std::vector<utility::string_t>& value);
|
|
|
|
/// <summary>
|
|
/// ID is the share 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 certificate was issued.
|
|
/// </summary>
|
|
utility::string_t getIssueDate() const;
|
|
bool issueDateIsSet() const;
|
|
void unsetIssueDate();
|
|
void setIssueDate(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// PricePerShare is the price paid per share, if recorded.
|
|
/// </summary>
|
|
double getPricePerShare() const;
|
|
bool pricePerShareIsSet() const;
|
|
void unsetPricePerShare();
|
|
void setPricePerShare(double value);
|
|
|
|
/// <summary>
|
|
/// Quantity is how many shares the certificate covers.
|
|
/// </summary>
|
|
int64_t getQuantity() const;
|
|
bool quantityIsSet() const;
|
|
void unsetQuantity();
|
|
void setQuantity(int64_t value);
|
|
|
|
/// <summary>
|
|
/// ShareClassID is the class the shares belong to.
|
|
/// </summary>
|
|
utility::string_t getShareClassId() const;
|
|
bool shareClassIdIsSet() const;
|
|
void unsetShareClassId();
|
|
void setShareClassId(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// ShareClassName is that class's name.
|
|
/// </summary>
|
|
utility::string_t getShareClassName() const;
|
|
bool shareClassNameIsSet() const;
|
|
void unsetShareClassName();
|
|
void setShareClassName(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// ShareClassType is that class's type, COMMON or PREFERRED.
|
|
/// </summary>
|
|
utility::string_t getShareClassType() const;
|
|
bool shareClassTypeIsSet() const;
|
|
void unsetShareClassType();
|
|
void setShareClassType(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// StakeholderID is the holder of the certificate.
|
|
/// </summary>
|
|
utility::string_t getStakeholderId() const;
|
|
bool stakeholderIdIsSet() const;
|
|
void unsetStakeholderId();
|
|
void setStakeholderId(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// StakeholderName is that holder's name.
|
|
/// </summary>
|
|
utility::string_t getStakeholderName() const;
|
|
bool stakeholderNameIsSet() const;
|
|
void unsetStakeholderName();
|
|
void setStakeholderName(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Status is ACTIVE or DRAFT.
|
|
/// </summary>
|
|
utility::string_t getStatus() const;
|
|
bool statusIsSet() const;
|
|
void unsetStatus();
|
|
void setStatus(const utility::string_t& value);
|
|
|
|
|
|
protected:
|
|
double m_CapitalContribution;
|
|
bool m_CapitalContributionIsSet;
|
|
|
|
utility::string_t m_CertificateId;
|
|
bool m_CertificateIdIsSet;
|
|
|
|
std::vector<utility::string_t> m_CompanyLegends;
|
|
bool m_CompanyLegendsIsSet;
|
|
|
|
utility::string_t m_Id;
|
|
bool m_IdIsSet;
|
|
|
|
utility::string_t m_IssueDate;
|
|
bool m_IssueDateIsSet;
|
|
|
|
double m_PricePerShare;
|
|
bool m_PricePerShareIsSet;
|
|
|
|
int64_t m_Quantity;
|
|
bool m_QuantityIsSet;
|
|
|
|
utility::string_t m_ShareClassId;
|
|
bool m_ShareClassIdIsSet;
|
|
|
|
utility::string_t m_ShareClassName;
|
|
bool m_ShareClassNameIsSet;
|
|
|
|
utility::string_t m_ShareClassType;
|
|
bool m_ShareClassTypeIsSet;
|
|
|
|
utility::string_t m_StakeholderId;
|
|
bool m_StakeholderIdIsSet;
|
|
|
|
utility::string_t m_StakeholderName;
|
|
bool m_StakeholderNameIsSet;
|
|
|
|
utility::string_t m_Status;
|
|
bool m_StatusIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_CaptableShare_H_ */
|