Interface MessageCollection
public interface MessageCollection
This interface represents Message Collection
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn enumeration of field names in a message. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the unique ID of the message collection.getTitle()Gets the title of the message collection.getTotal()Gets the total number of messages for this collection.Gets the total number of unread messages.Returns the last time this message collection was modified.getUrls()Get the URLs related to the message collection.voidSets the unique ID of the message collection.voidSets the title of the message message collection.voidSets the total number of messages for this collectionvoidSets the total number of unread messages.voidsetUpdated(Date updated) Sets the updated time for this message collection.voidSet the URLs related to the message collection
-
Field Details
-
OUTBOX
- See Also:
-
ALL
- See Also:
-
-
Method Details
-
getId
String getId()Gets the unique ID of the message collection.- Returns:
- the ID of the message
-
setId
Sets the unique ID of the message collection.- Parameters:
id- the ID value to set
-
getTitle
String getTitle()Gets the title of the message collection.- Returns:
- the title of the message
-
setTitle
Sets the title of the message message collection.- Parameters:
newTitle- the title of the message
-
getTotal
Integer getTotal()Gets the total number of messages for this collection.- Returns:
- the total number of messages
-
setTotal
Sets the total number of messages for this collection- Parameters:
total- the total number of messages
-
getUnread
Integer getUnread()Gets the total number of unread messages.- Returns:
- the total number of unread messages
-
setUnread
Sets the total number of unread messages.- Parameters:
unread- the number of unread messages
-
getUpdated
Date getUpdated()Returns the last time this message collection was modified.- Returns:
- the updated time
-
setUpdated
Sets the updated time for this message collection.- Parameters:
updated-
-
getUrls
Get the URLs related to the message collection.- Returns:
- the URLs related to the message collection
-
setUrls
Set the URLs related to the message collection- Parameters:
urls- the URLs related to the message collection
-