Parse number types from the base registry

Rather than maintaining a list of arguments that are numbers (which is
error prone), update the script to just trust that the few parameters
labeled in Redfish as numbers should in fact show up in the API as
numbers.

Functionally this changes the APIs for only a few error messages, only
one of which (StringValueTooShort) is used and that usage was added
recently.

Tested: SRV passes.

Change-Id: I580523ecc0263688738bcb7f7925913e40e2a113
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/redfish-core/include/resource_messages.hpp b/redfish-core/include/resource_messages.hpp
index 98290ee..be642e9 100644
--- a/redfish-core/include/resource_messages.hpp
+++ b/redfish-core/include/resource_messages.hpp
@@ -38,16 +38,16 @@
                                                  std::string_view arg2);
 
 nlohmann::json::object_t resourceErrorThresholdExceeded(std::string_view arg1,
-                                                        std::string_view arg2);
+                                                        uint64_t arg2);
 
 nlohmann::json::object_t resourceErrorThresholdCleared(std::string_view arg1,
-                                                       std::string_view arg2);
+                                                       uint64_t arg2);
 
-nlohmann::json::object_t resourceWarningThresholdExceeded(
-    std::string_view arg1, std::string_view arg2);
+nlohmann::json::object_t resourceWarningThresholdExceeded(std::string_view arg1,
+                                                          uint64_t arg2);
 
 nlohmann::json::object_t resourceWarningThresholdCleared(std::string_view arg1,
-                                                         std::string_view arg2);
+                                                         uint64_t arg2);
 
 nlohmann::json::object_t resourceStatusChangedOK(std::string_view arg1,
                                                  std::string_view arg2);