fhq-server  v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
Public Member Functions | Private Attributes | List of all members
ModelNotification Class Reference

#include <model_notification.h>

Public Member Functions

 ModelNotification (const std::string &sType, const std::string &sSection, const std::string &sMessage)
 
std::string type ()
 
std::string message ()
 
nlohmann::json toJson ()
 

Private Attributes

std::string TAG
 
std::string m_sType
 
std::string m_sSection
 
std::string m_sMessage
 

Constructor & Destructor Documentation

◆ ModelNotification()

ModelNotification::ModelNotification ( const std::string &  sType,
const std::string &  sSection,
const std::string &  sMessage 
)

Member Function Documentation

◆ message()

std::string ModelNotification::message ( )

◆ toJson()

nlohmann::json ModelNotification::toJson ( )

◆ type()

std::string ModelNotification::type ( )

Member Data Documentation

◆ m_sMessage

std::string ModelNotification::m_sMessage
private

◆ m_sSection

std::string ModelNotification::m_sSection
private

◆ m_sType

std::string ModelNotification::m_sType
private

◆ TAG

std::string ModelNotification::TAG
private

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