Conscience Core
Public Member Functions | Public Attributes | List of all members
conscience_core::ai::alerts::CscAlertIdentificationConfig Struct Reference

#include <alerts.h>

Public Member Functions

 CscAlertIdentificationConfig (CscAlertType type, const map< string, string > &parameters={}, optional< vector< CscAlertIdentificationTimeSlot >> timeSlots={})
 
 operator string () const
 
string getParameter (const string &key, const string &defaultValue="") const
 
bool isTimestampInTimeSlots (unsigned long long timestampMillis) const
 

Public Attributes

CscAlertType type
 
map< string, string > parameters
 
optional< vector< CscAlertIdentificationTimeSlot > > timeSlots
 

Constructor & Destructor Documentation

◆ CscAlertIdentificationConfig()

conscience_core::ai::alerts::CscAlertIdentificationConfig::CscAlertIdentificationConfig ( CscAlertType  type,
const map< string, string > &  parameters = {},
optional< vector< CscAlertIdentificationTimeSlot >>  timeSlots = {} 
)

Member Function Documentation

◆ getParameter()

string conscience_core::ai::alerts::CscAlertIdentificationConfig::getParameter ( const string &  key,
const string &  defaultValue = "" 
) const

◆ isTimestampInTimeSlots()

bool conscience_core::ai::alerts::CscAlertIdentificationConfig::isTimestampInTimeSlots ( unsigned long long  timestampMillis) const

◆ operator string()

conscience_core::ai::alerts::CscAlertIdentificationConfig::operator string ( ) const

Member Data Documentation

◆ parameters

map<string, string> conscience_core::ai::alerts::CscAlertIdentificationConfig::parameters

◆ timeSlots

optional<vector<CscAlertIdentificationTimeSlot> > conscience_core::ai::alerts::CscAlertIdentificationConfig::timeSlots

◆ type

CscAlertType conscience_core::ai::alerts::CscAlertIdentificationConfig::type

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