Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F325756
room_event_batch.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
804 B
Referenced Files
None
Subscribers
None
room_event_batch.hpp
View Options
/******************************************************************************
* 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
Details
Attached
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)
Attached To
Mode
rL libkazv
Attached
Detach File
Event Timeline
Log In to Comment