📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
capacity_management
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/capacity_management/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: patch_insert_multiple_instruction.cpython-39.pyc
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 @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�PatchInsertMultipleInstructionz� An operation that inserts multiple consecutive values into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure. �BEFORE�AFTERc K sL dddddd�| _ dddddd�| _d | _d | _d | _d | _d | _d | _d S )ac Initializes a new PatchInsertMultipleInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.capacity_management.models.PatchInsertMultipleInstruction.operation` attribute of this class is ``INSERT_MULTIPLE`` 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 PatchInsertMultipleInstruction. 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 PatchInsertMultipleInstruction. :type selection: str :param values: The value to assign to the values property of this PatchInsertMultipleInstruction. :type values: list[object] :param selected_item: The value to assign to the selected_item property of this PatchInsertMultipleInstruction. :type selected_item: str :param position: The value to assign to the position property of this PatchInsertMultipleInstruction. Allowed values for this property are: "BEFORE", "AFTER" :type position: str �strzlist[object])� operation� selection�values� selected_item�positionr r r ZselectedItemr NZINSERT_MULTIPLE)Z swagger_typesZ attribute_mapZ _operationZ _selection�_values�_selected_item� _position)�self�kwargs� r �d/usr/lib/python3.9/site-packages/oci/capacity_management/models/patch_insert_multiple_instruction.py�__init__ s$ � �z'PatchInsertMultipleInstruction.__init__c C s | j S )a **[Required]** Gets the values of this PatchInsertMultipleInstruction. A list of consecutive values to be inserted into the target. :return: The values of this PatchInsertMultipleInstruction. :rtype: list[object] �r �r r r r r N s z%PatchInsertMultipleInstruction.valuesc C s || _ dS )z� Sets the values of this PatchInsertMultipleInstruction. A list of consecutive values to be inserted into the target. :param values: The values of this PatchInsertMultipleInstruction. :type: list[object] Nr )r r r r r r Z s c C s | j S )aQ Gets the selected_item of this PatchInsertMultipleInstruction. A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`. :return: The selected_item of this PatchInsertMultipleInstruction. :rtype: str �r r r r r r f s z,PatchInsertMultipleInstruction.selected_itemc C s || _ dS )a] Sets the selected_item of this PatchInsertMultipleInstruction. A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`. :param selected_item: The selected_item of this PatchInsertMultipleInstruction. :type: str Nr )r r r r r r r s c C s | j S )ai Gets the position of this PatchInsertMultipleInstruction. Where to insert the values, relative to the first item matched by `selectedItem`. If `selectedItem` is unspecified, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position. If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position. Allowed values for this property are: "BEFORE", "AFTER" :return: The position of this PatchInsertMultipleInstruction. :rtype: str )r r r r r r ~ s z'PatchInsertMultipleInstruction.positionc C s* ddg}t ||�s td|� ���|| _dS )a/ Sets the position of this PatchInsertMultipleInstruction. Where to insert the values, relative to the first item matched by `selectedItem`. If `selectedItem` is unspecified, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position. If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position. :param position: The position of this PatchInsertMultipleInstruction. :type: str r r z5Invalid value for `position`, 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 z'PatchInsertMultipleInstruction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z%PatchInsertMultipleInstruction.__eq__c C s | |k S r r r r r r �__ne__� s z%PatchInsertMultipleInstruction.__ne__N)�__name__� __module__�__qualname__�__doc__ZPOSITION_BEFOREZPOSITION_AFTERr �propertyr �setterr r r r"