-
public final class InboxPreview
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumInboxPreview.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 Booleanfavouriteprivate final BooleanteamAccessprivate final StringemailAddressprivate final Stringnameprivate final List<String>tagsprivate final InboxPreview.InboxTypeinboxTypeprivate final StringexpiresAt
-
Constructor Summary
Constructors Constructor Description InboxPreview(UUID id, OffsetDateTime createdAt, Boolean favourite, Boolean teamAccess, String emailAddress, String name, List<String> tags, InboxPreview.InboxType inboxType, String expiresAt)
-
Method Summary
Modifier and Type Method Description final UUIDgetId()final OffsetDateTimegetCreatedAt()final BooleangetFavourite()final BooleangetTeamAccess()final StringgetEmailAddress()final StringgetName()final List<String>getTags()final InboxPreview.InboxTypegetInboxType()final StringgetExpiresAt()-
-
Constructor Detail
-
InboxPreview
InboxPreview(UUID id, OffsetDateTime createdAt, Boolean favourite, Boolean teamAccess, String emailAddress, String name, List<String> tags, InboxPreview.InboxType inboxType, String expiresAt)
- Parameters:
id- ID of the inbox.createdAt- When the inbox was created.favourite- Is the inbox a favorite inbox.teamAccess- Does inbox permit team access for organization team members.emailAddress- The inbox's email address.name- Name of the inbox and used as the sender name when sending emails .tags- Tags that inbox has been tagged with.inboxType- Type of inbox.expiresAt- Inbox expiration time.
-
-
Method Detail
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getFavourite
final Boolean getFavourite()
-
getTeamAccess
final Boolean getTeamAccess()
-
getEmailAddress
final String getEmailAddress()
-
getInboxType
final InboxPreview.InboxType getInboxType()
-
getExpiresAt
final String getExpiresAt()
-
-
-
-