You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ((jsonObj.get("Description") != null && !jsonObj.get("Description").isJsonNull()) && !jsonObj.get("Description").isJsonPrimitive()) {
256
-
thrownewIllegalArgumentException(String.format("Expected the field `Description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Description").toString()));
255
+
if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) {
256
+
thrownewIllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString()));
257
257
}
258
-
if (jsonObj.get("TelephoneNumbers") != null && !jsonObj.get("TelephoneNumbers").isJsonNull()) {
if (!jsonObj.get("TelephoneNumbers").isJsonArray()) {
263
-
thrownewIllegalArgumentException(String.format("Expected the field `TelephoneNumbers` to be an array in the JSON string but got `%s`", jsonObj.get("TelephoneNumbers").toString()));
262
+
if (!jsonObj.get("telephoneNumbers").isJsonArray()) {
263
+
thrownewIllegalArgumentException(String.format("Expected the field `telephoneNumbers` to be an array in the JSON string but got `%s`", jsonObj.get("telephoneNumbers").toString()));
264
264
}
265
265
266
-
// validate the optional field `TelephoneNumbers` (array)
266
+
// validate the optional field `telephoneNumbers` (array)
267
267
for (inti = 0; i < jsonArraytelephoneNumbers.size(); i++) {
0 commit comments