@@ -42,6 +42,12 @@ public class PersonalizationInput {
42
42
@ SerializedName (SERIALIZED_NAME_ENTITIES )
43
43
private List <PersonalizationInputEntity > entities ;
44
44
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
+
45
51
public PersonalizationInput () {}
46
52
47
53
public PersonalizationInput profile (Profile profile ) {
@@ -92,6 +98,27 @@ public void setEntities(List<PersonalizationInputEntity> entities) {
92
98
this .entities = entities ;
93
99
}
94
100
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
+
95
122
@ Override
96
123
public boolean equals (Object o ) {
97
124
if (this == o ) {
@@ -102,12 +129,15 @@ public boolean equals(Object o) {
102
129
}
103
130
PersonalizationInput personalizationInput = (PersonalizationInput ) o ;
104
131
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 );
106
136
}
107
137
108
138
@ Override
109
139
public int hashCode () {
110
- return Objects .hash (profile , entities );
140
+ return Objects .hash (profile , entities , syncEntityPropertyChanges );
111
141
}
112
142
113
143
@ Override
@@ -116,6 +146,9 @@ public String toString() {
116
146
sb .append ("class PersonalizationInput {\n " );
117
147
sb .append (" profile: " ).append (toIndentedString (profile )).append ("\n " );
118
148
sb .append (" entities: " ).append (toIndentedString (entities )).append ("\n " );
149
+ sb .append (" syncEntityPropertyChanges: " )
150
+ .append (toIndentedString (syncEntityPropertyChanges ))
151
+ .append ("\n " );
119
152
sb .append ("}" );
120
153
return sb .toString ();
121
154
}
@@ -139,6 +172,7 @@ private String toIndentedString(Object o) {
139
172
openapiFields = new HashSet <String >();
140
173
openapiFields .add ("profile" );
141
174
openapiFields .add ("entities" );
175
+ openapiFields .add ("syncEntityPropertyChanges" );
142
176
143
177
// a set of required properties/fields (JSON key names)
144
178
openapiRequiredFields = new HashSet <String >();
0 commit comments