github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/GarbageCollectionRules.md (about) 1 # GarbageCollectionRules 2 3 4 ## Properties 5 6 Name | Type | Description | Notes 7 ------------ | ------------- | ------------- | ------------- 8 **default_retention_days** | **int** | | 9 **branches** | [**List[GarbageCollectionRule]**](GarbageCollectionRule.md) | | 10 11 ## Example 12 13 ```python 14 from lakefs_sdk.models.garbage_collection_rules import GarbageCollectionRules 15 16 # TODO update the JSON string below 17 json = "{}" 18 # create an instance of GarbageCollectionRules from a JSON string 19 garbage_collection_rules_instance = GarbageCollectionRules.from_json(json) 20 # print the JSON string representation of the object 21 print GarbageCollectionRules.to_json() 22 23 # convert the object into a dict 24 garbage_collection_rules_dict = garbage_collection_rules_instance.to_dict() 25 # create an instance of GarbageCollectionRules from a dict 26 garbage_collection_rules_form_dict = garbage_collection_rules.from_dict(garbage_collection_rules_dict) 27 ``` 28 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 29 30