ruạṛ
a N��f8 � @ 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 ZdZdZdZdZdd� Zedd� �Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z dd� Zdd� Zdd� ZdS )�PatchInstructionzO A single instruction to be included as part of Patch request content. �INSERT�REMOVE�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.data_safe.models.PatchRemoveInstruction` * :class:`~oci.data_safe.models.PatchInsertInstruction` * :class:`~oci.data_safe.models.PatchMergeInstruction` 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: "INSERT", "REMOVE", "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)� swagger_types� attribute_map� _operation� _selection)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/patch_instruction.py�__init__ s ��zPatchInstruction.__init__c C s4 | d }|dkrdS |dkr dS |dkr,dS dS d S ) 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 �PatchRemoveInstructionr �PatchInsertInstructionr �PatchMergeInstructionr Nr )�object_dictionary�typer r r �get_subtype>