SuppressionCreatedEventData class final
The data of a SuppressionCreatedEvent.
Constructors
- SuppressionCreatedEventData({required String accountId, required String recipient, required DateTime createdAt, required DateTime expiresAt, required String reason, required String sendingDomain, JsonMap raw = const {}})
-
Creates suppression event data.
const
- SuppressionCreatedEventData.fromJson(JsonMap json)
-
Decodes suppression event data from JSON.
factory
Properties
- accountId → String
-
The account ID.
final
- createdAt → DateTime
-
When the suppression was created.
final
- expiresAt → DateTime
-
When the suppression expires, typically 30 days after creation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- raw → JsonMap
-
The JSON object this value was decoded from.
final
- reason → String
-
Why the address was suppressed, for example
Too many hard bounces.final - recipient → String
-
The suppressed address.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendingDomain → String
-
The domain the failed messages were sent from.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → JsonMap - Encodes this object as JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited