Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
object_storage
models
__pycache__
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: 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 )�RetentionRuleDetailsz; The details to create or update a retention rule. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new RetentionRuleDetails 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 RetentionRuleDetails. :type display_name: str :param duration: The value to assign to the duration property of this RetentionRuleDetails. :type duration: oci.object_storage.models.Duration :param time_rule_locked: The value to assign to the time_rule_locked property of this RetentionRuleDetails. :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 �T/usr/lib/python3.9/site-packages/oci/object_storage/models/retention_rule_details.py�__init__ s ��zRetentionRuleDetails.__init__c C s | j S )a7 Gets the display_name of this RetentionRuleDetails. 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 RetentionRuleDetails. :rtype: str �r �r r r r r 4 s z!RetentionRuleDetails.display_namec C s || _ dS )aB Sets the display_name of this RetentionRuleDetails. 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 RetentionRuleDetails. :type: str Nr )r r r r r r A s c C s | j S )z� Gets the duration of this RetentionRuleDetails. :return: The duration of this RetentionRuleDetails. :rtype: oci.object_storage.models.Duration �r r r r r r N s zRetentionRuleDetails.durationc C s || _ dS )z� Sets the duration of this RetentionRuleDetails. :param duration: The duration of this RetentionRuleDetails. :type: oci.object_storage.models.Duration Nr )r r r r r r X s c C s | j S )ae Gets the time_rule_locked of this RetentionRuleDetails. 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 RetentionRuleDetails. :rtype: datetime �r r r r r r b s z%RetentionRuleDetails.time_rule_lockedc C s || _ dS )at Sets the time_rule_locked of this RetentionRuleDetails. 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 RetentionRuleDetails. :type: datetime Nr )r r r r r r s s c C s t | �S �N)r r r r r �__repr__� s zRetentionRuleDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zRetentionRuleDetails.__eq__c C s | |k S r r r r r r �__ne__� s zRetentionRuleDetails.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"