xref: /openbmc/bmcweb/redfish-core/include/task_messages.hpp (revision 10cf50dca112b27176dc5734126983ad37ba2c04)
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 // These generated headers are a superset of what is needed.
13 // clang sees them as an error, so ignore
14 // NOLINTBEGIN(misc-include-cleaner)
15 #include "http_response.hpp"
16 
17 #include <boost/url/url_view_base.hpp>
18 #include <nlohmann/json.hpp>
19 
20 #include <cstdint>
21 #include <source_location>
22 #include <string_view>
23 // NOLINTEND(misc-include-cleaner)
24 
25 namespace redfish
26 {
27 
28 namespace messages
29 {
30 nlohmann::json::object_t taskStarted(std::string_view arg1);
31 
32 nlohmann::json::object_t taskCompletedOK(std::string_view arg1);
33 
34 nlohmann::json::object_t taskCompletedWarning(std::string_view arg1);
35 
36 nlohmann::json::object_t taskAborted(std::string_view arg1);
37 
38 nlohmann::json::object_t taskCancelled(std::string_view arg1);
39 
40 nlohmann::json::object_t taskRemoved(std::string_view arg1);
41 
42 nlohmann::json::object_t taskPaused(std::string_view arg1);
43 
44 nlohmann::json::object_t taskResumed(std::string_view arg1);
45 
46 nlohmann::json::object_t taskProgressChanged(std::string_view arg1,
47                                              uint64_t arg2);
48 
49 } // namespace messages
50 } // namespace redfish
51