DataRetentionPolicyCreate class abstract

DataRetentionPolicyCreate

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).
  • teamIds - The IDs of the teams to which this policy should be applied.
  • channelIds - The IDs of the channels to which this policy should be applied.

Constructors

DataRetentionPolicyCreate([void updates(DataRetentionPolicyCreateBuilder b)])
factory

Properties

channelIds → BuiltList<String>?
The IDs of the channels to which this policy should be applied.
no setter
displayName String
The display name for this retention policy.
no setter
hashCode int
The hash code for this object.
no setterinherited
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
teamIds → BuiltList<String>?
The IDs of the teams to which this policy should be applied.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(DataRetentionPolicyCreateBuilder)) DataRetentionPolicyCreate
Rebuilds the instance.
inherited
toBuilder() DataRetentionPolicyCreateBuilder
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<DataRetentionPolicyCreate>
no setter