You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Whether the recipient requested to not receive any transactional messages
48
56
* At a minimum, transactional or non_transactional is required upon creation of the entry.
57
+
*
58
+
* @deprecated Use Type instead
49
59
*/
60
+
@Deprecated
50
61
@Description(
51
62
value = "Whether the recipient requested to not receive any transactional messages. At a minimum, transactional or non_transactional is required upon creation of the entry.",
52
63
sample = {"true"})
@@ -55,15 +66,19 @@ public SuppressionListEntry(SuppressionListEntry entry) {
55
66
/**
56
67
* Whether the recipient requested to not receive any non-transactional messages
57
68
* At a minimum, transactional or non_transactional is required upon creation of the entry.
69
+
*
70
+
* @deprecated Use Type instead
58
71
*/
59
72
@Description(
60
73
value = "Whether the recipient requested to not receive any non-transactional messages. At a minimum, transactional or non_transactional is required upon creation of the entry.",
61
74
sample = {"false"})
62
75
@SerializedName("non_transactional")
76
+
@Deprecated
63
77
privatebooleannonTransactional;
64
78
65
79
/**
66
-
* Source responsible for inserting the list entry. Valid values include: FBL, List Unsubscribe, Bounce Rule, Unsubscribe Link, Manually Added, Compliance
80
+
* Source responsible for inserting the list entry. Valid values include: Spam Complaint, List Unsubscribe, Bounce Rule, Unsubscribe Link, Manually Added,
81
+
* Compliance
67
82
* defaults to Manually Added on create
68
83
* See StatusTypes
69
84
*/
@@ -75,7 +90,23 @@ public SuppressionListEntry(SuppressionListEntry entry) {
75
90
/**
76
91
* Short explanation of the suppression
77
92
*/
78
-
@Description(value = "Short explanation of the suppression", sample = {""})
93
+
@Description(value = "Short explanation of the suppression", sample = {"Unsubscribed using list unsubscribe header"})
79
94
privateStringdescription;
80
95
96
+
@Description(value = "Type of suppression record. See TypeTypes", sample = {"transactional or non_transactional"})
97
+
privateStringtype;
98
+
99
+
@Description(value = "Email address to be suppressed", sample = {"[email protected]"})
100
+
privateStringrecipient;
101
+
102
+
@Description(value = "Date suppression was created", sample = {"2017-10-01T12:00:00+00:00"})
103
+
privateStringcreated;
104
+
105
+
@Description(value = "Last time the suppression was updated", sample = {"2017-10-01T12:00:00+00:00"})
106
+
privateStringupdated;
107
+
108
+
@Description(value = "Which subaccount the recipient is suppressed for. Only returned if suppressed for a specific subaccount.", sample = {"0"})
Copy file name to clipboardexpand all lines: libs/sparkpost-lib/src/main/java/com/sparkpost/model/TransmissionBase.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ public final static class TransmissionStates {
72
72
@Description(
73
73
value = "Transmission level metadata containing key/value pairs. Metadata is available during events through the Webhooks and is provided to the substitution engine. A maximum of 1000 bytes of merged metadata (transmission level + recipient level) is available with recipient metadata taking precedence over transmission metadata when there are conflicts.",
74
74
sample = {""})
75
-
privateMap<String, String> metadata = null;
75
+
privateMap<String, Object> metadata = null;
76
76
77
77
/**
78
78
* Key/value pairs that are provided to the substitution engine
0 commit comments