ObjectLifecycleRules¶
Object lifecycle rules for a repository. Rules are evaluated independently; an object matched by several rules is expired at the shortest expire_after_days among them and attributed to that rule.
Properties¶
| Name | Type | Description | Notes |
|---|---|---|---|
| rules | List[ObjectLifecycleRule] |
Example¶
from lakefs_enterprise_sdk.models.object_lifecycle_rules import ObjectLifecycleRules
# TODO update the JSON string below
json = "{}"
# create an instance of ObjectLifecycleRules from a JSON string
object_lifecycle_rules_instance = ObjectLifecycleRules.from_json(json)
# print the JSON string representation of the object
print ObjectLifecycleRules.to_json()
# convert the object into a dict
object_lifecycle_rules_dict = object_lifecycle_rules_instance.to_dict()
# create an instance of ObjectLifecycleRules from a dict
object_lifecycle_rules_form_dict = object_lifecycle_rules.from_dict(object_lifecycle_rules_dict)