PatchRetentionRule class
Constructors
- PatchRetentionRule({PatchRetentionRuleTypeEnum? type = const PatchRetentionRuleTypeEnum._('expire'), int? everySeconds, int? shardGroupDurationSeconds})
- Returns a new PatchRetentionRule instance.
Properties
- everySeconds ↔ int?
-
Duration in seconds for how long data will be kept in the database. 0 means infinite.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Shard duration measured in seconds.
getter/setter pair
- type ↔ PatchRetentionRuleTypeEnum?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → PatchRetentionRule - Returns a new PatchRetentionRule instance and imports
-
listFromJson(
dynamic json, {bool? emptyIsNull, bool? growable}) → List< PatchRetentionRule> ? -
mapFromJson(
dynamic json) → Map< String, PatchRetentionRule?> -
mapListFromJson(
dynamic json, {bool? emptyIsNull, bool? growable}) → Map< String, List< PatchRetentionRule?> ?>