-
public final class InboxPreview
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumInboxPreview.InboxTypeType of inbox - either HTTP (default) or SMTP. HTTP inboxes are great for testing. SMTP inboxes are processed by a custom SMTP mail server and are better for public facing inboxes that receive emails from Gmail and other large providers. If using a custom domain the domain type must match the inbox type. Use an SMTP domain for SMTP inboxes that includes an MX record pointing to
10 mx.mailslurp.comfor inbound messages. Values: hTTPINBOX,sMTPINBOX
-
Field Summary
Fields Modifier and Type Field Description private final OffsetDateTimecreatedAtprivate final StringemailAddressprivate final StringexpiresAtprivate final Booleanfavouriteprivate final UUIDidprivate final InboxPreview.InboxTypeinboxTypeprivate final Stringnameprivate final List<String>tagsprivate final BooleanteamAccess
-
Constructor Summary
Constructors Constructor Description InboxPreview(OffsetDateTime createdAt, String emailAddress, String expiresAt, Boolean favourite, UUID id, InboxPreview.InboxType inboxType, String name, List<String> tags, Boolean teamAccess)
-
Method Summary
Modifier and Type Method Description final OffsetDateTimegetCreatedAt()final StringgetEmailAddress()final StringgetExpiresAt()final BooleangetFavourite()final UUIDgetId()final InboxPreview.InboxTypegetInboxType()final StringgetName()final List<String>getTags()final BooleangetTeamAccess()-
-
Constructor Detail
-
InboxPreview
InboxPreview(OffsetDateTime createdAt, String emailAddress, String expiresAt, Boolean favourite, UUID id, InboxPreview.InboxType inboxType, String name, List<String> tags, Boolean teamAccess)
- Parameters:
createdAt- When the inbox was created.emailAddress- The inbox's email address.expiresAt- Inbox expiration time.favourite- Is the inbox a favorite inbox.id- ID of the inbox.inboxType- Type of inbox - either HTTP (default) or SMTP.name- Name of the inbox and used as the sender name when sending emails .tags- Tags that inbox has been tagged with.teamAccess- Does inbox permit team access for organization team members.
-
-
Method Detail
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getEmailAddress
final String getEmailAddress()
-
getExpiresAt
final String getExpiresAt()
-
getFavourite
final Boolean getFavourite()
-
getInboxType
final InboxPreview.InboxType getInboxType()
-
getTeamAccess
final Boolean getTeamAccess()
-
-
-
-