RetentionPolicy class

RetentionPolicy defines a Backup retention policy for a BackupPlan.

Constructors

RetentionPolicy({int? backupDeleteLockDays, int? backupRetainDays, bool? locked})
RetentionPolicy.fromJson(Map json_)

Properties

backupDeleteLockDays int?
Minimum age for Backups created via this BackupPlan (in days).
getter/setter pair
backupRetainDays int?
The default maximum age of a Backup created via this BackupPlan.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
locked bool?
This flag denotes whether the retention policy of this BackupPlan is locked.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited