| 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 : /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/ |
Upload File : |
a
���f�F � @ 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 ZdZdZdZdZdZdZdZ dd � Z
ed
d� �Zej
dd� �Zed
d� �Zej
dd� �Zedd� �Zej
dd� �Zedd� �Zej
dd� �Zedd� �Zej
dd� �Zedd� �Zej
dd� �Zedd� �Zej
dd� �Zedd � �Zej
d!d � �Zed"d#� �Zej
d$d#� �Zed%d&� �Zej
d'd&� �Zed(d)� �Zej
d*d)� �Zed+d,� �Zej
d-d,� �Zed.d/� �Zej
d0d/� �Zed1d2� �Zej
d3d2� �Zed4d5� �Zej
d6d5� �Zed7d8� �Zej
d9d8� �Zd:d;� Zd<d=� Zd>d?� Zd@S )A�PullRequestCommentzL
User comments created by reviewers during the pull request review.
�SOURCE�DESTINATION�ACTIVE�OUTDATED� PROCESSED�NEEDS_PROCESSINGc K s� ddddddddddddddddd�| _ dd d
ddd
ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _d| _d| _dS )a�
Initializes a new PullRequestComment object with values from keyword arguments.
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 PullRequestComment.
:type id: str
:param pull_request_id:
The value to assign to the pull_request_id property of this PullRequestComment.
:type pull_request_id: str
:param data:
The value to assign to the data property of this PullRequestComment.
:type data: str
:param parent_id:
The value to assign to the parent_id property of this PullRequestComment.
:type parent_id: str
:param file_path:
The value to assign to the file_path property of this PullRequestComment.
:type file_path: str
:param commit_id:
The value to assign to the commit_id property of this PullRequestComment.
:type commit_id: str
:param file_type:
The value to assign to the file_type property of this PullRequestComment.
Allowed values for this property are: "SOURCE", "DESTINATION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type file_type: str
:param line_number:
The value to assign to the line_number property of this PullRequestComment.
:type line_number: int
:param likes:
The value to assign to the likes property of this PullRequestComment.
:type likes: oci.devops.models.PullRequestCommentLikeCollection
:param status:
The value to assign to the status property of this PullRequestComment.
Allowed values for this property are: "ACTIVE", "OUTDATED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type status: str
:param time_created:
The value to assign to the time_created property of this PullRequestComment.
:type time_created: datetime
:param created_by:
The value to assign to the created_by property of this PullRequestComment.
:type created_by: oci.devops.models.PrincipalDetails
:param time_updated:
The value to assign to the time_updated property of this PullRequestComment.
:type time_updated: datetime
:param updated_by:
The value to assign to the updated_by property of this PullRequestComment.
:type updated_by: oci.devops.models.PrincipalDetails
:param context_status:
The value to assign to the context_status property of this PullRequestComment.
Allowed values for this property are: "PROCESSED", "NEEDS_PROCESSING", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type context_status: str
:param comment_context:
The value to assign to the comment_context property of this PullRequestComment.
:type comment_context: list[oci.devops.models.DiffLineDetails]
�str�intZ PullRequestCommentLikeCollectionZdatetimeZPrincipalDetailszlist[DiffLineDetails])�id�pull_request_id�data� parent_id� file_path� commit_id� file_type�line_number�likes�status�time_created�
created_by�time_updated�
updated_by�context_status�comment_contextr Z
pullRequestIdr ZparentIdZfilePathZcommitIdZfileTypeZ
lineNumberr r ZtimeCreatedZ createdByZtimeUpdatedZ updatedByZ
contextStatusZcommentContextN)Z
swagger_typesZ
attribute_map�_id�_pull_request_id�_data�
_parent_id�
_file_path�
_commit_id�
_file_type�_line_number�_likes�_status�
_time_created�_created_by�
_time_updated�_updated_by�_context_status�_comment_context)�self�kwargs� r1 �J/usr/lib/python3.9/site-packages/oci/devops/models/pull_request_comment.py�__init__* sd M��zPullRequestComment.__init__c C s | j S )z�
**[Required]** Gets the id of this PullRequestComment.
Unique identifier that is immutable on creation
:return: The id of this PullRequestComment.
:rtype: str
�r �r/ r1 r1 r2 r � s
zPullRequestComment.idc C s
|| _ dS )z�
Sets the id of this PullRequestComment.
Unique identifier that is immutable on creation
:param id: The id of this PullRequestComment.
:type: str
Nr4 )r/ r r1 r1 r2 r � s
c C s | j S )z�
**[Required]** Gets the pull_request_id of this PullRequestComment.
OCID of the pull request that this comment belongs to
:return: The pull_request_id of this PullRequestComment.
:rtype: str
�r r5 r1 r1 r2 r � s
z"PullRequestComment.pull_request_idc C s
|| _ dS )z�
Sets the pull_request_id of this PullRequestComment.
OCID of the pull request that this comment belongs to
:param pull_request_id: The pull_request_id of this PullRequestComment.
:type: str
Nr6 )r/ r r1 r1 r2 r � s
c C s | j S )z�
**[Required]** Gets the data of this PullRequestComment.
Content of the Comment.
:return: The data of this PullRequestComment.
:rtype: str
�r! r5 r1 r1 r2 r � s
zPullRequestComment.datac C s
|| _ dS )z�
Sets the data of this PullRequestComment.
Content of the Comment.
:param data: The data of this PullRequestComment.
:type: str
Nr7 )r/ r r1 r1 r2 r � s
c C s | j S )z�
Gets the parent_id of this PullRequestComment.
ID of parent Comment
:return: The parent_id of this PullRequestComment.
:rtype: str
�r"