📂 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
›
ai_document
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/ai_document/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: add_model_lock_details.cpython-39.pyc
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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�AddModelLockDetailsz6 Request payload to add lock to the resource. �FULL�DELETEc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new AddModelLockDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this AddModelLockDetails. Allowed values for this property are: "FULL", "DELETE" :type type: str :param related_resource_id: The value to assign to the related_resource_id property of this AddModelLockDetails. :type related_resource_id: str :param message: The value to assign to the message property of this AddModelLockDetails. :type message: str �str)�type�related_resource_id�messager ZrelatedResourceIdr N)Z swagger_typesZ attribute_map�_type�_related_resource_id�_message)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/ai_document/models/add_model_lock_details.py�__init__ s ��zAddModelLockDetails.__init__c C s | j S )z� **[Required]** Gets the type of this AddModelLockDetails. Type of the lock. Allowed values for this property are: "FULL", "DELETE" :return: The type of this AddModelLockDetails. :rtype: str )r �r r r r r = s zAddModelLockDetails.typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the type of this AddModelLockDetails. Type of the lock. :param type: The type of this AddModelLockDetails. :type: str r r z1Invalid value for `type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r K s �c C s | j S )a! Gets the related_resource_id of this AddModelLockDetails. The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock. :return: The related_resource_id of this AddModelLockDetails. :rtype: str �r r r r r r \ s z'AddModelLockDetails.related_resource_idc C s || _ dS )a3 Sets the related_resource_id of this AddModelLockDetails. The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock. :param related_resource_id: The related_resource_id of this AddModelLockDetails. :type: str Nr )r r r r r r h s c C s | j S )a Gets the message of this AddModelLockDetails. A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked. :return: The message of this AddModelLockDetails. :rtype: str �r r r r r r t s zAddModelLockDetails.messagec C s || _ dS )a Sets the message of this AddModelLockDetails. A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked. :param message: The message of this AddModelLockDetails. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zAddModelLockDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zAddModelLockDetails.__eq__c C s | |k S r r r r r r �__ne__� s zAddModelLockDetails.__ne__N)�__name__� __module__�__qualname__�__doc__Z TYPE_FULLZTYPE_DELETEr �propertyr �setterr r r r r r r r r r s&