@@ -42,6 +42,12 @@ public class PersonalizationInput {
4242 @ SerializedName (SERIALIZED_NAME_ENTITIES )
4343 private List <PersonalizationInputEntity > entities ;
4444
45+ public static final String SERIALIZED_NAME_SYNC_ENTITY_PROPERTY_CHANGES =
46+ "syncEntityPropertyChanges" ;
47+
48+ @ SerializedName (SERIALIZED_NAME_SYNC_ENTITY_PROPERTY_CHANGES )
49+ private Boolean syncEntityPropertyChanges ;
50+
4551 public PersonalizationInput () {}
4652
4753 public PersonalizationInput profile (Profile profile ) {
@@ -92,6 +98,27 @@ public void setEntities(List<PersonalizationInputEntity> entities) {
9298 this .entities = entities ;
9399 }
94100
101+ public PersonalizationInput syncEntityPropertyChanges (Boolean syncEntityPropertyChanges ) {
102+
103+ this .syncEntityPropertyChanges = syncEntityPropertyChanges ;
104+ return this ;
105+ }
106+
107+ /**
108+ * Sync entity property changes back to Segment. Only applicable if activationType is
109+ * \"Audience Membership Changed\".
110+ *
111+ * @return syncEntityPropertyChanges
112+ */
113+ @ javax .annotation .Nullable
114+ public Boolean getSyncEntityPropertyChanges () {
115+ return syncEntityPropertyChanges ;
116+ }
117+
118+ public void setSyncEntityPropertyChanges (Boolean syncEntityPropertyChanges ) {
119+ this .syncEntityPropertyChanges = syncEntityPropertyChanges ;
120+ }
121+
95122 @ Override
96123 public boolean equals (Object o ) {
97124 if (this == o ) {
@@ -102,12 +129,15 @@ public boolean equals(Object o) {
102129 }
103130 PersonalizationInput personalizationInput = (PersonalizationInput ) o ;
104131 return Objects .equals (this .profile , personalizationInput .profile )
105- && Objects .equals (this .entities , personalizationInput .entities );
132+ && Objects .equals (this .entities , personalizationInput .entities )
133+ && Objects .equals (
134+ this .syncEntityPropertyChanges ,
135+ personalizationInput .syncEntityPropertyChanges );
106136 }
107137
108138 @ Override
109139 public int hashCode () {
110- return Objects .hash (profile , entities );
140+ return Objects .hash (profile , entities , syncEntityPropertyChanges );
111141 }
112142
113143 @ Override
@@ -116,6 +146,9 @@ public String toString() {
116146 sb .append ("class PersonalizationInput {\n " );
117147 sb .append (" profile: " ).append (toIndentedString (profile )).append ("\n " );
118148 sb .append (" entities: " ).append (toIndentedString (entities )).append ("\n " );
149+ sb .append (" syncEntityPropertyChanges: " )
150+ .append (toIndentedString (syncEntityPropertyChanges ))
151+ .append ("\n " );
119152 sb .append ("}" );
120153 return sb .toString ();
121154 }
@@ -139,6 +172,7 @@ private String toIndentedString(Object o) {
139172 openapiFields = new HashSet <String >();
140173 openapiFields .add ("profile" );
141174 openapiFields .add ("entities" );
175+ openapiFields .add ("syncEntityPropertyChanges" );
142176
143177 // a set of required properties/fields (JSON key names)
144178 openapiRequiredFields = new HashSet <String >();
0 commit comments