Class MessageSummary
- java.lang.Object
-
- io.quarkiverse.mailpit.test.model.MessageSummary
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class MessageSummary extends ObjectMessageSummary struct for frontend messages
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ATTACHMENTSstatic StringJSON_PROPERTY_BCCstatic StringJSON_PROPERTY_CCstatic StringJSON_PROPERTY_CREATEDstatic StringJSON_PROPERTY_FROMstatic StringJSON_PROPERTY_I_Dstatic StringJSON_PROPERTY_MESSAGE_I_Dstatic StringJSON_PROPERTY_READstatic StringJSON_PROPERTY_SIZEstatic StringJSON_PROPERTY_SUBJECTstatic StringJSON_PROPERTY_TAGSstatic StringJSON_PROPERTY_TO
-
Constructor Summary
Constructors Constructor Description MessageSummary()
-
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_CREATED
public static final String JSON_PROPERTY_CREATED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FROM
public static final String JSON_PROPERTY_FROM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_I_D
public static final String JSON_PROPERTY_I_D
- 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_READ
public static final String JSON_PROPERTY_READ
- 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_TO
public static final String JSON_PROPERTY_TO
- See Also:
- Constant Field Values
-
-
Method Detail
-
attachments
public MessageSummary attachments(Long attachments)
-
getAttachments
@Nullable public Long getAttachments()
Whether the message has any attachments- Returns:
- attachments
-
setAttachments
public void setAttachments(Long attachments)
-
bcc
public MessageSummary bcc(List<Address> bcc)
-
addBccItem
public MessageSummary addBccItem(Address bccItem)
-
cc
public MessageSummary cc(List<Address> cc)
-
addCcItem
public MessageSummary addCcItem(Address ccItem)
-
created
public MessageSummary created(OffsetDateTime created)
-
getCreated
@Nullable public OffsetDateTime getCreated()
Created time- Returns:
- created
-
setCreated
public void setCreated(OffsetDateTime created)
-
from
public MessageSummary from(Address from)
-
getFrom
@Nullable public Address getFrom()
Get from- Returns:
- from
-
setFrom
public void setFrom(Address from)
-
ID
public MessageSummary ID(String ID)
-
getID
@Nullable public String getID()
Database ID- Returns:
- ID
-
setID
public void setID(String ID)
-
messageID
public MessageSummary messageID(String messageID)
-
getMessageID
@Nullable public String getMessageID()
Message ID- Returns:
- messageID
-
setMessageID
public void setMessageID(String messageID)
-
read
public MessageSummary read(Boolean read)
-
getRead
@Nullable public Boolean getRead()
Read status- Returns:
- read
-
setRead
public void setRead(Boolean read)
-
size
public MessageSummary size(Long size)
-
getSize
@Nullable public Long getSize()
Message size in bytes (total)- Returns:
- size
-
setSize
public void setSize(Long size)
-
subject
public MessageSummary subject(String subject)
-
getSubject
@Nullable public String getSubject()
Email subject- Returns:
- subject
-
setSubject
public void setSubject(String subject)
-
tags
public MessageSummary tags(List<String> tags)
-
addTagsItem
public MessageSummary addTagsItem(String tagsItem)
-
to
public MessageSummary to(List<Address> to)
-
addToItem
public MessageSummary addToItem(Address toItem)
-
equals
public boolean equals(Object o)
Return true if this MessageSummary object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-