Skip to content

Commit 588bf37

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

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
@@ -27,14 +27,14 @@ public class Server {
2727
private String inboundDomain;
2828
private String inboundHash;
2929
private String inboundSpamThreshold;
30-
private String enableSmtpApiErrorHooks;
30+
private Boolean enableSmtpApiErrorHooks;
3131
private String deliveryType;
3232

3333
// SETTERS AND GETTERS
3434

35-
public String getEnableSmtpApiErrorHooks() { return enableSmtpApiErrorHooks; }
35+
public Boolean getEnableSmtpApiErrorHooks() { return enableSmtpApiErrorHooks; }
3636

37-
public void setEnableSmtpApiErrorHooks(String enableSmtpApiErrorHooks) { this.enableSmtpApiErrorHooks = enableSmtpApiErrorHooks; }
37+
public void setEnableSmtpApiErrorHooks(Boolean enableSmtpApiErrorHooks) { this.enableSmtpApiErrorHooks = enableSmtpApiErrorHooks; }
3838

3939
public Integer getId() {
4040
return id;

0 commit comments

Comments
 (0)