|
lintel 0.2.0
|
#include <HistoryDto.h>
Public Member Functions | |
| HistoryDto (const HistoryEntry &historyEntry) | |
| HistoryDto ()=default | |
| std::string | getProcessName () const |
| std::string | getServiceName () const |
| std::string | getLabel () const |
| std::string | getText () const |
| std::string | getUuid () const |
| std::chrono::sys_time< std::chrono::microseconds > | getCreatedTimestamp () 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 single history entry
| lintel::HistoryDto::HistoryDto | ( | const HistoryEntry & | historyEntry | ) |
Construct from a HistoryEntry model
| historyEntry | The source history entry |
|
default |
Default constructor
Deserialize from JSON
| obj | The JSON value |
Reimplemented from lintel::JsonSerializable.
|
inline |
Get the creation timestamp
|
inline |
Get the label
|
inline |
Get the process name
|
inline |
Get the service name
|
inline |
Get the text content
|
overridevirtual |