xref: /openbmc/bmcweb/features/redfish/include/task_messages.hpp (revision d78572018fc2022091ff8b8eb5a7fef2172ba3d6)
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  ***************************************************************/
12e5d5006bSJames Feist 
13218295dcSEd Tanous #include <nlohmann/json.hpp>
14218295dcSEd Tanous 
15*d7857201SEd Tanous #include <cstdint>
16f175c280SEd Tanous #include <string_view>
17f175c280SEd Tanous 
18f175c280SEd Tanous // IWYU pragma: no_forward_declare crow::Response
19f175c280SEd Tanous 
20f175c280SEd Tanous namespace redfish
21e5d5006bSJames Feist {
22e5d5006bSJames Feist 
23f175c280SEd Tanous namespace messages
24e5d5006bSJames Feist {
25f175c280SEd Tanous nlohmann::json taskStarted(std::string_view arg1);
26e5d5006bSJames Feist 
27f175c280SEd Tanous nlohmann::json taskCompletedOK(std::string_view arg1);
28e5d5006bSJames Feist 
29f175c280SEd Tanous nlohmann::json taskCompletedWarning(std::string_view arg1);
30e5d5006bSJames Feist 
31f175c280SEd Tanous nlohmann::json taskAborted(std::string_view arg1);
32e5d5006bSJames Feist 
33f175c280SEd Tanous nlohmann::json taskCancelled(std::string_view arg1);
34e5d5006bSJames Feist 
35f175c280SEd Tanous nlohmann::json taskRemoved(std::string_view arg1);
36e5d5006bSJames Feist 
37f175c280SEd Tanous nlohmann::json taskPaused(std::string_view arg1);
38e5d5006bSJames Feist 
39f175c280SEd Tanous nlohmann::json taskResumed(std::string_view arg1);
40e5d5006bSJames Feist 
41f175c280SEd Tanous nlohmann::json taskProgressChanged(std::string_view arg1, uint64_t arg2);
42e5d5006bSJames Feist 
43f175c280SEd Tanous } // namespace messages
44f175c280SEd Tanous } // namespace redfish
45