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

86 lines
2.3 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.
*/
/*
* Reach.h
*
*
*/
#ifndef HANZO_MODEL_Reach_H_
#define HANZO_MODEL_Reach_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class Reach
: public ModelBase
{
public:
Reach();
virtual ~Reach();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// Reach members
/// <summary>
/// At is &#x60;read&#x60;, &#x60;unconfigured&#x60;, &#x60;unreachable&#x60; or &#x60;refused&#x60;. The four values are written out here because this document cannot carry an enum, so the description IS the contract a client reads. Spelling the Go constant names instead would name four identifiers no caller can see.
/// </summary>
utility::string_t getAt() const;
bool atIsSet() const;
void unsetAt();
void setAt(const utility::string_t& value);
/// <summary>
/// Why is the upstream&#39;s own words, on Unreachable and Refused, and empty otherwise. It is the upstream&#39;s and not ours: a failure reported without its reason sends the reader to look at the venue, which is the one place the fault is not.
/// </summary>
utility::string_t getWhy() const;
bool whyIsSet() const;
void unsetWhy();
void setWhy(const utility::string_t& value);
protected:
utility::string_t m_At;
bool m_AtIsSet;
utility::string_t m_Why;
bool m_WhyIsSet;
};
}
}
#endif /* HANZO_MODEL_Reach_H_ */