ruạṛ
a ���fQ � @ 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 )�Suppressiona6 The configuration details for an alarm-wide suppression. For dimension-specific suppressions, see :class:`AlarmSuppression`. For information about alarms, see `Alarms Overview`__. __ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new Suppression object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param description: The value to assign to the description property of this Suppression. :type description: str :param time_suppress_from: The value to assign to the time_suppress_from property of this Suppression. :type time_suppress_from: datetime :param time_suppress_until: The value to assign to the time_suppress_until property of this Suppression. :type time_suppress_until: datetime �strZdatetime)�description�time_suppress_from�time_suppress_untilr ZtimeSuppressFromZtimeSuppressUntilN)Z swagger_typesZ attribute_map�_description�_time_suppress_from�_time_suppress_until)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/monitoring/models/suppression.py�__init__ s ��zSuppression.__init__c C s | j S )a� Gets the description of this Suppression. Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. Oracle recommends including tracking information for the event or associated work, such as a ticket number. Example: `Planned outage due to change IT-1234.` :return: The description of this Suppression. :rtype: str �r �r r r r r 9 s zSuppression.descriptionc C s || _ dS )a� Sets the description of this Suppression. Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. Oracle recommends including tracking information for the event or associated work, such as a ticket number. Example: `Planned outage due to change IT-1234.` :param description: The description of this Suppression. :type: str Nr )r r r r r r L s c C s | j S )a? **[Required]** Gets the time_suppress_from of this Suppression. The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` :return: The time_suppress_from of this Suppression. :rtype: datetime �r r r r r r _ s zSuppression.time_suppress_fromc C s || _ dS )aA Sets the time_suppress_from of this Suppression. The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` :param time_suppress_from: The time_suppress_from of this Suppression. :type: datetime Nr )r r r r r r m s c C s | j S )a? **[Required]** Gets the time_suppress_until of this Suppression. The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` :return: The time_suppress_until of this Suppression. :rtype: datetime �r r r r r r { s zSuppression.time_suppress_untilc C s || _ dS )aB Sets the time_suppress_until of this Suppression. The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` :param time_suppress_until: The time_suppress_until of this Suppression. :type: datetime Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zSuppression.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zSuppression.__eq__c C s | |k S r r r r r r �__ne__� s zSuppression.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"