Skip to content

Commit

Permalink
Let ShareDocumentsRequestEvent compliment ShareDocumentsRequest
Browse files Browse the repository at this point in the history
This will be used e.g. to stop an active sharing, by posting
an update on an existing sharing when the sender no longer
desires access to the shared documents
  • Loading branch information
hermanwh committed Nov 2, 2023
1 parent e3edcc2 commit 5abea5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import lombok.NoArgsConstructor;
import lombok.Value;
import lombok.With;
import no.digipost.api.datatypes.ComplementedBy;
import no.digipost.api.datatypes.DataType;
import no.digipost.api.datatypes.documentation.Description;

Expand All @@ -18,6 +19,7 @@
@NoArgsConstructor(force = true, access = AccessLevel.PRIVATE)
@With
@Description("A request for a user to share one or more documents")
@ComplementedBy({ShareDocumentsRequestEvent.class})
public class ShareDocumentsRequest implements DataType {

@XmlElement(name="max-share-duration-seconds", required = true)
Expand Down

0 comments on commit 5abea5f

Please sign in to comment.