Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7890188
user_identifier.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
988 B
Referenced Files
None
Subscribers
None
user_identifier.hpp
View Options
/******************************************************************************
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
#pragma once
#include
"types.hpp"
namespace
Kazv
{
/// Identification information for a user
struct
UserIdentifier
{
/// The type of identification. See `Identifier types`_ for supported values and additional property descriptions.
std
::
string
type
;
/// Identification information for a user
JsonWrap
additionalProperties
;
};
}
namespace
nlohmann
{
using
namespace
Kazv
;
template
<>
struct
adl_serializer
<
UserIdentifier
>
{
static
void
to_json
(
json
&
jo
,
const
UserIdentifier
&
pod
)
{
addPropertyMapToJson
(
jo
,
pod
.
additionalProperties
);
jo
[
"type"
s
]
=
pod
.
type
;
}
static
void
from_json
(
const
json
&
jo
,
UserIdentifier
&
result
)
{
if
(
jo
.
contains
(
"type"
s
))
{
result
.
type
=
jo
.
at
(
"type"
s
);
}
result
.
additionalProperties
=
jo
;
}
};
}
namespace
Kazv
{
}
// namespace Kazv
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Oct 2, 3:00 AM (10 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
478618
Default Alt Text
user_identifier.hpp (988 B)
Attached To
Mode
rL libkazv
Attached
Detach File
Event Timeline
Log In to Comment