ruạṛ
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 )�PatchProhibitInstructiona� A precondition operation that requires a selection to be empty, or optionally to be non-empty but include no item with a specified value (useful for asserting that a value does not exist before attempting to create it, avoiding accidental update). It fails if value is provided and the selection includes an item matching it, or if value is not provided and the selection is not empty, but ignores NOT_FOUND exceptions. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new PatchProhibitInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.PatchProhibitInstruction.operation` attribute of this class is ``PROHIBIT`` 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 PatchProhibitInstruction. 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 PatchProhibitInstruction. :type selection: str :param value: The value to assign to the value property of this PatchProhibitInstruction. :type value: object �str�object)� operation� selection�valuer r r NZPROHIBIT)Z swagger_typesZ attribute_mapZ _operationZ _selection�_value)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/devops/models/patch_prohibit_instruction.py�__init__ s ��z!PatchProhibitInstruction.__init__c C s | j S )a Gets the value of this PatchProhibitInstruction. A value to be compared against each item of the selection. If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation. Otherwise, it matches any item to which it is equal according to the rules of `JSON Schema`__. __ https://tools.ietf.org/html/draft-handrews-json-schema-00#section-4.2.3 :return: The value of this PatchProhibitInstruction. :rtype: object �r �r r r r r : s zPatchProhibitInstruction.valuec C s || _ dS )a Sets the value of this PatchProhibitInstruction. A value to be compared against each item of the selection. If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation. Otherwise, it matches any item to which it is equal according to the rules of `JSON Schema`__. __ https://tools.ietf.org/html/draft-handrews-json-schema-00#section-4.2.3 :param value: The value of this PatchProhibitInstruction. :type: object Nr )r r r r r r J s c C s t | �S �N)r r r r r �__repr__Z s z!PatchProhibitInstruction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__] s zPatchProhibitInstruction.__eq__c C s | |k S r r r r r r �__ne__c s zPatchProhibitInstruction.__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
cải xoăn