mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
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.
97 lines
2.4 KiB
C++
97 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.
|
|
*/
|
|
|
|
/*
|
|
* TeamMessageWrite.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_TeamMessageWrite_H_
|
|
#define HANZO_MODEL_TeamMessageWrite_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class TeamMessageWrite
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
TeamMessageWrite();
|
|
virtual ~TeamMessageWrite();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// TeamMessageWrite members
|
|
|
|
|
|
/// <summary>
|
|
/// ID is the room to say it in, from the path.
|
|
/// </summary>
|
|
utility::string_t getId() const;
|
|
bool idIsSet() const;
|
|
void unsetId();
|
|
void setId(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Space names the space holding the room. Body-only: a query string may not redirect a write.
|
|
/// </summary>
|
|
utility::string_t getSpace() const;
|
|
bool spaceIsSet() const;
|
|
void unsetSpace();
|
|
void setSpace(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Text is what to say, as plain text. It is wrapped in the client's markup on the way in, so a caller writes words rather than HTML.
|
|
/// </summary>
|
|
utility::string_t getText() const;
|
|
bool textIsSet() const;
|
|
void unsetText();
|
|
void setText(const utility::string_t& value);
|
|
|
|
|
|
protected:
|
|
utility::string_t m_Id;
|
|
bool m_IdIsSet;
|
|
|
|
utility::string_t m_Space;
|
|
bool m_SpaceIsSet;
|
|
|
|
utility::string_t m_Text;
|
|
bool m_TextIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_TeamMessageWrite_H_ */
|