Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public class MessageActionsPayload {
@JsonProperty(value = "importance")
private String importance;

@JsonProperty(value = "linkToMessage")
private String linkToMessage;

@JsonProperty(value = "locale")
private String locale;

Expand All @@ -66,7 +69,7 @@ public class MessageActionsPayload {

/**
* Gets unique id of the message.
*
*
* @return The unique id.
*/
public String getId() {
Expand All @@ -75,7 +78,7 @@ public String getId() {

/**
* Sets unique id of the message.
*
*
* @param withId The new id of the message.
*/
public void setId(String withId) {
Expand All @@ -84,7 +87,7 @@ public void setId(String withId) {

/**
* Gets id of the parent/root message of the thread.
*
*
* @return The id of the parent/root message.
*/
public String getReplyToId() {
Expand All @@ -93,7 +96,7 @@ public String getReplyToId() {

/**
* Sets id of the parent/root message of the thread.
*
*
* @param withReplyToId The id of the parent/root message.
*/
public void setReplyToId(String withReplyToId) {
Expand All @@ -102,7 +105,7 @@ public void setReplyToId(String withReplyToId) {

/**
* Gets type of message - automatically set to message.
*
*
* @return Possible values include: 'message'
*/
public String getMessageType() {
Expand All @@ -111,7 +114,7 @@ public String getMessageType() {

/**
* Sets type of message.
*
*
* @param withMessageType Possible values include: 'message'
*/
public void setMessageType(String withMessageType) {
Expand All @@ -120,7 +123,7 @@ public void setMessageType(String withMessageType) {

/**
* Gets timestamp of when the message was created.
*
*
* @return The timestamp of the message.
*/
public String getCreatedDateTime() {
Expand All @@ -129,7 +132,7 @@ public String getCreatedDateTime() {

/**
* Sets timestamp of when the message was created.
*
*
* @param withCreatedDateTime The message timestamp.
*/
public void setCreatedDateTime(String withCreatedDateTime) {
Expand All @@ -138,7 +141,7 @@ public void setCreatedDateTime(String withCreatedDateTime) {

/**
* Gets timestamp of when the message was edited or updated.
*
*
* @return The timestamp of the message.
*/
public String getLastModifiedDateTime() {
Expand All @@ -147,7 +150,7 @@ public String getLastModifiedDateTime() {

/**
* Sets timestamp of when the message was edited or updated.
*
*
* @param withLastModifiedDateTime The message timestamp.
*/
public void setLastModifiedDateTime(String withLastModifiedDateTime) {
Expand All @@ -156,7 +159,7 @@ public void setLastModifiedDateTime(String withLastModifiedDateTime) {

/**
* Indicates whether a message has been soft deleted.
*
*
* @return True if deleted.
*/
public Boolean getDeleted() {
Expand All @@ -165,7 +168,7 @@ public Boolean getDeleted() {

/**
* Indicates whether a message has been soft deleted.
*
*
* @param withDeleted True if deleted.
*/
public void setDeleted(Boolean withDeleted) {
Expand All @@ -174,7 +177,7 @@ public void setDeleted(Boolean withDeleted) {

/**
* Gets subject line of the message.
*
*
* @return The message subject line.
*/
public String getSubject() {
Expand All @@ -183,7 +186,7 @@ public String getSubject() {

/**
* Sets subject line of the message.
*
*
* @param withSubject The message subject line.
*/
public void setSubject(String withSubject) {
Expand All @@ -192,7 +195,7 @@ public void setSubject(String withSubject) {

/**
* Gets summary text of the message that could be used for notifications.
*
*
* @return The summary text.
*/
public String getSummary() {
Expand All @@ -201,7 +204,7 @@ public String getSummary() {

/**
* Sets summary text of the message that could be used for notifications.
*
*
* @param withSummary The summary text.
*/
public void setSummary(String withSummary) {
Expand All @@ -210,7 +213,7 @@ public void setSummary(String withSummary) {

/**
* Gets the importance of the message.
*
*
* @return Possible values include: 'normal', 'high', 'urgent'
*/
public String getImportance() {
Expand All @@ -219,16 +222,34 @@ public String getImportance() {

/**
* Sets the importance of the message.
*
*
* @param withImportance Possible values include: 'normal', 'high', 'urgent'
*/
public void setImportance(String withImportance) {
importance = withImportance;
}

/**
* Gets the link back to the message.
*
* @return The link back to the message.
*/
public String getLinkToMessage() {
return linkToMessage;
}

/**
* Sets link back to the message.
*
* @param withLinkToMessage The link back to the message.
*/
public void setLinkToMessage(String withLinkToMessage) {
linkToMessage = withLinkToMessage;
}

/**
* Gets locale of the message set by the client.
*
*
* @return The message locale.
*/
public String getLocale() {
Expand All @@ -237,7 +258,7 @@ public String getLocale() {

/**
* Sets locale of the message set by the client.
*
*
* @param withLocale The message locale.
*/
public void setLocale(String withLocale) {
Expand All @@ -246,7 +267,7 @@ public void setLocale(String withLocale) {

/**
* Gets sender of the message.
*
*
* @return The message sender.
*/
public MessageActionsPayloadFrom getFrom() {
Expand All @@ -255,7 +276,7 @@ public MessageActionsPayloadFrom getFrom() {

/**
* Sets sender of the message.
*
*
* @param withFrom The message sender.
*/
public void setFrom(MessageActionsPayloadFrom withFrom) {
Expand All @@ -264,7 +285,7 @@ public void setFrom(MessageActionsPayloadFrom withFrom) {

/**
* Gets plaintext/HTML representation of the content of the message.
*
*
* @return The message body.
*/
public MessageActionsPayloadBody getBody() {
Expand All @@ -273,7 +294,7 @@ public MessageActionsPayloadBody getBody() {

/**
* Sets plaintext/HTML representation of the content of the message.
*
*
* @param withBody The message body.
*/
public void setBody(MessageActionsPayloadBody withBody) {
Expand All @@ -282,7 +303,7 @@ public void setBody(MessageActionsPayloadBody withBody) {

/**
* Gets how the attachment(s) are displayed in the message.
*
*
* @return The attachment layout.
*/
public String getAttachmentLayout() {
Expand All @@ -291,7 +312,7 @@ public String getAttachmentLayout() {

/**
* Sets how the attachment(s) are displayed in the message.
*
*
* @param withAttachmentLayout The attachment layout.
*/
public void setAttachmentLayout(String withAttachmentLayout) {
Expand All @@ -300,7 +321,7 @@ public void setAttachmentLayout(String withAttachmentLayout) {

/**
* Gets attachments in the message - card, image, file, etc.
*
*
* @return The message attachments.
*/
public List<MessageActionsPayloadAttachment> getAttachments() {
Expand All @@ -309,7 +330,7 @@ public List<MessageActionsPayloadAttachment> getAttachments() {

/**
* Sets attachments in the message - card, image, file, etc.
*
*
* @param withAttachments The message attachments.
*/
public void setAttachments(List<MessageActionsPayloadAttachment> withAttachments) {
Expand All @@ -318,7 +339,7 @@ public void setAttachments(List<MessageActionsPayloadAttachment> withAttachments

/**
* Gets list of entities mentioned in the message.
*
*
* @return The list of mentions.
*/
public List<MessageActionsPayloadMention> getMentions() {
Expand All @@ -327,7 +348,7 @@ public List<MessageActionsPayloadMention> getMentions() {

/**
* Sets list of entities mentioned in the message.
*
*
* @param withMentions The list of mentions.
*/
public void setMentions(List<MessageActionsPayloadMention> withMentions) {
Expand All @@ -336,7 +357,7 @@ public void setMentions(List<MessageActionsPayloadMention> withMentions) {

/**
* Gets reactions for the message.
*
*
* @return Message reactions.
*/
public List<MessageActionsPayloadReaction> getReactions() {
Expand All @@ -345,7 +366,7 @@ public List<MessageActionsPayloadReaction> getReactions() {

/**
* Sets reactions for the message.
*
*
* @param withReactions Message reactions.
*/
public void setReactions(List<MessageActionsPayloadReaction> withReactions) {
Expand Down
Loading