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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�Detectorzy Information for a single detector category. For example, IAAS_ACTIVITY_DETECTOR or IAAS_CONFIGURATION_DETECTOR. �CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILEDc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )aL Initializes a new Detector object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Detector. :type id: str :param description: The value to assign to the description property of this Detector. :type description: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Detector. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str �str)�id�description�lifecycle_stater r ZlifecycleStateN)Z swagger_typesZ attribute_map�_id�_description�_lifecycle_state)�self�kwargs� r �C/usr/lib/python3.9/site-packages/oci/cloud_guard/models/detector.py�__init__. s ��zDetector.__init__c C s | j S )z� **[Required]** Gets the id of this Detector. Unique identifier for detector :return: The id of this Detector. :rtype: str �r �r r r r r R s zDetector.idc C s || _ dS )z� Sets the id of this Detector. Unique identifier for detector :param id: The id of this Detector. :type: str Nr )r r r r r r ^ s c C s | j S )z� **[Required]** Gets the description of this Detector. Detector description :return: The description of this Detector. :rtype: str �r r r r r r j s zDetector.descriptionc C s || _ dS )z� Sets the description of this Detector. Detector description :param description: The description of this Detector. :type: str Nr )r r r r r r v s c C s | j S )a� Gets the lifecycle_state of this Detector. The current lifecycle state of the resource. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Detector. :rtype: str )r r r r r r � s zDetector.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Detector. The current lifecycle state of the resource. :param lifecycle_state: The lifecycle_state of this Detector. :type: str )r r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s zDetector.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDetector.__eq__c C s | |k S r r r r r r �__ne__� s zDetector.__ne__N)�__name__� __module__�__qualname__�__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr �propertyr �setterr r r r"