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/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

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

���f	��@s�ddlmZddlmZddlmZddlmZmZddlm	Z	ddl
mZmZddl
mZddlmZmZmZdd	lmZmZdd
lmZddlmZdd
lmZed�ZGdd�de�ZdS)�)�absolute_import)�requests)�six)�retry�circuit_breaker)�
BaseClient)�get_config_value_or_default�validate_config)�Signer)�Sentinel�#get_signer_from_authentication_type�AUTHENTICATION_TYPE_FIELD_NAME)�,back_up_body_calculate_stream_content_length�(is_content_length_calculable_by_req_util)�InvalidAlloyConfig)�OCI_SDK_ENABLED_SERVICES_SET�)�devops_type_mappingZMissingc@s�eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Zd.d/�Zd0d1�Zd2d3�Zd4d5�Zd6d7�Zd8d9�Zd:d;�Z d<d=�Z!d>d?�Z"d@dA�Z#dBdC�Z$dDdE�Z%dFdG�Z&dHdI�Z'dJdK�Z(dLdM�Z)dNdO�Z*dPdQ�Z+dRdS�Z,dTdU�Z-dVdW�Z.dXdY�Z/dZd[�Z0d\d]�Z1d^d_�Z2d`da�Z3dbdc�Z4ddde�Z5dfdg�Z6dhdi�Z7djdk�Z8dldm�Z9dndo�Z:dpdq�Z;drds�Z<dtdu�Z=dvdw�Z>dxdy�Z?dzd{�Z@d|d}�ZAd~d�ZBd�d��ZCd�d��ZDd�d��ZEd�d��ZFd�d��ZGd�d��ZHd�d��ZId�d��ZJd�d��ZKd�d��ZLd�d��ZMd�d��ZNd�d��ZOd�d��ZPd�d��ZQd�d��ZRd�d��ZSd�d��ZTd�d��ZUd�d��ZVd�d��ZWd�d��ZXd�d��ZYd�d��ZZd�d��Z[d�d��Z\d�d��Z]d�d��Z^d�d��Z_d�d��Z`d�d��Zad�d��Zbd�d��Zcd�dÄZdd�dńZed�dDŽZfd�dɄZgd�d˄Zhd�d̈́Zid�dτZjd�dфZkd�dӄZld�dՄZmd�dׄZnd�dلZod�dۄZpd�d݄Zqd�d߄Zrd�d�Zsd�d�Ztd�d�Zud�d�Zvd�d�Zwd�d�Zxd�d�Zyd�d�Zzd�d�Z{d�d�Z|d�d��Z}d�d��Z~d�d��Zd�d��Z�d�d��Z�d�d��Z��d�d�Z��d�d�Z��d�d�Z��d�d�Z��d�d	�Z��d
�d�Z��d�d
�Z��d�d�Z��d�d�Z��d�d�Z��d�d�Z��d�d�Z��d�d�Z��d�d�Z��d�d�Z��dS(�DevopsClienta&
    Use the DevOps API to create DevOps projects, configure code repositories,  add artifacts to deploy, build and test software applications, configure  target deployment environments, and deploy software applications.  For more information, see [DevOps](/Content/devops/using/home.htm).
    c
Ks&t�d�std��t||�d�d�d|vr6|d}nDt|vrHt|�}n2t|d|d|d|�d�t|d	�|�d
�d�}d|�d
�ddi|�dd�|�dt	j
�|�d�d�}d|vr�|�d�|d<|�d�dur�t	j|d<d|vr�|�d�|d<td||t
fi|��|_|�d�|_|�d�|_dS)a�
        Creates a new service client

        :param dict config:
            Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
            The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
            the dict using :py:meth:`~oci.config.validate_config`

        :param str service_endpoint: (optional)
            The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
            not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
            need to specify a service endpoint.

        :param timeout: (optional)
            The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
            as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
            a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
        :type timeout: float or tuple(float, float)

        :param signer: (optional)
            The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
            provided in the config parameter.

            One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
            by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
        :type signer: :py:class:`~oci.signer.AbstractBaseSigner`

        :param obj retry_strategy: (optional)
            A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
            Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
            Any value provided at the operation level will override whatever is specified at the client level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
            is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

        :param obj circuit_breaker_strategy: (optional)
            A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
            This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
            The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.

        :param function circuit_breaker_callback: (optional)
            Callback function to receive any exceptions triggerred by the circuit breaker.

        :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
            A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.

        :param allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
            allow control characters to be in the response object.
        ZdevopsaThe Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service�signer)r�tenancy�user�fingerprintZkey_file�pass_phraseZkey_content)rrrZprivate_key_file_locationrZprivate_key_contentT�service_endpointz	/20210630z/https://devops.{region}.oci.{secondLevelDomain}�skip_deserializationF�circuit_breaker_strategy�5client_level_realm_specific_endpoint_template_enabled)Zregional_clientr�	base_pathZservice_endpoint_templateZ#service_endpoint_template_per_realmrrr�timeoutN�allow_control_chars�retry_strategy�circuit_breaker_callback)rZis_service_enabledrr	�getr
rr
rrZGLOBAL_CIRCUIT_BREAKER_STRATEGYZ DEFAULT_CIRCUIT_BREAKER_STRATEGYrr�base_clientr!r")�selfZconfig�kwargsrZbase_client_init_kwargs�r'�</usr/lib/python3.9/site-packages/oci/devops/devops_client.py�__init__sB3


�

�

zDevopsClient.__init__c
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a(

        Submit stage approval.


        :param str deployment_id: (required)
            Unique deployment identifier.

        :param oci.devops.models.ApproveDeploymentDetails approve_deployment_details: (required)
            The stage information for approval.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Deployment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/approve_deployment.py.html>`__ to see an example of how to use approve_deployment API.
        �deploymentIdz+/deployments/{deploymentId}/actions/approve�POST�approve_deploymentzRhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Deployment/ApproveDeployment�r r!�if_match�opc_request_id�opc_retry_tokencsg|]}|�vr|�qSr'r'��.0Z_key�Zexpected_kwargsr'r(�
<listcomp>��z3DevopsClient.approve_deployment.<locals>.<listcomp>z'approve_deployment got unknown kwargs: cSsi|]\}}|tur||�qSr'��missing�r2�k�vr'r'r(�
<dictcomp>�r5z3DevopsClient.approve_deployment.<locals>.<dictcomp>Nr�
Parameter �+ cannot be None, whitespace or empty string�application/jsonr.r/r0��accept�content-type�if-match�opc-request-id�opc-retry-tokencSs&i|]\}}|tur|dur||�qS�Nr6r8r'r'r(r;�r5r!�Zoperation_retry_strategyZclient_retry_strategy�
Deploymentr �
�
resource_path�method�path_params�
header_params�body�
response_typer �operation_name�api_reference_link�required_arguments�r�iterkeys�
ValueError�	iteritems�
isinstance�string_types�len�stripr#r7r$�get_preferred_retry_strategyr!r�DEFAULT_RETRY_STRATEGY�NoneRetryStrategy�add_opc_retry_token_if_needed�add_opc_client_retries_header�add_circuit_breaker_callbackr"�make_retrying_call�call_api)r%�
deployment_idZapprove_deployment_detailsr&rQrIrJrOrP�extra_kwargsrKr9r:rLr!r'r3r(r,xsx'��$


��
�
�zDevopsClient.approve_deploymentc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a[

        Cancels the build run based on the build run ID provided in the request.


        :param oci.devops.models.CancelBuildRunDetails cancel_build_run_details: (required)
            Parameter details required to cancel a build run.

        :param str build_run_id: (required)
            Unique build run identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRun`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/cancel_build_run.py.html>`__ to see an example of how to use cancel_build_run API.
        �
buildRunIdz&/buildRuns/{buildRunId}/actions/cancelr+�cancel_build_runzMhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildRun/CancelBuildRunr-csg|]}|�vr|�qSr'r'r1r3r'r(r4r5z1DevopsClient.cancel_build_run.<locals>.<listcomp>z%cancel_build_run got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;(r5z1DevopsClient.cancel_build_run.<locals>.<dictcomp>Nrr<r=r>r.r/r0r?cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;5r5r!rF�BuildRunr rHrR)r%Zcancel_build_run_details�build_run_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(re�sx'��$


��
�
�zDevopsClient.cancel_build_runc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)aO

        Cancels a deployment resource by identifier.


        :param str deployment_id: (required)
            Unique deployment identifier.

        :param oci.devops.models.CancelDeploymentDetails cancel_deployment_details: (required)
            The information regarding the deployment to be canceled.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Deployment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/cancel_deployment.py.html>`__ to see an example of how to use cancel_deployment API.
        r*z*/deployments/{deploymentId}/actions/cancelr+�cancel_deploymentzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Deployment/CancelDeploymentr-csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z2DevopsClient.cancel_deployment.<locals>.<listcomp>z&cancel_deployment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z2DevopsClient.cancel_deployment.<locals>.<dictcomp>Nrr<r=r>r.r/r0r?cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFrGr rHrR)r%rbZcancel_deployment_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(rh\sx'��$


��
�
�zDevopsClient.cancel_deploymentcs�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rnt|
t
j��sH|j
�|�|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�	
        Cascading operation that restores Project and child resources from a DELETING state to an active state


        :param str project_id: (required)
            Unique project identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/cancel_scheduled_cascading_project_deletion.py.html>`__ to see an example of how to use cancel_scheduled_cascading_project_deletion API.
        �	projectIdzE/projects/{projectId}/actions/cancelScheduledCascadingProjectDeletionr+�+cancel_scheduled_cascading_project_deletionzehttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Project/CancelScheduledCascadingProjectDeletionr-csg|]}|�vr|�qSr'r'r1r3r'r(r4r5zLDevopsClient.cancel_scheduled_cascading_project_deletion.<locals>.<listcomp>z@cancel_scheduled_cascading_project_deletion got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;	r5zLDevopsClient.cancel_scheduled_cascading_project_deletion.<locals>.<dictcomp>Nrr<r=r>r.r/r0r?cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5r!rFr �rIrJrKrLr rOrPrQrR�r%�
project_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(rj�sp$��$


��
��z8DevopsClient.cancel_scheduled_cascading_project_deletioncs�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rpt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
||�d�|||d�
S|j
j|||
|
||�d�|||d�	SdS)aB

        Moves a project resource from one compartment OCID to another.


        :param str project_id: (required)
            Unique project identifier.

        :param oci.devops.models.ChangeProjectCompartmentDetails change_project_compartment_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/change_project_compartment.py.html>`__ to see an example of how to use change_project_compartment API.
        riz//projects/{projectId}/actions/changeCompartmentr+�change_project_compartmentzVhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Project/ChangeProjectCompartmentr-csg|]}|�vr|�qSr'r'r1r3r'r(r4nr5z;DevopsClient.change_project_compartment.<locals>.<listcomp>z/change_project_compartment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;wr5z;DevopsClient.change_project_compartment.<locals>.<dictcomp>Nrr<r=r>r.r/r0r?cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr �	rIrJrKrLrMr rOrPrQrR)r%rmZ"change_project_compartment_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(rn9st'��$


��
��z'DevopsClient.change_project_compartmentcs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)a�
        Creates a new build pipeline.


        :param oci.devops.models.CreateBuildPipelineDetails create_build_pipeline_details: (required)
            Details for the new build pipeline.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipeline`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_build_pipeline.py.html>`__ to see an example of how to use create_build_pipeline API.
        �/buildPipelinesr+�create_build_pipelinezWhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipeline/CreateBuildPipeline�r r!r0r/csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z6DevopsClient.create_build_pipeline.<locals>.<listcomp>z*create_build_pipeline got unknown kwargs: r>r0r/�r@rArDrCcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5z6DevopsClient.create_build_pipeline.<locals>.<dictcomp>r!rFN�
BuildPipeliner �	rIrJrLrMrNr rOrPrQ�rrSrTr#r7rUr$rZr!rr[rVr\r]r^r_r"r`ra)r%Zcreate_build_pipeline_detailsr&rQrIrJrOrPrcrLr!r'r3r(rq�sf!�

����z"DevopsClient.create_build_pipelinecs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)a�
        Creates a new stage.


        :param oci.devops.models.CreateBuildPipelineStageDetails create_build_pipeline_stage_details: (required)
            Details for the new stage.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineStage`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_build_pipeline_stage.py.html>`__ to see an example of how to use create_build_pipeline_stage API.
        �/buildPipelineStagesr+�create_build_pipeline_stagezahttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipelineStage/CreateBuildPipelineStagerrcsg|]}|�vr|�qSr'r'r1r3r'r(r45r5z<DevopsClient.create_build_pipeline_stage.<locals>.<listcomp>z0create_build_pipeline_stage got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;@r5z<DevopsClient.create_build_pipeline_stage.<locals>.<dictcomp>r!rFN�BuildPipelineStager rurv)r%Z#create_build_pipeline_stage_detailsr&rQrIrJrOrPrcrLr!r'r3r(rxsf!�

����z(DevopsClient.create_build_pipeline_stagecs.g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�|�dt�d
�}	dd�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
�rt|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)as

        Starts a build pipeline run for a predefined build pipeline. Please ensure the completion of any work request for creation/updation of Build Pipeline before starting a Build Run.


        :param oci.devops.models.CreateBuildRunDetails create_build_run_details: (required)
            Parameter details required to create a new build run.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRun`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_build_run.py.html>`__ to see an example of how to use create_build_run API.
        �
/buildRunsr+�create_build_runzMhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildRun/CreateBuildRun)r r!r0r/r.csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z1DevopsClient.create_build_run.<locals>.<listcomp>z%create_build_run got unknown kwargs: r>r0r/r.)r@rArDrCrBcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5z1DevopsClient.create_build_run.<locals>.<dictcomp>r!rFNrfr rurv)r%Zcreate_build_run_detailsr&rQrIrJrOrPrcrLr!r'r3r(r{esh$�


����zDevopsClient.create_build_runcs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)aj
        Creates a new connection.


        :param oci.devops.models.CreateConnectionDetails create_connection_details: (required)
            Details for the new connection.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Connection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_connection.py.html>`__ to see an example of how to use create_connection API.
        �/connectionsr+�create_connectionzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Connection/CreateConnectionrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z2DevopsClient.create_connection.<locals>.<listcomp>z&create_connection got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5z2DevopsClient.create_connection.<locals>.<dictcomp>r!rFN�
Connectionr rurv)r%Zcreate_connection_detailsr&rQrIrJrOrPrcrLr!r'r3r(r}�sf!�

����zDevopsClient.create_connectioncs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)a�
        Creates a new deployment artifact.


        :param oci.devops.models.CreateDeployArtifactDetails create_deploy_artifact_details: (required)
            Details for the new deployment artifact.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployArtifact`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_deploy_artifact.py.html>`__ to see an example of how to use create_deploy_artifact API.
        �/deployArtifactsr+�create_deploy_artifactzYhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployArtifact/CreateDeployArtifactrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4Tr5z7DevopsClient.create_deploy_artifact.<locals>.<listcomp>z+create_deploy_artifact got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;_r5z7DevopsClient.create_deploy_artifact.<locals>.<dictcomp>r!rFN�DeployArtifactr rurv)r%Zcreate_deploy_artifact_detailsr&rQrIrJrOrPrcrLr!r'r3r(r�&sf!�

����z#DevopsClient.create_deploy_artifactcs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)a�
        Creates a new deployment environment.


        :param oci.devops.models.CreateDeployEnvironmentDetails create_deploy_environment_details: (required)
            Details for the new deployment environment.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployEnvironment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_deploy_environment.py.html>`__ to see an example of how to use create_deploy_environment API.
        �/deployEnvironmentsr+�create_deploy_environmentz_https://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployEnvironment/CreateDeployEnvironmentrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z:DevopsClient.create_deploy_environment.<locals>.<listcomp>z.create_deploy_environment got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5z:DevopsClient.create_deploy_environment.<locals>.<dictcomp>r!rFN�DeployEnvironmentr rurv)r%Z!create_deploy_environment_detailsr&rQrIrJrOrPrcrLr!r'r3r(r��sf!�

����z&DevopsClient.create_deploy_environmentcs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)a�
        Creates a new deployment pipeline.


        :param oci.devops.models.CreateDeployPipelineDetails create_deploy_pipeline_details: (required)
            Details for the new deployment pipeline.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployPipeline`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_deploy_pipeline.py.html>`__ to see an example of how to use create_deploy_pipeline API.
        �/deployPipelinesr+�create_deploy_pipelinezYhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployPipeline/CreateDeployPipelinerrcsg|]}|�vr|�qSr'r'r1r3r'r(r4r5z7DevopsClient.create_deploy_pipeline.<locals>.<listcomp>z+create_deploy_pipeline got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5z7DevopsClient.create_deploy_pipeline.<locals>.<dictcomp>r!rFN�DeployPipeliner rurv)r%Zcreate_deploy_pipeline_detailsr&rQrIrJrOrPrcrLr!r'r3r(r��sf!�

����z#DevopsClient.create_deploy_pipelinecs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)a~
        Creates a new deployment stage.


        :param oci.devops.models.CreateDeployStageDetails create_deploy_stage_details: (required)
            Details for the new deployment stage.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployStage`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_deploy_stage.py.html>`__ to see an example of how to use create_deploy_stage API.
        �
/deployStagesr+�create_deploy_stagezShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployStage/CreateDeployStagerrcsg|]}|�vr|�qSr'r'r1r3r'r(r4nr5z4DevopsClient.create_deploy_stage.<locals>.<listcomp>z(create_deploy_stage got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;yr5z4DevopsClient.create_deploy_stage.<locals>.<dictcomp>r!rFN�DeployStager rurv)r%Zcreate_deploy_stage_detailsr&rQrIrJrOrPrcrLr!r'r3r(r�@sf!�

����z DevopsClient.create_deploy_stagecs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)aj
        Creates a new deployment.


        :param oci.devops.models.CreateDeploymentDetails create_deployment_details: (required)
            Details for the new deployment.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Deployment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_deployment.py.html>`__ to see an example of how to use create_deployment API.
        �/deploymentsr+�create_deploymentzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Deployment/CreateDeploymentrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z2DevopsClient.create_deployment.<locals>.<listcomp>z&create_deployment got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5z2DevopsClient.create_deployment.<locals>.<dictcomp>r!rFNrGr rurv)r%Zcreate_deployment_detailsr&rQrIrJrOrPrcrLr!r'r3r(r��sf!�

����zDevopsClient.create_deploymentc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�

        Creates a new reference or updates an existing one.


        :param str repository_id: (required)
            Unique repository identifier.

        :param oci.devops.models.CreateOrUpdateGitRefDetails create_or_update_git_ref_details: (required)
            The information to create a reference with the type specified in the query.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryRef`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_or_update_git_ref.py.html>`__ to see an example of how to use create_or_update_git_ref API.
        �repositoryIdz9/repositories/{repositoryId}/actions/createOrUpdateGitRefr+�create_or_update_git_refzUhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/CreateOrUpdateGitRef�r r!r.r0r/csg|]}|�vr|�qSr'r'r1r3r'r(r41r5z9DevopsClient.create_or_update_git_ref.<locals>.<listcomp>z-create_or_update_git_ref got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;:r5z9DevopsClient.create_or_update_git_ref.<locals>.<dictcomp>Nrr<r=r>r.r0r/�r@rArBrDrCcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Gr5r!rF�
RepositoryRefr rHrR)r%�
repository_idZ create_or_update_git_ref_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��sx'��$


��
�
�z%DevopsClient.create_or_update_git_refc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�

        Creates a restriction on a branch that prevents certain actions on it.


        :param str repository_id: (required)
            Unique repository identifier.

        :param oci.devops.models.CreateOrUpdateProtectedBranchDetails create_or_update_protected_branch_details: (required)
            Details for a protected branch

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ProtectedBranch`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_or_update_protected_branch.py.html>`__ to see an example of how to use create_or_update_protected_branch API.
        r�zB/repositories/{repositoryId}/actions/createOrUpdateProtectedBranchr+�!create_or_update_protected_branchzchttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ProtectedBranch/CreateOrUpdateProtectedBranchr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5zBDevopsClient.create_or_update_protected_branch.<locals>.<listcomp>z6create_or_update_protected_branch got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5zBDevopsClient.create_or_update_protected_branch.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFZProtectedBranchr rHrR)r%r�Z)create_or_update_protected_branch_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�nsx'��$


��
�
�z.DevopsClient.create_or_update_protected_branchcs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)aU
        Creates a new project.


        :param oci.devops.models.CreateProjectDetails create_project_details: (required)
            Details for the new project.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Project`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_project.py.html>`__ to see an example of how to use create_project API.
        �	/projectsr+�create_projectzKhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Project/CreateProjectrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4r5z/DevopsClient.create_project.<locals>.<listcomp>z#create_project got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5z/DevopsClient.create_project.<locals>.<dictcomp>r!rFN�Projectr rurv)r%Zcreate_project_detailsr&rQrIrJrOrPrcrLr!r'r3r(r��sf!�

����zDevopsClient.create_projectcs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)at
        Creates a new PullRequest.


        :param oci.devops.models.CreatePullRequestDetails create_pull_request_details: (required)
            Details for the new PullRequest.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_pull_request.py.html>`__ to see an example of how to use create_pull_request API.
        �
/pullRequestsr+�create_pull_requestzShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/CreatePullRequestrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4lr5z4DevopsClient.create_pull_request.<locals>.<listcomp>z(create_pull_request got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;wr5z4DevopsClient.create_pull_request.<locals>.<dictcomp>r!rFN�PullRequestr rurv)r%Zcreate_pull_request_detailsr&rQrIrJrOrPrcrLr!r'r3r(r�>sf!�

����z DevopsClient.create_pull_requestc
spdg}d}d}d}d}	gd���fdd�t�|�D�}
|
rHtd	|
����d|i}d
d�t�|�D�}t�|�D]<\}}
|
dus�t|
tj�rnt|
���d
krntd|�d���qnd||�dt	�|�dt	�d�}dd�t�|�D�}z|Wn t
�y|�dt	�}Yn0|t	u�r�|du�r�t|tjtjf��sDt|d��sDt
d��t|d��r�t|d��r�|jdk�r�tj�|�d
k�r�d|d<n8d|v�r�t|��s�t||�d��}|d|d<|d}|jj|�d �|jd!�}|du�r�tj}|�rFt|tj��s|j�|�|j�|�|�|j�|j|jj|||||d"|�d#�||	|d$�S|jj|||||d"|�d#�||	|d$�
SdS)%a�
        Creates PullRequest attachment


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str content_disposition: (required)
            The Content-Disposition response-header field has been proposed as a means for the origin server to suggest a default filename if the user requests that the content is saved to a file.

        :param stream create_pull_request_attachment_body: (required)
            Uploads the content of the attachment.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings
        :param int buffer_limit: (optional)
            A buffer limit for the stream to be buffered. buffer_limit is used to set the buffer size capacity. Streams will be read until the size of the buffer reaches the buffer_limit.
            If the stream size is greater than the buffer_limit, a BufferError exception will be thrown.

            The buffer_limit parameter is used when the stream object does not have a `seek`, `tell`, or `fileno` property for the Python Request library to calculate out the content length.
            If buffer_limit is not passed, then the buffer_limit will be defaulted to 100MB.
            Large streams can cause the process to freeze, consider passing in content-length for large streams instead.

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestAttachment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_pull_request_attachment.py.html>`__ to see an example of how to use create_pull_request_attachment API.
        �
pullRequestId�)/pullRequests/{pullRequestId}/attachmentsr+�create_pull_request_attachmentz]https://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/CreatePullRequestAttachment)r r!�buffer_limitr0r/csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z?DevopsClient.create_pull_request_attachment.<locals>.<listcomp>z3create_pull_request_attachment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z?DevopsClient.create_pull_request_attachment.<locals>.<dictcomp>Nrr<r=r>r0r/)r@zcontent-dispositionrDrCcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5�#create_pull_request_attachment_body�readz=The body must be a string, bytes, or provide a read() method.�fileno�namez<stdin>�0zContent-Lengthr�Zcontent_lengthZbyte_contentr!rF�PullRequestAttachmentr rH) rrSrTrUrVrWrXrYr#r7�	NameErrorZbinary_type�hasattr�	TypeErrorr�rZutilsZ	super_lenrrr$rZr!rr[r\r]r^r_r"r`ra)r%�pull_request_idZcontent_dispositionr�r&rQrIrJrOrPrcrKr9r:rLZcalculated_objr!r'r3r(r��s�.��$

��$
�
�
�z+DevopsClient.create_pull_request_attachmentc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rht|t
j��s>|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a	
        Creates a new PullRequest comment.


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param oci.devops.models.CreatePullRequestCommentDetails create_pull_request_comment_details: (required)
            Details for the new PullRequest comment.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestComment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_pull_request_comment.py.html>`__ to see an example of how to use create_pull_request_comment API.
        r��&/pullRequests/{pullRequestId}/commentsr+�create_pull_request_commentzZhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/CreatePullRequestCommentrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4Zr5z<DevopsClient.create_pull_request_comment.<locals>.<listcomp>z0create_pull_request_comment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;cr5z<DevopsClient.create_pull_request_comment.<locals>.<dictcomp>Nrr<r=r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;or5r!rF�PullRequestCommentr rHrR)r%r�Z#create_pull_request_comment_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�)sv$��$

��
�
�z(DevopsClient.create_pull_request_commentcs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)aj
        Creates a new repository.


        :param oci.devops.models.CreateRepositoryDetails create_repository_details: (required)
            Details for the new repository.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Repository`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_repository.py.html>`__ to see an example of how to use create_repository API.
        �
/repositoriesr+�create_repositoryzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/CreateRepositoryrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z2DevopsClient.create_repository.<locals>.<listcomp>z&create_repository got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5z2DevopsClient.create_repository.<locals>.<dictcomp>r!rFN�
Repositoryr rurv)r%Zcreate_repository_detailsr&rQrIrJrOrPrcrLr!r'r3r(r��sf!�

����zDevopsClient.create_repositorycs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	d	|�d
t�|�dt�d�}	d
d�t�|	�D�}	|jj|�d�|jd�}
|
dur�t	j
}
|
r�t|
t	j�s�|j�
|	�|j�|	�|
�|j�|
j|jj|||	|d|�d�|||d�
S|jj|||	|d|�d�|||d�	SdS)aa
        Creates a new trigger.


        :param oci.devops.models.CreateTriggerDetails create_trigger_details: (required)
            Details for the new trigger.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.TriggerCreateResult`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/create_trigger.py.html>`__ to see an example of how to use create_trigger API.
        �	/triggersr+�create_triggerzKhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Trigger/CreateTriggerrrcsg|]}|�vr|�qSr'r'r1r3r'r(r4"	r5z/DevopsClient.create_trigger.<locals>.<listcomp>z#create_trigger got unknown kwargs: r>r0r/rscSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;-	r5z/DevopsClient.create_trigger.<locals>.<dictcomp>r!rFNZTriggerCreateResultr rurv)r%Zcreate_trigger_detailsr&rQrIrJrOrPrcrLr!r'r3r(r��sf!�

����zDevopsClient.create_triggercs�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rZt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Decline a PullRequest


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/decline_pull_request.py.html>`__ to see an example of how to use decline_pull_request API.
        r�z-/pullRequests/{pullRequestId}/actions/decliner+�decline_pull_requestzThttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/DeclinePullRequest�r r!r.r/csg|]}|�vr|�qSr'r'r1r3r'r(r4�	r5z5DevopsClient.decline_pull_request.<locals>.<listcomp>z)decline_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�	r5z5DevopsClient.decline_pull_request.<locals>.<dictcomp>Nrr<r=r>r.r/�r@rArBrCcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�	r5r!rFr�r �	rIrJrKrLrNr rOrPrQ�rrSrTrUrVrWrXrYr#r7r$rZr!rr[r\r^r_r"r`ra�r%r�r&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�R	sp!��$

��
��z!DevopsClient.decline_pull_requestcs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a build pipeline resource by identifier.


        :param str build_pipeline_id: (required)
            Unique build pipeline identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_build_pipeline.py.html>`__ to see an example of how to use delete_build_pipeline API.
        �buildPipelineId�!/buildPipelines/{buildPipelineId}�DELETE�delete_build_pipelinezWhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipeline/DeleteBuildPipeliner�csg|]}|�vr|�qSr'r'r1r3r'r(r4�	r5z6DevopsClient.delete_build_pipeline.<locals>.<listcomp>z*delete_build_pipeline got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�	r5z6DevopsClient.delete_build_pipeline.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�	r5r!rFr rkr��r%�build_pipeline_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��	sl!��$

��
��z"DevopsClient.delete_build_pipelinecs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a stage based on the stage ID provided in the request.


        :param str build_pipeline_stage_id: (required)
            Unique stage identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_build_pipeline_stage.py.html>`__ to see an example of how to use delete_build_pipeline_stage API.
        �buildPipelineStageId�+/buildPipelineStages/{buildPipelineStageId}r��delete_build_pipeline_stagezahttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipelineStage/DeleteBuildPipelineStager�csg|]}|�vr|�qSr'r'r1r3r'r(r4L
r5z<DevopsClient.delete_build_pipeline_stage.<locals>.<listcomp>z0delete_build_pipeline_stage got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;U
r5z<DevopsClient.delete_build_pipeline_stage.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;a
r5r!rFr rkr��r%�build_pipeline_stage_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�
sl!��$

��
��z(DevopsClient.delete_build_pipeline_stagecs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a connection resource by identifier.


        :param str connection_id: (required)
            Unique connection identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
        �connectionId�/connections/{connectionId}r��delete_connectionzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Connection/DeleteConnectionr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�
r5z2DevopsClient.delete_connection.<locals>.<listcomp>z&delete_connection got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�
r5z2DevopsClient.delete_connection.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�
r5r!rFr rkr��r%�
connection_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��
sl!��$

��
��zDevopsClient.delete_connectioncs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a deployment artifact resource by identifier.


        :param str deploy_artifact_id: (required)
            Unique artifact identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_deploy_artifact.py.html>`__ to see an example of how to use delete_deploy_artifact API.
        �deployArtifactId�#/deployArtifacts/{deployArtifactId}r��delete_deploy_artifactzYhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployArtifact/DeleteDeployArtifactr�csg|]}|�vr|�qSr'r'r1r3r'r(r4r5z7DevopsClient.delete_deploy_artifact.<locals>.<listcomp>z+delete_deploy_artifact got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;r5z7DevopsClient.delete_deploy_artifact.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;+r5r!rFr rkr��r%�deploy_artifact_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��
sl!��$

��
��z#DevopsClient.delete_deploy_artifactcs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a deployment environment resource by identifier.


        :param str deploy_environment_id: (required)
            Unique environment identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_deploy_environment.py.html>`__ to see an example of how to use delete_deploy_environment API.
        �deployEnvironmentId�)/deployEnvironments/{deployEnvironmentId}r��delete_deploy_environmentz_https://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployEnvironment/DeleteDeployEnvironmentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4{r5z:DevopsClient.delete_deploy_environment.<locals>.<listcomp>z.delete_deploy_environment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z:DevopsClient.delete_deploy_environment.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr rkr��r%�deploy_environment_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�Msl!��$

��
��z&DevopsClient.delete_deploy_environmentcs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a deployment pipeline resource by identifier.


        :param str deploy_pipeline_id: (required)
            Unique pipeline identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_deploy_pipeline.py.html>`__ to see an example of how to use delete_deploy_pipeline API.
        �deployPipelineId�#/deployPipelines/{deployPipelineId}r��delete_deploy_pipelinezYhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployPipeline/DeleteDeployPipeliner�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z7DevopsClient.delete_deploy_pipeline.<locals>.<listcomp>z+delete_deploy_pipeline got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z7DevopsClient.delete_deploy_pipeline.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr rkr��r%�deploy_pipeline_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��sl!��$

��
��z#DevopsClient.delete_deploy_pipelinecs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a deployment stage resource by identifier.


        :param str deploy_stage_id: (required)
            Unique stage identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_deploy_stage.py.html>`__ to see an example of how to use delete_deploy_stage API.
        �
deployStageId�/deployStages/{deployStageId}r��delete_deploy_stagezShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployStage/DeleteDeployStager�csg|]}|�vr|�qSr'r'r1r3r'r(r4Er5z4DevopsClient.delete_deploy_stage.<locals>.<listcomp>z(delete_deploy_stage got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;Nr5z4DevopsClient.delete_deploy_stage.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Zr5r!rFr rkr��r%�deploy_stage_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�sl!��$

��
��z DevopsClient.delete_deploy_stagecs�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rpt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
||�d�|||d�
S|j
j|||
|
||�d�|||d�	SdS)a�

        Deletes a Repository's Ref by its name. Returns an error if the name is ambiguous. Can be disambiguated by using full names like "heads/<name>" or "tags/<name>".


        :param str repository_id: (required)
            Unique repository identifier.

        :param oci.devops.models.DeleteGitRefDetails delete_git_ref_details: (required)
            The information to delete a reference.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_git_ref.py.html>`__ to see an example of how to use delete_git_ref API.
        r�z1/repositories/{repositoryId}/actions/deleteGitRefr+�delete_git_refzMhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/DeleteGitRefr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z/DevopsClient.delete_git_ref.<locals>.<listcomp>z#delete_git_ref got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z/DevopsClient.delete_git_ref.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr rorR)r%r�Zdelete_git_ref_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�|st'��$


��
��zDevopsClient.delete_git_refcs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a project resource by identifier


        :param str project_id: (required)
            Unique project identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_project.py.html>`__ to see an example of how to use delete_project API.
        ri�/projects/{projectId}r��delete_projectzKhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Project/DeleteProjectr�csg|]}|�vr|�qSr'r'r1r3r'r(r4
r5z/DevopsClient.delete_project.<locals>.<listcomp>z#delete_project got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;#
r5z/DevopsClient.delete_project.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;/
r5r!rFr rkr�rlr'r3r(r��sl!��$

��
��zDevopsClient.delete_projectcs�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rnt|
t
j��sH|j
�|�|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�	
        Removes the custom repository settings configured for a project.


        :param str project_id: (required)
            Unique project identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_project_repository_settings.py.html>`__ to see an example of how to use delete_project_repository_settings API.
        ri�(/projects/{projectId}/repositorySettingsr��"delete_project_repository_settingszohttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ProjectRepositorySettings/DeleteProjectRepositorySettingsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�
r5zCDevopsClient.delete_project_repository_settings.<locals>.<listcomp>z7delete_project_repository_settings got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�
r5zCDevopsClient.delete_project_repository_settings.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�
r5r!rFr rkrRrlr'r3r(r�Q
sp$��$


��
��z/DevopsClient.delete_project_repository_settingscs�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rpt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
||�d�|||d�
S|j
j|||
|
||�d�|||d�	SdS)a"

        Removes the protection from a branch


        :param str repository_id: (required)
            Unique repository identifier.

        :param oci.devops.models.DeleteProtectedBranchDetails delete_protected_branch_details: (required)
            Details for a protected branch

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_protected_branch.py.html>`__ to see an example of how to use delete_protected_branch API.
        r�z:/repositories/{repositoryId}/actions/deleteProtectedBranchr+�delete_protected_branchz[https://docs.oracle.com/iaas/api/#/en/devops/20210630/ProtectedBranch/DeleteProtectedBranchr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�
r5z8DevopsClient.delete_protected_branch.<locals>.<listcomp>z,delete_protected_branch got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�
r5z8DevopsClient.delete_protected_branch.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5r!rFr rorR)r%r�Zdelete_protected_branch_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��
st'��$


��
��z$DevopsClient.delete_protected_branchcs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a PullRequest resource by identifier


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_pull_request.py.html>`__ to see an example of how to use delete_pull_request API.
        r��/pullRequests/{pullRequestId}r��delete_pull_requestzShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/DeletePullRequestr�csg|]}|�vr|�qSr'r'r1r3r'r(r4Zr5z4DevopsClient.delete_pull_request.<locals>.<listcomp>z(delete_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;cr5z4DevopsClient.delete_pull_request.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;or5r!rFr rkr�r�r'r3r(r�,sl!��$

��
��z DevopsClient.delete_pull_requestcs�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|du�r
t
j}|�r\t|t
j��s6|j
�|
�|�|j�|j|j
j|||
|
|�d�|||d�	S|j
j|||
|
|�d�|||d�SdS)aT
        Deletes a PullRequest attachment metadata by identifier


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str attachment_id: (required)
            unique PullRequest attachment identifier

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_pull_request_attachment.py.html>`__ to see an example of how to use delete_pull_request_attachment API.
        r��attachmentId�8/pullRequests/{pullRequestId}/attachments/{attachmentId}r��delete_pull_request_attachmentz]https://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/DeletePullRequestAttachmentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z?DevopsClient.delete_pull_request_attachment.<locals>.<listcomp>z3delete_pull_request_attachment got unknown kwargs: �r�r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z?DevopsClient.delete_pull_request_attachment.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr rkr��r%r�Z
attachment_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��sn$��$

��
��z+DevopsClient.delete_pull_request_attachmentcs�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|du�r
t
j}|�r\t|t
j��s6|j
�|
�|�|j�|j|j
j|||
|
|�d�|||d�	S|j
j|||
|
|�d�|||d�SdS)a<
        Deletes a PullRequest comment by identifier


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str comment_id: (required)
            unique PullRequest Comment identifier

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_pull_request_comment.py.html>`__ to see an example of how to use delete_pull_request_comment API.
        r��	commentId�2/pullRequests/{pullRequestId}/comments/{commentId}r��delete_pull_request_commentzZhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/DeletePullRequestCommentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4+r5z<DevopsClient.delete_pull_request_comment.<locals>.<listcomp>z0delete_pull_request_comment got unknown kwargs: �r�r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;5r5z<DevopsClient.delete_pull_request_comment.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Ar5r!rFr rkr��r%r��
comment_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��sn$��$

��
��z(DevopsClient.delete_pull_request_commentcs�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�|�dt	�|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sL|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|�d�|||d�	S|j
j|||
|
|�d�|||d�SdS)a+
        Deletes a Repository's Ref by its name. Returns an error if the name is ambiguous. Can be disambiguated by using full names like "heads/<name>" or "tags/<name>". This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/actions/deleteGitRef".


        :param str repository_id: (required)
            Unique repository identifier.

        :param str ref_name: (required)
            A filter to return only resources that match the given reference name.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_ref.py.html>`__ to see an example of how to use delete_ref API.
        r��refName�+/repositories/{repositoryId}/refs/{refName}r��
delete_refzJhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/DeleteRefr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z+DevopsClient.delete_ref.<locals>.<listcomp>zdelete_ref got unknown kwargs: �r�r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z+DevopsClient.delete_ref.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr rkrR�r%r��ref_namer&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�csr'��$


��
��zDevopsClient.delete_refcs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a repository resource by identifier.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_repository.py.html>`__ to see an example of how to use delete_repository API.
        r��/repositories/{repositoryId}r��delete_repositoryzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/DeleteRepositoryr�csg|]}|�vr|�qSr'r'r1r3r'r(r4r5z2DevopsClient.delete_repository.<locals>.<listcomp>z&delete_repository got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;	r5z2DevopsClient.delete_repository.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5r!rFr rkr��r%r�r&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��sl!��$

��
��zDevopsClient.delete_repositorycs�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rnt|
t
j��sH|j
�|�|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�	
        Removes the custom settings configured for a repository


        :param str repository_id: (required)
            Unique repository identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_repository_settings.py.html>`__ to see an example of how to use delete_repository_settings API.
        r��//repositories/{repositoryId}/repositorySettingsr��delete_repository_settingszahttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositorySettings/DeleteRepositorySettingsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4ir5z;DevopsClient.delete_repository_settings.<locals>.<listcomp>z/delete_repository_settings got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;rr5z;DevopsClient.delete_repository_settings.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5r!rFr rkrRr�r'r3r(r�7sp$��$


��
��z'DevopsClient.delete_repository_settingscs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Deletes a trigger resource by identifier.


        :param str trigger_id: (required)
            Unique trigger identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/delete_trigger.py.html>`__ to see an example of how to use delete_trigger API.
        �	triggerId�/triggers/{triggerId}r��delete_triggerzKhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Trigger/DeleteTriggerr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z/DevopsClient.delete_trigger.<locals>.<listcomp>z#delete_trigger got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z/DevopsClient.delete_trigger.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr rkr��r%�
trigger_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��sl!��$

��
��zDevopsClient.delete_triggercsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves a build pipeline by identifier.


        :param str build_pipeline_id: (required)
            Unique build pipeline identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipeline`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_build_pipeline.py.html>`__ to see an example of how to use get_build_pipeline API.
        r�r��GET�get_build_pipelinezThttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipeline/GetBuildPipeline�r r!r/csg|]}|�vr|�qSr'r'r1r3r'r(r41r5z3DevopsClient.get_build_pipeline.<locals>.<listcomp>z'get_build_pipeline got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;:r5z3DevopsClient.get_build_pipeline.<locals>.<dictcomp>Nrr<r=r>r/�r@rArCcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Er5r!rFrtr r�r�r�r'r3r(r�sn��$
����zDevopsClient.get_build_pipelinecsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves a stage based on the stage ID provided in the request.


        :param str build_pipeline_stage_id: (required)
            Unique stage identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineStage`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_build_pipeline_stage.py.html>`__ to see an example of how to use get_build_pipeline_stage API.
        r�r�r��get_build_pipeline_stagez^https://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipelineStage/GetBuildPipelineStager�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z9DevopsClient.get_build_pipeline_stage.<locals>.<listcomp>z-get_build_pipeline_stage got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z9DevopsClient.get_build_pipeline_stage.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFryr r�r�r�r'r3r(risn��$
����z%DevopsClient.get_build_pipeline_stagecsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Returns the details of a build run for a given build run ID.


        :param str build_run_id: (required)
            Unique build run identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRun`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_build_run.py.html>`__ to see an example of how to use get_build_run API.
        rd�/buildRuns/{buildRunId}r��
get_build_runzJhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildRun/GetBuildRunr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z.DevopsClient.get_build_run.<locals>.<listcomp>z"get_build_run got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z.DevopsClient.get_build_run.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;	r5r!rFrfr r�r�)r%rgr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�sn��$
����zDevopsClient.get_build_runcszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)a�
        Retrieves a repository's commit by commit ID.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str commit_id: (required)
            A filter to return only resources that match the given commit ID.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryCommit`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_commit.py.html>`__ to see an example of how to use get_commit API.
        r��commitIdz//repositories/{repositoryId}/commits/{commitId}r��
get_commitzJhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetCommitr�csg|]}|�vr|�qSr'r'r1r3r'r(r4Zr5z+DevopsClient.get_commit.<locals>.<listcomp>zget_commit got unknown kwargs: )r�rcSsi|]\}}|tur||�qSr'r6r8r'r'r(r;dr5z+DevopsClient.get_commit.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;or5r!rFZRepositoryCommitr r�r�)r%r��	commit_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r-sp!��$
����zDevopsClient.get_commitc
s�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����d|i}
dd�t�|
�D�}
t�|
�D]<\}}|d
us�t|tj�rpt|���dkrptd|�d���qp|�dt	�||�dt	�|�dt	�d�}
dd�t�|
�D�}
dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�r8t
j}|�r�t|t
j��sd|j
�|�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
Sd
S)a
	
        Compares two revisions for their differences. Supports comparison between two references or commits.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str target_version: (required)
            The commit or reference name that represents the newer changes against the base version.

        :param str base_version: (optional)
            The commit or reference name to compare changes against. If base version is not provided, the difference goes against an empty tree.

        :param str target_repository_id: (optional)
            The target repository identifier

        :param bool is_comparison_from_merge_base: (optional)
            Boolean value to indicate whether to use merge base or most recent revision.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DiffResponse`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_commit_diff.py.html>`__ to see an example of how to use get_commit_diff API.
        r��
targetVersionz!/repositories/{repositoryId}/diffr��get_commit_diffzNhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetCommitDiff)r r!�base_version�target_repository_id�is_comparison_from_merge_baser/csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z0DevopsClient.get_commit_diff.<locals>.<listcomp>z$get_commit_diff got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z0DevopsClient.get_commit_diff.<locals>.<dictcomp>Nrr<r=r	r
r)�baseVersionr�targetRepositoryId�isComparisonFromMergeBasecSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFZDiffResponser �
rIrJrK�query_paramsrLrNr rOrPrQr�)r%r��target_versionr&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r�s~*��$


�
��
�
�zDevopsClient.get_commit_diffcsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a~
        Retrieves a connection by identifier.


        :param str connection_id: (required)
            Unique connection identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Connection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_connection.py.html>`__ to see an example of how to use get_connection API.
        r�r�r��get_connectionzNhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Connection/GetConnectionr�csg|]}|�vr|�qSr'r'r1r3r'r(r48r5z/DevopsClient.get_connection.<locals>.<listcomp>z#get_connection got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;Ar5z/DevopsClient.get_connection.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Lr5r!rFr~r r�r�r�r'r3r(rsn��$
����zDevopsClient.get_connectioncsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves a deployment artifact by identifier.


        :param str deploy_artifact_id: (required)
            Unique artifact identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployArtifact`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_deploy_artifact.py.html>`__ to see an example of how to use get_deploy_artifact API.
        r�r�r��get_deploy_artifactzVhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployArtifact/GetDeployArtifactr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z4DevopsClient.get_deploy_artifact.<locals>.<listcomp>z(get_deploy_artifact got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z4DevopsClient.get_deploy_artifact.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr�r r�r�r�r'r3r(rpsn��$
����z DevopsClient.get_deploy_artifactcsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves a deployment environment by identifier.


        :param str deploy_environment_id: (required)
            Unique environment identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployEnvironment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_deploy_environment.py.html>`__ to see an example of how to use get_deploy_environment API.
        r�r�r��get_deploy_environmentz\https://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployEnvironment/GetDeployEnvironmentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z7DevopsClient.get_deploy_environment.<locals>.<listcomp>z+get_deploy_environment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;r5z7DevopsClient.get_deploy_environment.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5r!rFr�r r�r�r�r'r3r(r�sn��$
����z#DevopsClient.get_deploy_environmentcsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves a deployment pipeline by identifier.


        :param str deploy_pipeline_id: (required)
            Unique pipeline identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployPipeline`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_deploy_pipeline.py.html>`__ to see an example of how to use get_deploy_pipeline API.
        r�r�r��get_deploy_pipelinezVhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployPipeline/GetDeployPipeliner�csg|]}|�vr|�qSr'r'r1r3r'r(r4^r5z4DevopsClient.get_deploy_pipeline.<locals>.<listcomp>z(get_deploy_pipeline got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;gr5z4DevopsClient.get_deploy_pipeline.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;rr5r!rFr�r r�r�r�r'r3r(r4sn��$
����z DevopsClient.get_deploy_pipelinecsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves a deployment stage by identifier.


        :param str deploy_stage_id: (required)
            Unique stage identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployStage`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_deploy_stage.py.html>`__ to see an example of how to use get_deploy_stage API.
        r�r�r��get_deploy_stagezPhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployStage/GetDeployStager�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z1DevopsClient.get_deploy_stage.<locals>.<listcomp>z%get_deploy_stage got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z1DevopsClient.get_deploy_stage.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr�r r�r�r�r'r3r(r�sn��$
����zDevopsClient.get_deploy_stagecsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a~
        Retrieves a deployment by identifier.


        :param str deployment_id: (required)
            Unique deployment identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Deployment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_deployment.py.html>`__ to see an example of how to use get_deployment API.
        r*�/deployments/{deploymentId}r��get_deploymentzNhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Deployment/GetDeploymentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4"r5z/DevopsClient.get_deployment.<locals>.<listcomp>z#get_deployment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;+r5z/DevopsClient.get_deployment.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;6r5r!rFrGr r�r�)r%rbr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�sn��$
����zDevopsClient.get_deploymentc
s�gd�}d}d}d}	d}
gd���fdd�t�|�D�}|rJtd	|����||d
�}dd�t�|�D�}t�|�D]<\}
}|d
us�t|tj�rrt|���dkrrtd|
�d���qr|||�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�r(t
j}|�r~t|t
j��sT|j
�|�|�|j�|j|j
j|||||d|�d�|	|
|d�S|j
j|||||d|�d�|	|
|d�
Sd
S)a	
        Gets the line-by-line difference between file on different commits. This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT as it does not get recognized when filePath has '/'. This will be replaced by "/repositories/{repositoryId}/file/diffs"


        :param str repository_id: (required)
            Unique repository identifier.

        :param str file_path: (required)
            Path to a file within a repository.

        :param str base_version: (required)
            The branch to compare changes against.

        :param str target_version: (required)
            The branch where changes are coming from.

        :param bool is_comparison_from_merge_base: (optional)
            Boolean to indicate whether to use merge base or most recent revision.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.FileDiffResponse`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_file_diff.py.html>`__ to see an example of how to use get_file_diff API.
        )r��filePathrrz-/repositories/{repositoryId}/diffs/{filePath}r��
get_file_diffzLhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetFileDiff)r r!rr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z.DevopsClient.get_file_diff.<locals>.<listcomp>z"get_file_diff got unknown kwargs: �r�rcSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z.DevopsClient.get_file_diff.<locals>.<dictcomp>Nrr<r=r)rrrcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rF�FileDiffResponser rr�)r%r��	file_pathr	rr&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(rZs~*��$
�
��
�
�zDevopsClient.get_file_diffcszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)a

        Returns either current mirror record or last successful mirror record for a specific mirror repository.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str mirror_record_type: (required)
            The field of mirror record type. Only one mirror record type can be provided:
            current - The current mirror record.
            lastSuccessful - The last successful mirror record.

            Allowed values are: "current", "lastSuccessful"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryMirrorRecord`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_mirror_record.py.html>`__ to see an example of how to use get_mirror_record API.
        r��mirrorRecordTypez=/repositories/{repositoryId}/mirrorRecords/{mirrorRecordType}r��get_mirror_recordzPhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetMirrorRecordr�csg|]}|�vr|�qSr'r'r1r3r'r(r4r5z2DevopsClient.get_mirror_record.<locals>.<listcomp>z&get_mirror_record got unknown kwargs: )r�rcSsi|]\}}|tur||�qSr'r6r8r'r'r(r;r5z2DevopsClient.get_mirror_record.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5r!rFZRepositoryMirrorRecordr r�r�)r%r�Zmirror_record_typer&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�sp%��$
����zDevopsClient.get_mirror_recordc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qn|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�r*t
j}|�r�t|t
j��sV|j
�|
�|�|j�|j|j
j|||	||
d|�d�|||d�S|j
j|||	||
d|�d�|||d�
SdS)a�
        Retrieves blob of specific branch name/commit ID and file path.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str file_path: (optional)
            A filter to return only commits that affect any of the specified paths.

        :param str ref_name: (optional)
            A filter to return only resources that match the given reference name.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryObject`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_object.py.html>`__ to see an example of how to use get_object API.
        r�z#/repositories/{repositoryId}/objectr��
get_objectzPhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositoryObject/GetObject)r r!rr�r/csg|]}|�vr|�qSr'r'r1r3r'r(r4or5z+DevopsClient.get_object.<locals>.<listcomp>zget_object got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;xr5z+DevopsClient.get_object.<locals>.<dictcomp>Nrr<r=rr�)rr�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFZRepositoryObjectr rr��r%r�r&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r =sz$��$

�
��
�
�zDevopsClient.get_objectc
s�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrd|�dt	�i}
dd
�t�|
�D�}
dd|�dt	�d�}dd
�t�|�D�}|j
j|�d�|jd�}|du�r$t
j}|�rzt|t
j��sP|j
�|�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a2
        Retrieve contents of a specified object.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str sha: (required)
            The SHA of a blob or tree.

        :param str file_path: (optional)
            A filter to return only commits that affect any of the specified paths.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type stream
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_object_content.py.html>`__ to see an example of how to use get_object_content API.
        r��shaz2/repositories/{repositoryId}/objects/{sha}/contentr��get_object_contentzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetObjectContent)r r!rr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z3DevopsClient.get_object_content.<locals>.<listcomp>z'get_object_content got unknown kwargs: )r�r"cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z3DevopsClient.get_object_content.<locals>.<dictcomp>Nrr<r=rrcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rF�streamr rr�)r%r�r"r&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r#�sz$��$�
��
�
�zDevopsClient.get_object_contentcsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)al
        Retrieves a project by identifier.


        :param str project_id: (required)
            Unique project identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Project`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_project.py.html>`__ to see an example of how to use get_project API.
        rir�r��get_projectzHhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Project/GetProjectr�csg|]}|�vr|�qSr'r'r1r3r'r(r4Jr5z,DevopsClient.get_project.<locals>.<listcomp>z get_project got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;Sr5z,DevopsClient.get_project.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;^r5r!rFr�r r�r�rlr'r3r(r% sn��$
����zDevopsClient.get_projectcszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)a/
        Get the project notification preference for the user passed as path param


        :param str project_id: (required)
            Unique project identifier.

        :param str principal_id: (required)
            Unique principal identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ProjectNotificationPreference`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_project_notification_preference.py.html>`__ to see an example of how to use get_project_notification_preference API.
        ri�principalId�P/projects/{projectId}/principals/{principalId}/pullRequestNotificationPreferencer��#get_project_notification_preferencezthttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ProjectNotificationPreference/GetProjectNotificationPreferencer�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5zDDevopsClient.get_project_notification_preference.<locals>.<listcomp>z8get_project_notification_preference got unknown kwargs: �rir&cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5zDDevopsClient.get_project_notification_preference.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rF�ProjectNotificationPreferencer r�r�)r%rm�principal_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r(�sp!��$
����z0DevopsClient.get_project_notification_preferencecsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves a project's repository settings details.


        :param str project_id: (required)
            Unique project identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ProjectRepositorySettings`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_project_repository_settings.py.html>`__ to see an example of how to use get_project_repository_settings API.
        rir�r��get_project_repository_settingszlhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ProjectRepositorySettings/GetProjectRepositorySettingsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4r5z@DevopsClient.get_project_repository_settings.<locals>.<listcomp>z4get_project_repository_settings got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;r5z@DevopsClient.get_project_repository_settings.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;&r5r!rF�ProjectRepositorySettingsr r�r�rlr'r3r(r,�sn��$
����z,DevopsClient.get_project_repository_settingscsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Gets a PullRequest by identifier


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_pull_request.py.html>`__ to see an example of how to use get_pull_request API.
        r�r�r��get_pull_requestzPhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/GetPullRequestr�csg|]}|�vr|�qSr'r'r1r3r'r(r4tr5z1DevopsClient.get_pull_request.<locals>.<listcomp>z%get_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;}r5z1DevopsClient.get_pull_request.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr�r r�r�r�r'r3r(r.Jsn��$
����zDevopsClient.get_pull_requestcszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)a
        Get PullRequest attachment metadata by identifier


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str attachment_id: (required)
            unique PullRequest attachment identifier

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestAttachment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_pull_request_attachment.py.html>`__ to see an example of how to use get_pull_request_attachment API.
        r�r�r�r��get_pull_request_attachmentzZhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/GetPullRequestAttachmentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z<DevopsClient.get_pull_request_attachment.<locals>.<listcomp>z0get_pull_request_attachment got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z<DevopsClient.get_pull_request_attachment.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr�r r�r�r�r'r3r(r/�sp!��$
����z(DevopsClient.get_pull_request_attachmentcszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)a�
        Gets the content of the attachment.


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str attachment_id: (required)
            unique PullRequest attachment identifier

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type stream
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_pull_request_attachment_content.py.html>`__ to see an example of how to use get_pull_request_attachment_content API.
        r�r�z@/pullRequests/{pullRequestId}/attachments/{attachmentId}/contentr��#get_pull_request_attachment_contentzahttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/GetPullRequestAttachmentContentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4?r5zDDevopsClient.get_pull_request_attachment_content.<locals>.<listcomp>z8get_pull_request_attachment_content got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;Ir5zDDevopsClient.get_pull_request_attachment_content.<locals>.<dictcomp>Nrr<r=zapplication/octet-streamr>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Tr5r!rFr$r r�r�r�r'r3r(r0sp!��$
����z0DevopsClient.get_pull_request_attachment_contentcsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Get pull request diff summary metric


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestChangeSummaryMetrics`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_pull_request_change_summary_metrics.py.html>`__ to see an example of how to use get_pull_request_change_summary_metrics API.
        r�z2/pullRequests/{pullRequestId}/changeSummaryMetricsr��'get_pull_request_change_summary_metricszdhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/GetPullRequestChangeSummaryMetricsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5zHDevopsClient.get_pull_request_change_summary_metrics.<locals>.<listcomp>z<get_pull_request_change_summary_metrics got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5zHDevopsClient.get_pull_request_change_summary_metrics.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFZPullRequestChangeSummaryMetricsr r�r�r�r'r3r(r1xsn��$
����z4DevopsClient.get_pull_request_change_summary_metricscszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)a�
        Get PullRequest comment by identifier


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str comment_id: (required)
            unique PullRequest Comment identifier

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestComment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_pull_request_comment.py.html>`__ to see an example of how to use get_pull_request_comment API.
        r�r�r�r��get_pull_request_commentzWhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/GetPullRequestCommentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4r5z9DevopsClient.get_pull_request_comment.<locals>.<listcomp>z-get_pull_request_comment got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;r5z9DevopsClient.get_pull_request_comment.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5r!rFr�r r�r�r�r'r3r(r2�sp!��$
����z%DevopsClient.get_pull_request_commentcszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)aJ
        Get the pull request notification preference for the user passed as path param


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str principal_id: (required)
            Unique principal identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestNotificationPreference`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_pull_request_notification_preference.py.html>`__ to see an example of how to use get_pull_request_notification_preference API.
        r�r&�X/pullRequests/{pullRequestId}/principals/{principalId}/pullRequestNotificationPreferencer��(get_pull_request_notification_preferencez|https://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequestNotificationPreference/GetPullRequestNotificationPreferencer�csg|]}|�vr|�qSr'r'r1r3r'r(r4mr5zIDevopsClient.get_pull_request_notification_preference.<locals>.<listcomp>z=get_pull_request_notification_preference got unknown kwargs: �r�r&cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;wr5zIDevopsClient.get_pull_request_notification_preference.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rF�!PullRequestNotificationPreferencer r�r�)r%r�r+r&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r4@sp!��$
����z5DevopsClient.get_pull_request_notification_preferencecszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)a=
        This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/refs". Retrieves a repository's reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like "heads/<name>" or "tags/<name>".


        :param str repository_id: (required)
            Unique repository identifier.

        :param str ref_name: (required)
            A filter to return only resources that match the given reference name.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryRef`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_ref.py.html>`__ to see an example of how to use get_ref API.
        r�r�r�r��get_refzGhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetRefr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z(DevopsClient.get_ref.<locals>.<listcomp>zget_ref got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z(DevopsClient.get_ref.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr�r r�r�r�r'r3r(r7�sp!��$
����zDevopsClient.get_refc
s�gd�}d}d}d}d}	gd���fdd�t�|�D�}
|
rJtd	|
����d
|i}dd�t�|�D�}t�|�D]<\}}
|
d
us�t|
tj�rpt|
���dkrptd|�d���qp|�dt	�|||�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�r0t
j}|�r�t|t
j��s\|j
�|�|�|j�|j|j
j|||||d|�d�||	|d�S|j
j|||||d|�d�||	|d�
Sd
S)a
        Gets the line-by-line difference between file on different commits.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str base_version: (required)
            The branch to compare changes against.

        :param str target_version: (required)
            The branch where changes are coming from.

        :param str file_path: (optional)
            A filter to return only commits that affect any of the specified paths.

        :param bool is_comparison_from_merge_base: (optional)
            Boolean to indicate whether to use merge base or most recent revision.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.FileDiffResponse`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_repo_file_diff.py.html>`__ to see an example of how to use get_repo_file_diff API.
        �r�rrz'/repositories/{repositoryId}/file/diffsr��get_repo_file_diffzPhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetRepoFileDiff)r r!rrr/csg|]}|�vr|�qSr'r'r1r3r'r(r4Dr5z3DevopsClient.get_repo_file_diff.<locals>.<listcomp>z'get_repo_file_diff got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;Mr5z3DevopsClient.get_repo_file_diff.<locals>.<dictcomp>Nrr<r=rr)rrrrcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Yr5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;`r5r!rFrr rr��r%r�r	rr&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r9s~*��$

�
��
�
�zDevopsClient.get_repo_file_diffc
s�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����d|i}
dd�t�|
�D�}
t�|
�D]<\}}|d
us�t|tj�rpt|���dkrptd|�d���qp|�dt	�||�dt	�|�dt	�d�}
dd�t�|
�D�}
dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�r8t
j}|�r�t|t
j��sd|j
�|�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
Sd
S)ad
        Retrieve lines of a specified file. Supports starting line number and limit.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str revision: (required)
            Retrieve file lines from specific revision.

        :param str file_path: (optional)
            A filter to return only commits that affect any of the specified paths.

        :param int start_line_number: (optional)
            Line number from where to start returning file lines.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryFileLines`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_repo_file_lines.py.html>`__ to see an example of how to use get_repo_file_lines API.
        r��revisionz'/repositories/{repositoryId}/file/linesr��get_repo_file_lineszQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetRepoFileLines)r r!r�start_line_number�limitr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z4DevopsClient.get_repo_file_lines.<locals>.<listcomp>z(get_repo_file_lines got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z4DevopsClient.get_repo_file_lines.<locals>.<dictcomp>Nrr<r=rr=r>)rr;�startLineNumberr>cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rF�RepositoryFileLinesr rr�)r%r�r;r&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r<�s~*��$


�
��
�
�z DevopsClient.get_repo_file_linesc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�gd�}|dD]}
|
|vr�td|����q�d|j�	|�
dt�d�i}dd�t�|�D�}dd|�
dt�d�}dd�t�|�D�}|jj|�
d�|j
d�}|du�r^tj}|�r�t|tj��s�|j�|�|�|j�|j|jj|||	||d|�
d�|||d�S|jj|||	||d|�
d�|||d�
SdS)aZ
        Retrieves a repository by identifier.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param list[str] fields: (optional)
            Fields parameter can contain multiple flags useful in deciding the API functionality.

            Allowed values are: "branchCount", "commitCount", "sizeInBytes"

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Repository`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_repository.py.html>`__ to see an example of how to use get_repository API.
        r�r�r��get_repositoryzNhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetRepository)r r!r/�fieldscsg|]}|�vr|�qSr'r'r1r3r'r(r41r5z/DevopsClient.get_repository.<locals>.<listcomp>z#get_repository got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;:r5z/DevopsClient.get_repository.<locals>.<dictcomp>Nrr<r=rB)ZbranchCountZcommitCount�sizeInBytesz+Invalid value for `fields`, must be one of �multicSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Kr5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Rr5r!rFr�r r)rrSrTrUrVrWrXrYr$� generate_collection_format_paramr#r7rZr!rr[r\r^r_r"r`ra)r%r�r&rQrIrJrOrPrcrKr9r:Zfields_allowed_valuesZfields_itemrrLr!r'r3r(rAs�#��$��
��
�
�zDevopsClient.get_repositoryc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qn|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�r*t
j}|�r�t|t
j��sV|j
�|
�|�|j�|j|j
j|||	||
d|�d�|||d�S|j
j|||	||
d|�d�|||d�
SdS)a|
        Returns the archived repository information.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str ref_name: (optional)
            A filter to return only resources that match the given reference name.

        :param str format: (optional)
            The archive format query parameter for downloading repository endpoint.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type stream
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_repository_archive_content.py.html>`__ to see an example of how to use get_repository_archive_content API.
        r�z,/repositories/{repositoryId}/archive/contentr��get_repository_archive_contentz\https://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetRepositoryArchiveContent)r r!r��formatr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z?DevopsClient.get_repository_archive_content.<locals>.<listcomp>z3get_repository_archive_content got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z?DevopsClient.get_repository_archive_content.<locals>.<dictcomp>Nrr<r=r�rG)r�rGcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFr$r rr�r!r'r3r(rFxsz$��$

�
��
�
�z+DevopsClient.get_repository_archive_contentc
s�gd�}d}d}d}d}	gd���fdd�t�|�D�}
|
rJtd	|
����||d
�}dd�t�|�D�}t�|�D]<\}}
|
d
us�t|
tj�rrt|
���dkrrtd|�d���qr||�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�r0t
j}|�r�t|t
j��s\|j
�|�|�|j�|j|j
j|||||d|�d�||	|d�S|j
j|||||d|�d�||	|d�
Sd
S)a	
        Retrieve lines of a specified file. Supports starting line number and limit. This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT as it does not get recognized when filePath has '/'. This will be replaced by "/repositories/{repositoryId}/file/lines"


        :param str repository_id: (required)
            Unique repository identifier.

        :param str file_path: (required)
            Path to a file within a repository.

        :param str revision: (required)
            Retrieve file lines from specific revision.

        :param int start_line_number: (optional)
            Line number from where to start returning file lines.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryFileLines`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_repository_file_lines.py.html>`__ to see an example of how to use get_repository_file_lines API.
        )r�rr;z3/repositories/{repositoryId}/files/{filePath}/linesr��get_repository_file_lineszWhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/GetRepositoryFileLines)r r!r=r>r/csg|]}|�vr|�qSr'r'r1r3r'r(r4"r5z:DevopsClient.get_repository_file_lines.<locals>.<listcomp>z.get_repository_file_lines got unknown kwargs: rcSsi|]\}}|tur||�qSr'r6r8r'r'r(r;,r5z:DevopsClient.get_repository_file_lines.<locals>.<dictcomp>Nrr<r=r=r>)r;r?r>cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;7r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;>r5r!rFr@r rr�)r%r�rr;r&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(rH�s~*��$

�
��
�
�z&DevopsClient.get_repository_file_linescszddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|dur�t
j}|�rRt|t
j��s*|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)aA
        Get the repository notification preference for the user passed as path param


        :param str repository_id: (required)
            Unique repository identifier.

        :param str principal_id: (required)
            Unique principal identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryNotificationPreference`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_repository_notification_preference.py.html>`__ to see an example of how to use get_repository_notification_preference API.
        r�r&�W/repositories/{repositoryId}/principals/{principalId}/pullRequestNotificationPreferencer��&get_repository_notification_preferencezzhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositoryNotificationPreference/GetRepositoryNotificationPreferencer�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5zGDevopsClient.get_repository_notification_preference.<locals>.<listcomp>z;get_repository_notification_preference got unknown kwargs: �r�r&cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5zGDevopsClient.get_repository_notification_preference.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rF� RepositoryNotificationPreferencer r�r�)r%r�r+r&rQrIrJrOrPrcrKr9r:rLr!r'r3r(rJdsp!��$
����z3DevopsClient.get_repository_notification_preferencecsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves a repository's settings details.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositorySettings`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_repository_settings.py.html>`__ to see an example of how to use get_repository_settings API.
        r�r�r��get_repository_settingsz^https://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositorySettings/GetRepositorySettingsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z8DevopsClient.get_repository_settings.<locals>.<listcomp>z,get_repository_settings got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z8DevopsClient.get_repository_settings.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r5r!rF�RepositorySettingsr r�r�r�r'r3r(rM�sn��$
����z$DevopsClient.get_repository_settingscsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)al
        Retrieves a trigger by identifier.


        :param str trigger_id: (required)
            Unique trigger identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Trigger`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_trigger.py.html>`__ to see an example of how to use get_trigger API.
        r�r�r��get_triggerzHhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Trigger/GetTriggerr�csg|]}|�vr|�qSr'r'r1r3r'r(r4Vr5z,DevopsClient.get_trigger.<locals>.<listcomp>z get_trigger got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;_r5z,DevopsClient.get_trigger.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;jr5r!rF�Triggerr r�r�r�r'r3r(rO,sn��$
����zDevopsClient.get_triggercsvdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
dur�t
j}
|
�rNt|
t
j��s&|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Retrieves the status of the work request with the given ID.


        :param str work_request_id: (required)
            The ID of the asynchronous work request.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.WorkRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
        �
workRequestIdz/workRequests/{workRequestId}r��get_work_requestzPhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/WorkRequest/GetWorkRequestr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z1DevopsClient.get_work_request.<locals>.<listcomp>z%get_work_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z1DevopsClient.get_work_request.<locals>.<dictcomp>Nrr<r=r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFZWorkRequestr r�r�)r%�work_request_idr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(rR�sn��$
����zDevopsClient.get_work_requestcs�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|du�r
t
j}|�r^t|t
j��s6|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)aQ
        Like a PullRequest comment


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str comment_id: (required)
            unique PullRequest Comment identifier

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestComment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/like_pull_request_comment.py.html>`__ to see an example of how to use like_pull_request_comment API.
        r�r�z?/pullRequests/{pullRequestId}/comments/{commentId}/actions/liker+�like_pull_request_commentzXhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/LikePullRequestCommentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4!r5z:DevopsClient.like_pull_request_comment.<locals>.<listcomp>z.like_pull_request_comment got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;+r5z:DevopsClient.like_pull_request_comment.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;7r5r!rFr�r r�r�r�r'r3r(rT�sr$��$

��
��z&DevopsClient.like_pull_request_commentc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����|�dt	�|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|du�rht
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	|
|d|�d �|||d!�S|j
j|||	|
|d|�d �|||d!�
SdS)"a�
        Retrieve a list of all the authors.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str ref_name: (optional)
            A filter to return only resources that match the given reference name.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryAuthorCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_authors.py.html>`__ to see an example of how to use list_authors API.
        r�z$/repositories/{repositoryId}/authorsr��list_authorszLhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListAuthors)r r!r�r>�page�
sort_orderr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�r5z-DevopsClient.list_authors.<locals>.<listcomp>z!list_authors got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�r5z-DevopsClient.list_authors.<locals>.<dictcomp>Nrr<r=rW�ASC�DESC�/Invalid value for `sort_order`, must be one of r�r>rV)r�r>rV�	sortOrdercSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�r5r!rFZRepositoryAuthorCollectionr rr��r%r�r&rQrIrJrOrPrcrKr9r:�sort_order_allowed_valuesrrLr!r'r3r(rU[s�,	��$�



�
��
�
�zDevopsClient.list_authorscsg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�d�	}dd�t�|�D�}dd|�dt�d�}d d�t�|�D�}|jj|�d!�|jd"�}
|
d#u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d$|�d%�|||d&�
S|jj||||d$|�d%�|||d&�	Sd#S)'a
        Returns a list of all stages in a compartment or build pipeline.


        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str build_pipeline_id: (optional)
            The OCID of the parent build pipeline.

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str lifecycle_state: (optional)
            A filter to return the stages that matches the given lifecycle state.

            Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineStageCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_build_pipeline_stages.py.html>`__ to see an example of how to use list_build_pipeline_stages API.
        rwr��list_build_pipeline_stageszghttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipelineStageSummary/ListBuildPipelineStages)r r!�idr��compartment_id�lifecycle_state�display_namer>rVrW�sort_byr/csg|]}|�vr|�qSr'r'r1r3r'r(r41 r5z;DevopsClient.list_build_pipeline_stages.<locals>.<listcomp>z/list_build_pipeline_stages got unknown kwargs: ra��CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�4Invalid value for `lifecycle_state`, must be one of rWrXrYrZrc�timeCreated�displayName�,Invalid value for `sort_by`, must be one of r_r�r`rbr>rV)	r_r��
compartmentId�lifecycleStatermr>rVr[�sortBycSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;V r5z;DevopsClient.list_build_pipeline_stages.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;] r5r!rFNZBuildPipelineStageCollectionr �	rIrJrrLrNr rOrPrQ�rrSrTr#r7rUr$rZr!rr[rVr\r^r_r"r`ra�r%r&rQrIrJrOrPrc�lifecycle_state_allowed_valuesr]�sort_by_allowed_valuesrrLr!r'r3r(r^�s�<����








�
��
��z'DevopsClient.list_build_pipeline_stagescsg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�d�	}dd�t�|�D�}dd|�dt�d�}d d�t�|�D�}|jj|�d!�|jd"�}
|
d#u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d$|�d%�|||d&�
S|jj||||d$|�d%�|||d&�	Sd#S)'a�
        Returns a list of build pipelines.


        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str project_id: (optional)
            unique project identifier

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str lifecycle_state: (optional)
            A filter to return only build pipelines that matches the given lifecycle state.

            Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_build_pipelines.py.html>`__ to see an example of how to use list_build_pipelines API.
        rpr��list_build_pipelinesz`https://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipelineCollection/ListBuildPipelines�r r!r_rmr`rarbr>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4� r5z5DevopsClient.list_build_pipelines.<locals>.<listcomp>z)list_build_pipelines got unknown kwargs: ra�rerfrgZINACTIVErhrirjrkrWrXrYrZrcrlrmrnr_rmr`rbr>rV�	r_rirorprmr>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;� r5z5DevopsClient.list_build_pipelines.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;� r5r!rFNZBuildPipelineCollectionr rrrsrtr'r3r(rw� s�<����








�
��
��z!DevopsClient.list_build_pipelinesc
s4dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|v�rddg}
|d|
v�rtd|
����|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�d t	�d!�}d"d�t�|�D�}|j
j|�d#�|jd$�}|du�r�t
j}|�r
t|t
j��s�|j
�|�|�|j�|j|j
j|||	||d%|�d&�|||d'�S|j
j|||	||d%|�d&�|||d'�
SdS)(a�

        Returns a list of build run snapshots for a given commit or the latest commit on a pull request if no commit is provided.


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str pipeline_id: (optional)
            Unique build pipeline identifier.

        :param str build_run_id: (optional)
            Unique build run identifier.

        :param str commit_id: (optional)
            Commit ID in a repository.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for name is ascending. If no value is specified time created is default.

            Allowed values are: "timeCreated", "name"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRunSnapshotCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_build_run_snapshots.py.html>`__ to see an example of how to use list_build_run_snapshots API.
        r�z//pullRequests/{pullRequestId}/buildRunSnapshotsr��list_build_run_snapshotszVhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListBuildRunSnapshots)
r r!�pipeline_idrgrr>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4l!r5z9DevopsClient.list_build_run_snapshots.<locals>.<listcomp>z-list_build_run_snapshots got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;u!r5z9DevopsClient.list_build_run_snapshots.<locals>.<dictcomp>Nrr<r=rWrXrYrZrcrlr�rnr|rgrr>rV)Z
pipelineIdrdrr>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�!r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�!r5r!rFZBuildRunSnapshotCollectionr rr��r%r�r&rQrIrJrOrPrcrKr9r:r]rvrrLr!r'r3r(r{"!s�7��$�
�






�	
��
�
�z%DevopsClient.list_build_run_snapshotsc
sg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�d�
}dd�t�|�D�}dd|�dt�d �}d!d�t�|�D�}|jj|�d"�|jd#�}
|
d$u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d%|�d&�|||d'�
S|jj||||d%|�d&�|||d'�	Sd$S)(aK
        Returns a list of build run summary.


        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str build_pipeline_id: (optional)
            Unique build pipeline identifier.

        :param str project_id: (optional)
            unique project identifier

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param str lifecycle_state: (optional)
            A filter to return only build runs that matches the given lifecycle state.

            Allowed values are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "DELETING"

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRunSummaryCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_build_runs.py.html>`__ to see an example of how to use list_build_runs API.
        rzr��list_build_runszShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildRunSummary/ListBuildRuns)
r r!r_r�rmr`rbrar>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4"r5z0DevopsClient.list_build_runs.<locals>.<listcomp>z$list_build_runs got unknown kwargs: ra)�ACCEPTED�IN_PROGRESSrj�	SUCCEEDED�	CANCELING�CANCELEDrhrkrWrXrYrZrcrlrmrnr_r�rmr`rbr>rV)
r_r�rirormrpr>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;:"r5z0DevopsClient.list_build_runs.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;A"r5r!rFNZBuildRunSummaryCollectionr rrrsrtr'r3r(r~�!s�?����









�
��
��zDevopsClient.list_build_runsc
s�gd�}d}d}d}d}	gd���fdd�t�|�D�}
|
rJtd	|
����d
|i}dd�t�|�D�}t�|�D]<\}}
|
d
us�t|
tj�rpt|
���dkrptd|�d���qp|||�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�rDt
j}|�r�t|t
j��sp|j
�|�|�|j�|j|j
j|||||d|�d�||	|d�S|j
j|||||d|�d�||	|d�
Sd
S) a�	
        Compares two revisions and lists the differences. Supports comparison between two references or commits.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str base_version: (required)
            The commit or reference name to compare changes against.

        :param str target_version: (required)
            The commit or reference name where changes are coming from.

        :param str target_repository_id: (optional)
            The target repository identifier

        :param bool is_comparison_from_merge_base: (optional)
            Boolean value to indicate whether to use merge base or most recent revision.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DiffCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_commit_diffs.py.html>`__ to see an example of how to use list_commit_diffs API.
        r8z"/repositories/{repositoryId}/diffsr��list_commit_diffszPhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListCommitDiffs)r r!r
rr>rVr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�"r5z2DevopsClient.list_commit_diffs.<locals>.<listcomp>z&list_commit_diffs got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�"r5z2DevopsClient.list_commit_diffs.<locals>.<dictcomp>Nrr<r=r
rr>rV)rrr
rr>rVcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�"r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�"r5r!rFZDiffCollectionr rr�r:r'r3r(r�e"s�0	��$



�
��
�
�zDevopsClient.list_commit_diffsc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qn|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�d�	}dd�t�|�D�}dd|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd �}|du�rpt
j}|�r�t|t
j��s�|j
�|
�|�|j�|j|j
j|||	||
d!|�d"�|||d#�S|j
j|||	||
d!|�d"�|||d#�
SdS)$a<
        Returns a list of commits.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str ref_name: (optional)
            A filter to return only resources that match the given reference name.

        :param str exclude_ref_name: (optional)
            A filter to exclude commits that match the given reference name.

        :param str file_path: (optional)
            A filter to return only commits that affect any of the specified paths.

        :param datetime timestamp_greater_than_or_equal_to: (optional)
            A filter to return commits only created after the specified timestamp value.

        :param datetime timestamp_less_than_or_equal_to: (optional)
            A filter to return commits only created before the specified timestamp value.

        :param str commit_message: (optional)
            A filter to return any commits that contains the given message.

        :param str author_name: (optional)
            A filter to return any commits that are pushed by the requested author.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryCommitCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_commits.py.html>`__ to see an example of how to use list_commits API.
        r�z$/repositories/{repositoryId}/commitsr��list_commitszRhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositoryCommit/ListCommits)r r!r��exclude_ref_namer�"timestamp_greater_than_or_equal_to�timestamp_less_than_or_equal_to�commit_message�author_namer>rVr/csg|]}|�vr|�qSr'r'r1r3r'r(r47#r5z-DevopsClient.list_commits.<locals>.<listcomp>z!list_commits got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;@#r5z-DevopsClient.list_commits.<locals>.<dictcomp>Nrr<r=r�r�rr�r�r�r�r>rV)	r�ZexcludeRefNamerZtimestampGreaterThanOrEqualToZtimestampLessThanOrEqualToZ
commitMessage�
authorNamer>rVcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Q#r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;X#r5r!rF�RepositoryCommitCollectionr rr�r!r'r3r(r��"s�9��$








�
��
�
�zDevopsClient.list_commitsc
s8g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpd
dg}|d	|vrptd|����d
|vr�gd�}	|d
|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����d|vr�ddg}|d|vr�td|����|�dt�|�dt�|�dt�|�d	t�|�dt�|�d
t�|�dt�|�dt�|�dt�|�dt�d�
}dd �t�|�D�}d!d!|�d"t�d#�}
d$d �t�|
�D�}
|jj|�d%�|jd&�}|d'u�r�t	j
}|�rt|t	j��s�|j�
|
�|�|j�|j|jj||||
d(|�d)�|||d*�
S|jj||||
d(|�d)�|||d*�	Sd'S)+a�
        Returns a list of connections.


        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str project_id: (optional)
            unique project identifier

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str lifecycle_state: (optional)
            A filter to return only connections that matches the given lifecycle state.

            Allowed values are: "ACTIVE", "DELETING"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param str connection_type: (optional)
            A filter to return only resources that match the given connection type.

            Allowed values are: "GITHUB_ACCESS_TOKEN", "GITLAB_ACCESS_TOKEN", "GITLAB_SERVER_ACCESS_TOKEN", "BITBUCKET_SERVER_ACCESS_TOKEN", "BITBUCKET_CLOUD_APP_PASSWORD", "VBS_ACCESS_TOKEN"

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ConnectionCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_connections.py.html>`__ to see an example of how to use list_connections API.
        r|r��list_connectionszZhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ConnectionCollection/ListConnections)
r r!r_rmr`rarb�connection_typer>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�#r5z1DevopsClient.list_connections.<locals>.<listcomp>z%list_connections got unknown kwargs: rargrhrkr�)ZGITHUB_ACCESS_TOKENZGITLAB_ACCESS_TOKENZGITLAB_SERVER_ACCESS_TOKENZBITBUCKET_SERVER_ACCESS_TOKENZBITBUCKET_CLOUD_APP_PASSWORDZVBS_ACCESS_TOKENz4Invalid value for `connection_type`, must be one of rWrXrYrZrcrlrmrnr_rmr`rbr>rV)
r_rirorprmZconnectionTyper>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;$r5z1DevopsClient.list_connections.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;	$r5r!rFNZConnectionCollectionr rrrs)r%r&rQrIrJrOrPrcruZconnection_type_allowed_valuesr]rvrrLr!r'r3r(r�~#s�A�����









�
��
��zDevopsClient.list_connectionscsg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�d�	}dd�t�|�D�}dd|�dt�d�}d d�t�|�D�}|jj|�d!�|jd"�}
|
d#u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d$|�d%�|||d&�
S|jj||||d$|�d%�|||d&�	Sd#S)'a�
        Returns a list of deployment artifacts.


        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str project_id: (optional)
            unique project identifier

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str lifecycle_state: (optional)
            A filter to return only DeployArtifacts that matches the given lifecycleState.

            Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployArtifactCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_deploy_artifacts.py.html>`__ to see an example of how to use list_deploy_artifacts API.
        rr��list_deploy_artifactsz_https://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployArtifactSummary/ListDeployArtifactsrxcsg|]}|�vr|�qSr'r'r1r3r'r(r4~$r5z6DevopsClient.list_deploy_artifacts.<locals>.<listcomp>z*list_deploy_artifacts got unknown kwargs: rardrkrWrXrYrZrcrlrmrnr_rmr`rbr>rVrzcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�$r5z6DevopsClient.list_deploy_artifacts.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�$r5r!rFNZDeployArtifactCollectionr rrrsrtr'r3r(r�-$s�<����








�
��
��z"DevopsClient.list_deploy_artifactscsg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�d�	}dd�t�|�D�}dd|�dt�d�}d d�t�|�D�}|jj|�d!�|jd"�}
|
d#u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d$|�d%�|||d&�
S|jj||||d$|�d%�|||d&�	Sd#S)'a
        Returns a list of deployment environments.


        :param str project_id: (optional)
            unique project identifier

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str lifecycle_state: (optional)
            A filter to return only DeployEnvironments that matches the given lifecycleState.

            Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployEnvironmentCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_deploy_environments.py.html>`__ to see an example of how to use list_deploy_environments API.
        r�r��list_deploy_environmentszehttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployEnvironmentSummary/ListDeployEnvironments)r r!rmr`r_rarbr>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4%r5z9DevopsClient.list_deploy_environments.<locals>.<listcomp>z-list_deploy_environments got unknown kwargs: ra�rerfrgrhrirj�NEEDS_ATTENTIONrkrWrXrYrZrcrlrmrnrmr`r_rbr>rV)	riror_rprmr>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;D%r5z9DevopsClient.list_deploy_environments.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;K%r5r!rFNZDeployEnvironmentCollectionr rrrsrtr'r3r(r��$s�<����








�
��
��z%DevopsClient.list_deploy_environmentscsg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�d�	}dd�t�|�D�}dd|�dt�d�}d d�t�|�D�}|jj|�d!�|jd"�}
|
d#u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d$|�d%�|||d&�
S|jj||||d$|�d%�|||d&�	Sd#S)'a�
        Returns a list of deployment pipelines.


        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str project_id: (optional)
            unique project identifier

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str lifecycle_state: (optional)
            A filter to return only DeployPipelines that matches the given lifecycleState.

            Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployPipelineCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_deploy_pipelines.py.html>`__ to see an example of how to use list_deploy_pipelines API.
        r�r��list_deploy_pipelinesz_https://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployPipelineSummary/ListDeployPipelinesrxcsg|]}|�vr|�qSr'r'r1r3r'r(r4�%r5z6DevopsClient.list_deploy_pipelines.<locals>.<listcomp>z*list_deploy_pipelines got unknown kwargs: raryrkrWrXrYrZrcrlrmrnr_rmr`rbr>rVrzcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�%r5z6DevopsClient.list_deploy_pipelines.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�%r5r!rFNZDeployPipelineCollectionr rrrsrtr'r3r(r�o%s�<����








�
��
��z"DevopsClient.list_deploy_pipelinescsg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�d�	}dd�t�|�D�}dd|�dt�d�}d d�t�|�D�}|jj|�d!�|jd"�}
|
d#u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d$|�d%�|||d&�
S|jj||||d$|�d%�|||d&�	Sd#S)'a�
        Retrieves a list of deployment stages.


        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str deploy_pipeline_id: (optional)
            The ID of the parent pipeline.

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str lifecycle_state: (optional)
            A filter to return only deployment stages that matches the given lifecycle state.

            Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployStageCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_deploy_stages.py.html>`__ to see an example of how to use list_deploy_stages API.
        r�r��list_deploy_stageszYhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployStageSummary/ListDeployStages)r r!r_r�r`rarbr>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4a&r5z3DevopsClient.list_deploy_stages.<locals>.<listcomp>z'list_deploy_stages got unknown kwargs: rardrkrWrXrYrZrcrlrmrnr_r�r`rbr>rV)	r_r�rorprmr>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�&r5z3DevopsClient.list_deploy_stages.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�&r5r!rFNZDeployStageCollectionr rrrsrtr'r3r(r�&s�<����








�
��
��zDevopsClient.list_deploy_stagescs"g}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�|�dt�|�dt�d�}dd�t�|�D�}d d |�d!t�d"�}d#d�t�|�D�}|jj|�d$�|jd%�}
|
d&u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d'|�d(�|||d)�
S|jj||||d'|�d(�|||d)�	Sd&S)*a�
        Returns a list of deployments.


        :param str deploy_pipeline_id: (optional)
            The ID of the parent pipeline.

        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str project_id: (optional)
            unique project identifier

        :param str lifecycle_state: (optional)
            A filter to return only Deployments that matches the given lifecycleState.

            Allowed values are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param datetime time_created_less_than: (optional)
            Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to `timeCreatedLessThan` parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by `RFC3339`__.

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

        :param datetime time_created_greater_than_or_equal_to: (optional)
            Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to `timeCreatedGreaterThanOrEqualTo` parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by `RFC3339`__.

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

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeploymentCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_deployments.py.html>`__ to see an example of how to use list_deployments API.
        r�r��list_deploymentszWhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeploymentSummary/ListDeployments)r r!r�r_r`rmrarbr>rVrWrcr/�time_created_less_than�%time_created_greater_than_or_equal_tocsg|]}|�vr|�qSr'r'r1r3r'r(r4'r5z1DevopsClient.list_deployments.<locals>.<listcomp>z%list_deployments got unknown kwargs: ra)rr�rjr�r�r�rkrWrXrYrZrcrlrmrnr�r_r`rmrbr>rVr�r�)r�r_rorirprmr>rVr[rqZtimeCreatedLessThanZtimeCreatedGreaterThanOrEqualTocSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;:'r5z1DevopsClient.list_deployments.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;A'r5r!rFNZDeploymentCollectionr rrrsrtr'r3r(r��&s�I����











�
��
��zDevopsClient.list_deploymentsc
s�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����d|i}
dd�t�|
�D�}
t�|
�D]<\}}|d
us�t|tj�rpt|���dkrptd|�d���qpd|i}
dd�t�|
�D�}
dd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�r$t
j}|�rzt|t
j��sP|j
�|�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
Sd
S)a�
        LIST operation that returns a collection of fork sync status objects.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str branch_name_query_param: (required)
            Specifies the branch for which the fork sync status will be checked.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ForkSyncStatusCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_fork_sync_statuses.py.html>`__ to see an example of how to use list_fork_sync_statuses API.
        r�ZbranchNameQueryParamz-/repositories/{repositoryId}/forkSyncStatusesr��list_fork_sync_statuseszUhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListForkSyncStatusesr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�'r5z8DevopsClient.list_fork_sync_statuses.<locals>.<listcomp>z,list_fork_sync_statuses got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�'r5z8DevopsClient.list_fork_sync_statuses.<locals>.<dictcomp>Nrr<r=cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�'r5r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�'r5r!rFZForkSyncStatusCollectionr rr�)r%r�Zbranch_name_query_paramr&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r�e'sz$��$�

��
�
�z$DevopsClient.list_fork_sync_statusesc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|du�r^t
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	|
|d|�d�|||d �S|j
j|||	|
|d|�d�|||d �
SdS)!a]
        Returns a list of mirror entry in history within 30 days.


        :param str repository_id: (required)
            Unique repository identifier.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryMirrorRecordCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_mirror_records.py.html>`__ to see an example of how to use list_mirror_records API.
        r�z*/repositories/{repositoryId}/mirrorRecordsr��list_mirror_recordszRhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListMirrorRecords�r r!r>rVrWr/csg|]}|�vr|�qSr'r'r1r3r'r(r4(r5z4DevopsClient.list_mirror_records.<locals>.<listcomp>z(list_mirror_records got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;(r5z4DevopsClient.list_mirror_records.<locals>.<dictcomp>Nrr<r=rWrXrYrZr>rV�r>rVr[cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;)(r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;0(r5r!rFZ RepositoryMirrorRecordCollectionr rr�r\r'r3r(r��'s�)��$�


�
��
�
�z DevopsClient.list_mirror_recordsc
s>dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|v�rgd�}
|d|
v�rtd|
����|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�d t	�d!�}d"d�t�|�D�}|j
j|�d#�|jd$�}|du�r�t
j}|�rt|t
j��s�|j
�|�|�|j�|j|j
j|||	||d%|�d&�|||d'�S|j
j|||	||d%|�d&�|||d'�
SdS)(a�
        Retrieves a list of files and directories in a repository.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str ref: (optional)
            The name of branch/tag or commit hash it points to. If names conflict, order of preference is commit > branch > tag.
            You can disambiguate with "heads/foobar" and "tags/foobar". If left blank repository's default branch will be used.

        :param bool paths_in_subtree: (optional)
            Flag to determine if files must be retrived recursively. Flag is False by default.

        :param str folder_path: (optional)
            The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order is ascending. If no value is specified name is default.

            Allowed values are: "type", "sizeInBytes", "name"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryPathCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_paths.py.html>`__ to see an example of how to use list_paths API.
        r�z"/repositories/{repositoryId}/pathsr��
list_pathszUhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositoryPathSummary/ListPaths)r r!�ref�paths_in_subtree�folder_pathr>rVrbrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�(r5z+DevopsClient.list_paths.<locals>.<listcomp>zlist_paths got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�(r5z+DevopsClient.list_paths.<locals>.<dictcomp>Nrr<r=rWrXrYrZrc)�typerCr�rnr�r�r�r>rVrb)r�ZpathsInSubtreeZ
folderPathr>rVrmr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�(r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�(r5r!rFZRepositoryPathCollectionr rr��r%r�r&rQrIrJrOrPrcrKr9r:r]rvrrLr!r'r3r(r�V(s�;
��$�
�







�

��
�
�zDevopsClient.list_pathsc
sdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|vr�dg}
|d|
vr�td|
����|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd �}|du�r�t
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	||d!|�d"�|||d#�S|j
j|||	||d!|�d"�|||d#�
SdS)$aQ	
        Retrieve a list of all the Commit Analytics authors.


        :param str project_id: (required)
            Unique project identifier.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str sort_by: (optional)
            The field to sort by. Only one sort by value is supported for this parameter. Default order for author name is ascending.

            Allowed values are: "authorName"

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.CommitAnalyticsAuthorCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_project_commit_analytics_authors.py.html>`__ to see an example of how to use list_project_commit_analytics_authors API.
        riz,/projects/{projectId}/commitAnalyticsAuthorsr��%list_project_commit_analytics_authorszbhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListProjectCommitAnalyticsAuthors�r r!r>rVrWr/rccsg|]}|�vr|�qSr'r'r1r3r'r(r47)r5zFDevopsClient.list_project_commit_analytics_authors.<locals>.<listcomp>z:list_project_commit_analytics_authors got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;@)r5zFDevopsClient.list_project_commit_analytics_authors.<locals>.<dictcomp>Nrr<r=rWrXrYrZrcr�rnr>rV�r>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;Z)r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;a)r5r!rF�CommitAnalyticsAuthorCollectionr rr�)r%rmr&rQrIrJrOrPrcrKr9r:r]rvrrLr!r'r3r(r��(s�.	��$��



�
��
�
�z2DevopsClient.list_project_commit_analytics_authorscs�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d
|vrrgd�}	|d
|	vrrtd|	����d
|vr�ddg}
|d
|
vr�td|
����d|vr�ddg}|d|vr�td|����|�dt�||�d
t�|�dt�|�dt�|�dt�|�d
t�|�dt�d�}dd�t�|�D�}dd|�dt�d�}
dd�t�|
�D�}
|jj|�d �|jd!�}|d"u�rxt	j
}|�r�t|t	j��s�|j�
|
�|�|j�|j|jj||||
d#|�d$�|||d%�
S|jj||||
d#|�d$�|||d%�	Sd"S)&aq
        Returns a list of projects.


        :param str compartment_id: (required)
            The OCID of the compartment in which to list resources.

        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str lifecycle_state: (optional)
            A filter to return only Projects that matches the given lifecycleState.

            Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION"

        :param str name: (optional)
            A filter to return only resources that match the entire name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ProjectCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_projects.py.html>`__ to see an example of how to use list_projects API.
        ror�r��
list_projectszQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ProjectSummary/ListProjects)
r r!r_rar�r>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�)r5z.DevopsClient.list_projects.<locals>.<listcomp>z"list_projects got unknown kwargs: rar�rkrWrXrYrZrcrlrmrnr_r�r>rV)r_rorpr�r>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�)r5z.DevopsClient.list_projects.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�)r5r!rFNZProjectCollectionr rrrs)r%r`r&rQrIrJrOrPrcrur]rvrrLr!r'r3r(r��)s�9����






�

��
��zDevopsClient.list_projectsc
sdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|vr�dg}
|d|
vr�td|
����|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d �|jd!�}|du�r�t
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	||d"|�d#�|||d$�S|j
j|||	||d"|�d#�|||d$�
SdS)%a�	
        Returns a list of Protected Branches.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str name: (optional)
            A filter to return only resources that match the given branch name.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for branch name is ascending. If no value is specified branch name is default.

            Allowed values are: "branchName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ProtectedBranchCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_protected_branches.py.html>`__ to see an example of how to use list_protected_branches API.
        r�z./repositories/{repositoryId}/protectedBranchesr��list_protected_brancheszehttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ProtectedBranchCollection/ListProtectedBranches)r r!r�r>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4d*r5z8DevopsClient.list_protected_branches.<locals>.<listcomp>z,list_protected_branches got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;m*r5z8DevopsClient.list_protected_branches.<locals>.<dictcomp>Nrr<r=rWrXrYrZrcZ
branchNamernr�r>rV)r�r>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�*r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�*r5r!rFZProtectedBranchCollectionr rr�r�r'r3r(r�"*s�1
��$��




�
��
�
�z$DevopsClient.list_protected_branchesc
sdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�gd�}|d|vr�td|����d|v�rddg}
|d|
v�rtd|
����|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd �}|du�r�t
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	||d!|�d"�|||d#�S|j
j|||	||d!|�d"�|||d#�
SdS)$av	
        List actions that have been taken on a pull request


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str activity_type: (optional)
            An optional filter to list activities based on activity type. If no value is specified, all activity types will returned.

            Allowed values are: "LIFECYCLE", "APPROVAL", "COMMIT", "REVIEWER", "COMMENT"

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestActivityCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_pull_request_activities.py.html>`__ to see an example of how to use list_pull_request_activities API.
        r�z(/pullRequests/{pullRequestId}/activitiesr��list_pull_request_activitiesz[https://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/ListPullRequestActivities)r r!�
activity_typerWr>rVr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�*r5z=DevopsClient.list_pull_request_activities.<locals>.<listcomp>z1list_pull_request_activities got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�*r5z=DevopsClient.list_pull_request_activities.<locals>.<dictcomp>Nrr<r=r�)Z	LIFECYCLEZAPPROVALZCOMMITZREVIEWER�COMMENTz2Invalid value for `activity_type`, must be one of rWrXrYrZr>rV)ZactivityTyper[r>rVcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;+r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;+r5r!rFZPullRequestActivityCollectionr rr�)r%r�r&rQrIrJrOrPrcrKr9r:Zactivity_type_allowed_valuesr]rrLr!r'r3r(r��*s�.	��$�
�



�
��
�
�z)DevopsClient.list_pull_request_activitiesc
s*dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|v�rgd�}
|d|
v�rtd|
����|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}d d�t�|�D�}|j
j|�d!�|jd"�}|du�r�t
j}|�rt|t
j��s�|j
�|�|�|j�|j|j
j|||	||d#|�d$�|||d%�S|j
j|||	||d#|�d$�|||d%�
SdS)&a_

        List PullRequest level attachments by identifier


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order is ascending. If no value is specified timeCreated is default.

            Allowed values are: "fileName", "timeCreated", "createdBy"

        :param str file_name: (optional)
            A filter to return only resources that match the entire file name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestAttachmentCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_pull_request_attachments.py.html>`__ to see an example of how to use list_pull_request_attachments API.
        r�r�r��list_pull_request_attachmentsz\https://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/ListPullRequestAttachments)	r r!r`rWrc�	file_namer>rVr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�+r5z>DevopsClient.list_pull_request_attachments.<locals>.<listcomp>z2list_pull_request_attachments got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�+r5z>DevopsClient.list_pull_request_attachments.<locals>.<dictcomp>Nrr<r=rWrXrYrZrc)�fileNamerl�	createdByrnr`r�r>rV)ror[rqr�r>rVcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�+r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�+r5r!rFZPullRequestAttachmentCollectionr rr�r}r'r3r(r�C+s�4��$�
�





�
��
�
�z*DevopsClient.list_pull_request_attachmentsc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|du�r^t
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	|
|d|�d�|||d �S|j
j|||	|
|d|�d�|||d �
SdS)!aQ
        Retrieve a list of all the PR authors.


        :param str repository_id: (required)
            Unique repository identifier.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestAuthorCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_pull_request_authors.py.html>`__ to see an example of how to use list_pull_request_authors API.
        r�z//repositories/{repositoryId}/pullRequestAuthorsr��list_pull_request_authorszWhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListPullRequestAuthorsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4,r5z:DevopsClient.list_pull_request_authors.<locals>.<listcomp>z.list_pull_request_authors got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;,r5z:DevopsClient.list_pull_request_authors.<locals>.<dictcomp>Nrr<r=rWrXrYrZr>rVr�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;.,r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;5,r5r!rFZPullRequestAuthorCollectionr rr�r\r'r3r(r��+s�)��$�


�
��
�
�z&DevopsClient.list_pull_request_authorsc
s>dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|v�rddg}
|d|
v�rtd|
����|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}d d |�d!t	�d"�}d#d�t�|�D�}|j
j|�d$�|jd%�}|du�r�t
j}|�rt|t
j��s�|j
�|�|�|j�|j|j
j|||	||d&|�d'�|||d(�S|j
j|||	||d&|�d'�|||d(�
SdS))a�

        List PullRequest level comments by identifier


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order is ascending. If no value is specified timeCreated is default.

            Allowed values are: "timeCreated", "createdBy"

        :param str comment_id: (optional)
            unique PullRequest Comment identifier

        :param str commit_id: (optional)
            PullRequest Comment Commit SHA

        :param str file_path: (optional)
            PullRequest File Path

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestCommentCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_pull_request_comments.py.html>`__ to see an example of how to use list_pull_request_comments API.
        r�r�r��list_pull_request_commentszYhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/ListPullRequestComments)r r!r`rWrcr�rrr>rVr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�,r5z;DevopsClient.list_pull_request_comments.<locals>.<listcomp>z/list_pull_request_comments got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�,r5z;DevopsClient.list_pull_request_comments.<locals>.<dictcomp>Nrr<r=rWrXrYrZrcrlr�rnr`r�rrr>rV)ror[rqr�rrr>rVcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�,r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�,r5r!rFZPullRequestCommentCollectionr rr�r}r'r3r(r�[,s�:
��$�
�







�

��
�
�z'DevopsClient.list_pull_request_commentsc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qn|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�r*t
j}|�r�t|t
j��sV|j
�|
�|�|j�|j|j
j|||	||
d|�d�|||d�S|j
j|||	||
d|�d�|||d�
SdS)a�
        List pull request commits


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryCommitCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_pull_request_commits.py.html>`__ to see an example of how to use list_pull_request_commits API.
        r�z%/pullRequests/{pullRequestId}/commitsr��list_pull_request_commitszXhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/ListPullRequestCommits�r r!r>rVr/csg|]}|�vr|�qSr'r'r1r3r'r(r4/-r5z:DevopsClient.list_pull_request_commits.<locals>.<listcomp>z.list_pull_request_commits got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;8-r5z:DevopsClient.list_pull_request_commits.<locals>.<dictcomp>Nrr<r=r>rV�r>rVcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;B-r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;I-r5r!rFr�r rr��r%r�r&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r��,sz$��$

�
��
�
�z&DevopsClient.list_pull_request_commitsc
s�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qn|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�r4t
j}|�r�t|t
j��s`|j
�|
�|�|j�|j|j
j|||	||
d|�d�|||d�S|j
j|||	||
d|�d�|||d�
SdS)a
        List pull request file changes


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str file_path: (optional)
            PullRequest File Path

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestFileChangeCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_pull_request_file_changes.py.html>`__ to see an example of how to use list_pull_request_file_changes API.
        r�z)/pullRequests/{pullRequestId}/fileChangesr��list_pull_request_file_changesz\https://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/ListPullRequestFileChanges)r r!rr>rVr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�-r5z?DevopsClient.list_pull_request_file_changes.<locals>.<listcomp>z3list_pull_request_file_changes got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�-r5z?DevopsClient.list_pull_request_file_changes.<locals>.<dictcomp>Nrr<r=rr>rV)rr>rVcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�-r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�-r5r!rFZPullRequestFileChangeCollectionr rr�r�r'r3r(r�o-s|'��$


�
��
�
�z+DevopsClient.list_pull_request_file_changescsjg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�gd
�}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����d|vr�ddg}|d|vr�td|����|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�|�dt�|�dt�|�dt�|�dt�|�d t�|�d!t�|�dt�|�dt�d"�}d#d$�t�|�D�}d%d%|�d&t�d'�}
d(d$�t�|
�D�}
|jj|�d)�|jd*�}|d+u�r�t	j
}|�rBt|t	j��s|j�
|
�|�|j�|j|jj||||
d,|�d-�|||d.�
S|jj||||
d,|�d-�|||d.�	Sd+S)/a�
        Returns a list of PullRequests.


        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str lifecycle_state: (optional)
            A filter to return only pull requests that match the given lifecycle state.

            Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"

        :param str lifecycle_details: (optional)
            A filter to return only pull requests that match the given lifecycle state.

            Allowed values are: "OPEN", "CONFLICT", "CLOSED", "MERGING", "MERGED"

        :param str repository_id: (optional)
            The OCID of the repository in which to list resources.

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param str id: (optional)
            Unique identifier or OCID for listing a single resource by ID.

        :param str created_by: (optional)
            PullRequest Created By

        :param str destination_branch: (optional)
            PullRequest Target Branch

        :param str source_branch: (optional)
            PullRequest Source Branch.

        :param str reviewer_principal_id: (optional)
            PullRequest Reviewer Id

        :param str source_repository_id: (optional)
            PullRequest Source Repository Id

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_pull_requests.py.html>`__ to see an example of how to use list_pull_requests API.
        r�r��list_pull_requestsz\https://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequestCollection/ListPullRequests)r r!r`ra�lifecycle_detailsr�rbr_�
created_by�destination_branch�
source_branch�reviewer_principal_id�source_repository_idr>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4Q.r5z3DevopsClient.list_pull_requests.<locals>.<listcomp>z'list_pull_requests got unknown kwargs: rardrkr�)ZOPENZCONFLICTZCLOSEDZMERGINGZMERGEDz6Invalid value for `lifecycle_details`, must be one of rWrXrYrZrcrlrmrnr`r�rbr_r�r�r�r�r�r>rV)rorpZlifecycleDetailsr�rmr_r�ZdestinationBranchZsourceBranchZreviewerPrincipalIdZsourceRepositoryIdr>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�.r5z3DevopsClient.list_pull_requests.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�.r5r!rFNZPullRequestCollectionr rrrs)r%r&rQrIrJrOrPrcruZ lifecycle_details_allowed_valuesr]rvrrLr!r'r3r(r��-s�P�����














�
��
��zDevopsClient.list_pull_requestsc
sbdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|v�rddg}
|d|
v�rtd|
����d|v�r2ddg}|d|v�r2td|����|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�|�dt	�d �}d!d�t�|�D�}d"d"|�d#t	�d$�}d%d�t�|�D�}|j
j|�d&�|jd'�}|du�r�t
j}|�r8t|t
j��s|j
�|�|�|j�|j|j
j|||	||d(|�d)�|||d*�S|j
j|||	||d(|�d)�|||d*�
SdS)+a�

        Returns a list of references.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str ref_type: (optional)
            Reference type to distinguish between branch and tag. If it is not specified, all references are returned.

            Allowed values are: "BRANCH", "TAG"

        :param str commit_id: (optional)
            Commit ID in a repository.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str ref_name: (optional)
            A filter to return only resources that match the given reference name.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for reference name is ascending. Default order for reference type is ascending. If no value is specified reference name is default.

            Allowed values are: "refType", "refName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryRefCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_refs.py.html>`__ to see an example of how to use list_refs API.
        r�z!/repositories/{repositoryId}/refsr��	list_refszLhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositoryRef/ListRefs)
r r!�ref_typerr>rVr�rWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�.r5z*DevopsClient.list_refs.<locals>.<listcomp>zlist_refs got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;/r5z*DevopsClient.list_refs.<locals>.<dictcomp>Nrr<r=r��BRANCHZTAGz-Invalid value for `ref_type`, must be one of rWrXrYrZrc�refTyper�rnrr>rVr�)r�rr>rVr�r[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;'/r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;./r5r!rFZRepositoryRefCollectionr rr�)r%r�r&rQrIrJrOrPrcrKr9r:Zref_type_allowed_valuesr]rvrrLr!r'r3r(r��.s�9��$�
�
�






�	
��
�
�zDevopsClient.list_refscsg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpgd
�}|d	|vrptd|����d|vr�d
dg}	|d|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�dt�d�	}dd�t�|�D�}dd|�dt�d�}dd�t�|�D�}|jj|�d �|jd!�}
|
d"u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d#|�d$�|||d%�
S|jj||||d#|�d$�|||d%�	Sd"S)&a�
        Returns a list of repositories given a compartment ID or a project ID.


        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str project_id: (optional)
            unique project identifier

        :param str repository_id: (optional)
            Unique repository identifier.

        :param str lifecycle_state: (optional)
            A filter to return only resources whose lifecycle state matches the given lifecycle state.

            Allowed values are: "ACTIVE", "CREATING", "DELETED", "FAILED", "DELETING"

        :param str name: (optional)
            A filter to return only resources that match the entire name given.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for name is ascending. If no value is specified time created is default.

            Allowed values are: "timeCreated", "name"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_repositories.py.html>`__ to see an example of how to use list_repositories API.
        r�r��list_repositorieszQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListRepositories)r r!r`rmr�rar�r>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�/r5z2DevopsClient.list_repositories.<locals>.<listcomp>z&list_repositories got unknown kwargs: ra)rgrerirjrhrkrWrXrYrZrcrlr�rnr`rmr�r>rV)	rorir�rpr�r>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�/r5z2DevopsClient.list_repositories.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�/r5r!rFNZRepositoryCollectionr rrrsrtr'r3r(r�T/s�<����








�
��
��zDevopsClient.list_repositoriesc
sdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|vr�dg}
|d|
vr�td|
����|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd �}|du�r�t
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	||d!|�d"�|||d#�S|j
j|||	||d!|�d"�|||d#�
SdS)$a]	
        Retrieve a list of all the Commit Analytics authors.


        :param str repository_id: (required)
            Unique repository identifier.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str sort_by: (optional)
            The field to sort by. Only one sort by value is supported for this parameter. Default order for author name is ascending.

            Allowed values are: "authorName"

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.CommitAnalyticsAuthorCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_repository_commit_analytics_authors.py.html>`__ to see an example of how to use list_repository_commit_analytics_authors API.
        r�z3/repositories/{repositoryId}/commitAnalyticsAuthorsr��(list_repository_commit_analytics_authorszehttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/ListRepositoryCommitAnalyticsAuthorsr�csg|]}|�vr|�qSr'r'r1r3r'r(r430r5zIDevopsClient.list_repository_commit_analytics_authors.<locals>.<listcomp>z=list_repository_commit_analytics_authors got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;<0r5zIDevopsClient.list_repository_commit_analytics_authors.<locals>.<dictcomp>Nrr<r=rWrXrYrZrcr�rnr>rVr�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;V0r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;]0r5r!rFr�r rr�r�r'r3r(r��/s�.	��$��



�
��
�
�z5DevopsClient.list_repository_commit_analytics_authorscsg}d}d}d}d}gd���fdd�t�|�D�}|rFtd|����d	|vrpd
dg}|d	|vrptd|����d
|vr�ddg}	|d
|	vr�td|	����d|vr�ddg}
|d|
vr�td|
����|�dt�|�dt�|�d	t�|�dt�|�dt�|�dt�|�dt�|�d
t�|�dt�d�	}dd�t�|�D�}dd|�dt�d �}d!d�t�|�D�}|jj|�d"�|jd#�}
|
d$u�r�t	j
}
|
�r�t|
t	j��s�|j�
|�|
�|j�|
j|jj||||d%|�d&�|||d'�
S|jj||||d%|�d&�|||d'�	Sd$S)(ao
        Returns a list of triggers.


        :param str compartment_id: (optional)
            The OCID of the compartment in which to list resources.

        :param str project_id: (optional)
            unique project identifier

        :param str lifecycle_state: (optional)
            A filter to return only triggers that matches the given lifecycle state.

            Allowed values are: "ACTIVE", "DELETING"

        :param str display_name: (optional)
            A filter to return only resources that match the entire display name given.

        :param str id: (optional)
            Unique trigger identifier.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

            Allowed values are: "timeCreated", "displayName"

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.TriggerCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_triggers.py.html>`__ to see an example of how to use list_triggers API.
        r�r��
list_triggerszThttps://docs.oracle.com/iaas/api/#/en/devops/20210630/TriggerCollection/ListTriggers)r r!r`rmrarbr_r>rVrWrcr/csg|]}|�vr|�qSr'r'r1r3r'r(r4�0r5z.DevopsClient.list_triggers.<locals>.<listcomp>z"list_triggers got unknown kwargs: rargrhrkrWrXrYrZrcrlrmrnr`rmrbr_r>rV)	rorirprmr_r>rVr[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�0r5z.DevopsClient.list_triggers.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;1r5r!rFNZTriggerCollectionr rrrsrtr'r3r(r��0s�<����








�
��
��zDevopsClient.list_triggersc
sdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|vr�dg}
|d|
vr�td|
����|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd �}|du�r�t
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	||d!|�d"�|||d#�S|j
j|||	||d!|�d"�|||d#�
SdS)$aO	
        Returns a list of errors for a given work request.


        :param str work_request_id: (required)
            The ID of the asynchronous work request.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order can be provided. Default sort order is descending and is based on the timeAccepted field.

            Allowed values are: "timeAccepted"

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.WorkRequestErrorCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
        rQz$/workRequests/{workRequestId}/errorsr��list_work_request_errorsz\https://docs.oracle.com/iaas/api/#/en/devops/20210630/WorkRequestError/ListWorkRequestErrors�r r!r/rVr>rWrccsg|]}|�vr|�qSr'r'r1r3r'r(r4b1r5z9DevopsClient.list_work_request_errors.<locals>.<listcomp>z-list_work_request_errors got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;k1r5z9DevopsClient.list_work_request_errors.<locals>.<dictcomp>Nrr<r=rWrXrYrZrc�timeAcceptedrnrVr>�rVr>r[rqcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�1r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�1r5r!rFZWorkRequestErrorCollectionr rr��r%rSr&rQrIrJrOrPrcrKr9r:r]rvrrLr!r'r3r(r�$1s�.	��$��



�
��
�
�z%DevopsClient.list_work_request_errorsc
sdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qnd|vr�ddg}|d|vr�td|����d|vr�dg}
|d|
vr�td|
����|�dt	�|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd �}|du�r�t
j}|�r�t|t
j��s�|j
�|�|�|j�|j|j
j|||	||d!|�d"�|||d#�S|j
j|||	||d!|�d"�|||d#�
SdS)$aL	
        Returns a list of logs for a given work request.


        :param str work_request_id: (required)
            The ID of the asynchronous work request.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order can be provided. Default sort order is descending and is based on the timeAccepted field.

            Allowed values are: "timeAccepted"

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.WorkRequestLogEntryCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
        rQz"/workRequests/{workRequestId}/logsr��list_work_request_logsz]https://docs.oracle.com/iaas/api/#/en/devops/20210630/WorkRequestLogEntry/ListWorkRequestLogsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�1r5z7DevopsClient.list_work_request_logs.<locals>.<listcomp>z+list_work_request_logs got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�1r5z7DevopsClient.list_work_request_logs.<locals>.<dictcomp>Nrr<r=rWrXrYrZrcr�rnrVr>r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;2r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;2r5r!rFZWorkRequestLogEntryCollectionr rr�r�r'r3r(r��1s�.	��$��



�
��
�
�z#DevopsClient.list_work_request_logscsdg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d
|vrrgd�}	|d
|	vrrtd|	����d
|vr�ddg}
|d
|
vr�td|
����d|vr�dg}|d|vr�td|����||�dt�|�d
t�|�dt�|�dt�|�dt�|�d
t�|�dt�|j�|�dt�d�d�	}dd�t�|�D�}dd|�dt�d�}
d d�t�|
�D�}
|jj|�d!�|j	d"�}|d#u�r�t
j}|�r�t|t
j
��s�|j�|
�|�|j�|j|jj||||
d$|�d%�|||d&�
S|jj||||
d$|�d%�|||d&�	Sd#S)'a�
        Lists the work requests in a compartment.


        :param str compartment_id: (required)
            The OCID of the compartment in which to list resources.

        :param str work_request_id: (optional)
            The ID of the asynchronous work request.

        :param str status: (optional)
            A filter to return only resources where the lifecycle state matches the given operation status.

            Allowed values are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "WAITING", "NEEDS_ATTENTION"

        :param str resource_id: (optional)
            The ID of the resource affected by the work request.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str sort_order: (optional)
            The sort order to use. Use either ascending or descending.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            The field to sort by. Only one sort order can be provided. Default sort order is descending and is based on the timeAccepted field.

            Allowed values are: "timeAccepted"

        :param list[str] operation_type_multi_value_query: (optional)
            A filter to return only resources where their Operation Types matches the parameter operation types

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.WorkRequestCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
        roz
/workRequestsr��list_work_requestszRhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/WorkRequest/ListWorkRequests)r r!rS�status�resource_idr/rVr>rWrc� operation_type_multi_value_querycsg|]}|�vr|�qSr'r'r1r3r'r(r4�2r5z3DevopsClient.list_work_requests.<locals>.<listcomp>z'list_work_requests got unknown kwargs: r�)rr�rjr�r�r�ZWAITINGr�z+Invalid value for `status`, must be one of rWrXrYrZrcr�rnrSr�rVr>r�rD)	rorQr�Z
resourceIdrVr>r[rqZoperationTypeMultiValueQuerycSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�2r5z3DevopsClient.list_work_requests.<locals>.<dictcomp>r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�2r5r!rFNZWorkRequestCollectionr rr)rrSrTr#r7r$rErUrZr!rr[rVr\r^r_r"r`ra)r%r`r&rQrIrJrOrPrcZstatus_allowed_valuesr]rvrrLr!r'r3r(r�@2s�<
����






�
��
��zDevopsClient.list_work_requestsc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a,

        Merge the PullRequest


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param oci.devops.models.MergePullRequestDetails merge_pull_request_details: (required)
            The details about the merge operation.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/merge_pull_request.py.html>`__ to see an example of how to use merge_pull_request API.
        r�z+/pullRequests/{pullRequestId}/actions/merger+�merge_pull_requestzRhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/MergePullRequestr-csg|]}|�vr|�qSr'r'r1r3r'r(r43r5z3DevopsClient.merge_pull_request.<locals>.<listcomp>z'merge_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;3r5z3DevopsClient.merge_pull_request.<locals>.<dictcomp>Nrr<r=r>r.r/r0r?cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;+3r5r!rFr�r rHrR)r%r�Zmerge_pull_request_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��2sx'��$


��
�
�zDevopsClient.merge_pull_requestcs~dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rXt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�
        Synchronize a mirrored repository to the latest version from external providers.


        :param str repository_id: (required)
            Unique repository identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/mirror_repository.py.html>`__ to see an example of how to use mirror_repository API.
        r�z+/repositories/{repositoryId}/actions/mirrorr+�mirror_repositoryzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/MirrorRepositoryr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�3r5z2DevopsClient.mirror_repository.<locals>.<listcomp>z&mirror_repository got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�3r5z2DevopsClient.mirror_repository.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�3r5r!rFr rkr�r�r'r3r(r�R3sl!��$

��
��zDevopsClient.mirror_repositoryc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�
        Updates the reviewer list of a pull request


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param oci.devops.models.PatchPullRequestDetails patch_pull_request_details: (required)
            Details for the PullRequest update.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/patch_pull_request.py.html>`__ to see an example of how to use patch_pull_request API.
        r�r�ZPATCH�patch_pull_requestzRhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/PatchPullRequestr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�3r5z3DevopsClient.patch_pull_request.<locals>.<listcomp>z'patch_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�3r5z3DevopsClient.patch_pull_request.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�3r5r!rFr�r rHr�)r%r�Zpatch_pull_request_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��3st$��$

��
�
�zDevopsClient.patch_pull_requestc
s�ddg}d}d}d}d}	gd���fdd	�t�|�D�}
|
rJtd
|
����||d�}dd
�t�|�D�}t�|�D]<\}}
|
dus�t|
tj�rrt|
���dkrrtd|�d���qrdd|�dt	�|�dt	�|�dt	�d�}dd
�t�|�D�}|j
j|�d�|jd�}|du�rt
j}|�rvt|t
j��sL|j
�|�|j
�|�|�|j�|j|j
j|||||d|�d�||	|d�S|j
j|||||d|�d�||	|d�
SdS)a�
        Creates a new reference or updates an existing one. This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/actions/createOrUpdateGitRef".


        :param str repository_id: (required)
            Unique repository identifier.

        :param str ref_name: (required)
            A filter to return only resources that match the given reference name.

        :param oci.devops.models.PutRepositoryRefDetails put_repository_ref_details: (required)
            The information to create a reference with the type specified in the query.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryRef`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/put_repository_ref.py.html>`__ to see an example of how to use put_repository_ref API.
        r�r�r��PUT�put_repository_refzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/PutRepositoryRefr�csg|]}|�vr|�qSr'r'r1r3r'r(r4[4r5z3DevopsClient.put_repository_ref.<locals>.<listcomp>z'put_repository_ref got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;e4r5z3DevopsClient.put_repository_ref.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;r4r5r!rFr�r rHrR)r%r�r�Zput_repository_ref_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�#4sz*��$


��
�
�zDevopsClient.put_repository_refcs�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rZt|
t
j��s2|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�
        Reopen a PullRequest


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/reopen_pull_request.py.html>`__ to see an example of how to use reopen_pull_request API.
        r�z,/pullRequests/{pullRequestId}/actions/reopenr+�reopen_pull_requestzShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/ReopenPullRequestr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�4r5z4DevopsClient.reopen_pull_request.<locals>.<listcomp>z(reopen_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�4r5z4DevopsClient.reopen_pull_request.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�4r5r!rFr�r r�r�r�r'r3r(r��4sp!��$

��
��z DevopsClient.reopen_pull_requestc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a$

        Review a PullRequest


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param oci.devops.models.ReviewPullRequestDetails review_pull_request_details: (required)
            Details to submit a review.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/review_pull_request.py.html>`__ to see an example of how to use review_pull_request API.
        r�z,/pullRequests/{pullRequestId}/actions/reviewr+�review_pull_requestzShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/ReviewPullRequestr�csg|]}|�vr|�qSr'r'r1r3r'r(r455r5z4DevopsClient.review_pull_request.<locals>.<listcomp>z(review_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;>5r5z4DevopsClient.review_pull_request.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;K5r5r!rFr�r rHrR)r%r�Zreview_pull_request_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�5sx'��$


��
�
�z DevopsClient.review_pull_requestcs�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rnt|
t
j��sH|j
�|�|j
�|�|
�|j�|
j|j
j|||	||�d�|||d�	S|j
j|||	||�d�|||d�SdS)a�	
        Cascading operation that marks Project and child DevOps resources in a DELETING state for a retention period


        :param str project_id: (required)
            Unique project identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/schedule_cascading_project_deletion.py.html>`__ to see an example of how to use schedule_cascading_project_deletion API.
        riz>/projects/{projectId}/actions/scheduleCascadingProjectDeletionr+�#schedule_cascading_project_deletionz^https://docs.oracle.com/iaas/api/#/en/devops/20210630/Project/ScheduleCascadingProjectDeletionr-csg|]}|�vr|�qSr'r'r1r3r'r(r4�5r5zDDevopsClient.schedule_cascading_project_deletion.<locals>.<listcomp>z8schedule_cascading_project_deletion got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�5r5zDDevopsClient.schedule_cascading_project_deletion.<locals>.<dictcomp>Nrr<r=r>r.r/r0r?cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�5r5r!rFr rkrRrlr'r3r(r�r5sp$��$


��
��z0DevopsClient.schedule_cascading_project_deletioncs�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qn|�dt	�|�dt	�d�}
dd�t�|
�D�}
dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|du�r*t
j}|�r�t|t
j��sV|j
�|�|�|j�|j|j
j|||
|
||d|�d�|||d�S|j
j|||
|
||d|�d�|||d�SdS)a�
        Retrieves repository analytics for a given project.


        :param str project_id: (required)
            Unique project identifier.

        :param oci.devops.models.SummarizeProjectRepositoryAnalyticsDetails summarize_project_repository_analytics_details: (required)
            Details to fetch the repository analytics.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryMetricAggregation`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/summarize_project_repository_analytics.py.html>`__ to see an example of how to use summarize_project_repository_analytics API.
        riz)/projects/{projectId}/repositoryAnalyticsr+�&summarize_project_repository_analyticszuhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositoryMetricAggregation/SummarizeProjectRepositoryAnalyticsr�csg|]}|�vr|�qSr'r'r1r3r'r(r46r5zGDevopsClient.summarize_project_repository_analytics.<locals>.<listcomp>z;summarize_project_repository_analytics got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;6r5zGDevopsClient.summarize_project_repository_analytics.<locals>.<dictcomp>Nrr<r=r>rVr�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;%6r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;,6r5r!rF�RepositoryMetricAggregationr �rIrJrKrrLrMrNr rOrPrQr�)r%rmZ.summarize_project_repository_analytics_detailsr&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r��5s~'��$

�
��
��z3DevopsClient.summarize_project_repository_analyticscs�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qn|�dt	�|�dt	�d�}
dd�t�|
�D�}
dd|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|du�r*t
j}|�r�t|t
j��sV|j
�|�|�|j�|j|j
j|||
|
||d|�d�|||d�S|j
j|||
|
||d|�d�|||d�SdS)az
        Retrieves repository analytics for a given repository.


        :param str repository_id: (required)
            Unique repository identifier.

        :param oci.devops.models.SummarizeRepositoryAnalyticsDetails summarize_repository_analytics_details: (required)
            Details to fetch the repository analytics.

        :param int limit: (optional)
            The maximum number of items to return.

        :param str page: (optional)
            The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryMetricAggregation`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/summarize_repository_analytics.py.html>`__ to see an example of how to use summarize_repository_analytics API.
        r�z./repository/{repositoryId}/repositoryAnalyticsr+�summarize_repository_analyticsznhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositoryMetricAggregation/SummarizeRepositoryAnalyticsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�6r5z?DevopsClient.summarize_repository_analytics.<locals>.<listcomp>z3summarize_repository_analytics got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�6r5z?DevopsClient.summarize_repository_analytics.<locals>.<dictcomp>Nrr<r=r>rVr�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�6r5r>r/rcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�6r5r!rFr�r r�r�)r%r�Z&summarize_repository_analytics_detailsr&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r�T6s~'��$

�
��
��z+DevopsClient.summarize_repository_analyticsc
s�ddg}d}d}d}d}	gd���fdd	�t�|�D�}
|
rJtd
|
����d|i}dd�t�|�D�}t�|�D]<\}}
|
d
us�t|
tj�rpt|
���dkrptd|�d���qpddg}||vr�td|����d|i}dd�t�|�D�}dd|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�rLt
j}|�r�t|t
j��s�|j
�|�|j
�|�|�|j�|j|j
j|||||||�d�||	|d�S|j
j|||||||�d�||	|d�
Sd
S)a�
        Synchronize a forked repository to the latest version


        :param str repository_id: (required)
            Unique repository identifier.

        :param str sync_merge_strategy: (required)
            If fetch and merge is passed in, the changes from the upstream will be fetched and merged into the destination branch.
            If discard is passed in, the changes in the fork will be overwritten with the changes brought in from the upstream.

            Allowed values are: "FETCH_AND_MERGE", "DISCARD"

        :param oci.devops.models.SyncRepositoryDetails sync_repository_details: (required)
            Details required for syncing a repository with its upstream.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type None
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/sync_repository.py.html>`__ to see an example of how to use sync_repository API.
        r�ZsyncMergeStrategyz)/repositories/{repositoryId}/actions/syncr+�sync_repositoryzOhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/SyncRepositoryr-csg|]}|�vr|�qSr'r'r1r3r'r(r47r5z0DevopsClient.sync_repository.<locals>.<listcomp>z$sync_repository got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;7r5z0DevopsClient.sync_repository.<locals>.<dictcomp>Nrr<r=ZFETCH_AND_MERGEZDISCARDz8Invalid value for `sync_merge_strategy`, must be one of cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;7r5r>r.r/r0r?cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;'7r5r!rFr )
rIrJrKrrLrMr rOrPrQrR)r%r�Zsync_merge_strategyZsync_repository_detailsr&rQrIrJrOrPrcrKr9r:Z"sync_merge_strategy_allowed_valuesrrLr!r'r3r(r��6s�-��$��


��
�
�zDevopsClient.sync_repositorycs�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����||d�}
dd
�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rrt|���dkrrtd|�d���qrdd|�dt	�|�dt	�d�}
dd
�t�|
�D�}
|j
j|�d�|jd�}|du�r
t
j}|�r^t|t
j��s6|j
�|
�|�|j�|j|j
j|||
|
d|�d�|||d�
S|j
j|||
|
d|�d�|||d�	SdS)aW
        Unlike a PullRequest comment


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str comment_id: (required)
            unique PullRequest Comment identifier

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestComment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/unlike_pull_request_comment.py.html>`__ to see an example of how to use unlike_pull_request_comment API.
        r�r�zA/pullRequests/{pullRequestId}/comments/{commentId}/actions/unliker+�unlike_pull_request_commentzZhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/UnlikePullRequestCommentr�csg|]}|�vr|�qSr'r'r1r3r'r(r47r5z<DevopsClient.unlike_pull_request_comment.<locals>.<listcomp>z0unlike_pull_request_comment got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�7r5z<DevopsClient.unlike_pull_request_comment.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�7r5r!rFr�r r�r�r�r'r3r(r�N7sr$��$

��
��z(DevopsClient.unlike_pull_request_commentc
s�ddg}d}d}d}d}gd���fdd	�t�|�D�}	|	rJtd
|	����d|i}
dd�t�|
�D�}
t�|
�D]<\}}|d
us�t|tj�rpt|���dkrptd|�d���qpd|i}
dd�t�|
�D�}
dd|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}|d
u�r$t
j}|�rzt|t
j��sP|j
�|�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
Sd
S)a
        unsubscribe the PullRequest


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str token: (required)
            The unsubscription token.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type stream
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/unsubscribe_pull_request.py.html>`__ to see an example of how to use unsubscribe_pull_request API.
        r��tokenz1/pullRequests/{pullRequestId}/actions/unsubscriber��unsubscribe_pull_requestzXhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/UnsubscribePullRequestr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�7r5z9DevopsClient.unsubscribe_pull_request.<locals>.<listcomp>z-unsubscribe_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�7r5z9DevopsClient.unsubscribe_pull_request.<locals>.<dictcomp>Nrr<r=cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�7r5z	text/htmlr>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;8r5r!rFr$r rr�)r%r�r�r&rQrIrJrOrPrcrKr9r:rrLr!r'r3r(r��7sz$��$�

��
�
�z%DevopsClient.unsubscribe_pull_requestc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�
        Updates the build pipeline.


        :param str build_pipeline_id: (required)
            Unique build pipeline identifier.

        :param oci.devops.models.UpdateBuildPipelineDetails update_build_pipeline_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipeline`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_build_pipeline.py.html>`__ to see an example of how to use update_build_pipeline API.
        r�r�r��update_build_pipelinezWhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipeline/UpdateBuildPipeliner�csg|]}|�vr|�qSr'r'r1r3r'r(r4[8r5z6DevopsClient.update_build_pipeline.<locals>.<listcomp>z*update_build_pipeline got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;d8r5z6DevopsClient.update_build_pipeline.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;p8r5r!rFrtr rHr�)r%r�Zupdate_build_pipeline_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�*8st$��$

��
�
�z"DevopsClient.update_build_pipelinec
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�
        Updates the stage based on the stage ID provided in the request.


        :param str build_pipeline_stage_id: (required)
            Unique stage identifier.

        :param oci.devops.models.UpdateBuildPipelineStageDetails update_build_pipeline_stage_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineStage`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_build_pipeline_stage.py.html>`__ to see an example of how to use update_build_pipeline_stage API.
        r�r�r��update_build_pipeline_stagezahttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildPipelineStage/UpdateBuildPipelineStager�csg|]}|�vr|�qSr'r'r1r3r'r(r4�8r5z<DevopsClient.update_build_pipeline_stage.<locals>.<listcomp>z0update_build_pipeline_stage got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�8r5z<DevopsClient.update_build_pipeline_stage.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�8r5r!rFryr rHr�)r%r�Z#update_build_pipeline_stage_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��8st$��$

��
�
�z(DevopsClient.update_build_pipeline_stagec
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)aX
        Updates the build run.


        :param str build_run_id: (required)
            Unique build run identifier.

        :param oci.devops.models.UpdateBuildRunDetails update_build_run_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRun`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_build_run.py.html>`__ to see an example of how to use update_build_run API.
        rdrr��update_build_runzMhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/BuildRun/UpdateBuildRunr�csg|]}|�vr|�qSr'r'r1r3r'r(r439r5z1DevopsClient.update_build_run.<locals>.<listcomp>z%update_build_run got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;<9r5z1DevopsClient.update_build_run.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;H9r5r!rFrfr rHr�)r%rgZupdate_build_run_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�9st$��$

��
�
�zDevopsClient.update_build_runc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)ab
        Updates the connection.


        :param str connection_id: (required)
            Unique connection identifier.

        :param oci.devops.models.UpdateConnectionDetails update_connection_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Connection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_connection.py.html>`__ to see an example of how to use update_connection API.
        r�r�r��update_connectionzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Connection/UpdateConnectionr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�9r5z2DevopsClient.update_connection.<locals>.<listcomp>z&update_connection got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�9r5z2DevopsClient.update_connection.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�9r5r!rFr~r rHr�)r%r�Zupdate_connection_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�n9st$��$

��
�
�zDevopsClient.update_connectionc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�
        Updates the deployment artifact.


        :param str deploy_artifact_id: (required)
            Unique artifact identifier.

        :param oci.devops.models.UpdateDeployArtifactDetails update_deploy_artifact_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployArtifact`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_deploy_artifact.py.html>`__ to see an example of how to use update_deploy_artifact API.
        r�r�r��update_deploy_artifactzYhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployArtifact/UpdateDeployArtifactr�csg|]}|�vr|�qSr'r'r1r3r'r(r4:r5z7DevopsClient.update_deploy_artifact.<locals>.<listcomp>z+update_deploy_artifact got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;:r5z7DevopsClient.update_deploy_artifact.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r; :r5r!rFr�r rHr�)r%r�Zupdate_deploy_artifact_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��9st$��$

��
�
�z#DevopsClient.update_deploy_artifactc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�
        Updates the deployment environment.


        :param str deploy_environment_id: (required)
            Unique environment identifier.

        :param oci.devops.models.UpdateDeployEnvironmentDetails update_deploy_environment_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployEnvironment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_deploy_environment.py.html>`__ to see an example of how to use update_deploy_environment API.
        r�r�r��update_deploy_environmentz_https://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployEnvironment/UpdateDeployEnvironmentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4w:r5z:DevopsClient.update_deploy_environment.<locals>.<listcomp>z.update_deploy_environment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�:r5z:DevopsClient.update_deploy_environment.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�:r5r!rFr�r rHr�)r%r�Z!update_deploy_environment_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�F:st$��$

��
�
�z&DevopsClient.update_deploy_environmentc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�
        Updates the deployment pipeline.


        :param str deploy_pipeline_id: (required)
            Unique pipeline identifier.

        :param oci.devops.models.UpdateDeployPipelineDetails update_deploy_pipeline_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployPipeline`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_deploy_pipeline.py.html>`__ to see an example of how to use update_deploy_pipeline API.
        r�r�r��update_deploy_pipelinezYhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployPipeline/UpdateDeployPipeliner�csg|]}|�vr|�qSr'r'r1r3r'r(r4�:r5z7DevopsClient.update_deploy_pipeline.<locals>.<listcomp>z+update_deploy_pipeline got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�:r5z7DevopsClient.update_deploy_pipeline.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�:r5r!rFr�r rHr�)r%r�Zupdate_deploy_pipeline_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��:st$��$

��
�
�z#DevopsClient.update_deploy_pipelinec
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)am
        Updates the deployment stage.


        :param str deploy_stage_id: (required)
            Unique stage identifier.

        :param oci.devops.models.UpdateDeployStageDetails update_deploy_stage_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployStage`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_deploy_stage.py.html>`__ to see an example of how to use update_deploy_stage API.
        r�r�r��update_deploy_stagezShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/DeployStage/UpdateDeployStager�csg|]}|�vr|�qSr'r'r1r3r'r(r4O;r5z4DevopsClient.update_deploy_stage.<locals>.<listcomp>z(update_deploy_stage got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;X;r5z4DevopsClient.update_deploy_stage.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;d;r5r!rFr�r rHr�)r%r�Zupdate_deploy_stage_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�;st$��$

��
�
�z DevopsClient.update_deploy_stagec
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)ab
        Updates the deployment.


        :param str deployment_id: (required)
            Unique deployment identifier.

        :param oci.devops.models.UpdateDeploymentDetails update_deployment_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Deployment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_deployment.py.html>`__ to see an example of how to use update_deployment API.
        r*rr��update_deploymentzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Deployment/UpdateDeploymentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�;r5z2DevopsClient.update_deployment.<locals>.<listcomp>z&update_deployment got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�;r5z2DevopsClient.update_deployment.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�;r5r!rFrGr rHr�)r%rbZupdate_deployment_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��;st$��$

��
�
�zDevopsClient.update_deploymentc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)aJ
        Updates the project.


        :param str project_id: (required)
            Unique project identifier.

        :param oci.devops.models.UpdateProjectDetails update_project_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Project`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_project.py.html>`__ to see an example of how to use update_project API.
        rir�r��update_projectzKhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Project/UpdateProjectr�csg|]}|�vr|�qSr'r'r1r3r'r(r4'<r5z/DevopsClient.update_project.<locals>.<listcomp>z#update_project got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;0<r5z/DevopsClient.update_project.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;<<r5r!rFr�r rHr�)r%rmZupdate_project_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��;st$��$

��
�
�zDevopsClient.update_projectc
s�ddg}d}d}d}d}	gd���fdd	�t�|�D�}
|
rJtd
|
����||d�}dd
�t�|�D�}t�|�D]<\}}
|
dus�t|
tj�rrt|
���dkrrtd|�d���qrdd|�dt	�|�dt	�d�}dd
�t�|�D�}|j
j|�d�|jd�}|du�r
t
j}|�r`t|t
j��s6|j
�|�|�|j�|j|j
j|||||d|�d�||	|d�S|j
j|||||d|�d�||	|d�
SdS)aL	
        Update the project notification preference for the user passed as path param


        :param oci.devops.models.UpdateProjectNotificationPreferenceDetails update_project_notification_preference_details: (required)
            The information to be updated.

        :param str project_id: (required)
            Unique project identifier.

        :param str principal_id: (required)
            Unique principal identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ProjectNotificationPreference`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_project_notification_preference.py.html>`__ to see an example of how to use update_project_notification_preference API.
        rir&r'r��&update_project_notification_preferencezwhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ProjectNotificationPreference/UpdateProjectNotificationPreferencer�csg|]}|�vr|�qSr'r'r1r3r'r(r4�<r5zGDevopsClient.update_project_notification_preference.<locals>.<listcomp>z;update_project_notification_preference got unknown kwargs: r)cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�<r5zGDevopsClient.update_project_notification_preference.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�<r5r!rFr*r rHr�)r%Z.update_project_notification_preference_detailsrmr+r&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�b<sv'��$

��
�
�z3DevopsClient.update_project_notification_preferencec
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)a�

        Updates the repository settings for a project.


        :param str project_id: (required)
            Unique project identifier.

        :param oci.devops.models.UpdateProjectRepositorySettingsDetails update_project_repository_settings_details: (required)
            Details to update the repository settings for a project.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.ProjectRepositorySettings`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_project_repository_settings.py.html>`__ to see an example of how to use update_project_repository_settings API.
        rir�r��"update_project_repository_settingszohttps://docs.oracle.com/iaas/api/#/en/devops/20210630/ProjectRepositorySettings/UpdateProjectRepositorySettingsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4=r5zCDevopsClient.update_project_repository_settings.<locals>.<listcomp>z7update_project_repository_settings got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;=r5zCDevopsClient.update_project_repository_settings.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;=r5r!rFr-r rHrR)r%rmZ*update_project_repository_settings_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��<sx'��$


��
�
�z/DevopsClient.update_project_repository_settingsc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)al
        Updates the PullRequest


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param oci.devops.models.UpdatePullRequestDetails update_pull_request_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_pull_request.py.html>`__ to see an example of how to use update_pull_request API.
        r�r�r��update_pull_requestzShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/UpdatePullRequestr�csg|]}|�vr|�qSr'r'r1r3r'r(r4u=r5z4DevopsClient.update_pull_request.<locals>.<listcomp>z(update_pull_request got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;~=r5z4DevopsClient.update_pull_request.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�=r5r!rFr�r rHr�)r%r�Zupdate_pull_request_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�D=st$��$

��
�
�z DevopsClient.update_pull_requestc
s�ddg}d}d}d}d}	gd���fdd	�t�|�D�}
|
rJtd
|
����||d�}dd
�t�|�D�}t�|�D]<\}}
|
dus�t|
tj�rrt|
���dkrrtd|�d���qrdd|�dt	�|�dt	�d�}dd
�t�|�D�}|j
j|�d�|jd�}|du�r
t
j}|�r`t|t
j��s6|j
�|�|�|j�|j|j
j|||||d|�d�||	|d�S|j
j|||||d|�d�||	|d�
SdS)a�
        Updates the PullRequest comment


        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str comment_id: (required)
            unique PullRequest Comment identifier

        :param oci.devops.models.UpdatePullRequestCommentDetails update_pull_request_comment_details: (required)
            The new comment content to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestComment`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_pull_request_comment.py.html>`__ to see an example of how to use update_pull_request_comment API.
        r�r�r�r��update_pull_request_commentzZhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequest/UpdatePullRequestCommentr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�=r5z<DevopsClient.update_pull_request_comment.<locals>.<listcomp>z0update_pull_request_comment got unknown kwargs: r�cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�=r5z<DevopsClient.update_pull_request_comment.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�=r5r!rFr�r rHr�)r%r�r�Z#update_pull_request_comment_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��=sv'��$

��
�
�z(DevopsClient.update_pull_request_commentc
s�ddg}d}d}d}d}	gd���fdd	�t�|�D�}
|
rJtd
|
����||d�}dd
�t�|�D�}t�|�D]<\}}
|
dus�t|
tj�rrt|
���dkrrtd|�d���qrdd|�dt	�|�dt	�d�}dd
�t�|�D�}|j
j|�d�|jd�}|du�r
t
j}|�r`t|t
j��s6|j
�|�|�|j�|j|j
j|||||d|�d�||	|d�S|j
j|||||d|�d�||	|d�
SdS)ap	
        Update the pull request notification preference for the user passed as path param


        :param oci.devops.models.UpdatePullRequestNotificationPreferenceDetails update_pull_request_notification_preference_details: (required)
            The information to be updated.

        :param str pull_request_id: (required)
            unique PullRequest identifier

        :param str principal_id: (required)
            Unique principal identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.PullRequestNotificationPreference`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_pull_request_notification_preference.py.html>`__ to see an example of how to use update_pull_request_notification_preference API.
        r�r&r3r��+update_pull_request_notification_preferencezhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/PullRequestNotificationPreference/UpdatePullRequestNotificationPreferencer�csg|]}|�vr|�qSr'r'r1r3r'r(r4T>r5zLDevopsClient.update_pull_request_notification_preference.<locals>.<listcomp>z@update_pull_request_notification_preference got unknown kwargs: r5cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;^>r5zLDevopsClient.update_pull_request_notification_preference.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;j>r5r!rFr6r rHr�)r%Z3update_pull_request_notification_preference_detailsr�r+r&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r� >sv'��$

��
�
�z8DevopsClient.update_pull_request_notification_preferencec
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)ab
        Updates the repository.


        :param str repository_id: (required)
            Unique repository identifier.

        :param oci.devops.models.UpdateRepositoryDetails update_repository_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Repository`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_repository.py.html>`__ to see an example of how to use update_repository API.
        r�r�r��update_repositoryzQhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Repository/UpdateRepositoryr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�>r5z2DevopsClient.update_repository.<locals>.<listcomp>z&update_repository got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�>r5z2DevopsClient.update_repository.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�>r5r!rFr�r rHr�)r%r�Zupdate_repository_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��>st$��$

��
�
�zDevopsClient.update_repositoryc
s�ddg}d}d}d}d}	gd���fdd	�t�|�D�}
|
rJtd
|
����||d�}dd
�t�|�D�}t�|�D]<\}}
|
dus�t|
tj�rrt|
���dkrrtd|�d���qrdd|�dt	�|�dt	�d�}dd
�t�|�D�}|j
j|�d�|jd�}|du�r
t
j}|�r`t|t
j��s6|j
�|�|�|j�|j|j
j|||||d|�d�||	|d�S|j
j|||||d|�d�||	|d�
SdS)ad	
        Update the repository notification preference for the user passed as path param


        :param oci.devops.models.UpdateRepositoryNotificationPreferenceDetails update_repository_notification_preference_details: (required)
            The information to be updated.

        :param str repository_id: (required)
            Unique repository identifier.

        :param str principal_id: (required)
            Unique principal identifier.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryNotificationPreference`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_repository_notification_preference.py.html>`__ to see an example of how to use update_repository_notification_preference API.
        r�r&rIr��)update_repository_notification_preferencez}https://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositoryNotificationPreference/UpdateRepositoryNotificationPreferencer�csg|]}|�vr|�qSr'r'r1r3r'r(r40?r5zJDevopsClient.update_repository_notification_preference.<locals>.<listcomp>z>update_repository_notification_preference got unknown kwargs: rKcSsi|]\}}|tur||�qSr'r6r8r'r'r(r;:?r5zJDevopsClient.update_repository_notification_preference.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;F?r5r!rFrLr rHr�)r%Z1update_repository_notification_preference_detailsr�r+r&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��>sv'��$

��
�
�z6DevopsClient.update_repository_notification_preferencec
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�rrt|t
j��sH|j
�|
�|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)ah

        Updates the settings for a repository.


        :param str repository_id: (required)
            Unique repository identifier.

        :param oci.devops.models.UpdateRepositorySettingsDetails update_repository_settings_details: (required)
            Details to update settings for a repository.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositorySettings`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_repository_settings.py.html>`__ to see an example of how to use update_repository_settings API.
        r�r�r��update_repository_settingszahttps://docs.oracle.com/iaas/api/#/en/devops/20210630/RepositorySettings/UpdateRepositorySettingsr�csg|]}|�vr|�qSr'r'r1r3r'r(r4�?r5z;DevopsClient.update_repository_settings.<locals>.<listcomp>z/update_repository_settings got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�?r5z;DevopsClient.update_repository_settings.<locals>.<dictcomp>Nrr<r=r>r.r0r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�?r5r!rFrNr rHrR)r%r�Z"update_repository_settings_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r�l?sx'��$


��
�
�z'DevopsClient.update_repository_settingsc
s�dg}d}d}d}d}gd���fdd�t�|�D�}	|	rHtd	|	����d|i}
d
d�t�|
�D�}
t�|
�D]<\}}|dus�t|tj�rnt|���d
krntd|�d���qndd|�dt	�|�dt	�d�}
dd�t�|
�D�}
|j
j|�d�|jd�}|du�rt
j}|�r\t|t
j��s2|j
�|
�|�|j�|j|j
j|||
|
|d|�d�|||d�S|j
j|||
|
|d|�d�|||d�
SdS)aJ
        Updates the trigger.


        :param str trigger_id: (required)
            Unique trigger identifier.

        :param oci.devops.models.UpdateTriggerDetails update_trigger_details: (required)
            The information to be updated.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Trigger`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/update_trigger.py.html>`__ to see an example of how to use update_trigger API.
        r�r�r��update_triggerzKhttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Trigger/UpdateTriggerr�csg|]}|�vr|�qSr'r'r1r3r'r(r4@r5z/DevopsClient.update_trigger.<locals>.<listcomp>z#update_trigger got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;@r5z/DevopsClient.update_trigger.<locals>.<dictcomp>Nrr<r=r>r.r/r�cSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;$@r5r!rFrPr rHr�)r%r�Zupdate_trigger_detailsr&rQrIrJrOrPrcrKr9r:rLr!r'r3r(r��?st$��$

��
�
�zDevopsClient.update_triggercs�dg}d}d}d}d}gd���fdd�t�|�D�}|rHtd	|����d|i}	d
d�t�|	�D�}	t�|	�D]<\}
}|dus�t|tj�rnt|���d
krntd|
�d���qndd|�dt	�|�dt	�|�dt	�d�}dd�t�|�D�}|j
j|�d�|jd�}
|
du�rt
j}
|
�rpt|
t
j��sH|j
�|�|j
�|�|
�|j�|
j|j
j|||	|d|�d�|||d�
S|j
j|||	|d|�d�|||d�	SdS)a�	
        Return whether the credentials of the connection are valid.


        :param str connection_id: (required)
            Unique connection identifier.

        :param str opc_request_id: (optional)
            Unique Oracle-assigned identifier for the request.  If you need to contact Oracle about a particular request, provide the request ID.

        :param str if_match: (optional)
            For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

        :param str opc_retry_token: (optional)
            A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        :param obj retry_strategy: (optional)
            A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.

            This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
            The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.

        :param bool allow_control_chars: (optional)
            allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
            By default, the response will not allow control characters in strings

        :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Connection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/devops/validate_connection.py.html>`__ to see an example of how to use validate_connection API.
        r�z,/connections/{connectionId}/actions/validater+�validate_connectionzShttps://docs.oracle.com/iaas/api/#/en/devops/20210630/Connection/ValidateConnection)r r!r/r.r0csg|]}|�vr|�qSr'r'r1r3r'r(r4|@r5z4DevopsClient.validate_connection.<locals>.<listcomp>z(validate_connection got unknown kwargs: cSsi|]\}}|tur||�qSr'r6r8r'r'r(r;�@r5z4DevopsClient.validate_connection.<locals>.<dictcomp>Nrr<r=r>r/r.r0)r@rArCrBrDcSs&i|]\}}|tur|dur||�qSrEr6r8r'r'r(r;�@r5r!rFr~r r�rRr�r'r3r(r�J@st$��$


��
��z DevopsClient.validate_connectionN)��__name__�
__module__�__qualname__�__doc__r)r,rerhrjrnrqrxr{r}r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrrrrrrrrrr r#r%r(r,r.r/r0r1r2r4r7r9r<rArFrHrJrMrOrRrTrUr^rwr{r~r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r'r'r'r(rs^[rrrkp^^c^^^^^^rr^^m^^geeeeeeepekpeiioekebbbf{bbbbbbyjrqbfbbffbfffz{wrzfbbbk""'0""""5q$#rwI'""!relvgrkwwkqllllllllllprlpplprlrN)Z
__future__rZoci._vendorrrZocirrZoci.base_clientrZ
oci.configrr	Z
oci.signerr
Zoci.utilrrr
rrZoci.exceptionsrZ	oci.alloyrZmodelsrr7�objectrr'r'r'r(�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit