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

78 lines
2.0 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.
*/
/*
* StatsSessions.h
*
*
*/
#ifndef HANZO_MODEL_StatsSessions_H_
#define HANZO_MODEL_StatsSessions_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <map>
#include "hanzo/model/StatsUser.h"
#include <vector>
namespace hanzo {
namespace model {
class StatsUser;
class StatsSessions
: public ModelBase
{
public:
StatsSessions();
virtual ~StatsSessions();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// StatsSessions members
/// <summary>
/// ActiveSessions maps a space uuid to its connected sessions. It carries only the token&#39;s OWN space, and is empty for a token that names none.
/// </summary>
std::map<utility::string_t, std::vector<std::shared_ptr<StatsUser>>> getActiveSessions() const;
bool activeSessionsIsSet() const;
void unsetActiveSessions();
void setActiveSessions(const std::map<utility::string_t, std::vector<std::shared_ptr<StatsUser>>>& value);
protected:
std::map<utility::string_t, std::vector<std::shared_ptr<StatsUser>>> m_ActiveSessions;
bool m_ActiveSessionsIsSet;
};
}
}
#endif /* HANZO_MODEL_StatsSessions_H_ */