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
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Messente API Library
2
2
3
3
- Messente API version: 2.0.0
4
-
- Java artifact version: 4.1.0
4
+
- Java artifact version: 4.2.0
5
5
6
6
[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
7
7
@@ -12,7 +12,7 @@ Install Messente API library via Maven, Gradle, Ivy or manual build.
// check to see if the JSON string contains additional fields
158
-
for (Map.Entry<String, JsonElement> entry : entries) {
159
-
if (!BulkOmniMessageCreateSuccessResponse.openapiFields.contains(entry.getKey())) {
160
-
thrownewIllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BulkOmniMessageCreateSuccessResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
161
-
}
162
-
}
163
-
164
202
// check to make sure all required properties/fields are present in the JSON string
165
203
for (StringrequiredField : BulkOmniMessageCreateSuccessResponse.openapiRequiredFields) {
166
204
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
// check to see if the JSON string contains additional fields
158
-
for (Map.Entry<String, JsonElement> entry : entries) {
159
-
if (!BulkOmnimessage.openapiFields.contains(entry.getKey())) {
160
-
thrownewIllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BulkOmnimessage` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
161
-
}
162
-
}
163
-
164
202
// check to make sure all required properties/fields are present in the JSON string
165
203
for (StringrequiredField : BulkOmnimessage.openapiRequiredFields) {
166
204
if (jsonElement.getAsJsonObject().get(requiredField) == null) {
0 commit comments