ruạṛ
a ���f6 � @ 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 )�!PullRequestNotificationPreferencez: The notification preference of the pull request. �WATCH�IGNORE�MENTIONc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new PullRequestNotificationPreference object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param pull_request_id: The value to assign to the pull_request_id property of this PullRequestNotificationPreference. :type pull_request_id: str :param user_id: The value to assign to the user_id property of this PullRequestNotificationPreference. :type user_id: str :param notification_preference: The value to assign to the notification_preference property of this PullRequestNotificationPreference. 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)�pull_request_id�user_id�notification_preferenceZ pullRequestIdZuserIdZnotificationPreferenceN)Z swagger_typesZ attribute_map�_pull_request_id�_user_id�_notification_preference)�self�kwargs� r �Z/usr/lib/python3.9/site-packages/oci/devops/models/pull_request_notification_preference.py�__init__ s ��z*PullRequestNotificationPreference.__init__c C s | j S )z� **[Required]** Gets the pull_request_id of this PullRequestNotificationPreference. The ocid of pull request resource :return: The pull_request_id of this PullRequestNotificationPreference. :rtype: str �r �r r r r r B s z1PullRequestNotificationPreference.pull_request_idc C s || _ dS )z� Sets the pull_request_id of this PullRequestNotificationPreference. The ocid of pull request resource :param pull_request_id: The pull_request_id of this PullRequestNotificationPreference. :type: str Nr )r r r r r r N s c C s | j S )z� **[Required]** Gets the user_id of this PullRequestNotificationPreference. The ocid of user. :return: The user_id of this PullRequestNotificationPreference. :rtype: str �r r r r r r Z s z)PullRequestNotificationPreference.user_idc C s || _ dS )z� Sets the user_id of this PullRequestNotificationPreference. The ocid of user. :param user_id: The user_id of this PullRequestNotificationPreference. :type: str Nr )r r r r r r f s c C s | j S )a� **[Required]** Gets the notification_preference of this PullRequestNotificationPreference. The override value of pull request 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 PullRequestNotificationPreference. :rtype: str )r r r r r r r s z9PullRequestNotificationPreference.notification_preferencec C s g d�}t ||�sd}|| _dS )a% Sets the notification_preference of this PullRequestNotificationPreference. The override value of pull request notification preference. :param notification_preference: The notification_preference of this PullRequestNotificationPreference. :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*PullRequestNotificationPreference.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z(PullRequestNotificationPreference.__eq__c C s | |k S r r r r r r �__ne__� s z(PullRequestNotificationPreference.__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