xref: /openbmc/bmcweb/redfish-core/include/task_messages.hpp (revision 4aad6ed2fbe6cb2c5b652a5f25c2eabecb53746d)
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 taskStarted(std::string_view arg1);
31 
32 nlohmann::json taskCompletedOK(std::string_view arg1);
33 
34 nlohmann::json taskCompletedWarning(std::string_view arg1);
35 
36 nlohmann::json taskAborted(std::string_view arg1);
37 
38 nlohmann::json taskCancelled(std::string_view arg1);
39 
40 nlohmann::json taskRemoved(std::string_view arg1);
41 
42 nlohmann::json taskPaused(std::string_view arg1);
43 
44 nlohmann::json taskResumed(std::string_view arg1);
45 
46 nlohmann::json taskProgressChanged(std::string_view arg1, uint64_t arg2);
47 
48 } // namespace messages
49 } // namespace redfish
50