xref: /openbmc/bmcweb/features/redfish/include/task_messages.hpp (revision d78572018fc2022091ff8b8eb5a7fef2172ba3d6)
1 #pragma once
2 /****************************************************************
3  *                 READ THIS WARNING FIRST
4  * This is an auto-generated header which contains definitions
5  * for Redfish DMTF defined messages.
6  * DO NOT modify this registry outside of running the
7  * parse_registries.py script.  The definitions contained within
8  * this file are owned by DMTF.  Any modifications to these files
9  * should be first pushed to the relevant registry in the DMTF
10  * github organization.
11  ***************************************************************/
12 
13 #include <nlohmann/json.hpp>
14 
15 #include <cstdint>
16 #include <string_view>
17 
18 // IWYU pragma: no_forward_declare crow::Response
19 
20 namespace redfish
21 {
22 
23 namespace messages
24 {
25 nlohmann::json taskStarted(std::string_view arg1);
26 
27 nlohmann::json taskCompletedOK(std::string_view arg1);
28 
29 nlohmann::json taskCompletedWarning(std::string_view arg1);
30 
31 nlohmann::json taskAborted(std::string_view arg1);
32 
33 nlohmann::json taskCancelled(std::string_view arg1);
34 
35 nlohmann::json taskRemoved(std::string_view arg1);
36 
37 nlohmann::json taskPaused(std::string_view arg1);
38 
39 nlohmann::json taskResumed(std::string_view arg1);
40 
41 nlohmann::json taskProgressChanged(std::string_view arg1, uint64_t arg2);
42 
43 } // namespace messages
44 } // namespace redfish
45