mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
90 lines
2.4 KiB
C++
90 lines
2.4 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.
|
|
*/
|
|
|
|
/*
|
|
* CaptableRoundDetail.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_CaptableRoundDetail_H_
|
|
#define HANZO_MODEL_CaptableRoundDetail_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include "hanzo/model/CaptableRound.h"
|
|
#include <vector>
|
|
#include "hanzo/model/CaptableRoundInvestment.h"
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
class CaptableRoundInvestment;
|
|
class CaptableRound;
|
|
|
|
|
|
class CaptableRoundDetail
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
CaptableRoundDetail();
|
|
virtual ~CaptableRoundDetail();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// CaptableRoundDetail members
|
|
|
|
|
|
/// <summary>
|
|
/// Investments is every investment into this round, oldest first.
|
|
/// </summary>
|
|
std::vector<std::shared_ptr<CaptableRoundInvestment>> getInvestments() const;
|
|
bool investmentsIsSet() const;
|
|
void unsetInvestments();
|
|
void setInvestments(const std::vector<std::shared_ptr<CaptableRoundInvestment>>& value);
|
|
|
|
/// <summary>
|
|
/// Round is the round's own terms — name, type, valuation, target and status — as against the investments beside it.
|
|
/// </summary>
|
|
std::shared_ptr<CaptableRound> getRound() const;
|
|
bool roundIsSet() const;
|
|
void unsetRound();
|
|
void setRound(const std::shared_ptr<CaptableRound>& value);
|
|
|
|
|
|
protected:
|
|
std::vector<std::shared_ptr<CaptableRoundInvestment>> m_Investments;
|
|
bool m_InvestmentsIsSet;
|
|
|
|
std::shared_ptr<CaptableRound> m_Round;
|
|
bool m_RoundIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_CaptableRoundDetail_H_ */
|