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� �Zdd� Z dd� Zdd� ZdS )�UpdateLogDetailsz' Update log object properties. c K sP ddddddd�| _ dd d ddd d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new UpdateLogDetails 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 UpdateLogDetails. :type display_name: str :param is_enabled: The value to assign to the is_enabled property of this UpdateLogDetails. :type is_enabled: bool :param defined_tags: The value to assign to the defined_tags property of this UpdateLogDetails. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this UpdateLogDetails. :type freeform_tags: dict(str, str) :param retention_duration: The value to assign to the retention_duration property of this UpdateLogDetails. :type retention_duration: int :param configuration: The value to assign to the configuration property of this UpdateLogDetails. :type configuration: oci.logging.models.UpdateConfigurationDetails �str�boolzdict(str, dict(str, object))zdict(str, str)�intZUpdateConfigurationDetails)�display_name� is_enabled�defined_tags� freeform_tags�retention_duration� configurationZdisplayNameZ isEnabledZdefinedTagsZfreeformTagsZretentionDurationr N)Z swagger_typesZ attribute_map� _display_name�_is_enabled� _defined_tags�_freeform_tags�_retention_duration�_configuration)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/logging/models/update_log_details.py�__init__ s( � � zUpdateLogDetails.__init__c C s | j S )a4 Gets the display_name of this UpdateLogDetails. The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information. :return: The display_name of this UpdateLogDetails. :rtype: str �r �r r r r r I s zUpdateLogDetails.display_namec C s || _ dS )a? Sets the display_name of this UpdateLogDetails. The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this UpdateLogDetails. :type: str Nr )r r r r r r V s c C s | j S )z� Gets the is_enabled of this UpdateLogDetails. Whether or not this resource is currently enabled. :return: The is_enabled of this UpdateLogDetails. :rtype: bool �r r r r r r c s zUpdateLogDetails.is_enabledc C s || _ dS )z� Sets the is_enabled of this UpdateLogDetails. Whether or not this resource is currently enabled. :param is_enabled: The is_enabled of this UpdateLogDetails. :type: bool Nr )r r r r r r o s c C s | j S )a� Gets the defined_tags of this UpdateLogDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this UpdateLogDetails. :rtype: dict(str, dict(str, object)) �r r r r r r { s zUpdateLogDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this UpdateLogDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this UpdateLogDetails. :type: dict(str, dict(str, object)) Nr )r r r r r r � s c C s | j S )a� Gets the freeform_tags of this UpdateLogDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this UpdateLogDetails. :rtype: dict(str, str) �r r r r r r � s zUpdateLogDetails.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this UpdateLogDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this UpdateLogDetails. :type: dict(str, str) Nr )r r r r r r � s c C s | j S )z� Gets the retention_duration of this UpdateLogDetails. Log retention duration in 30-day increments (30, 60, 90 and so on until 180). :return: The retention_duration of this UpdateLogDetails. :rtype: int �r r r r r r � s z#UpdateLogDetails.retention_durationc C s || _ dS )a Sets the retention_duration of this UpdateLogDetails. Log retention duration in 30-day increments (30, 60, 90 and so on until 180). :param retention_duration: The retention_duration of this UpdateLogDetails. :type: int Nr )r r r r r r � s c C s | j S )z� Gets the configuration of this UpdateLogDetails. :return: The configuration of this UpdateLogDetails. :rtype: oci.logging.models.UpdateConfigurationDetails �r r r r r r � s zUpdateLogDetails.configurationc C s || _ dS )z� Sets the configuration of this UpdateLogDetails. :param configuration: The configuration of this UpdateLogDetails. :type: oci.logging.models.UpdateConfigurationDetails Nr! )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zUpdateLogDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zUpdateLogDetails.__eq__c C s | |k S r"