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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�CreationSourcez* Details for auto-created entity. � EM_BRIDGE�BULK_DISCOVERY�SERVICE_CONNECTOR_HUB� DISCOVERY�LOGGING_ANALYTICS�NONEc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new CreationSource 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 CreationSource. Allowed values for this property are: "EM_BRIDGE", "BULK_DISCOVERY", "SERVICE_CONNECTOR_HUB", "DISCOVERY", "LOGGING_ANALYTICS", "NONE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param details: The value to assign to the details property of this CreationSource. :type details: str �str)�type�detailsr r N)Z swagger_typesZ attribute_map�_type�_details)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/log_analytics/models/creation_source.py�__init__* s ��zCreationSource.__init__c C s | j S )a� Gets the type of this CreationSource. Source that auto-created the entity. Allowed values for this property are: "EM_BRIDGE", "BULK_DISCOVERY", "SERVICE_CONNECTOR_HUB", "DISCOVERY", "LOGGING_ANALYTICS", "NONE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this CreationSource. :rtype: str )r �r r r r r G s zCreationSource.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this CreationSource. Source that auto-created the entity. :param type: The type of this CreationSource. :type: str )r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r V s c C s | j S )a� Gets the details of this CreationSource. This will provide additional details for source of auto-creation. For example, if entity is auto-created by enterprise manager bridge, this field provides additional detail on enterprise manager that contributed to the entity auto-creation. :return: The details of this CreationSource. :rtype: str �r r r r r r e s zCreationSource.detailsc C s || _ dS )a� Sets the details of this CreationSource. This will provide additional details for source of auto-creation. For example, if entity is auto-created by enterprise manager bridge, this field provides additional detail on enterprise manager that contributed to the entity auto-creation. :param details: The details of this CreationSource. :type: str Nr )r r r r r r s s c C s t | �S �N)r r r r r �__repr__� s zCreationSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCreationSource.__eq__c C s | |k S r r r r r r �__ne__� s zCreationSource.__ne__N)�__name__� __module__�__qualname__�__doc__ZTYPE_EM_BRIDGEZTYPE_BULK_DISCOVERYZTYPE_SERVICE_CONNECTOR_HUBZTYPE_DISCOVERYZTYPE_LOGGING_ANALYTICSZ TYPE_NONEr �propertyr �setterr r r r r r r r r s&