CleanupPolicy class
Artifact policy configuration for repository cleanup policies.
Constructors
- CleanupPolicy({String? action, CleanupPolicyCondition? condition, String? id, CleanupPolicyMostRecentVersions? mostRecentVersions})
- CleanupPolicy.fromJson(Map json_)
Properties
- action ↔ String?
-
Policy action.
Possible string values are:
getter/setter pair
- condition ↔ CleanupPolicyCondition?
-
Policy condition for matching versions.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The user-provided ID of the cleanup policy.
getter/setter pair
- mostRecentVersions ↔ CleanupPolicyMostRecentVersions?
-
Policy condition for retaining a minimum number of versions.
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