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