📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
devops
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/devops/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: execute_merge_pull_request_details.cpython-39.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�MergePullRequestDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�ExecuteMergePullRequestDetailsz* The information about the merge. �MERGE_COMMIT�FAST_FORWARD�FAST_FORWARD_ONLY�REBASE_AND_MERGE�REBASE_AND_FAST_FORWARD�SQUASH�SQUASH_FAST_FORWARD_ONLY�DELETE_SOURCE_BRANCH�KEEP_SOURCE_BRANCHc K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d| _dS ) a� Initializes a new ExecuteMergePullRequestDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.ExecuteMergePullRequestDetails.action_type` attribute of this class is ``EXECUTE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param action_type: The value to assign to the action_type property of this ExecuteMergePullRequestDetails. Allowed values for this property are: "EXECUTE", "VALIDATE" :type action_type: str :param commit_message: The value to assign to the commit_message property of this ExecuteMergePullRequestDetails. :type commit_message: str :param merge_strategy: The value to assign to the merge_strategy property of this ExecuteMergePullRequestDetails. Allowed values for this property are: "MERGE_COMMIT", "FAST_FORWARD", "FAST_FORWARD_ONLY", "REBASE_AND_MERGE", "REBASE_AND_FAST_FORWARD", "SQUASH", "SQUASH_FAST_FORWARD_ONLY" :type merge_strategy: str :param post_merge_action: The value to assign to the post_merge_action property of this ExecuteMergePullRequestDetails. Allowed values for this property are: "DELETE_SOURCE_BRANCH", "KEEP_SOURCE_BRANCH" :type post_merge_action: str �str)Zaction_type�commit_message�merge_strategy�post_merge_actionZ actionTypeZ commitMessageZ mergeStrategyZpostMergeActionNZEXECUTE)Z swagger_typesZ attribute_mapZ_action_type�_commit_message�_merge_strategy�_post_merge_action)�self�kwargs� r �X/usr/lib/python3.9/site-packages/oci/devops/models/execute_merge_pull_request_details.py�__init__6 s ��z'ExecuteMergePullRequestDetails.__init__c C s | j S )a. **[Required]** Gets the commit_message of this ExecuteMergePullRequestDetails. The commit message to be shown for this pull request in the destination branch after merge is done. :return: The commit_message of this ExecuteMergePullRequestDetails. :rtype: str �r �r r r r r d s z-ExecuteMergePullRequestDetails.commit_messagec C s || _ dS )a, Sets the commit_message of this ExecuteMergePullRequestDetails. The commit message to be shown for this pull request in the destination branch after merge is done. :param commit_message: The commit_message of this ExecuteMergePullRequestDetails. :type: str Nr )r r r r r r p s c C s | j S )a� **[Required]** Gets the merge_strategy of this ExecuteMergePullRequestDetails. the strategy of merging. Allowed values for this property are: "MERGE_COMMIT", "FAST_FORWARD", "FAST_FORWARD_ONLY", "REBASE_AND_MERGE", "REBASE_AND_FAST_FORWARD", "SQUASH", "SQUASH_FAST_FORWARD_ONLY" :return: The merge_strategy of this ExecuteMergePullRequestDetails. :rtype: str )r r r r r r | s z-ExecuteMergePullRequestDetails.merge_strategyc C s* g d�}t ||�s td|� ���|| _dS )z� Sets the merge_strategy of this ExecuteMergePullRequestDetails. the strategy of merging. :param merge_strategy: The merge_strategy of this ExecuteMergePullRequestDetails. :type: str )r r r r r r r z;Invalid value for `merge_strategy`, must be None or one of N)r � ValueErrorr )r r �allowed_valuesr r r r � s �c C s | j S )aX Gets the post_merge_action of this ExecuteMergePullRequestDetails. What needs to happen after the merge is done successfully. Allowed values for this property are: "DELETE_SOURCE_BRANCH", "KEEP_SOURCE_BRANCH" :return: The post_merge_action of this ExecuteMergePullRequestDetails. :rtype: str )r r r r r r � s z0ExecuteMergePullRequestDetails.post_merge_actionc C s* ddg}t ||�s td|� ���|| _dS )a Sets the post_merge_action of this ExecuteMergePullRequestDetails. What needs to happen after the merge is done successfully. :param post_merge_action: The post_merge_action of this ExecuteMergePullRequestDetails. :type: str r r z>Invalid value for `post_merge_action`, must be None or one of N)r r r )r r r! r r r r � s �c C s t | �S �N)r r r r r �__repr__� s z'ExecuteMergePullRequestDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z%ExecuteMergePullRequestDetails.__eq__c C s | |k S r"