Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::ConvInfo Struct Reference

#include <conversation.h>

Collaboration diagram for jami::ConvInfo:
Collaboration graph

Public Member Functions

 ConvInfo ()=default
 
 ConvInfo (const ConvInfo &)=default
 
 ConvInfo (const Json::Value &json)
 
 ConvInfo (const std::string &id)
 
 ConvInfo (ConvInfo &&)=default
 
bool isRemoved () const
 
ConvInfooperator= (const ConvInfo &)=default
 
ConvInfooperator= (ConvInfo &&)=default
 
Json::Value toJson () const
 

Public Attributes

time_t created {0}
 
time_t erased {0}
 
std::string id {}
 
std::string lastDisplayed {}
 
std::set< std::string > members
 
time_t removed {0}
 

Detailed Description

Definition at line 103 of file conversation.h.

Constructor & Destructor Documentation

◆ ConvInfo() [1/5]

jami::ConvInfo::ConvInfo ( )
default

◆ ConvInfo() [2/5]

jami::ConvInfo::ConvInfo ( const ConvInfo )
default

◆ ConvInfo() [3/5]

jami::ConvInfo::ConvInfo ( ConvInfo &&  )
default

◆ ConvInfo() [4/5]

jami::ConvInfo::ConvInfo ( const std::string &  id)
inline

Definition at line 115 of file conversation.h.

◆ ConvInfo() [5/5]

Member Function Documentation

◆ isRemoved()

bool jami::ConvInfo::isRemoved ( ) const
inline

Definition at line 118 of file conversation.h.

References created, and removed.

◆ operator=() [1/2]

ConvInfo & jami::ConvInfo::operator= ( const ConvInfo )
default

◆ operator=() [2/2]

ConvInfo & jami::ConvInfo::operator= ( ConvInfo &&  )
default

◆ toJson()

Member Data Documentation

◆ created

time_t jami::ConvInfo::created {0}

Definition at line 106 of file conversation.h.

Referenced by ConvInfo(), isRemoved(), and toJson().

◆ erased

time_t jami::ConvInfo::erased {0}

Definition at line 108 of file conversation.h.

Referenced by ConvInfo(), and toJson().

◆ id

std::string jami::ConvInfo::id {}

Definition at line 105 of file conversation.h.

Referenced by toJson().

◆ lastDisplayed

std::string jami::ConvInfo::lastDisplayed {}

Definition at line 110 of file conversation.h.

Referenced by ConvInfo(), and toJson().

◆ members

std::set<std::string> jami::ConvInfo::members

Definition at line 109 of file conversation.h.

Referenced by ConvInfo(), jami::SyncedConversation::getMembers(), and toJson().

◆ removed

time_t jami::ConvInfo::removed {0}

Definition at line 107 of file conversation.h.

Referenced by ConvInfo(), isRemoved(), and toJson().


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