Class InboxDocument
- java.lang.Object
-
- no.digipost.api.client.representations.inbox.InboxDocument
-
public class InboxDocument extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<InboxDocument>
attachments
protected AuthenticationLevel
authenticationLevel
protected java.lang.String
contentType
protected java.net.URI
contentUri
protected java.net.URI
deleteUri
protected java.time.ZonedDateTime
deliveryTime
protected java.time.ZonedDateTime
firstAccessed
protected long
id
protected java.lang.String
referenceFromSender
protected java.lang.String
sender
protected java.lang.String
subject
-
Constructor Summary
Constructors Constructor Description InboxDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<InboxDocument>
getAttachments()
AuthenticationLevel
getAuthenticationLevel()
java.lang.String
getContentType()
java.net.URI
getContentUri()
java.net.URI
getDeleteUri()
java.time.ZonedDateTime
getDeliveryTime()
java.time.ZonedDateTime
getFirstAccessed()
long
getId()
java.util.Optional<java.lang.String>
getReferenceFromSender()
java.lang.String
getSender()
java.lang.String
getSubject()
java.lang.String
toString()
-
-
-
Field Detail
-
id
protected long id
-
referenceFromSender
protected java.lang.String referenceFromSender
-
subject
protected java.lang.String subject
-
sender
protected java.lang.String sender
-
deliveryTime
protected java.time.ZonedDateTime deliveryTime
-
firstAccessed
protected java.time.ZonedDateTime firstAccessed
-
authenticationLevel
protected AuthenticationLevel authenticationLevel
-
contentType
protected java.lang.String contentType
-
contentUri
protected java.net.URI contentUri
-
deleteUri
protected java.net.URI deleteUri
-
attachments
protected java.util.List<InboxDocument> attachments
-
-
Method Detail
-
getId
public long getId()
-
getSubject
public java.lang.String getSubject()
-
getSender
public java.lang.String getSender()
-
getDeliveryTime
public java.time.ZonedDateTime getDeliveryTime()
-
getFirstAccessed
public java.time.ZonedDateTime getFirstAccessed()
-
getAuthenticationLevel
public AuthenticationLevel getAuthenticationLevel()
-
getContentType
public java.lang.String getContentType()
-
getContentUri
public java.net.URI getContentUri()
-
getDeleteUri
public java.net.URI getDeleteUri()
-
getAttachments
public java.util.List<InboxDocument> getAttachments()
-
getReferenceFromSender
public java.util.Optional<java.lang.String> getReferenceFromSender()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-