403Webshell
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 :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/devops/models/__pycache__/pull_request_comment.cpython-39.pyc
a

���f�F�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dd	�Z
ed
d��Zej
dd��Zed
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_PROCESSINGcKs�ddddddddddddddddd�|_dd	d
ddd
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_contextrZ
pullRequestIdrZparentIdZfilePathZcommitIdZfileTypeZ
lineNumberrrZtimeCreatedZ	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__*sdM��zPullRequestComment.__init__cCs|jS)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/r1r1r2r�s
zPullRequestComment.idcCs
||_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/rr1r1r2r�s
cCs|jS)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 r5r1r1r2r�s
z"PullRequestComment.pull_request_idcCs
||_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/rr1r1r2r�s
cCs|jS)z�
        **[Required]** Gets the data of this PullRequestComment.
        Content of the Comment.


        :return: The data of this PullRequestComment.
        :rtype: str
        �r!r5r1r1r2r�s
zPullRequestComment.datacCs
||_dS)z�
        Sets the data of this PullRequestComment.
        Content of the Comment.


        :param data: The data of this PullRequestComment.
        :type: str
        Nr7)r/rr1r1r2r�s
cCs|jS)z�
        Gets the parent_id of this PullRequestComment.
        ID of parent Comment


        :return: The parent_id of this PullRequestComment.
        :rtype: str
        �r"r5r1r1r2r�s
zPullRequestComment.parent_idcCs
||_dS)z�
        Sets the parent_id of this PullRequestComment.
        ID of parent Comment


        :param parent_id: The parent_id of this PullRequestComment.
        :type: str
        Nr8)r/rr1r1r2rs
cCs|jS)z�
        Gets the file_path of this PullRequestComment.
        File path in the commit


        :return: The file_path of this PullRequestComment.
        :rtype: str
        �r#r5r1r1r2r
s
zPullRequestComment.file_pathcCs
||_dS)z�
        Sets the file_path of this PullRequestComment.
        File path in the commit


        :param file_path: The file_path of this PullRequestComment.
        :type: str
        Nr9)r/rr1r1r2rs
cCs|jS)z�
        Gets the commit_id of this PullRequestComment.
        Commit SHA


        :return: The commit_id of this PullRequestComment.
        :rtype: str
        �r$r5r1r1r2r%s
zPullRequestComment.commit_idcCs
||_dS)z�
        Sets the commit_id of this PullRequestComment.
        Commit SHA


        :param commit_id: The commit_id of this PullRequestComment.
        :type: str
        Nr:)r/rr1r1r2r1s
cCs|jS)at
        Gets the file_type of this PullRequestComment.
        File path in the target commit

        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'.


        :return: The file_type of this PullRequestComment.
        :rtype: str
        )r%r5r1r1r2r=s
zPullRequestComment.file_typecCs ddg}t||�sd}||_dS)z�
        Sets the file_type of this PullRequestComment.
        File path in the target commit


        :param file_type: The file_type of this PullRequestComment.
        :type: str
        rr�UNKNOWN_ENUM_VALUEN)rr%)r/r�allowed_valuesr1r1r2rLs

cCs|jS)z�
        Gets the line_number of this PullRequestComment.
        Line number in the file


        :return: The line_number of this PullRequestComment.
        :rtype: int
        �r&r5r1r1r2r[s
zPullRequestComment.line_numbercCs
||_dS)z�
        Sets the line_number of this PullRequestComment.
        Line number in the file


        :param line_number: The line_number of this PullRequestComment.
        :type: int
        Nr=)r/rr1r1r2rgs
cCs|jS)z�
        Gets the likes of this PullRequestComment.

        :return: The likes of this PullRequestComment.
        :rtype: oci.devops.models.PullRequestCommentLikeCollection
        �r'r5r1r1r2rsszPullRequestComment.likescCs
||_dS)z�
        Sets the likes of this PullRequestComment.

        :param likes: The likes of this PullRequestComment.
        :type: oci.devops.models.PullRequestCommentLikeCollection
        Nr>)r/rr1r1r2r}scCs|jS)aq
        **[Required]** Gets the status of this PullRequestComment.
        Status of the Comment

        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'.


        :return: The status of this PullRequestComment.
        :rtype: str
        )r(r5r1r1r2r�s
zPullRequestComment.statuscCs ddg}t||�sd}||_dS)z�
        Sets the status of this PullRequestComment.
        Status of the Comment


        :param status: The status of this PullRequestComment.
        :type: str
        r	r
r;N)rr()r/rr<r1r1r2r�s

cCs|jS)a 
        **[Required]** Gets the time_created of this PullRequestComment.
        Creation timestamp. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_created of this PullRequestComment.
        :rtype: datetime
        �r)r5r1r1r2r�szPullRequestComment.time_createdcCs
||_dS)a
        Sets the time_created of this PullRequestComment.
        Creation timestamp. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_created: The time_created of this PullRequestComment.
        :type: datetime
        Nr?)r/rr1r1r2r�scCs|jS)z�
        **[Required]** Gets the created_by of this PullRequestComment.

        :return: The created_by of this PullRequestComment.
        :rtype: oci.devops.models.PrincipalDetails
        �r*r5r1r1r2r�szPullRequestComment.created_bycCs
||_dS)z�
        Sets the created_by of this PullRequestComment.

        :param created_by: The created_by of this PullRequestComment.
        :type: oci.devops.models.PrincipalDetails
        Nr@)r/rr1r1r2r�scCs|jS)a
        Gets the time_updated of this PullRequestComment.
        Latest update timestamp. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_updated of this PullRequestComment.
        :rtype: datetime
        �r+r5r1r1r2r�szPullRequestComment.time_updatedcCs
||_dS)a!
        Sets the time_updated of this PullRequestComment.
        Latest update timestamp. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_updated: The time_updated of this PullRequestComment.
        :type: datetime
        NrA)r/rr1r1r2r�scCs|jS)z�
        Gets the updated_by of this PullRequestComment.

        :return: The updated_by of this PullRequestComment.
        :rtype: oci.devops.models.PrincipalDetails
        �r,r5r1r1r2r�szPullRequestComment.updated_bycCs
||_dS)z�
        Sets the updated_by of this PullRequestComment.

        :param updated_by: The updated_by of this PullRequestComment.
        :type: oci.devops.models.PrincipalDetails
        NrB)r/rr1r1r2r�scCs|jS)a�
        Gets the context_status of this PullRequestComment.
        Shows the status of an inline comments context

        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'.


        :return: The context_status of this PullRequestComment.
        :rtype: str
        )r-r5r1r1r2rs
z!PullRequestComment.context_statuscCs ddg}t||�sd}||_dS)z�
        Sets the context_status of this PullRequestComment.
        Shows the status of an inline comments context


        :param context_status: The context_status of this PullRequestComment.
        :type: str
        rrr;N)rr-)r/rr<r1r1r2rs

cCs|jS)a
        Gets the comment_context of this PullRequestComment.
        4 line snippet to be displayed as context for inline comments


        :return: The comment_context of this PullRequestComment.
        :rtype: list[oci.devops.models.DiffLineDetails]
        �r.r5r1r1r2r#s
z"PullRequestComment.comment_contextcCs
||_dS)a
        Sets the comment_context of this PullRequestComment.
        4 line snippet to be displayed as context for inline comments


        :param comment_context: The comment_context of this PullRequestComment.
        :type: list[oci.devops.models.DiffLineDetails]
        NrC)r/rr1r1r2r/s
cCst|�S�N)rr5r1r1r2�__repr__;szPullRequestComment.__repr__cCs|durdS|j|jkS)NF)�__dict__�r/�otherr1r1r2�__eq__>szPullRequestComment.__eq__cCs
||kSrDr1rGr1r1r2�__ne__DszPullRequestComment.__ne__N) �__name__�
__module__�__qualname__�__doc__ZFILE_TYPE_SOURCEZFILE_TYPE_DESTINATIONZ
STATUS_ACTIVEZSTATUS_OUTDATEDZCONTEXT_STATUS_PROCESSEDZCONTEXT_STATUS_NEEDS_PROCESSINGr3�propertyr�setterrrrrrrrrrrrrrrrrErIrJr1r1r1r2rs�
















	
	






	
	




	
	



rN)Zoci.utilrrrZoci.decoratorsr�objectrr1r1r1r2�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit