xref: /openbmc/bmcweb/features/redfish/include/task_messages.hpp (revision f175c280979b414f21cf7ad6eb16a2ce4927bfd8)
15b90429aSEd Tanous #pragma once
2*f175c280SEd Tanous /****************************************************************
3*f175c280SEd Tanous  *                 READ THIS WARNING FIRST
4*f175c280SEd Tanous  * This is an auto-generated header which contains definitions
5*f175c280SEd Tanous  * for Redfish DMTF defined messages.
6*f175c280SEd Tanous  * DO NOT modify this registry outside of running the
7*f175c280SEd Tanous  * parse_registries.py script.  The definitions contained within
8*f175c280SEd Tanous  * this file are owned by DMTF.  Any modifications to these files
9*f175c280SEd Tanous  * should be first pushed to the relevant registry in the DMTF
10*f175c280SEd Tanous  * github organization.
11*f175c280SEd Tanous  ***************************************************************/
12e5d5006bSJames Feist 
13*f175c280SEd Tanous #include "http_response.hpp"
14*f175c280SEd Tanous 
15*f175c280SEd Tanous #include <boost/url/url_view_base.hpp>
16218295dcSEd Tanous #include <nlohmann/json.hpp>
17218295dcSEd Tanous 
18*f175c280SEd Tanous #include <cstdint>
19*f175c280SEd Tanous #include <source_location>
20*f175c280SEd Tanous #include <string>
21*f175c280SEd Tanous #include <string_view>
22*f175c280SEd Tanous 
23*f175c280SEd Tanous // IWYU pragma: no_forward_declare crow::Response
24*f175c280SEd Tanous 
25*f175c280SEd Tanous namespace redfish
26e5d5006bSJames Feist {
27e5d5006bSJames Feist 
28*f175c280SEd Tanous namespace messages
29e5d5006bSJames Feist {
30*f175c280SEd Tanous nlohmann::json taskStarted(std::string_view arg1);
31e5d5006bSJames Feist 
32*f175c280SEd Tanous nlohmann::json taskCompletedOK(std::string_view arg1);
33e5d5006bSJames Feist 
34*f175c280SEd Tanous nlohmann::json taskCompletedWarning(std::string_view arg1);
35e5d5006bSJames Feist 
36*f175c280SEd Tanous nlohmann::json taskAborted(std::string_view arg1);
37e5d5006bSJames Feist 
38*f175c280SEd Tanous nlohmann::json taskCancelled(std::string_view arg1);
39e5d5006bSJames Feist 
40*f175c280SEd Tanous nlohmann::json taskRemoved(std::string_view arg1);
41e5d5006bSJames Feist 
42*f175c280SEd Tanous nlohmann::json taskPaused(std::string_view arg1);
43e5d5006bSJames Feist 
44*f175c280SEd Tanous nlohmann::json taskResumed(std::string_view arg1);
45e5d5006bSJames Feist 
46*f175c280SEd Tanous nlohmann::json taskProgressChanged(std::string_view arg1, uint64_t arg2);
47e5d5006bSJames Feist 
48*f175c280SEd Tanous } // namespace messages
49*f175c280SEd Tanous } // namespace redfish
50