@@ -40,6 +40,9 @@ public class MessageActionsPayload {
4040 @ JsonProperty (value = "importance" )
4141 private String importance ;
4242
43+ @ JsonProperty (value = "linkToMessage" )
44+ private String linkToMessage ;
45+
4346 @ JsonProperty (value = "locale" )
4447 private String locale ;
4548
@@ -66,7 +69,7 @@ public class MessageActionsPayload {
6669
6770 /**
6871 * Gets unique id of the message.
69- *
72+ *
7073 * @return The unique id.
7174 */
7275 public String getId () {
@@ -75,7 +78,7 @@ public String getId() {
7578
7679 /**
7780 * Sets unique id of the message.
78- *
81+ *
7982 * @param withId The new id of the message.
8083 */
8184 public void setId (String withId ) {
@@ -84,7 +87,7 @@ public void setId(String withId) {
8487
8588 /**
8689 * Gets id of the parent/root message of the thread.
87- *
90+ *
8891 * @return The id of the parent/root message.
8992 */
9093 public String getReplyToId () {
@@ -93,7 +96,7 @@ public String getReplyToId() {
9396
9497 /**
9598 * Sets id of the parent/root message of the thread.
96- *
99+ *
97100 * @param withReplyToId The id of the parent/root message.
98101 */
99102 public void setReplyToId (String withReplyToId ) {
@@ -102,7 +105,7 @@ public void setReplyToId(String withReplyToId) {
102105
103106 /**
104107 * Gets type of message - automatically set to message.
105- *
108+ *
106109 * @return Possible values include: 'message'
107110 */
108111 public String getMessageType () {
@@ -111,7 +114,7 @@ public String getMessageType() {
111114
112115 /**
113116 * Sets type of message.
114- *
117+ *
115118 * @param withMessageType Possible values include: 'message'
116119 */
117120 public void setMessageType (String withMessageType ) {
@@ -120,7 +123,7 @@ public void setMessageType(String withMessageType) {
120123
121124 /**
122125 * Gets timestamp of when the message was created.
123- *
126+ *
124127 * @return The timestamp of the message.
125128 */
126129 public String getCreatedDateTime () {
@@ -129,7 +132,7 @@ public String getCreatedDateTime() {
129132
130133 /**
131134 * Sets timestamp of when the message was created.
132- *
135+ *
133136 * @param withCreatedDateTime The message timestamp.
134137 */
135138 public void setCreatedDateTime (String withCreatedDateTime ) {
@@ -138,7 +141,7 @@ public void setCreatedDateTime(String withCreatedDateTime) {
138141
139142 /**
140143 * Gets timestamp of when the message was edited or updated.
141- *
144+ *
142145 * @return The timestamp of the message.
143146 */
144147 public String getLastModifiedDateTime () {
@@ -147,7 +150,7 @@ public String getLastModifiedDateTime() {
147150
148151 /**
149152 * Sets timestamp of when the message was edited or updated.
150- *
153+ *
151154 * @param withLastModifiedDateTime The message timestamp.
152155 */
153156 public void setLastModifiedDateTime (String withLastModifiedDateTime ) {
@@ -156,7 +159,7 @@ public void setLastModifiedDateTime(String withLastModifiedDateTime) {
156159
157160 /**
158161 * Indicates whether a message has been soft deleted.
159- *
162+ *
160163 * @return True if deleted.
161164 */
162165 public Boolean getDeleted () {
@@ -165,7 +168,7 @@ public Boolean getDeleted() {
165168
166169 /**
167170 * Indicates whether a message has been soft deleted.
168- *
171+ *
169172 * @param withDeleted True if deleted.
170173 */
171174 public void setDeleted (Boolean withDeleted ) {
@@ -174,7 +177,7 @@ public void setDeleted(Boolean withDeleted) {
174177
175178 /**
176179 * Gets subject line of the message.
177- *
180+ *
178181 * @return The message subject line.
179182 */
180183 public String getSubject () {
@@ -183,7 +186,7 @@ public String getSubject() {
183186
184187 /**
185188 * Sets subject line of the message.
186- *
189+ *
187190 * @param withSubject The message subject line.
188191 */
189192 public void setSubject (String withSubject ) {
@@ -192,7 +195,7 @@ public void setSubject(String withSubject) {
192195
193196 /**
194197 * Gets summary text of the message that could be used for notifications.
195- *
198+ *
196199 * @return The summary text.
197200 */
198201 public String getSummary () {
@@ -201,7 +204,7 @@ public String getSummary() {
201204
202205 /**
203206 * Sets summary text of the message that could be used for notifications.
204- *
207+ *
205208 * @param withSummary The summary text.
206209 */
207210 public void setSummary (String withSummary ) {
@@ -210,7 +213,7 @@ public void setSummary(String withSummary) {
210213
211214 /**
212215 * Gets the importance of the message.
213- *
216+ *
214217 * @return Possible values include: 'normal', 'high', 'urgent'
215218 */
216219 public String getImportance () {
@@ -219,16 +222,34 @@ public String getImportance() {
219222
220223 /**
221224 * Sets the importance of the message.
222- *
225+ *
223226 * @param withImportance Possible values include: 'normal', 'high', 'urgent'
224227 */
225228 public void setImportance (String withImportance ) {
226229 importance = withImportance ;
227230 }
228231
232+ /**
233+ * Gets the link back to the message.
234+ *
235+ * @return The link back to the message.
236+ */
237+ public String getLinkToMessage () {
238+ return linkToMessage ;
239+ }
240+
241+ /**
242+ * Sets link back to the message.
243+ *
244+ * @param withLinkToMessage The link back to the message.
245+ */
246+ public void setLinkToMessage (String withLinkToMessage ) {
247+ linkToMessage = withLinkToMessage ;
248+ }
249+
229250 /**
230251 * Gets locale of the message set by the client.
231- *
252+ *
232253 * @return The message locale.
233254 */
234255 public String getLocale () {
@@ -237,7 +258,7 @@ public String getLocale() {
237258
238259 /**
239260 * Sets locale of the message set by the client.
240- *
261+ *
241262 * @param withLocale The message locale.
242263 */
243264 public void setLocale (String withLocale ) {
@@ -246,7 +267,7 @@ public void setLocale(String withLocale) {
246267
247268 /**
248269 * Gets sender of the message.
249- *
270+ *
250271 * @return The message sender.
251272 */
252273 public MessageActionsPayloadFrom getFrom () {
@@ -255,7 +276,7 @@ public MessageActionsPayloadFrom getFrom() {
255276
256277 /**
257278 * Sets sender of the message.
258- *
279+ *
259280 * @param withFrom The message sender.
260281 */
261282 public void setFrom (MessageActionsPayloadFrom withFrom ) {
@@ -264,7 +285,7 @@ public void setFrom(MessageActionsPayloadFrom withFrom) {
264285
265286 /**
266287 * Gets plaintext/HTML representation of the content of the message.
267- *
288+ *
268289 * @return The message body.
269290 */
270291 public MessageActionsPayloadBody getBody () {
@@ -273,7 +294,7 @@ public MessageActionsPayloadBody getBody() {
273294
274295 /**
275296 * Sets plaintext/HTML representation of the content of the message.
276- *
297+ *
277298 * @param withBody The message body.
278299 */
279300 public void setBody (MessageActionsPayloadBody withBody ) {
@@ -282,7 +303,7 @@ public void setBody(MessageActionsPayloadBody withBody) {
282303
283304 /**
284305 * Gets how the attachment(s) are displayed in the message.
285- *
306+ *
286307 * @return The attachment layout.
287308 */
288309 public String getAttachmentLayout () {
@@ -291,7 +312,7 @@ public String getAttachmentLayout() {
291312
292313 /**
293314 * Sets how the attachment(s) are displayed in the message.
294- *
315+ *
295316 * @param withAttachmentLayout The attachment layout.
296317 */
297318 public void setAttachmentLayout (String withAttachmentLayout ) {
@@ -300,7 +321,7 @@ public void setAttachmentLayout(String withAttachmentLayout) {
300321
301322 /**
302323 * Gets attachments in the message - card, image, file, etc.
303- *
324+ *
304325 * @return The message attachments.
305326 */
306327 public List <MessageActionsPayloadAttachment > getAttachments () {
@@ -309,7 +330,7 @@ public List<MessageActionsPayloadAttachment> getAttachments() {
309330
310331 /**
311332 * Sets attachments in the message - card, image, file, etc.
312- *
333+ *
313334 * @param withAttachments The message attachments.
314335 */
315336 public void setAttachments (List <MessageActionsPayloadAttachment > withAttachments ) {
@@ -318,7 +339,7 @@ public void setAttachments(List<MessageActionsPayloadAttachment> withAttachments
318339
319340 /**
320341 * Gets list of entities mentioned in the message.
321- *
342+ *
322343 * @return The list of mentions.
323344 */
324345 public List <MessageActionsPayloadMention > getMentions () {
@@ -327,7 +348,7 @@ public List<MessageActionsPayloadMention> getMentions() {
327348
328349 /**
329350 * Sets list of entities mentioned in the message.
330- *
351+ *
331352 * @param withMentions The list of mentions.
332353 */
333354 public void setMentions (List <MessageActionsPayloadMention > withMentions ) {
@@ -336,7 +357,7 @@ public void setMentions(List<MessageActionsPayloadMention> withMentions) {
336357
337358 /**
338359 * Gets reactions for the message.
339- *
360+ *
340361 * @return Message reactions.
341362 */
342363 public List <MessageActionsPayloadReaction > getReactions () {
@@ -345,7 +366,7 @@ public List<MessageActionsPayloadReaction> getReactions() {
345366
346367 /**
347368 * Sets reactions for the message.
348- *
369+ *
349370 * @param withReactions Message reactions.
350371 */
351372 public void setReactions (List <MessageActionsPayloadReaction > withReactions ) {
0 commit comments