Class Message
- java.lang.Object
-
- io.quarkiverse.mailpit.test.model.Message
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Message extends ObjectMessage data excluding physical attachments
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ATTACHMENTSstatic StringJSON_PROPERTY_BCCstatic StringJSON_PROPERTY_CCstatic StringJSON_PROPERTY_DATEstatic StringJSON_PROPERTY_FROMstatic StringJSON_PROPERTY_H_T_M_Lstatic StringJSON_PROPERTY_I_Dstatic StringJSON_PROPERTY_INLINEstatic StringJSON_PROPERTY_MESSAGE_I_Dstatic StringJSON_PROPERTY_REPLY_TOstatic StringJSON_PROPERTY_RETURN_PATHstatic StringJSON_PROPERTY_SIZEstatic StringJSON_PROPERTY_SUBJECTstatic StringJSON_PROPERTY_TAGSstatic StringJSON_PROPERTY_TEXTstatic StringJSON_PROPERTY_TO
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ATTACHMENTS
public static final String JSON_PROPERTY_ATTACHMENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BCC
public static final String JSON_PROPERTY_BCC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CC
public static final String JSON_PROPERTY_CC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATE
public static final String JSON_PROPERTY_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FROM
public static final String JSON_PROPERTY_FROM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_H_T_M_L
public static final String JSON_PROPERTY_H_T_M_L
- See Also:
- Constant Field Values
-
JSON_PROPERTY_I_D
public static final String JSON_PROPERTY_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INLINE
public static final String JSON_PROPERTY_INLINE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE_I_D
public static final String JSON_PROPERTY_MESSAGE_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPLY_TO
public static final String JSON_PROPERTY_REPLY_TO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RETURN_PATH
public static final String JSON_PROPERTY_RETURN_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBJECT
public static final String JSON_PROPERTY_SUBJECT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TAGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEXT
public static final String JSON_PROPERTY_TEXT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TO
public static final String JSON_PROPERTY_TO
- See Also:
- Constant Field Values
-
-
Method Detail
-
attachments
public Message attachments(List<Attachment> attachments)
-
addAttachmentsItem
public Message addAttachmentsItem(Attachment attachmentsItem)
-
getAttachments
@Nullable public List<Attachment> getAttachments()
Message attachments- Returns:
- attachments
-
setAttachments
public void setAttachments(List<Attachment> attachments)
-
date
public Message date(OffsetDateTime date)
-
getDate
@Nullable public OffsetDateTime getDate()
Message date if set, else date received- Returns:
- date
-
setDate
public void setDate(OffsetDateTime date)
-
getFrom
@Nullable public Address getFrom()
Get from- Returns:
- from
-
setFrom
public void setFrom(Address from)
-
getHTML
@Nullable public String getHTML()
Message body HTML- Returns:
- HTML
-
setHTML
public void setHTML(String HTML)
-
getID
@Nullable public String getID()
Database ID- Returns:
- ID
-
setID
public void setID(String ID)
-
inline
public Message inline(List<Attachment> inline)
-
addInlineItem
public Message addInlineItem(Attachment inlineItem)
-
getInline
@Nullable public List<Attachment> getInline()
Inline message attachments- Returns:
- inline
-
setInline
public void setInline(List<Attachment> inline)
-
getMessageID
@Nullable public String getMessageID()
Message ID- Returns:
- messageID
-
setMessageID
public void setMessageID(String messageID)
-
getReturnPath
@Nullable public String getReturnPath()
Return-Path- Returns:
- returnPath
-
setReturnPath
public void setReturnPath(String returnPath)
-
getSize
@Nullable public Long getSize()
Message size in bytes- Returns:
- size
-
setSize
public void setSize(Long size)
-
getSubject
@Nullable public String getSubject()
Message subject- Returns:
- subject
-
setSubject
public void setSubject(String subject)
-
getText
@Nullable public String getText()
Message body text- Returns:
- text
-
setText
public void setText(String text)
-
equals
public boolean equals(Object o)
Return true if this Message object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-