Files
zeekay 83d7ffa4d7 Regenerate against the current cloud document
The lock sat at 574d1f1d while the product moved on. The team surface
stopped at rooms — no messages path, no way to open one — so anything
built on this client had to reach past it with its own HTTP calls, which
is the duplication a generated client exists to prevent.
2026-09-01 02:22:09 -07:00

107 lines
2.5 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.
*/
/*
* History.h
*
*
*/
#ifndef HANZO_MODEL_History_H_
#define HANZO_MODEL_History_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/model/Reach.h"
#include "hanzo/model/Day.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace hanzo {
namespace model {
class Day;
class Reach;
class History
: public ModelBase
{
public:
History();
virtual ~History();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// History members
/// <summary>
/// At is the token this is the history of, lowercased.
/// </summary>
utility::string_t getAt() const;
bool atIsSet() const;
void unsetAt();
void setAt(const utility::string_t& value);
utility::string_t getChain() const;
bool chainIsSet() const;
void unsetChain();
void setChain(const utility::string_t& value);
/// <summary>
/// Days is oldest first, which is the order a chart draws. &#x60;[]&#x60; for a token the indexer holds no day for, &#x60;null&#x60; where the read failed.
/// </summary>
std::vector<std::shared_ptr<Day>> getDays() const;
bool daysIsSet() const;
void unsetDays();
void setDays(const std::vector<std::shared_ptr<Day>>& value);
std::shared_ptr<Reach> getReach() const;
bool reachIsSet() const;
void unsetReach();
void setReach(const std::shared_ptr<Reach>& value);
protected:
utility::string_t m_At;
bool m_AtIsSet;
utility::string_t m_Chain;
bool m_ChainIsSet;
std::vector<std::shared_ptr<Day>> m_Days;
bool m_DaysIsSet;
std::shared_ptr<Reach> m_Reach;
bool m_ReachIsSet;
};
}
}
#endif /* HANZO_MODEL_History_H_ */