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

99 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.
*/
/*
* CollabRequest.h
*
*
*/
#ifndef HANZO_MODEL_CollabRequest_H_
#define HANZO_MODEL_CollabRequest_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/model/CollabPayload.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class CollabPayload;
class CollabRequest
: public ModelBase
{
public:
CollabRequest();
virtual ~CollabRequest();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// CollabRequest members
/// <summary>
/// DocumentID addresses the document field, as \&quot;&lt;spaceUuid&gt;|&lt;objectClass&gt;|&lt;objectId&gt;|&lt;objectAttr&gt;\&quot; — the collaborator-client encodeDocumentId shape, from the path.
/// </summary>
utility::string_t getDocumentId() const;
bool documentIdIsSet() const;
void unsetDocumentId();
void setDocumentId(const utility::string_t& value);
/// <summary>
/// Method is the verb: createContent, updateContent or getContent.
/// </summary>
utility::string_t getMethod() const;
bool methodIsSet() const;
void unsetMethod();
void setMethod(const utility::string_t& value);
/// <summary>
/// Payload is the verb&#39;s argument.
/// </summary>
std::shared_ptr<CollabPayload> getPayload() const;
bool payloadIsSet() const;
void unsetPayload();
void setPayload(const std::shared_ptr<CollabPayload>& value);
protected:
utility::string_t m_DocumentId;
bool m_DocumentIdIsSet;
utility::string_t m_Method;
bool m_MethodIsSet;
std::shared_ptr<CollabPayload> m_Payload;
bool m_PayloadIsSet;
};
}
}
#endif /* HANZO_MODEL_CollabRequest_H_ */