@@ -81,6 +81,16 @@ public class Filter {
81
81
@ SerializedName (SERIALIZED_NAME_ALLOW_PROPERTIES )
82
82
private List <String > allowProperties ;
83
83
84
+ public static final String SERIALIZED_NAME_CREATED_AT = "createdAt" ;
85
+
86
+ @ SerializedName (SERIALIZED_NAME_CREATED_AT )
87
+ private String createdAt ;
88
+
89
+ public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt" ;
90
+
91
+ @ SerializedName (SERIALIZED_NAME_UPDATED_AT )
92
+ private String updatedAt ;
93
+
84
94
public Filter () {}
85
95
86
96
public Filter id (String id ) {
@@ -299,6 +309,46 @@ public void setAllowProperties(List<String> allowProperties) {
299
309
this .allowProperties = allowProperties ;
300
310
}
301
311
312
+ public Filter createdAt (String createdAt ) {
313
+
314
+ this .createdAt = createdAt ;
315
+ return this ;
316
+ }
317
+
318
+ /**
319
+ * The timestamp of this filter's creation.
320
+ *
321
+ * @return createdAt
322
+ */
323
+ @ javax .annotation .Nonnull
324
+ public String getCreatedAt () {
325
+ return createdAt ;
326
+ }
327
+
328
+ public void setCreatedAt (String createdAt ) {
329
+ this .createdAt = createdAt ;
330
+ }
331
+
332
+ public Filter updatedAt (String updatedAt ) {
333
+
334
+ this .updatedAt = updatedAt ;
335
+ return this ;
336
+ }
337
+
338
+ /**
339
+ * The timestamp of this filter's last change.
340
+ *
341
+ * @return updatedAt
342
+ */
343
+ @ javax .annotation .Nonnull
344
+ public String getUpdatedAt () {
345
+ return updatedAt ;
346
+ }
347
+
348
+ public void setUpdatedAt (String updatedAt ) {
349
+ this .updatedAt = updatedAt ;
350
+ }
351
+
302
352
@ Override
303
353
public boolean equals (Object o ) {
304
354
if (this == o ) {
@@ -317,7 +367,9 @@ public boolean equals(Object o) {
317
367
&& Objects .equals (this ._if , filter ._if )
318
368
&& Objects .equals (this .drop , filter .drop )
319
369
&& Objects .equals (this .dropProperties , filter .dropProperties )
320
- && Objects .equals (this .allowProperties , filter .allowProperties );
370
+ && Objects .equals (this .allowProperties , filter .allowProperties )
371
+ && Objects .equals (this .createdAt , filter .createdAt )
372
+ && Objects .equals (this .updatedAt , filter .updatedAt );
321
373
}
322
374
323
375
@ Override
@@ -332,7 +384,9 @@ public int hashCode() {
332
384
_if ,
333
385
drop ,
334
386
dropProperties ,
335
- allowProperties );
387
+ allowProperties ,
388
+ createdAt ,
389
+ updatedAt );
336
390
}
337
391
338
392
@ Override
@@ -349,6 +403,8 @@ public String toString() {
349
403
sb .append (" drop: " ).append (toIndentedString (drop )).append ("\n " );
350
404
sb .append (" dropProperties: " ).append (toIndentedString (dropProperties )).append ("\n " );
351
405
sb .append (" allowProperties: " ).append (toIndentedString (allowProperties )).append ("\n " );
406
+ sb .append (" createdAt: " ).append (toIndentedString (createdAt )).append ("\n " );
407
+ sb .append (" updatedAt: " ).append (toIndentedString (updatedAt )).append ("\n " );
352
408
sb .append ("}" );
353
409
return sb .toString ();
354
410
}
@@ -380,12 +436,16 @@ private String toIndentedString(Object o) {
380
436
openapiFields .add ("drop" );
381
437
openapiFields .add ("dropProperties" );
382
438
openapiFields .add ("allowProperties" );
439
+ openapiFields .add ("createdAt" );
440
+ openapiFields .add ("updatedAt" );
383
441
384
442
// a set of required properties/fields (JSON key names)
385
443
openapiRequiredFields = new HashSet <String >();
386
444
openapiRequiredFields .add ("id" );
387
445
openapiRequiredFields .add ("workspaceId" );
388
446
openapiRequiredFields .add ("integrationId" );
447
+ openapiRequiredFields .add ("createdAt" );
448
+ openapiRequiredFields .add ("updatedAt" );
389
449
}
390
450
391
451
/**
@@ -493,6 +553,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
493
553
+ " but got `%s`" ,
494
554
jsonObj .get ("allowProperties" ).toString ()));
495
555
}
556
+ if (!jsonObj .get ("createdAt" ).isJsonPrimitive ()) {
557
+ throw new IllegalArgumentException (
558
+ String .format (
559
+ "Expected the field `createdAt` to be a primitive type in the JSON"
560
+ + " string but got `%s`" ,
561
+ jsonObj .get ("createdAt" ).toString ()));
562
+ }
563
+ if (!jsonObj .get ("updatedAt" ).isJsonPrimitive ()) {
564
+ throw new IllegalArgumentException (
565
+ String .format (
566
+ "Expected the field `updatedAt` to be a primitive type in the JSON"
567
+ + " string but got `%s`" ,
568
+ jsonObj .get ("updatedAt" ).toString ()));
569
+ }
496
570
}
497
571
498
572
public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
0 commit comments