Skip to content

Commit b47a04d

Browse files
author
Igor Balos
authored
Merge pull request #28 from Moluss/server-deliveryType
DeliveryType property added to Server
2 parents 0cdc6a0 + d7fd937 commit b47a04d

1 file changed

Lines changed: 15 additions & 6 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: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ public class Server {
2626
private String clickHookUrl;
2727
private String inboundDomain;
2828
private String inboundHash;
29-
private String inboundSpamThreshold;
30-
private String enableSmtpApiErrorHooks;
29+
private Integer inboundSpamThreshold;
30+
private Boolean enableSmtpApiErrorHooks;
31+
private String deliveryType;
3132

3233
// SETTERS AND GETTERS
3334

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

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

3839
public Integer getId() {
3940
return id;
@@ -187,11 +188,19 @@ public void setInboundHash(String inboundHash) {
187188
this.inboundHash = inboundHash;
188189
}
189190

190-
public String getInboundSpamThreshold() {
191+
public Integer getInboundSpamThreshold() {
191192
return inboundSpamThreshold;
192193
}
193194

194-
public void setInboundSpamThreshold(String inboundSpamThreshold) {
195+
public void setInboundSpamThreshold(Integer inboundSpamThreshold) {
195196
this.inboundSpamThreshold = inboundSpamThreshold;
196197
}
198+
199+
public String getDeliveryType() {
200+
return deliveryType;
201+
}
202+
203+
public void setDeliveryType(String deliveryType) {
204+
this.deliveryType = deliveryType;
205+
}
197206
}

0 commit comments

Comments
 (0)