ruạṛ
a ���fF � @ 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 )�GlobalSettingszD Details of the tenancy level global settings in Data Safe. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new GlobalSettings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param is_paid_usage: The value to assign to the is_paid_usage property of this GlobalSettings. :type is_paid_usage: bool :param online_retention_period: The value to assign to the online_retention_period property of this GlobalSettings. :type online_retention_period: int :param offline_retention_period: The value to assign to the offline_retention_period property of this GlobalSettings. :type offline_retention_period: int �bool�int)� is_paid_usage�online_retention_period�offline_retention_periodZisPaidUsageZonlineRetentionPeriodZofflineRetentionPeriodN)Z swagger_typesZ attribute_map�_is_paid_usage�_online_retention_period�_offline_retention_period)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/data_safe/models/global_settings.py�__init__ s ��zGlobalSettings.__init__c C s | j S )z� Gets the is_paid_usage of this GlobalSettings. The paid usage option chosen by the customer admin. :return: The is_paid_usage of this GlobalSettings. :rtype: bool �r �r r r r r 4 s zGlobalSettings.is_paid_usagec C s || _ dS )z� Sets the is_paid_usage of this GlobalSettings. The paid usage option chosen by the customer admin. :param is_paid_usage: The is_paid_usage of this GlobalSettings. :type: bool Nr )r r r r r r @ s c C s | j S )z� Gets the online_retention_period of this GlobalSettings. The online retention period in months. :return: The online_retention_period of this GlobalSettings. :rtype: int �r r r r r r L s z&GlobalSettings.online_retention_periodc C s || _ dS )z� Sets the online_retention_period of this GlobalSettings. The online retention period in months. :param online_retention_period: The online_retention_period of this GlobalSettings. :type: int Nr )r r r r r r X s c C s | j S )z� Gets the offline_retention_period of this GlobalSettings. The offline retention period in months. :return: The offline_retention_period of this GlobalSettings. :rtype: int �r r r r r r d s z'GlobalSettings.offline_retention_periodc C s || _ dS )z� Sets the offline_retention_period of this GlobalSettings. The offline retention period in months. :param offline_retention_period: The offline_retention_period of this GlobalSettings. :type: int Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zGlobalSettings.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zGlobalSettings.__eq__c C s | |k S r r r r r r �__ne__� s zGlobalSettings.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"