📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
object_storage
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/object_storage/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_retention_rule_details.cpython-39.pyc
a ���f& � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�CreateRetentionRuleDetailsz1 The details to create a retention rule. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new CreateRetentionRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateRetentionRuleDetails. :type display_name: str :param duration: The value to assign to the duration property of this CreateRetentionRuleDetails. :type duration: oci.object_storage.models.Duration :param time_rule_locked: The value to assign to the time_rule_locked property of this CreateRetentionRuleDetails. :type time_rule_locked: datetime �strZDurationZdatetime)�display_name�duration�time_rule_lockedZdisplayNamer ZtimeRuleLockedN)Z swagger_typesZ attribute_map� _display_name� _duration�_time_rule_locked)�self�kwargs� r �[/usr/lib/python3.9/site-packages/oci/object_storage/models/create_retention_rule_details.py�__init__ s ��z#CreateRetentionRuleDetails.__init__c C s | j S )aC Gets the display_name of this CreateRetentionRuleDetails. A user-specified name for the retention rule. Names can be helpful in identifying retention rules. Avoid entering confidential information. :return: The display_name of this CreateRetentionRuleDetails. :rtype: str �r �r r r r r 4 s z'CreateRetentionRuleDetails.display_namec C s || _ dS )aN Sets the display_name of this CreateRetentionRuleDetails. A user-specified name for the retention rule. Names can be helpful in identifying retention rules. Avoid entering confidential information. :param display_name: The display_name of this CreateRetentionRuleDetails. :type: str Nr )r r r r r r A s c C s | j S )z� Gets the duration of this CreateRetentionRuleDetails. :return: The duration of this CreateRetentionRuleDetails. :rtype: oci.object_storage.models.Duration �r r r r r r N s z#CreateRetentionRuleDetails.durationc C s || _ dS )z� Sets the duration of this CreateRetentionRuleDetails. :param duration: The duration of this CreateRetentionRuleDetails. :type: oci.object_storage.models.Duration Nr )r r r r r r X s c C s | j S )aq Gets the time_rule_locked of this CreateRetentionRuleDetails. The date and time as per `RFC 3339`__ after which this rule is locked and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are allowed and no other properties can be changed. This property cannot be updated for rules that are in a locked state. Specifying it when a duration is not specified is considered an error. __ https://tools.ietf.org/html/rfc3339 :return: The time_rule_locked of this CreateRetentionRuleDetails. :rtype: datetime �r r r r r r b s z+CreateRetentionRuleDetails.time_rule_lockedc C s || _ dS )a� Sets the time_rule_locked of this CreateRetentionRuleDetails. The date and time as per `RFC 3339`__ after which this rule is locked and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are allowed and no other properties can be changed. This property cannot be updated for rules that are in a locked state. Specifying it when a duration is not specified is considered an error. __ https://tools.ietf.org/html/rfc3339 :param time_rule_locked: The time_rule_locked of this CreateRetentionRuleDetails. :type: datetime Nr )r r r r r r s s c C s t | �S �N)r r r r r �__repr__� s z#CreateRetentionRuleDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z!CreateRetentionRuleDetails.__eq__c C s | |k S r r r r r r �__ne__� s z!CreateRetentionRuleDetails.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"