ruạṛ
a ���fo � @ 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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�ProjectNotificationPreferencez5 The notification preference of the project. �WATCH�IGNORE�MENTIONc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new ProjectNotificationPreference object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param project_id: The value to assign to the project_id property of this ProjectNotificationPreference. :type project_id: str :param user_id: The value to assign to the user_id property of this ProjectNotificationPreference. :type user_id: str :param notification_preference: The value to assign to the notification_preference property of this ProjectNotificationPreference. Allowed values for this property are: "WATCH", "IGNORE", "MENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type notification_preference: str �str)� project_id�user_id�notification_preferenceZ projectIdZuserIdZnotificationPreferenceN)Z swagger_typesZ attribute_map�_project_id�_user_id�_notification_preference)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/devops/models/project_notification_preference.py�__init__ s ��z&ProjectNotificationPreference.__init__c C s | j S )z� **[Required]** Gets the project_id of this ProjectNotificationPreference. The ocid of project resource :return: The project_id of this ProjectNotificationPreference. :rtype: str �r �r r r r r B s z(ProjectNotificationPreference.project_idc C s || _ dS )z� Sets the project_id of this ProjectNotificationPreference. The ocid of project resource :param project_id: The project_id of this ProjectNotificationPreference. :type: str Nr )r r r r r r N s c C s | j S )z� **[Required]** Gets the user_id of this ProjectNotificationPreference. The ocid of user. :return: The user_id of this ProjectNotificationPreference. :rtype: str �r r r r r r Z s z%ProjectNotificationPreference.user_idc C s || _ dS )z� Sets the user_id of this ProjectNotificationPreference. The ocid of user. :param user_id: The user_id of this ProjectNotificationPreference. :type: str Nr )r r r r r r f s c C s | j S )a� **[Required]** Gets the notification_preference of this ProjectNotificationPreference. The override value of project notification preference. Allowed values for this property are: "WATCH", "IGNORE", "MENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The notification_preference of this ProjectNotificationPreference. :rtype: str )r r r r r r r s z5ProjectNotificationPreference.notification_preferencec C s g d�}t ||�sd}|| _dS )a Sets the notification_preference of this ProjectNotificationPreference. The override value of project notification preference. :param notification_preference: The notification_preference of this ProjectNotificationPreference. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s z&ProjectNotificationPreference.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z$ProjectNotificationPreference.__eq__c C s | |k S r r r r r r �__ne__� s z$ProjectNotificationPreference.__ne__N)�__name__� __module__�__qualname__�__doc__ZNOTIFICATION_PREFERENCE_WATCHZNOTIFICATION_PREFERENCE_IGNOREZNOTIFICATION_PREFERENCE_MENTIONr �propertyr �setterr r r r r r r r r r s( $ r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn