dev.fitko.fitconnect.api.domain.zbp.message.CreateMessage 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.zbp.message;
import com.fasterxml.jackson.annotation.JsonProperty;
import dev.fitko.fitconnect.api.domain.zbp.attachment.ZBPAttachmentMetadata;
import lombok.Builder;
import lombok.Data;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
@Data
@Builder
public class CreateMessage {
@JsonProperty("mailboxUuid")
private UUID mailboxUuid;
@JsonProperty("applicationId")
private UUID applicationId;
@JsonProperty("stork_qaa_level")
private AuthenticationLevel stork_qaa_level;
@JsonProperty("sender")
private String sender;
@JsonProperty("title")
private String title;
@JsonProperty("content")
private String content;
@JsonProperty("service")
private String service;
@JsonProperty("retrievalConfirmationAddress")
private String retrievalConfirmationAddress;
@JsonProperty("replyAddress")
private String replyAddress;
@JsonProperty("reference")
private String reference;
@JsonProperty("senderUrl")
private URI senderUrl;
@Builder.Default
@JsonProperty("attachments")
private List attachmentMetadata = new ArrayList<>();
}