Class InboxDocument

java.lang.Object
no.digipost.api.client.representations.inbox.InboxDocument

public class InboxDocument extends Object
  • Field Details

    • id

      protected long id
    • referenceFromSender

      protected String referenceFromSender
    • subject

      protected String subject
    • sender

      protected String sender
    • deliveryTime

      protected ZonedDateTime deliveryTime
    • firstAccessed

      protected ZonedDateTime firstAccessed
    • authenticationLevel

      protected AuthenticationLevel authenticationLevel
    • contentType

      protected String contentType
    • contentUri

      protected URI contentUri
    • deleteUri

      protected URI deleteUri
    • attachments

      protected List<InboxDocument> attachments
  • Constructor Details

    • InboxDocument

      public InboxDocument()
  • Method Details

    • getId

      public long getId()
    • getSubject

      public String getSubject()
    • getSender

      public String getSender()
    • getDeliveryTime

      public ZonedDateTime getDeliveryTime()
    • getFirstAccessed

      public ZonedDateTime getFirstAccessed()
    • getAuthenticationLevel

      public AuthenticationLevel getAuthenticationLevel()
    • getContentType

      public String getContentType()
    • getContentUri

      public URI getContentUri()
    • getDeleteUri

      public URI getDeleteUri()
    • getAttachments

      public List<InboxDocument> getAttachments()
    • getReferenceFromSender

      public Optional<String> getReferenceFromSender()
    • toString

      public String toString()
      Overrides:
      toString in class Object