-
public final class InboxDtoRepresentation of a MailSlurp inbox. An inbox has an ID and a real email address. Emails can be sent to or from this email address. Inboxes are either
SMTPorHTTPmailboxes. The default,HTTPinboxes, use AWS SES to process emails and are best suited as test email accounts and do not support IMAP or POP3.SMTPinboxes use a custom mail server atmx.mailslurp.comand support SMTP login, IMAP and POP3. Use theEmailControlleror theInboxControllermethods to send and receive emails and attachments. Inboxes may have a description, name, and tags for display purposes. You can also favourite an inbox for easier searching.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumInboxDto.InboxTypeType of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). Values: hTTPINBOX,sMTPINBOX
-
Field Summary
Fields Modifier and Type Field Description private final UUIDidprivate final OffsetDateTimecreatedAtprivate final StringemailAddressprivate final Booleanfavouriteprivate final BooleanreadOnlyprivate final BooleanvirtualInboxprivate final UUIDuserIdprivate final Stringnameprivate final UUIDdomainIdprivate final Stringdescriptionprivate final StringexpiresAtprivate final List<String>tagsprivate final InboxDto.InboxTypeinboxType
-
Method Summary
Modifier and Type Method Description final UUIDgetId()final OffsetDateTimegetCreatedAt()final StringgetEmailAddress()final BooleangetFavourite()final BooleangetReadOnly()final BooleangetVirtualInbox()final UUIDgetUserId()final StringgetName()final UUIDgetDomainId()final StringgetDescription()final StringgetExpiresAt()final List<String>getTags()final InboxDto.InboxTypegetInboxType()-
-
Constructor Detail
-
InboxDto
InboxDto(UUID id, OffsetDateTime createdAt, String emailAddress, Boolean favourite, Boolean readOnly, Boolean virtualInbox, UUID userId, String name, UUID domainId, String description, String expiresAt, List<String> tags, InboxDto.InboxType inboxType)
- Parameters:
id- ID of the inbox.createdAt- When the inbox was created.emailAddress- The inbox's email address.favourite- Is the inbox a favorite inbox.readOnly- Is the inbox readOnly for the caller.virtualInbox- Virtual inbox can receive email but will not send emails to real recipients.userId- ID of user that inbox belongs toname- Name of the inbox and used as the sender name when sending emails .domainId- ID of custom domain used by the inbox if anydescription- Description of an inbox for labelling and searching purposesexpiresAt- Inbox expiration time.tags- Tags that inbox has been tagged with.inboxType- Type of inbox.
-
-
Method Detail
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getEmailAddress
final String getEmailAddress()
-
getFavourite
final Boolean getFavourite()
-
getReadOnly
final Boolean getReadOnly()
-
getVirtualInbox
final Boolean getVirtualInbox()
-
getDomainId
final UUID getDomainId()
-
getDescription
final String getDescription()
-
getExpiresAt
final String getExpiresAt()
-
getInboxType
final InboxDto.InboxType getInboxType()
-
-
-
-