This commit is contained in:
Massimiliano Assante 2022-05-05 11:12:22 +02:00
parent fe48cac2c0
commit bdf0c56990
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ public abstract class WorkspaceEvent {
@JsonProperty("idsToNotify")
@NotNull(message="recipients cannot be missing, use usernames or contexts")
protected String[] idsToNotify;
/**
* optional, set to true if the idsToNotify are contexts, default is false
*/
@JsonProperty("idsAsGroup")
protected boolean idsAsGroup = false;
WorkspaceEvent(WorkspaceEventType TYPE) {