| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/devops/models/__pycache__/ |
Upload File : |
a
���f} � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�PullRequestActivitySummary� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d
� Z dd� Z
d
S )�CommentActivitySummaryz@
activity describing comment addition to a pull request
c K sV ddddddd�| _ 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
r Z
pullRequestIdZtimeOccurredZactivityTypeZ 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__c C s | j S )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 �r r r r r L s
z!CommentActivitySummary.comment_idc C s
|| _ 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 )r r r r r r X s
c C s t | �S �N)r r r r r �__repr__d s zCommentActivitySummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__g s zCommentActivitySummary.__eq__c C s
| |k S r r r r r r �__ne__m s zCommentActivitySummary.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s :
r N) Zpull_request_activity_summaryr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s