@@ -91,6 +91,11 @@ public AudienceTypeEnum read(final JsonReader jsonReader) throws IOException {
91
91
@ SerializedName (SERIALIZED_NAME_COMPUTE_CADENCE )
92
92
private AudienceComputeCadence computeCadence ;
93
93
94
+ public static final String SERIALIZED_NAME_SIZE = "size" ;
95
+
96
+ @ SerializedName (SERIALIZED_NAME_SIZE )
97
+ private AudienceSize size ;
98
+
94
99
public static final String SERIALIZED_NAME_OPTIONS = "options" ;
95
100
96
101
@ SerializedName (SERIALIZED_NAME_OPTIONS )
@@ -204,6 +209,26 @@ public void setComputeCadence(AudienceComputeCadence computeCadence) {
204
209
this .computeCadence = computeCadence ;
205
210
}
206
211
212
+ public AudienceSummaryWithAudienceTypeAndLookback size (AudienceSize size ) {
213
+
214
+ this .size = size ;
215
+ return this ;
216
+ }
217
+
218
+ /**
219
+ * Get size
220
+ *
221
+ * @return size
222
+ */
223
+ @ javax .annotation .Nullable
224
+ public AudienceSize getSize () {
225
+ return size ;
226
+ }
227
+
228
+ public void setSize (AudienceSize size ) {
229
+ this .size = size ;
230
+ }
231
+
207
232
public AudienceSummaryWithAudienceTypeAndLookback options (AudienceOptionsWithLookback options ) {
208
233
209
234
this .options = options ;
@@ -509,6 +534,7 @@ public boolean equals(Object o) {
509
534
&& Objects .equals (
510
535
this .computeCadence ,
511
536
audienceSummaryWithAudienceTypeAndLookback .computeCadence )
537
+ && Objects .equals (this .size , audienceSummaryWithAudienceTypeAndLookback .size )
512
538
&& Objects .equals (this .options , audienceSummaryWithAudienceTypeAndLookback .options )
513
539
&& Objects .equals (
514
540
this .schedules , audienceSummaryWithAudienceTypeAndLookback .schedules )
@@ -537,6 +563,7 @@ public int hashCode() {
537
563
return Objects .hash (
538
564
audienceType ,
539
565
computeCadence ,
566
+ size ,
540
567
options ,
541
568
schedules ,
542
569
id ,
@@ -559,6 +586,7 @@ public String toString() {
559
586
sb .append ("class AudienceSummaryWithAudienceTypeAndLookback {\n " );
560
587
sb .append (" audienceType: " ).append (toIndentedString (audienceType )).append ("\n " );
561
588
sb .append (" computeCadence: " ).append (toIndentedString (computeCadence )).append ("\n " );
589
+ sb .append (" size: " ).append (toIndentedString (size )).append ("\n " );
562
590
sb .append (" options: " ).append (toIndentedString (options )).append ("\n " );
563
591
sb .append (" schedules: " ).append (toIndentedString (schedules )).append ("\n " );
564
592
sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
@@ -596,6 +624,7 @@ private String toIndentedString(Object o) {
596
624
openapiFields = new HashSet <String >();
597
625
openapiFields .add ("audienceType" );
598
626
openapiFields .add ("computeCadence" );
627
+ openapiFields .add ("size" );
599
628
openapiFields .add ("options" );
600
629
openapiFields .add ("schedules" );
601
630
openapiFields .add ("id" );
@@ -682,6 +711,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
682
711
}
683
712
// validate the required field `computeCadence`
684
713
AudienceComputeCadence .validateJsonElement (jsonObj .get ("computeCadence" ));
714
+ // validate the optional field `size`
715
+ if (jsonObj .get ("size" ) != null && !jsonObj .get ("size" ).isJsonNull ()) {
716
+ AudienceSize .validateJsonElement (jsonObj .get ("size" ));
717
+ }
685
718
// validate the optional field `options`
686
719
if (jsonObj .get ("options" ) != null && !jsonObj .get ("options" ).isJsonNull ()) {
687
720
AudienceOptionsWithLookback .validateJsonElement (jsonObj .get ("options" ));
0 commit comments