Skip to content

Commit a86a2f2

Browse files
committed
Nits: added comments, matched format of existing methods
1 parent 9bd207b commit a86a2f2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/main/java/com/currencyfair/onesignal/model/notification/Notification.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,11 @@ public class Notification {
724724
@JsonProperty("isChrome")
725725
private Boolean chrome;
726726

727+
/**
728+
* A request received with this parameter will first look for another notification with the same external_id.
729+
* If one exists, a notification will not be sent, and result of the previous operation will instead be returned.
730+
* Therefore, if you plan on using this feature, it's important to use a good source of randomness to generate the UUID passed here.
731+
*/
727732
@JsonProperty("external_id")
728733
private String externalId;
729734

@@ -1223,7 +1228,9 @@ public void setExternalId(String string) {
12231228
this.externalId = string;
12241229
}
12251230

1226-
public String getExternalId() { return this.externalId; }
1231+
public String getExternalId() {
1232+
return this.externalId;
1233+
}
12271234

12281235
public void setChrome(Boolean chrome) {
12291236
this.chrome = chrome;

0 commit comments

Comments
 (0)