ruạṛ
a ���fZ � @ 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 )�NotificationPreferenceszK Conditions when met to send notifications on the fleet activities c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new NotificationPreferences object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param topic_id: The value to assign to the topic_id property of this NotificationPreferences. :type topic_id: str :param compartment_id: The value to assign to the compartment_id property of this NotificationPreferences. :type compartment_id: str :param preferences: The value to assign to the preferences property of this NotificationPreferences. :type preferences: oci.fleet_apps_management.models.Preferences �strZPreferences)�topic_id�compartment_id�preferencesZtopicIdZ compartmentIdr N)Z swagger_typesZ attribute_map� _topic_id�_compartment_id�_preferences)�self�kwargs� r �]/usr/lib/python3.9/site-packages/oci/fleet_apps_management/models/notification_preferences.py�__init__ s ��z NotificationPreferences.__init__c C s | j S )z� **[Required]** Gets the topic_id of this NotificationPreferences. Topic Id where the notifications will be directed :return: The topic_id of this NotificationPreferences. :rtype: str �r �r r r r r 4 s z NotificationPreferences.topic_idc C s || _ dS )z� Sets the topic_id of this NotificationPreferences. Topic Id where the notifications will be directed :param topic_id: The topic_id of this NotificationPreferences. :type: str Nr )r r r r r r @ s c C s | j S )a **[Required]** Gets the compartment_id of this NotificationPreferences. Copartment Id of the topic where the notifications will be directed :return: The compartment_id of this NotificationPreferences. :rtype: str �r r r r r r L s z&NotificationPreferences.compartment_idc C s || _ dS )z� Sets the compartment_id of this NotificationPreferences. Copartment Id of the topic where the notifications will be directed :param compartment_id: The compartment_id of this NotificationPreferences. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the preferences of this NotificationPreferences. :return: The preferences of this NotificationPreferences. :rtype: oci.fleet_apps_management.models.Preferences �r r r r r r d s z#NotificationPreferences.preferencesc C s || _ dS )z� Sets the preferences of this NotificationPreferences. :param preferences: The preferences of this NotificationPreferences. :type: oci.fleet_apps_management.models.Preferences Nr )r r r r r r n s c C s t | �S �N)r r r r r �__repr__x s z NotificationPreferences.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__{ s zNotificationPreferences.__eq__c C s | |k S r r r r r r �__ne__� s zNotificationPreferences.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"