ruạṛ
a ���f � @ 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 j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�PatchModelOperationz@ The metadata which can be edited after model creation. �DELETE�ADD�REPLACEc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new PatchModelOperation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param path: The value to assign to the path property of this PatchModelOperation. :type path: str :param value: The value to assign to the value property of this PatchModelOperation. :type value: str :param operation: The value to assign to the operation property of this PatchModelOperation. Allowed values for this property are: "DELETE", "ADD", "REPLACE" :type operation: str �str)�path�value� operationr r r N)Z swagger_typesZ attribute_map�_path�_value� _operation)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/ai_document/models/patch_model_operation.py�__init__ s ��zPatchModelOperation.__init__c C s | j S )z� Gets the path of this PatchModelOperation. The parameter of the resource to be changed. :return: The path of this PatchModelOperation. :rtype: str �r �r r r r r A s zPatchModelOperation.pathc C s || _ dS )z� Sets the path of this PatchModelOperation. The parameter of the resource to be changed. :param path: The path of this PatchModelOperation. :type: str Nr )r r r r r r M s c C s | j S )z� Gets the value of this PatchModelOperation. The value of the parameter to be updated. :return: The value of this PatchModelOperation. :rtype: str �r r r r r r Y s zPatchModelOperation.valuec C s || _ dS )z� Sets the value of this PatchModelOperation. The value of the parameter to be updated. :param value: The value of this PatchModelOperation. :type: str Nr )r r r r r r e s c C s | j S )a Gets the operation of this PatchModelOperation. The value of the parameter to be updated. Allowed values for this property are: "DELETE", "ADD", "REPLACE" :return: The operation of this PatchModelOperation. :rtype: str )r r r r r r q s zPatchModelOperation.operationc C s* g d�}t ||�s td|� ���|| _dS )z� Sets the operation of this PatchModelOperation. The value of the parameter to be updated. :param operation: The operation of this PatchModelOperation. :type: str )r r r z6Invalid value for `operation`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r s �c C s t | �S �N)r r r r r �__repr__� s zPatchModelOperation.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPatchModelOperation.__eq__c C s | |k S r r r r r r �__ne__� s zPatchModelOperation.__ne__N)�__name__� __module__�__qualname__�__doc__ZOPERATION_DELETEZ OPERATION_ADDZOPERATION_REPLACEr �propertyr �setterr r r r r r r r r r s( # r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn