ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� SourceDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�PluginSourceDetailsz� Details about a connector plugin used to fetch data from a source. For configuration instructions, see `Creating a Connector`__. __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) as Initializes a new PluginSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.sch.models.PluginSourceDetails.kind` attribute of this class is ``plugin`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kind: The value to assign to the kind property of this PluginSourceDetails. Allowed values for this property are: "logging", "monitoring", "streaming", "plugin" :type kind: str :param plugin_name: The value to assign to the plugin_name property of this PluginSourceDetails. :type plugin_name: str :param config_map: The value to assign to the config_map property of this PluginSourceDetails. :type config_map: object �str�object)�kind�plugin_name� config_mapr Z pluginNameZ configMapNZplugin)Z swagger_typesZ attribute_mapZ_kind�_plugin_name�_config_map)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/sch/models/plugin_source_details.py�__init__ s ��zPluginSourceDetails.__init__c C s | j S )a� **[Required]** Gets the plugin_name of this PluginSourceDetails. The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, `QueueSource` indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins]. :return: The plugin_name of this PluginSourceDetails. :rtype: str �r �r r r r r ; s zPluginSourceDetails.plugin_namec C s || _ dS )a� Sets the plugin_name of this PluginSourceDetails. The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, `QueueSource` indicates the Queue service. To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins]. :param plugin_name: The plugin_name of this PluginSourceDetails. :type: str Nr )r r r r r r H s c C s | j S )a9 **[Required]** Gets the config_map of this PluginSourceDetails. The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for `QueueSource`, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value. :return: The config_map of this PluginSourceDetails. :rtype: object �r r r r r r U s zPluginSourceDetails.config_mapc C s || _ dS )a3 Sets the config_map of this PluginSourceDetails. The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type. For example, for `QueueSource`, the map lists the OCID of the selected queue. To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value. :param config_map: The config_map of this PluginSourceDetails. :type: object Nr )r r r r r r c s c C s t | �S �N)r r r r r �__repr__q s zPluginSourceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__t s zPluginSourceDetails.__eq__c C s | |k S r r r r r r �__ne__z s zPluginSourceDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Zsource_detailsr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn