File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
src/main/java/com/currencyfair/onesignal/model/notification Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 3030 * The filters parameter targets notification recipients using an array of JSON objects containing field conditions
3131 * to check.
3232 */
33+
3334public class Filter {
3435
3536 /**
@@ -51,6 +52,18 @@ public class Filter {
5152 * Value.
5253 */
5354 private String value ;
55+ /**
56+ * for location filter
57+ */
58+ private String radius ;
59+ /**
60+ * for location filter
61+ */
62+ private String latitude ;
63+ /**
64+ * for location filter
65+ */
66+ private String longitude ;
5467
5568 /**
5669 * Operator. Defaults to {@link Operator#AND}.
@@ -111,6 +124,30 @@ public void setOperator(Operator operator) {
111124 this .operator = operator ;
112125 }
113126
127+ public String getRadius () {
128+ return radius ;
129+ }
130+
131+ public void setRadius (String radius ) {
132+ this .radius = radius ;
133+ }
134+
135+ public String getLatitude () {
136+ return latitude ;
137+ }
138+
139+ public void setLatitude (String latitude ) {
140+ this .latitude = latitude ;
141+ }
142+
143+ public String getLongitude () {
144+ return longitude ;
145+ }
146+
147+ public void setLongitude (String longitude ) {
148+ this .longitude = longitude ;
149+ }
150+
114151 @ Override
115152 public String toString () {
116153 return ToStringBuilder .reflectionToString (this );
You can’t perform that action at this time.
0 commit comments