Skip to content

LifecyclePolicies

Branch lifecycle policies for a repository. When a branch matches more than one policy, the first matching policy by array position wins.

Properties

Name Type Description Notes
policies List[LifecyclePolicy]

Example

from lakefs_enterprise_sdk.models.lifecycle_policies import LifecyclePolicies

# TODO update the JSON string below
json = "{}"
# create an instance of LifecyclePolicies from a JSON string
lifecycle_policies_instance = LifecyclePolicies.from_json(json)
# print the JSON string representation of the object
print LifecyclePolicies.to_json()

# convert the object into a dict
lifecycle_policies_dict = lifecycle_policies_instance.to_dict()
# create an instance of LifecyclePolicies from a dict
lifecycle_policies_form_dict = lifecycle_policies.from_dict(lifecycle_policies_dict)