Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
devops
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: patch_instruction.cpython-39.opt-1.pyc
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z ed d� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�PatchInstructionzO A single instruction to be included as part of Patch request content. �REQUIRE�PROHIBIT�REPLACE�INSERT�REMOVE�MOVE�MERGEc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new PatchInstruction object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.devops.models.PatchMoveInstruction` * :class:`~oci.devops.models.PatchRemoveInstruction` * :class:`~oci.devops.models.PatchReplaceInstruction` * :class:`~oci.devops.models.PatchInsertInstruction` * :class:`~oci.devops.models.PatchRequireInstruction` * :class:`~oci.devops.models.PatchMergeInstruction` * :class:`~oci.devops.models.PatchProhibitInstruction` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param operation: The value to assign to the operation property of this PatchInstruction. Allowed values for this property are: "REQUIRE", "PROHIBIT", "REPLACE", "INSERT", "REMOVE", "MOVE", "MERGE" :type operation: str :param selection: The value to assign to the selection property of this PatchInstruction. :type selection: str �str)� operation� selectionr r N)Z swagger_typesZ attribute_map� _operation� _selection)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/devops/models/patch_instruction.py�__init__. s ��zPatchInstruction.__init__c C sd | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZPatchMoveInstructionr ZPatchRemoveInstructionr ZPatchReplaceInstructionr ZPatchInsertInstructionr ZPatchRequireInstructionr ZPatchMergeInstructionr ZPatchProhibitInstructionr Nr )Zobject_dictionary�typer r r �get_subtypeT s zPatchInstruction.get_subtypec C s | j S )a **[Required]** Gets the operation of this PatchInstruction. Allowed values for this property are: "REQUIRE", "PROHIBIT", "REPLACE", "INSERT", "REMOVE", "MOVE", "MERGE" :return: The operation of this PatchInstruction. :rtype: str )r �r r r r r s s zPatchInstruction.operationc C s* g d�}t ||�s td|� ���|| _dS )z� Sets the operation of this PatchInstruction. :param operation: The operation of this PatchInstruction. :type: str )r r r r r r r z6Invalid value for `operation`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r s �c C s | j S )a9 **[Required]** Gets the selection of this PatchInstruction. The set of values to which the operation applies as a `JMESPath expression`__ for evaluation against the context resource. An operation fails if the selection yields an exception, except as otherwise specified. Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false. __ https://jmespath.org/specification.html :return: The selection of this PatchInstruction. :rtype: str �r r r r r r � s zPatchInstruction.selectionc C s || _ dS )a2 Sets the selection of this PatchInstruction. The set of values to which the operation applies as a `JMESPath expression`__ for evaluation against the context resource. An operation fails if the selection yields an exception, except as otherwise specified. Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false. __ https://jmespath.org/specification.html :param selection: The selection of this PatchInstruction. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zPatchInstruction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPatchInstruction.__eq__c C s | |k S r r r r r r �__ne__� s zPatchInstruction.__ne__N)�__name__� __module__�__qualname__�__doc__ZOPERATION_REQUIREZOPERATION_PROHIBITZOPERATION_REPLACEZOPERATION_INSERTZOPERATION_REMOVEZOPERATION_MOVEZOPERATION_MERGEr �staticmethodr �propertyr �setterr r r"