Skip to content
Snippets Groups Projects
Commit a206b2e8 authored by OZGCloud's avatar OZGCloud
Browse files

Merge remote-tracking branch 'origin/master' into OZG-5666-FixAttachmentMapping

parents ee4e926d da2818a3
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,11 @@ package de.ozgcloud.nachrichten.postfach;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;
@Getter
@Builder
@ToString
public class PostfachAddress {
public static final String VERSION_FIELD = "version";
......
......@@ -31,9 +31,11 @@ import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;
@Builder(toBuilder = true)
@Getter
@ToString
public class PostfachNachricht {
public enum ReplyOption {
......@@ -82,12 +84,15 @@ public class PostfachNachricht {
private Direction direction;
@ToString.Exclude
private String subject;
@ToString.Exclude
private String mailBody;
@NotNull
private ReplyOption replyOption;
@Builder.Default
@ToString.Exclude
private List<String> attachments = Collections.emptyList();
}
\ No newline at end of file
......@@ -13,4 +13,9 @@ public class StringBasedIdentifier implements PostfachAddressIdentifier {
public boolean isStringBasedIdentifier() {
return true;
}
@Override
public String toString() {
return postfachId;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment