dev.fitko.fitconnect.api.domain.model.attachment.EncryptedAttachment 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.model.attachment;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import java.util.UUID;
@Getter
@EqualsAndHashCode
public class EncryptedAttachment {
private final UUID attachmentId;
private final String content;
/**
* Create a new encrypted attachment.
*
* @param attachmentId the attachmentId that matches with the announced attachmentId in the submissions metadata
* @param content encrypted content of the attachment
*/
public EncryptedAttachment(final UUID attachmentId, final String content) {
this.attachmentId = attachmentId;
this.content = content;
}
}