updated doc info

This commit is contained in:
Massimiliano Assante 2022-05-09 10:48:36 +02:00
parent fc66567776
commit 1dd17cafea
1 changed files with 5 additions and 2 deletions

View File

@ -24,19 +24,22 @@ public class CatalogueEvent {
protected String[] idsToNotify; protected String[] idsToNotify;
/** /**
* the item identifier or name * the item identifier or name (it is used in the subject of the email)
*/ */
@JsonProperty("itemId") @JsonProperty("itemId")
@NotNull(message="itemId cannot be missing")
protected String itemId; protected String itemId;
/** /**
* the text that you want to write in the notification (text/plain) * the text that you want to write in the notification (text/plain format)
*/ */
@JsonProperty("notifyText") @JsonProperty("notifyText")
@NotNull(message="notifyText cannot be missing")
protected String notifyText; protected String notifyText;
/** /**
* the URL to redirect when clicking on the notification * the URL to redirect when clicking on the notification
*/ */
@JsonProperty("itemURL") @JsonProperty("itemURL")
@NotNull(message="itemURL cannot be missing")
protected URL itemURL; protected URL itemURL;
/** /**