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 )�PatchRequireInstructiona\ A precondition operation that requires a selection to be non-empty, and optionally to include an item with a specified value (useful for asserting that a value exists before attempting to update it, avoiding accidental creation). It fails if the selection is empty, or if value is provided and no item of the selection matches it. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new PatchRequireInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.PatchRequireInstruction.operation` attribute of this class is ``REQUIRE`` 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 PatchRequireInstruction. 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 PatchRequireInstruction. :type selection: str :param value: The value to assign to the value property of this PatchRequireInstruction. :type value: object �str�object)� operation� selection�valuer r r NZREQUIRE)Z swagger_typesZ attribute_mapZ _operationZ _selection�_value)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/devops/models/patch_require_instruction.py�__init__ s ��z PatchRequireInstruction.__init__c C s | j S )a Gets the value of this PatchRequireInstruction. 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 PatchRequireInstruction. :rtype: object �r �r r r r r 9 s zPatchRequireInstruction.valuec C s || _ dS )a Sets the value of this PatchRequireInstruction. 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 PatchRequireInstruction. :type: object Nr )r r r r r r I s c C s t | �S �N)r r r r r �__repr__Y s z PatchRequireInstruction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__\ s zPatchRequireInstruction.__eq__c C s | |k S r r r r r r �__ne__b s zPatchRequireInstruction.__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