Struct ResourceChange

Struct Documentation

struct ResourceChange

Describes a single resource change event.

Public Members

std::string collection

“faults”, “updates”, “data”, “x-custom”

std::string entity_id

“temp_sensor”

std::string resource_path

“fault_003” or “temperature”

nlohmann::json value

The changed item (not full collection)

ChangeType change_type
std::chrono::system_clock::time_point timestamp