/
lib
/
python3.9
/
site-packages
/
oci
/
globally_distributed_database
/
models
/
__pycache__
/
Upload File
HOME
a ���fW � @ 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 @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�PatchMergeInstructiona� An operation that recursively updates items of the selection, or adding the value if the selection is empty. If the value is not an object, it is used directly, otherwise each key-value member is used to create or update a member of the same name in the target and the same process is applied recursively for each object-typed value (similar to `RFC 7396`__ JSON Merge Patch, except that null values are copied rather than transformed into deletions). NOT_FOUND exceptions are handled by creating the implied containing structure. To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth. __ https://tools.ietf.org/html/rfc7396#section-2 c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new PatchMergeInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.globally_distributed_database.models.PatchMergeInstruction.operation` attribute of this class is ``MERGE`` 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 PatchMergeInstruction. Allowed values for this property are: "INSERT", "REMOVE", "MERGE" :type operation: str :param selection: The value to assign to the selection property of this PatchMergeInstruction. :type selection: str :param value: The value to assign to the value property of this PatchMergeInstruction. :type value: object �str�object)� operation� selection�valuer r r NZMERGE)Z swagger_typesZ attribute_mapZ _operationZ _selection�_value)�self�kwargs� r �d/usr/lib/python3.9/site-packages/oci/globally_distributed_database/models/patch_merge_instruction.py�__init__ s ��zPatchMergeInstruction.__init__c C s | j S )z� Gets the value of this PatchMergeInstruction. A value to be merged into the target. :return: The value of this PatchMergeInstruction. :rtype: object �r �r r r r r ? s zPatchMergeInstruction.valuec C s || _ dS )z� Sets the value of this PatchMergeInstruction. A value to be merged into the target. :param value: The value of this PatchMergeInstruction. :type: object Nr )r r r r r r K s c C s t | �S �N)r r r r r �__repr__W s zPatchMergeInstruction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__Z s zPatchMergeInstruction.__eq__c C s | |k S r r r r r r �__ne__` s zPatchMergeInstruction.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s % r N) Zpatch_instructionr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s