Lines Matching full:triggeractions
612 std::optional<std::vector<std::string>> triggerActions; in parsePostTriggerParams() local
631 "TriggerActions", triggerActions // in parsePostTriggerParams()
661 if (triggerActions) in parsePostTriggerParams()
663 ctx.actions.reserve(triggerActions->size()); in parsePostTriggerParams()
664 for (const std::string& action : *triggerActions) in parsePostTriggerParams()
670 messages::propertyValueNotInList(res, action, "TriggerActions"); in parsePostTriggerParams()
737 nlohmann::json::array_t triggerActions; in getTriggerActions() local
748 triggerActions.emplace_back(redfishAction); in getTriggerActions()
751 return triggerActions; in getTriggerActions()
848 const std::vector<std::string>* triggerActions = nullptr; in fillTrigger() local
855 discrete, "Sensors", sensors, "Reports", reports, "TriggerActions", in fillTrigger()
856 triggerActions, "DiscreteThresholds", discreteThresholds, in fillTrigger()
864 if (triggerActions != nullptr) in fillTrigger()
867 getTriggerActions(*triggerActions); in fillTrigger()
871 "Property TriggerActions is invalid in Trigger: {}", id); in fillTrigger()
874 json["TriggerActions"] = *redfishTriggerActions; in fillTrigger()