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_instruction.cpython-39.pyc
a

���f��@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	d
�Zedd��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�MERGEcKs(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�	selectionrrN)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__cCsd|d}|dkrdS|dkr dS|dkr,dS|dkr8d	S|d
krDdS|dkrPd
S|dkr\dSdSdS)z�
        Given the hash representation of a subtype of this class,
        use the info in the hash to return the class of the subtype.
        rrZPatchMoveInstructionrZPatchRemoveInstructionr	ZPatchReplaceInstructionr
ZPatchInsertInstructionrZPatchRequireInstructionr
ZPatchMergeInstructionrZPatchProhibitInstructionrNr)Zobject_dictionary�typerrr�get_subtypeTs zPatchInstruction.get_subtypecCs|jS)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�rrrrrss
zPatchInstruction.operationcCs*gd�}t||�s td|����||_dS)z�
        Sets the operation of this PatchInstruction.

        :param operation: The operation of this PatchInstruction.
        :type: str
        )rrr	r
rrr
z6Invalid value for `operation`, must be None or one of N)r�
ValueErrorr)rrZallowed_valuesrrrrs
�cCs|jS)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
        �rrrrrr�szPatchInstruction.selectioncCs
||_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)rrrrrr�scCst|�S�N)rrrrr�__repr__�szPatchInstruction.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szPatchInstruction.__eq__cCs
||kSrrr rrr�__ne__�szPatchInstruction.__ne__N)�__name__�
__module__�__qualname__�__doc__ZOPERATION_REQUIREZOPERATION_PROHIBITZOPERATION_REPLACEZOPERATION_INSERTZOPERATION_REMOVEZOPERATION_MOVEZOPERATION_MERGEr�staticmethodr�propertyr�setterrrr"r#rrrrrs,&




rN)Zoci.utilrrrZoci.decoratorsr�objectrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit