ruạṛ
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 � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z dd� Zdd� Zdd� ZdS )�ResourceLockz� 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 sF dddddd�| _ ddddd d�| _d | _d | _d | _d | _d | _d S )aD Initializes a new ResourceLock 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 ResourceLock. Allowed values for this property are: "FULL", "DELETE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param related_resource_id: The value to assign to the related_resource_id property of this ResourceLock. :type related_resource_id: str :param message: The value to assign to the message property of this ResourceLock. :type message: str :param time_created: The value to assign to the time_created property of this ResourceLock. :type time_created: datetime :param is_active: The value to assign to the is_active property of this ResourceLock. :type is_active: bool �strZdatetime�bool)�type�related_resource_id�message�time_created� is_activer ZrelatedResourceIdr ZtimeCreatedZisActiveN)Z swagger_typesZ attribute_map�_type�_related_resource_id�_message� _time_created� _is_active)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/identity/models/resource_lock.py�__init__ s"