Add additional variant types to InterfaceVariantType
Add uint16 and vector<string> to InterfaceVariantType
to support for the Notify D-Bus method.
Change-Id: I39e717270b5f01af801ecc4ac6f0bece48b25cca
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/types.hpp b/types.hpp
index 2b946a0..cb59510 100644
--- a/types.hpp
+++ b/types.hpp
@@ -20,7 +20,8 @@
/** @brief Inventory manager supported property types. */
using InterfaceVariantType =
- std::variant<bool, size_t, int64_t, std::string, std::vector<uint8_t>>;
+ std::variant<bool, size_t, int64_t, uint16_t, std::string,
+ std::vector<uint8_t>, std::vector<std::string>>;
template <typename T>
using InterfaceType = std::map<std::string, T>;