Page MenuHomePhorge

room_event_batch.hpp
No OneTemporary

Size
804 B
Referenced Files
None
Subscribers
None

room_event_batch.hpp

/******************************************************************************
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
#pragma once
#include "types.hpp"
namespace Kazv::Api {
struct RoomEventBatch
{
/// List of events.
EventList events;
};
}
namespace nlohmann
{
using namespace Kazv;
using namespace Kazv::Api;
template<>
struct adl_serializer<RoomEventBatch> {
static void to_json(json& jo, const RoomEventBatch &pod)
{
if (! jo.is_object()) { jo = json::object(); }
addToJsonIfNeeded(jo, "events"s, pod.events);
}
static void from_json(const json &jo, RoomEventBatch& result)
{
if (jo.contains("events"s)) {
result.events = jo.at("events"s);
}
}
};
}
namespace Kazv::Api
{
} // namespace Kazv::Api

File Metadata

Mime Type
text/x-c++
Expires
Thu, Apr 24, 4:23 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
102673
Default Alt Text
room_event_batch.hpp (804 B)

Event Timeline