Skip to content

Commit d7fd937

Browse files
Fix: inboundSpamThreshold should be Integer
Changed inboundSpamThreshold from type String to type Integer as the documentation states: https://postmarkapp.com/developer/api/servers-api
1 parent 588bf37 commit d7fd937

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/main/java/com/wildbit/java/postmark/client/data/model/server

src/main/java/com/wildbit/java/postmark/client/data/model/server/Server.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Server {
2626
private String clickHookUrl;
2727
private String inboundDomain;
2828
private String inboundHash;
29-
private String inboundSpamThreshold;
29+
private Integer inboundSpamThreshold;
3030
private Boolean enableSmtpApiErrorHooks;
3131
private String deliveryType;
3232

@@ -188,11 +188,11 @@ public void setInboundHash(String inboundHash) {
188188
this.inboundHash = inboundHash;
189189
}
190190

191-
public String getInboundSpamThreshold() {
191+
public Integer getInboundSpamThreshold() {
192192
return inboundSpamThreshold;
193193
}
194194

195-
public void setInboundSpamThreshold(String inboundSpamThreshold) {
195+
public void setInboundSpamThreshold(Integer inboundSpamThreshold) {
196196
this.inboundSpamThreshold = inboundSpamThreshold;
197197
}
198198

0 commit comments

Comments
 (0)