HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/devops/models/__pycache__/comment_activity_summary.cpython-39.pyc
a

���f}�@sDddlmZddlmZmZmZddlmZeGdd�de��ZdS)�)�PullRequestActivitySummary�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sJeZdZdZdd�Zedd��Zejdd��Zdd�Zd	d
�Z	dd�Z
d
S)�CommentActivitySummaryz@
    activity describing comment addition to a pull request
    cKsVddddddd�|_ddddd	d
d�|_d|_d|_d|_d|_d|_d|_d|_dS)
a�
        Initializes a new CommentActivitySummary object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.CommentActivitySummary.activity_type` attribute
        of this class is ``COMMENT`` and it should not be changed.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this CommentActivitySummary.
        :type id: str

        :param principal:
            The value to assign to the principal property of this CommentActivitySummary.
        :type principal: oci.devops.models.PrincipalDetails

        :param pull_request_id:
            The value to assign to the pull_request_id property of this CommentActivitySummary.
        :type pull_request_id: str

        :param time_occurred:
            The value to assign to the time_occurred property of this CommentActivitySummary.
        :type time_occurred: datetime

        :param activity_type:
            The value to assign to the activity_type property of this CommentActivitySummary.
            Allowed values for this property are: "LIFECYCLE", "APPROVAL", "COMMIT", "REVIEWER", "COMMENT"
        :type activity_type: str

        :param comment_id:
            The value to assign to the comment_id property of this CommentActivitySummary.
        :type comment_id: str

        �strZPrincipalDetailsZdatetime)�id�	principalZpull_request_idZ
time_occurredZ
activity_type�
comment_idr
rZ
pullRequestIdZtimeOccurredZactivityTypeZ	commentIdN�COMMENT)Z
swagger_typesZ
attribute_mapZ_idZ
_principalZ_pull_request_idZ_time_occurredZ_activity_type�_comment_id)�self�kwargs�r�N/usr/lib/python3.9/site-packages/oci/devops/models/comment_activity_summary.py�__init__s*!�
�	zCommentActivitySummary.__init__cCs|jS)z�
        **[Required]** Gets the comment_id of this CommentActivitySummary.
        Identifier of comment added to a PR


        :return: The comment_id of this CommentActivitySummary.
        :rtype: str
        �r�rrrrrLs
z!CommentActivitySummary.comment_idcCs
||_dS)z�
        Sets the comment_id of this CommentActivitySummary.
        Identifier of comment added to a PR


        :param comment_id: The comment_id of this CommentActivitySummary.
        :type: str
        Nr)rrrrrrXs
cCst|�S�N)rrrrr�__repr__dszCommentActivitySummary.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__gszCommentActivitySummary.__eq__cCs
||kSrrrrrr�__ne__mszCommentActivitySummary.__ne__N)�__name__�
__module__�__qualname__�__doc__r�propertyr�setterrrrrrrrrs:

rN)	Zpull_request_activity_summaryrZoci.utilrrrZoci.decoratorsrrrrrr�<module>s