DataRetentionPolicy class abstract
DataRetentionPolicy
Properties:
- displayName - The display name for this retention policy.
- postDuration - The number of days a message will be retained before being deleted by this policy. If this value is less than 0, the policy has infinite retention (i.e. messages are never deleted).
- id - The ID of this retention policy.
Constructors
- DataRetentionPolicy([void updates(DataRetentionPolicyBuilder b)])
-
factory
Properties
- displayName → String?
-
The display name for this retention policy.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The ID of this retention policy.
no setter
- postDuration → int?
-
The number of days a message will be retained before being deleted by this policy. If this value is less than 0, the policy has infinite retention (i.e. messages are never deleted).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(DataRetentionPolicyBuilder)) → DataRetentionPolicy -
Rebuilds the instance.
inherited
-
toBuilder(
) → DataRetentionPolicyBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
DataRetentionPolicy> -
no setter