/
lib
/
python3.9
/
site-packages
/
oci
/
globally_distributed_database
/
models
/
__pycache__
/
Upload File
HOME
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 @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�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. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new PatchInsertInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.globally_distributed_database.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: "INSERT", "REMOVE", "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 �str�object)� operation� selection�valuer r r NZINSERT)Z swagger_typesZ attribute_mapZ _operationZ _selection�_value)�self�kwargs� r �e/usr/lib/python3.9/site-packages/oci/globally_distributed_database/models/patch_insert_instruction.py�__init__ s ��zPatchInsertInstruction.__init__c C s | j S )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 �r r r r r 7 s zPatchInsertInstruction.valuec C s || _ 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 )r r r r r r C s c C s t | �S �N)r r r r r �__repr__O s zPatchInsertInstruction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__R s zPatchInsertInstruction.__eq__c C s | |k S r r r r r r �__ne__X s zPatchInsertInstruction.__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