Files

97 lines
2.7 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.
*/
/*
* Venue.h
*
*
*/
#ifndef HANZO_MODEL_Venue_H_
#define HANZO_MODEL_Venue_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class Venue
: public ModelBase
{
public:
Venue();
virtual ~Venue();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// Venue members
/// <summary>
/// Name is the media room to join: the value POST /v1/meet/getToken takes as roomName, and the value the media server keys participants on.
/// </summary>
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
/// <summary>
/// Ready reports that this deployment can mint a join token for this room. It is false on a deployment holding no media-server key, where Name is still correct — the name is a property of the room and the key is a property of the deployment, so a caller learns the room&#39;s identity either way and learns not to offer a join button.
/// </summary>
bool isReady() const;
bool readyIsSet() const;
void unsetReady();
void setReady(bool value);
/// <summary>
/// WS is where the media plane is — the address a client opens its own browser-to-server connection to. Empty when this deployment has not been told where its media server lives, which is reported rather than refused: a surface can say a call is unavailable without a second request.
/// </summary>
utility::string_t getWs() const;
bool wsIsSet() const;
void unsetWs();
void setWs(const utility::string_t& value);
protected:
utility::string_t m_Name;
bool m_NameIsSet;
bool m_Ready;
bool m_ReadyIsSet;
utility::string_t m_Ws;
bool m_WsIsSet;
};
}
}
#endif /* HANZO_MODEL_Venue_H_ */