3434/** ContainerSearchResult */
3535@ javax .annotation .Generated (
3636 value = "org.openapitools.codegen.languages.JavaClientCodegen" ,
37- comments = "Generator version: 7.15 .0" )
37+ comments = "Generator version: 7.19 .0" )
3838public class ContainerSearchResult {
3939 public static final String SERIALIZED_NAME_CONTAINER_ID = "containerId" ;
4040
@@ -318,6 +318,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
318318 .isEmpty ()) { // has required fields but JSON element is null
319319 throw new IllegalArgumentException (
320320 String .format (
321+ java .util .Locale .ROOT ,
321322 "The required field(s) %s in ContainerSearchResult is not found in the empty JSON string" ,
322323 ContainerSearchResult .openapiRequiredFields .toString ()));
323324 }
@@ -329,8 +330,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
329330 if (!ContainerSearchResult .openapiFields .contains (entry .getKey ())) {
330331 throw new IllegalArgumentException (
331332 String .format (
333+ java .util .Locale .ROOT ,
332334 "The field `%s` in the JSON string is not defined in the `ContainerSearchResult` properties. JSON: %s" ,
333- entry .getKey (), jsonElement .toString ()));
335+ entry .getKey (),
336+ jsonElement .toString ()));
334337 }
335338 }
336339
@@ -339,20 +342,24 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
339342 if (jsonElement .getAsJsonObject ().get (requiredField ) == null ) {
340343 throw new IllegalArgumentException (
341344 String .format (
345+ java .util .Locale .ROOT ,
342346 "The required field `%s` is not found in the JSON string: %s" ,
343- requiredField , jsonElement .toString ()));
347+ requiredField ,
348+ jsonElement .toString ()));
344349 }
345350 }
346351 JsonObject jsonObj = jsonElement .getAsJsonObject ();
347352 if (!jsonObj .get ("containerId" ).isJsonPrimitive ()) {
348353 throw new IllegalArgumentException (
349354 String .format (
355+ java .util .Locale .ROOT ,
350356 "Expected the field `containerId` to be a primitive type in the JSON string but got `%s`" ,
351357 jsonObj .get ("containerId" ).toString ()));
352358 }
353359 if (!jsonObj .get ("containerType" ).isJsonPrimitive ()) {
354360 throw new IllegalArgumentException (
355361 String .format (
362+ java .util .Locale .ROOT ,
356363 "Expected the field `containerType` to be a primitive type in the JSON string but got `%s`" ,
357364 jsonObj .get ("containerType" ).toString ()));
358365 }
@@ -361,6 +368,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
361368 if (!jsonObj .get ("id" ).isJsonPrimitive ()) {
362369 throw new IllegalArgumentException (
363370 String .format (
371+ java .util .Locale .ROOT ,
364372 "Expected the field `id` to be a primitive type in the JSON string but got `%s`" ,
365373 jsonObj .get ("id" ).toString ()));
366374 }
@@ -371,13 +379,15 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
371379 if (!jsonObj .get ("name" ).isJsonPrimitive ()) {
372380 throw new IllegalArgumentException (
373381 String .format (
382+ java .util .Locale .ROOT ,
374383 "Expected the field `name` to be a primitive type in the JSON string but got `%s`" ,
375384 jsonObj .get ("name" ).toString ()));
376385 }
377386 if ((jsonObj .get ("organizationId" ) != null && !jsonObj .get ("organizationId" ).isJsonNull ())
378387 && !jsonObj .get ("organizationId" ).isJsonPrimitive ()) {
379388 throw new IllegalArgumentException (
380389 String .format (
390+ java .util .Locale .ROOT ,
381391 "Expected the field `organizationId` to be a primitive type in the JSON string but got `%s`" ,
382392 jsonObj .get ("organizationId" ).toString ()));
383393 }
0 commit comments