/****************************************************************************** * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN */ #pragma once #include "lib/csapi/definitions/push_condition.h" #include "converters.h" #include #include #include #include "converters.h" namespace QMatrixClient { // Data structures struct PushRule { QVector actions; bool isDefault; bool enabled; QString ruleId; QVector conditions; QString pattern; }; QJsonObject toJson(const PushRule& pod); template <> struct FromJson { PushRule operator()(const QJsonValue& jv); }; } // namespace QMatrixClient