dev.fitko.fitconnect.api.domain.subscriber.ReceivedSubmissionData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
Library that provides client access to the FIT-Connect api-endpoints for sending, subscribing and
routing
package dev.fitko.fitconnect.api.domain.subscriber;
import dev.fitko.fitconnect.api.domain.model.attachment.Attachment;
import dev.fitko.fitconnect.api.domain.model.event.Status;
import dev.fitko.fitconnect.api.domain.model.metadata.Metadata;
import dev.fitko.fitconnect.api.domain.model.submission.Submission;
import lombok.Builder;
import lombok.Value;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
@Value
@Builder
public class ReceivedSubmissionData {
byte[] data;
Metadata metadata;
Submission submission;
Status submissionStatus;
@Builder.Default
List attachments = new ArrayList<>();
@Builder.Default
Map attachmentAuthTags = new HashMap<>();
}