Class Archive
java.lang.Object
no.digipost.api.client.representations.Representation
no.digipost.api.client.representations.archive.Archive
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ArchiveDocument>protected Stringprotected Longprotected SenderOrganizationFields inherited from class no.digipost.api.client.representations.Representation
links -
Constructor Summary
ConstructorsConstructorDescriptionArchive()Archive(SenderOrganization senderOrganization, Long senderId, String name, List<Link> links, List<ArchiveDocument> documents) -
Method Summary
Modifier and TypeMethodDescriptionstatic Archive.ArchiveBuildergetLinks()getName()getNextDocumentsWithAttributes(Map<String, String> attributes) getNextDocumentsWithAttributesByDate(Map<String, String> attributes, OffsetDateTime from, OffsetDateTime to) static Archive.ArchiveBuildernamedArchive(String archiveName) protected voidvoidMethods inherited from class no.digipost.api.client.representations.Representation
addLink, getLinkByRelationName
-
Field Details
-
senderOrganization
-
senderId
-
name
-
documents
-
-
Constructor Details
-
Archive
public Archive() -
Archive
public Archive(SenderOrganization senderOrganization, Long senderId, String name, List<Link> links, List<ArchiveDocument> documents)
-
-
Method Details
-
defaultArchive
-
namedArchive
-
getSenderOrganization
-
setSenderOrganization
-
getSenderId
-
getName
-
getLinks
-
setLink
-
getDocuments
-
getNextDocuments
-
getNextDocumentsWithAttributes
-
getNextDocumentsWithAttributesByDate
public Optional<URI> getNextDocumentsWithAttributesByDate(Map<String, String> attributes, OffsetDateTime from, OffsetDateTime to) -
getNextDocumentsByDate
-