summaryrefslogtreecommitdiff
path: root/redfish-core/include/generated/enums/outbound_connection.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/generated/enums/outbound_connection.hpp')
-rw-r--r--redfish-core/include/generated/enums/outbound_connection.hpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/redfish-core/include/generated/enums/outbound_connection.hpp b/redfish-core/include/generated/enums/outbound_connection.hpp
new file mode 100644
index 0000000000..d9cca9c33b
--- /dev/null
+++ b/redfish-core/include/generated/enums/outbound_connection.hpp
@@ -0,0 +1,39 @@
+#pragma once
+#include <nlohmann/json.hpp>
+
+namespace outbound_connection
+{
+// clang-format off
+
+enum class OutboundConnectionRetryPolicyType{
+ Invalid,
+ None,
+ RetryForever,
+ RetryCount,
+};
+
+enum class AuthenticationType{
+ Invalid,
+ MTLS,
+ JWT,
+ None,
+ OEM,
+};
+
+NLOHMANN_JSON_SERIALIZE_ENUM(OutboundConnectionRetryPolicyType, {
+ {OutboundConnectionRetryPolicyType::Invalid, "Invalid"},
+ {OutboundConnectionRetryPolicyType::None, "None"},
+ {OutboundConnectionRetryPolicyType::RetryForever, "RetryForever"},
+ {OutboundConnectionRetryPolicyType::RetryCount, "RetryCount"},
+});
+
+NLOHMANN_JSON_SERIALIZE_ENUM(AuthenticationType, {
+ {AuthenticationType::Invalid, "Invalid"},
+ {AuthenticationType::MTLS, "MTLS"},
+ {AuthenticationType::JWT, "JWT"},
+ {AuthenticationType::None, "None"},
+ {AuthenticationType::OEM, "OEM"},
+});
+
+}
+// clang-format on