@@ -91,6 +91,11 @@ public AudienceTypeEnum read(final JsonReader jsonReader) throws IOException {
9191 @ SerializedName (SERIALIZED_NAME_COMPUTE_CADENCE )
9292 private AudienceComputeCadence computeCadence ;
9393
94+ public static final String SERIALIZED_NAME_SIZE = "size" ;
95+
96+ @ SerializedName (SERIALIZED_NAME_SIZE )
97+ private AudienceSize size ;
98+
9499 public static final String SERIALIZED_NAME_OPTIONS = "options" ;
95100
96101 @ SerializedName (SERIALIZED_NAME_OPTIONS )
@@ -204,6 +209,26 @@ public void setComputeCadence(AudienceComputeCadence computeCadence) {
204209 this .computeCadence = computeCadence ;
205210 }
206211
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+
207232 public AudienceSummaryWithAudienceTypeAndLookback options (AudienceOptionsWithLookback options ) {
208233
209234 this .options = options ;
@@ -509,6 +534,7 @@ public boolean equals(Object o) {
509534 && Objects .equals (
510535 this .computeCadence ,
511536 audienceSummaryWithAudienceTypeAndLookback .computeCadence )
537+ && Objects .equals (this .size , audienceSummaryWithAudienceTypeAndLookback .size )
512538 && Objects .equals (this .options , audienceSummaryWithAudienceTypeAndLookback .options )
513539 && Objects .equals (
514540 this .schedules , audienceSummaryWithAudienceTypeAndLookback .schedules )
@@ -537,6 +563,7 @@ public int hashCode() {
537563 return Objects .hash (
538564 audienceType ,
539565 computeCadence ,
566+ size ,
540567 options ,
541568 schedules ,
542569 id ,
@@ -559,6 +586,7 @@ public String toString() {
559586 sb .append ("class AudienceSummaryWithAudienceTypeAndLookback {\n " );
560587 sb .append (" audienceType: " ).append (toIndentedString (audienceType )).append ("\n " );
561588 sb .append (" computeCadence: " ).append (toIndentedString (computeCadence )).append ("\n " );
589+ sb .append (" size: " ).append (toIndentedString (size )).append ("\n " );
562590 sb .append (" options: " ).append (toIndentedString (options )).append ("\n " );
563591 sb .append (" schedules: " ).append (toIndentedString (schedules )).append ("\n " );
564592 sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
@@ -596,6 +624,7 @@ private String toIndentedString(Object o) {
596624 openapiFields = new HashSet <String >();
597625 openapiFields .add ("audienceType" );
598626 openapiFields .add ("computeCadence" );
627+ openapiFields .add ("size" );
599628 openapiFields .add ("options" );
600629 openapiFields .add ("schedules" );
601630 openapiFields .add ("id" );
@@ -682,6 +711,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
682711 }
683712 // validate the required field `computeCadence`
684713 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+ }
685718 // validate the optional field `options`
686719 if (jsonObj .get ("options" ) != null && !jsonObj .get ("options" ).isJsonNull ()) {
687720 AudienceOptionsWithLookback .validateJsonElement (jsonObj .get ("options" ));
0 commit comments