ruạṛ
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 ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) � RetentionRulez* The details of a retention rule. c K sZ dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new RetentionRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this RetentionRule. :type id: str :param display_name: The value to assign to the display_name property of this RetentionRule. :type display_name: str :param duration: The value to assign to the duration property of this RetentionRule. :type duration: oci.object_storage.models.Duration :param etag: The value to assign to the etag property of this RetentionRule. :type etag: str :param time_rule_locked: The value to assign to the time_rule_locked property of this RetentionRule. :type time_rule_locked: datetime :param time_created: The value to assign to the time_created property of this RetentionRule. :type time_created: datetime :param time_modified: The value to assign to the time_modified property of this RetentionRule. :type time_modified: datetime �strZDurationZdatetime)�id�display_name�duration�etag�time_rule_locked�time_created� time_modifiedr ZdisplayNamer r ZtimeRuleLockedZtimeCreatedZtimeModifiedN) Z swagger_typesZ attribute_map�_id� _display_name� _duration�_etag�_time_rule_locked� _time_created�_time_modified)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/object_storage/models/retention_rule.py�__init__ s. #�� zRetentionRule.__init__c C s | j S )z� **[Required]** Gets the id of this RetentionRule. Unique identifier for the retention rule. :return: The id of this RetentionRule. :rtype: str �r �r r r r r P s zRetentionRule.idc C s || _ dS )z� Sets the id of this RetentionRule. Unique identifier for the retention rule. :param id: The id of this RetentionRule. :type: str Nr )r r r r r r \ s c C s | j S )z� **[Required]** Gets the display_name of this RetentionRule. User specified name for the retention rule. :return: The display_name of this RetentionRule. :rtype: str �r r r r r r h s zRetentionRule.display_namec C s || _ dS )z� Sets the display_name of this RetentionRule. User specified name for the retention rule. :param display_name: The display_name of this RetentionRule. :type: str Nr )r r r r r r t s c C s | j S )z� Gets the duration of this RetentionRule. :return: The duration of this RetentionRule. :rtype: oci.object_storage.models.Duration �r r r r r r � s zRetentionRule.durationc C s || _ dS )z� Sets the duration of this RetentionRule. :param duration: The duration of this RetentionRule. :type: oci.object_storage.models.Duration Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the etag of this RetentionRule. The entity tag (ETag) for the retention rule. :return: The etag of this RetentionRule. :rtype: str �r r r r r r � s zRetentionRule.etagc C s || _ dS )z� Sets the etag of this RetentionRule. The entity tag (ETag) for the retention rule. :param etag: The etag of this RetentionRule. :type: str Nr )r r r r r r � s c C s | j S )aV Gets the time_rule_locked of this RetentionRule. The date and time as per `RFC 3339`__ after which this rule becomes locked. and can only be deleted by deleting the bucket. __ https://tools.ietf.org/html/rfc3339 :return: The time_rule_locked of this RetentionRule. :rtype: datetime �r r r r r r � s zRetentionRule.time_rule_lockedc C s || _ dS )ae Sets the time_rule_locked of this RetentionRule. The date and time as per `RFC 3339`__ after which this rule becomes locked. and can only be deleted by deleting the bucket. __ https://tools.ietf.org/html/rfc3339 :param time_rule_locked: The time_rule_locked of this RetentionRule. :type: datetime Nr )r r r r r r � s c C s | j S )a# **[Required]** Gets the time_created of this RetentionRule. The date and time that the retention rule was created as per `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this RetentionRule. :rtype: datetime �r r r r r r � s zRetentionRule.time_createdc C s || _ dS )a Sets the time_created of this RetentionRule. The date and time that the retention rule was created as per `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this RetentionRule. :type: datetime Nr! )r r r r r r � s c C s | j S )a& **[Required]** Gets the time_modified of this RetentionRule. The date and time that the retention rule was modified as per `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_modified of this RetentionRule. :rtype: datetime �r r r r r r � s zRetentionRule.time_modifiedc C s || _ dS )a# Sets the time_modified of this RetentionRule. The date and time that the retention rule was modified as per `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_modified: The time_modified of this RetentionRule. :type: datetime Nr"