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.
118 lines
3.0 KiB
C++
118 lines
3.0 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.
|
|
*/
|
|
|
|
/*
|
|
* CaptableTotals.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_CaptableTotals_H_
|
|
#define HANZO_MODEL_CaptableTotals_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class CaptableTotals
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
CaptableTotals();
|
|
virtual ~CaptableTotals();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// CaptableTotals members
|
|
|
|
|
|
/// <summary>
|
|
/// FullyDilutedShares is outstandingShares plus grantedOptions.
|
|
/// </summary>
|
|
int64_t getFullyDilutedShares() const;
|
|
bool fullyDilutedSharesIsSet() const;
|
|
void unsetFullyDilutedShares();
|
|
void setFullyDilutedShares(int64_t value);
|
|
|
|
/// <summary>
|
|
/// GrantedOptions is the shares under non-terminal option grants — grants that are EXERCISED, EXPIRED or CANCELLED are excluded, so nothing double-counts.
|
|
/// </summary>
|
|
int64_t getGrantedOptions() const;
|
|
bool grantedOptionsIsSet() const;
|
|
void unsetGrantedOptions();
|
|
void setGrantedOptions(int64_t value);
|
|
|
|
/// <summary>
|
|
/// OutstandingShares is the sum of every issued share certificate.
|
|
/// </summary>
|
|
int64_t getOutstandingShares() const;
|
|
bool outstandingSharesIsSet() const;
|
|
void unsetOutstandingShares();
|
|
void setOutstandingShares(int64_t value);
|
|
|
|
/// <summary>
|
|
/// ShareClasses is how many share classes the company has authorized.
|
|
/// </summary>
|
|
int64_t getShareClasses() const;
|
|
bool shareClassesIsSet() const;
|
|
void unsetShareClasses();
|
|
void setShareClasses(int64_t value);
|
|
|
|
/// <summary>
|
|
/// Stakeholders is how many stakeholders the company has.
|
|
/// </summary>
|
|
int64_t getStakeholders() const;
|
|
bool stakeholdersIsSet() const;
|
|
void unsetStakeholders();
|
|
void setStakeholders(int64_t value);
|
|
|
|
|
|
protected:
|
|
int64_t m_FullyDilutedShares;
|
|
bool m_FullyDilutedSharesIsSet;
|
|
|
|
int64_t m_GrantedOptions;
|
|
bool m_GrantedOptionsIsSet;
|
|
|
|
int64_t m_OutstandingShares;
|
|
bool m_OutstandingSharesIsSet;
|
|
|
|
int64_t m_ShareClasses;
|
|
bool m_ShareClassesIsSet;
|
|
|
|
int64_t m_Stakeholders;
|
|
bool m_StakeholdersIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_CaptableTotals_H_ */
|