Page MenuHomePhorge

user_identifier.hpp
No OneTemporary

Size
988 B
Referenced Files
None
Subscribers
None

user_identifier.hpp

/******************************************************************************
* 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

Mime Type
text/x-c++
Expires
Thu, Oct 2, 2:22 AM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
478618
Default Alt Text
user_identifier.hpp (988 B)

Event Timeline