xref: /openbmc/bmcweb/redfish-core/include/update_messages.hpp (revision d3616d13fbd236204477312ddf2e9913a7001010)
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::object_t targetDetermined(std::string_view arg1,
31                                           std::string_view arg2);
32 
33 nlohmann::json::object_t allTargetsDetermined();
34 
35 nlohmann::json::object_t noTargetsDetermined(std::string_view arg1);
36 
37 nlohmann::json::object_t updateInProgress();
38 
39 nlohmann::json::object_t transferringToComponent(std::string_view arg1,
40                                                  std::string_view arg2);
41 
42 nlohmann::json::object_t verifyingAtComponent(std::string_view arg1,
43                                               std::string_view arg2);
44 
45 nlohmann::json::object_t installingOnComponent(std::string_view arg1,
46                                                std::string_view arg2);
47 
48 nlohmann::json::object_t applyingOnComponent(std::string_view arg1,
49                                              std::string_view arg2);
50 
51 nlohmann::json::object_t transferFailed(std::string_view arg1,
52                                         std::string_view arg2);
53 
54 nlohmann::json::object_t verificationFailed(std::string_view arg1,
55                                             std::string_view arg2);
56 
57 nlohmann::json::object_t applyFailed(std::string_view arg1,
58                                      std::string_view arg2);
59 
60 nlohmann::json::object_t activateFailed(std::string_view arg1,
61                                         std::string_view arg2);
62 
63 nlohmann::json::object_t awaitToUpdate(std::string_view arg1,
64                                        std::string_view arg2);
65 
66 nlohmann::json::object_t awaitToActivate(std::string_view arg1,
67                                          std::string_view arg2);
68 
69 nlohmann::json::object_t updateSuccessful(std::string_view arg1,
70                                           std::string_view arg2);
71 
72 nlohmann::json::object_t operationTransitionedToJob(std::string_view arg1);
73 
74 nlohmann::json::object_t updateSkipped(std::string_view arg1,
75                                        std::string_view arg2);
76 
77 nlohmann::json::object_t updateSkippedSameVersion(std::string_view arg1,
78                                                   std::string_view arg2);
79 
80 nlohmann::json::object_t updateNotApplicable(std::string_view arg1,
81                                              std::string_view arg2);
82 
83 } // namespace messages
84 } // namespace redfish
85