xref: /openbmc/bmcweb/features/redfish/include/task_messages.hpp (revision 10cf50dca112b27176dc5734126983ad37ba2c04)
15b90429aSEd Tanous #pragma once
2f175c280SEd Tanous /****************************************************************
3f175c280SEd Tanous  *                 READ THIS WARNING FIRST
4f175c280SEd Tanous  * This is an auto-generated header which contains definitions
5f175c280SEd Tanous  * for Redfish DMTF defined messages.
6f175c280SEd Tanous  * DO NOT modify this registry outside of running the
7f175c280SEd Tanous  * parse_registries.py script.  The definitions contained within
8f175c280SEd Tanous  * this file are owned by DMTF.  Any modifications to these files
9f175c280SEd Tanous  * should be first pushed to the relevant registry in the DMTF
10f175c280SEd Tanous  * github organization.
11f175c280SEd Tanous  ***************************************************************/
124aad6ed2SEd Tanous // These generated headers are a superset of what is needed.
134aad6ed2SEd Tanous // clang sees them as an error, so ignore
144aad6ed2SEd Tanous // NOLINTBEGIN(misc-include-cleaner)
154aad6ed2SEd Tanous #include "http_response.hpp"
16e5d5006bSJames Feist 
174aad6ed2SEd Tanous #include <boost/url/url_view_base.hpp>
18218295dcSEd Tanous #include <nlohmann/json.hpp>
19218295dcSEd Tanous 
20d7857201SEd Tanous #include <cstdint>
214aad6ed2SEd Tanous #include <source_location>
22f175c280SEd Tanous #include <string_view>
234aad6ed2SEd Tanous // NOLINTEND(misc-include-cleaner)
24f175c280SEd Tanous 
25f175c280SEd Tanous namespace redfish
26e5d5006bSJames Feist {
27e5d5006bSJames Feist 
28f175c280SEd Tanous namespace messages
29e5d5006bSJames Feist {
30*10cf50dcSEd Tanous nlohmann::json::object_t taskStarted(std::string_view arg1);
31e5d5006bSJames Feist 
32*10cf50dcSEd Tanous nlohmann::json::object_t taskCompletedOK(std::string_view arg1);
33e5d5006bSJames Feist 
34*10cf50dcSEd Tanous nlohmann::json::object_t taskCompletedWarning(std::string_view arg1);
35e5d5006bSJames Feist 
36*10cf50dcSEd Tanous nlohmann::json::object_t taskAborted(std::string_view arg1);
37e5d5006bSJames Feist 
38*10cf50dcSEd Tanous nlohmann::json::object_t taskCancelled(std::string_view arg1);
39e5d5006bSJames Feist 
40*10cf50dcSEd Tanous nlohmann::json::object_t taskRemoved(std::string_view arg1);
41e5d5006bSJames Feist 
42*10cf50dcSEd Tanous nlohmann::json::object_t taskPaused(std::string_view arg1);
43e5d5006bSJames Feist 
44*10cf50dcSEd Tanous nlohmann::json::object_t taskResumed(std::string_view arg1);
45e5d5006bSJames Feist 
46*10cf50dcSEd Tanous nlohmann::json::object_t taskProgressChanged(std::string_view arg1,
47*10cf50dcSEd Tanous                                              uint64_t arg2);
48e5d5006bSJames Feist 
49f175c280SEd Tanous } // namespace messages
50f175c280SEd Tanous } // namespace redfish
51