SnapshotPolicy class

Snapshot Policy for a volume.

Constructors

SnapshotPolicy.new({DailySchedule? dailySchedule, bool? enabled, HourlySchedule? hourlySchedule, MonthlySchedule? monthlySchedule, WeeklySchedule? weeklySchedule})
SnapshotPolicy.fromJson(Map json_)

Properties

dailySchedule DailySchedule?
Daily schedule policy.
getter/setter pair
enabled bool?
If enabled, make snapshots automatically according to the schedules.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hourlySchedule HourlySchedule?
Hourly schedule policy.
getter/setter pair
monthlySchedule MonthlySchedule?
Monthly schedule policy.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weeklySchedule WeeklySchedule?
Weekly schedule policy.
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.
inherited

Operators

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