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

109 lines
3.2 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.
*/
/*
* TeamRoomBind.h
*
*
*/
#ifndef HANZO_MODEL_TeamRoomBind_H_
#define HANZO_MODEL_TeamRoomBind_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace hanzo {
namespace model {
class TeamRoomBind
: public ModelBase
{
public:
TeamRoomBind();
virtual ~TeamRoomBind();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// TeamRoomBind members
/// <summary>
/// Bindings REPLACES what the room is about, wholly. It is a replace and not a merge because a caller that cannot remove a binding would have no way to correct a wrong one, and an empty list sent explicitly is how a room is unbound. Absent (null) leaves the existing list alone.
/// </summary>
std::vector<utility::string_t> getBindings() const;
bool bindingsIsSet() const;
void unsetBindings();
void setBindings(const std::vector<utility::string_t>& value);
/// <summary>
/// ID is the room to bind, from the path. The URL is the authority; a body carrying another id cannot redirect the write.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Life sets the lifecycle intent: \&quot;standing\&quot; or \&quot;bound\&quot;. Any other value is refused rather than stored, so a reader never has to interpret a third one. Empty leaves the current intent unchanged.
/// </summary>
utility::string_t getLife() const;
bool lifeIsSet() const;
void unsetLife();
void setLife(const utility::string_t& value);
/// <summary>
/// Space names the space holding the room. It is required, because a room id is unique only within one and searching every space for a matching id would make the write&#39;s target depend on iteration order.
/// </summary>
utility::string_t getSpace() const;
bool spaceIsSet() const;
void unsetSpace();
void setSpace(const utility::string_t& value);
protected:
std::vector<utility::string_t> m_Bindings;
bool m_BindingsIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Life;
bool m_LifeIsSet;
utility::string_t m_Space;
bool m_SpaceIsSet;
};
}
}
#endif /* HANZO_MODEL_TeamRoomBind_H_ */