Class MessageSummary

java.lang.Object
com.mailosaur.models.BaseModel
com.mailosaur.models.MessageSummary

public class MessageSummary extends BaseModel
The MessageSummary model.
  • Constructor Details

    • MessageSummary

      public MessageSummary()
  • Method Details

    • id

      public String id()
      Get the unique identifier for the message.
      Returns:
      Unique identifier for the message.
    • type

      public String type()
      Gets the type of message.
      Returns:
      The type of message.
    • from

      public List<MessageAddress> from()
      Gets the sender of the message.
      Returns:
      The sender of the message.
    • to

      public List<MessageAddress> to()
      Gets the recipients of the message.
      Returns:
      The recipients of the message.
    • cc

      public List<MessageAddress> cc()
      Gets the carbon-copied recipients for email messages.
      Returns:
      The carbon-copied recipients for email messages.
    • bcc

      public List<MessageAddress> bcc()
      Gets the blind carbon-copied recipients for email messages.
      Returns:
      The blind carbon-copied recipients for email messages.
    • received

      public com.google.api.client.util.DateTime received()
      Gets the date/time that this message was received by Mailosaur.
      Returns:
      The date/time that this message was received by Mailosaur.
    • subject

      public String subject()
      Gets the subject of the message.
      Returns:
      The subject of the message.
    • summary

      public String summary()
      Gets a short, summarized version of the message content.
      Returns:
      A short, summarized version of the message content.
    • attachments

      public Integer attachments()
      Gets the number of attachments associated with the message.
      Returns:
      The number of attachments associated with the message.
    • server

      public String server()
      Gets the identifier for the server in which the message is located.
      Returns:
      Identifier for the server in which the message is located.