public class MessageItem
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MessageItem()
Creates an empty message item.
|
Modifier and Type | Method and Description |
---|---|
void |
addMessageAction(MessageAction messageAction)
Adds a message action to the list of actions
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
The description of the item
|
java.lang.String |
getMediaType()
The media type of the item
|
java.lang.String |
getMediaUrl()
The media url of the item
|
java.util.List<MessageAction> |
getMessageActions()
The list of Message Action objects contained in the message item.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata()
The metadata of the item
|
java.lang.String |
getSize()
The size of the item
|
java.lang.String |
getTitle()
The title of the item
|
void |
removeMessageAction(MessageAction messageAction)
Removes a message action from the list of actions
|
void |
setDescription(java.lang.String description)
Sets the description of the item
|
void |
setMediaType(java.lang.String mediaType)
Sets the media type of the item
|
void |
setMediaUrl(java.lang.String mediaUrl)
Sets the media url of the item
|
void |
setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Sets the metadata of the item
|
void |
setSize(java.lang.String size)
Sets the size of the item
|
void |
setTitle(java.lang.String title)
Sets the title of the item
|
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getMediaType()
public void setMediaType(java.lang.String mediaType)
public java.lang.String getMediaUrl()
public void setMediaUrl(java.lang.String mediaUrl)
public java.lang.String getSize()
public void setSize(java.lang.String size)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.util.List<MessageAction> getMessageActions()
public void addMessageAction(MessageAction messageAction)
public void removeMessageAction(MessageAction messageAction)
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
public void setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object