o
    ëÉ¶d   ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s~   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	dd„ Z
dd„ Zdd„ ZdS )ÚSuppressionzå
    The configuration details for suppressing an alarm.
    For information about alarms, see `Alarms Overview`__.

    __ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )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

        ÚstrÚdatetime)ÚdescriptionÚtime_suppress_fromÚtime_suppress_untilr	   ZtimeSuppressFromZtimeSuppressUntilN)Zswagger_typesZattribute_mapÚ_descriptionÚ_time_suppress_fromÚ_time_suppress_until)ÚselfÚkwargs© r   úEusr/lib/python3.10/site-packages/oci/monitoring/models/suppression.pyÚ__init__   s   ýý
zSuppression.__init__c                 C   ó   | 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	   7   s   zSuppression.descriptionc                 C   ó
   || _ dS )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	   J   s   
c                 C   r   )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: `2019-02-01T01:02:29.600Z`


        :return: The time_suppress_from of this Suppression.
        :rtype: datetime
        ©r   r   r   r   r   r
   ]   ó   zSuppression.time_suppress_fromc                 C   r   )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: `2019-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
   k   ó   
c                 C   r   )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: `2019-02-01T02:02:29.600Z`


        :return: The time_suppress_until of this Suppression.
        :rtype: datetime
        ©r   r   r   r   r   r   y   r   zSuppression.time_suppress_untilc                 C   r   )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: `2019-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   ‡   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__•   s   zSuppression.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__˜   s   zSuppression.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__ž   s   
zSuppression.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   r   r!   r"   r   r   r   r   r      s$    "





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   