giga::data::UsersRelation Struct Reference

#include <UsersRelation.h>

Public Member Functions

template<class Manager >
void visit (const Manager &m)
 

Public Attributes

std::shared_ptr< Useruser = nullptr
 
utility::string_t type = {}
 
uint64_t creationDate = 0
 
boost::optional< bool > favorite = boost::none
 
boost::optional< bool > isNew = boost::none
 
boost::optional
< utility::string_t > 
key = boost::none
 
boost::optional
< utility::string_t > 
initiator = boost::none
 
boost::optional< std::vector
< uint64_t > > 
suggestedBy = boost::none
 
boost::optional< std::vector
< uint64_t > > 
byUserId = boost::none
 

Detailed Description

An edge in the User graph

Member Data Documentation

boost::optional<std::vector<uint64_t> > giga::data::UsersRelation::byUserId = boost::none

type=SHOULD_INVITE, list of userId

boost::optional<bool> giga::data::UsersRelation::favorite = boost::none

type=CONTACT

boost::optional<utility::string_t> giga::data::UsersRelation::initiator = boost::none

type=CONTACT, OTHER|ME

boost::optional<bool> giga::data::UsersRelation::isNew = boost::none

type=CONTACT

boost::optional<utility::string_t> giga::data::UsersRelation::key = boost::none

type=CONTACT

boost::optional<std::vector<uint64_t> > giga::data::UsersRelation::suggestedBy = boost::none

type=CONTACT|INVITE, list of userId


The documentation for this struct was generated from the following file: