Ditto 4.6.0
|
The entrypoint for small peer user info collection. More...
#include <SmallPeerInfo.hpp>
Public Member Functions | |
json | metadata () const |
Gets the metadata as JSON. | |
void | set_metadata (json metadata) const |
Sets the metadata as user-provided json and is inserted into the small peer info system doc at each collection interval. The metadata has no schema except for the following constraints: | |
std::string | metadata_json_string () const |
void | set_metadata_json_string (std::string metadata) const |
Sets the metadata as user-provided json string and is inserted into the small peer info system doc at each collection interval. The metadata has no schema except for the following constraints: | |
bool | is_enabled () const |
void | set_enabled (bool enabled) const |
SyncScope | sync_scope () const |
void | set_sync_scope (SyncScope sync_scope) const |
The entrypoint for small peer user info collection.
void ditto::SmallPeerInfo::set_metadata | ( | json | metadata | ) | const |
Sets the metadata as user-provided json
and is inserted into the small peer info system doc at each collection interval. The metadata has no schema except for the following constraints:
void ditto::SmallPeerInfo::set_metadata_json_string | ( | std::string | metadata | ) | const |
Sets the metadata as user-provided json
string and is inserted into the small peer info system doc at each collection interval. The metadata has no schema except for the following constraints: