@@ -61,6 +61,12 @@ public final class SendLongRequest implements JsonSerializable<SendLongRequest>
61
61
@ Generated
62
62
private Double dataFloat ;
63
63
64
+ /*
65
+ * The long property.
66
+ */
67
+ @ Generated
68
+ private Long longProperty ;
69
+
64
70
/*
65
71
* The item's title
66
72
*/
@@ -227,6 +233,28 @@ public SendLongRequest setDataFloat(Double dataFloat) {
227
233
return this ;
228
234
}
229
235
236
+ /**
237
+ * Get the longProperty property: The long property.
238
+ *
239
+ * @return the longProperty value.
240
+ */
241
+ @ Generated
242
+ public Long getLongProperty () {
243
+ return this .longProperty ;
244
+ }
245
+
246
+ /**
247
+ * Set the longProperty property: The long property.
248
+ *
249
+ * @param longProperty the longProperty value to set.
250
+ * @return the SendLongRequest object itself.
251
+ */
252
+ @ Generated
253
+ public SendLongRequest setLongProperty (Long longProperty ) {
254
+ this .longProperty = longProperty ;
255
+ return this ;
256
+ }
257
+
230
258
/**
231
259
* Get the title property: The item's title.
232
260
*
@@ -318,6 +346,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
318
346
jsonWriter .writeNumberField ("dataIntOptional" , this .dataIntOptional );
319
347
jsonWriter .writeNumberField ("dataLong" , this .dataLong );
320
348
jsonWriter .writeNumberField ("data_float" , this .dataFloat );
349
+ jsonWriter .writeNumberField ("long" , this .longProperty );
321
350
jsonWriter .writeStringField ("description" , this .description );
322
351
jsonWriter .writeStringField ("_dummy" , this .dummy );
323
352
return jsonWriter .writeEndObject ();
@@ -344,6 +373,7 @@ public static SendLongRequest fromJson(JsonReader jsonReader) throws IOException
344
373
Integer dataIntOptional = null ;
345
374
Long dataLong = null ;
346
375
Double dataFloat = null ;
376
+ Long longProperty = null ;
347
377
String description = null ;
348
378
String dummy = null ;
349
379
while (reader .nextToken () != JsonToken .END_OBJECT ) {
@@ -368,6 +398,8 @@ public static SendLongRequest fromJson(JsonReader jsonReader) throws IOException
368
398
dataLong = reader .getNullable (JsonReader ::getLong );
369
399
} else if ("data_float" .equals (fieldName )) {
370
400
dataFloat = reader .getNullable (JsonReader ::getDouble );
401
+ } else if ("long" .equals (fieldName )) {
402
+ longProperty = reader .getNullable (JsonReader ::getLong );
371
403
} else if ("description" .equals (fieldName )) {
372
404
description = reader .getString ();
373
405
} else if ("_dummy" .equals (fieldName )) {
@@ -382,6 +414,7 @@ public static SendLongRequest fromJson(JsonReader jsonReader) throws IOException
382
414
deserializedSendLongRequest .dataIntOptional = dataIntOptional ;
383
415
deserializedSendLongRequest .dataLong = dataLong ;
384
416
deserializedSendLongRequest .dataFloat = dataFloat ;
417
+ deserializedSendLongRequest .longProperty = longProperty ;
385
418
deserializedSendLongRequest .description = description ;
386
419
deserializedSendLongRequest .dummy = dummy ;
387
420
0 commit comments