|
lintel 0.2.0
|
#include <UserSessionsDto.h>
Public Member Functions | |
| UserSessionsDto (std::vector< UserSessionDto > sessions) | |
| UserSessionsDto ()=default | |
| const std::vector< UserSessionDto > & | getSessions () const |
| void | serialize (rapidjson::Writer< rapidjson::StringBuffer > *writer) const override |
| bool | deserialize (const rapidjson::Value &obj) override |
Public Member Functions inherited from lintel::JsonSerializable | |
| JsonSerializable ()=default | |
| virtual | ~JsonSerializable ()=default |
| virtual std::string | serialize () const |
| virtual void | deserialize (const std::string &json) |
DTO representing a collection of active user sessions.
|
explicit |
Construct from existing session DTOs
| sessions | the session DTOs |
|
default |
Default constructor
Deserialize from JSON
| obj | the JSON value |
Reimplemented from lintel::JsonSerializable.
| const std::vector< UserSessionDto > & lintel::UserSessionsDto::getSessions | ( | ) | const |
Get the session DTOs
|
overridevirtual |