giga::data::User Struct Reference

#include <User.h>

Public Member Functions

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

Public Attributes

uint64_t id = 0
 
utility::string_t login = {}
 
uint64_t creationDate = 0
 
boost::optional< uint64_t > lastConnectionDate = boost::none
 
utility::string_t activity = {}
 
bool isUnlimited = {}
 
boost::optional
< utility::string_t > 
gender = boost::none
 
boost::optional
< utility::string_t > 
birthDate = boost::none
 
boost::optional
< utility::string_t > 
description = boost::none
 
utility::string_t avatarUrl = {}
 
utility::string_t bigAvatarUrl = {}
 
uint64_t contactCount = 0
 
boost::optional< uint64_t > maxContact = boost::none
 
std::vector< utility::string_t > tags = {}
 
utility::string_t isSeeder = {}
 
boost::optional< bool > isBot = boost::none
 
boost::optional< std::string > publicKey = boost::none
 
boost::optional
< utility::string_t > 
country = boost::none
 
boost::optional
< utility::string_t > 
language = boost::none
 
boost::optional
< utility::string_t > 
name = boost::none
 
std::shared_ptr< Nodenode = nullptr
 
boost::optional
< utility::string_t > 
reportedState = boost::none
 
boost::optional< std::string > nodeKey = boost::none
 
std::unique_ptr< RsaKeyrsaKeys = nullptr
 
boost::optional< std::string > salt = boost::none
 
boost::optional
< utility::string_t > 
email = boost::none
 
boost::optional
< utility::string_t > 
nextEmail = boost::none
 
boost::optional< uint64_t > maxStorage = boost::none
 
boost::optional< uint64_t > standatdMaxStorage = boost::none
 
boost::optional< uint64_t > achievements = boost::none
 
std::vector< std::unique_ptr
< ExternalAccount > > 
externalAccounts = {}
 
boost::optional< uint64_t > downloaded = boost::none
 
std::unique_ptr< Offeroffer = nullptr
 
boost::optional< uint64_t > dlAvailable = boost::none
 
boost::optional< uint64_t > starCount = boost::none
 

Detailed Description

The user has private (for him only) properties, protected (available to his contacts) and public properties.

Member Data Documentation

boost::optional<uint64_t> giga::data::User::achievements = boost::none

Private. bitfield

boost::optional<utility::string_t> giga::data::User::birthDate = boost::none

Y-m-d ex: 1960-01-26

boost::optional<utility::string_t> giga::data::User::country = boost::none

DEPRECATED: the country

uint64_t giga::data::User::creationDate = 0

unix timestamp in seconds

boost::optional<uint64_t> giga::data::User::dlAvailable = boost::none

Private. Value in Octets

boost::optional<uint64_t> giga::data::User::downloaded = boost::none

Private. Value in octets

boost::optional<utility::string_t> giga::data::User::email = boost::none

Private.

std::vector<std::unique_ptr<ExternalAccount> > giga::data::User::externalAccounts = {}

Private. Associeted facebook/gigatribe accounts

boost::optional<bool> giga::data::User::isBot = boost::none

True if the user is a GiGa bot

boost::optional<utility::string_t> giga::data::User::language = boost::none

DEPRECATED: The interface languge for this user

boost::optional<uint64_t> giga::data::User::lastConnectionDate = boost::none

unix timestamp in seconds

boost::optional<uint64_t> giga::data::User::maxStorage = boost::none

Private. Value in Gio

boost::optional<utility::string_t> giga::data::User::name = boost::none

Protected. The user full name

boost::optional<utility::string_t> giga::data::User::nextEmail = boost::none

Private. The email when not validated yet

std::shared_ptr<Node> giga::data::User::node = nullptr

Private. The user root folder

boost::optional<std::string> giga::data::User::nodeKey = boost::none

Private.

std::unique_ptr<Offer> giga::data::User::offer = nullptr

Private.

boost::optional<std::string> giga::data::User::publicKey = boost::none

The rsa public key of this user

boost::optional<utility::string_t> giga::data::User::reportedState = boost::none

Private.

std::unique_ptr<RsaKey> giga::data::User::rsaKeys = nullptr

Private.

boost::optional<std::string> giga::data::User::salt = boost::none

Private.

boost::optional<uint64_t> giga::data::User::standatdMaxStorage = boost::none

Private. Value in Gio

boost::optional<uint64_t> giga::data::User::starCount = boost::none

Private


The documentation for this struct was generated from the following file:
  • /home/thomas/code/GiGaSdk/src/giga/api/data/User.h