BackupPolicy class

backup

Implemented types

Constructors

BackupPolicy({required String $id, required String name, required String $createdAt, required String $updatedAt, required List<String> services, required List<String> resources, String? resourceId, String? resourceType, required int retention, required String schedule, required bool enabled})
BackupPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Policy creation date in ISO 8601 format.
final
$id String
Backup policy ID.
final
$updatedAt String
Policy update date in ISO 8601 format.
final
enabled bool
Is this policy enabled.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Backup policy name.
final
resourceId String?
The resource ID to backup. Set only if this policy should backup a single resource.
final
resources List<String>
The resources that are backed up by this policy.
final
resourceType String?
The resource type to backup. Set only if this policy should backup a single resource.
final
retention int
How many days to keep the backup before it will be automatically deleted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedule String
Policy backup schedule in CRON format.
final
services List<String>
The services that are backed up by this policy.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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