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 Zd d� Ze dd � �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zd d!� Zd"d#� Zd$d%� Zd&S )'�ConnectorPluginSummarya� Summary information for a connector plugin. Example connector plugins include the Streaming source and the Notifications target. For more information about flows defined by connectors, see `Overview of Connector Hub`__. For configuration instructions, see `Creating a Connector`__. __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm �SOURCE�TARGET�LOW�MEDIUM�HIGH�UNKNOWN�ACTIVE�DELETEDc K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new ConnectorPluginSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.sch.models.SourceConnectorPluginSummary` * :class:`~oci.sch.models.TargetConnectorPluginSummary` 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 ConnectorPluginSummary. Allowed values for this property are: "SOURCE", "TARGET", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type kind: str :param name: The value to assign to the name property of this ConnectorPluginSummary. :type name: str :param time_created: The value to assign to the time_created property of this ConnectorPluginSummary. :type time_created: datetime :param estimated_throughput: The value to assign to the estimated_throughput property of this ConnectorPluginSummary. Allowed values for this property are: "LOW", "MEDIUM", "HIGH", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type estimated_throughput: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ConnectorPluginSummary. Allowed values for this property are: "ACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param display_name: The value to assign to the display_name property of this ConnectorPluginSummary. :type display_name: str �strZdatetime)�kind�name�time_created�estimated_throughput�lifecycle_state�display_namer r ZtimeCreatedZestimatedThroughputZlifecycleStateZdisplayNameN)Z swagger_typesZ attribute_map�_kind�_name� _time_created�_estimated_throughput�_lifecycle_state� _display_name)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/sch/models/connector_plugin_summary.py�__init__: s( *� � zConnectorPluginSummary.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZSourceConnectorPluginSummaryr ZTargetConnectorPluginSummaryr Nr )Zobject_dictionary�typer r r �get_subtype| s z"ConnectorPluginSummary.get_subtypec C s | j S )a| **[Required]** Gets the kind of this ConnectorPluginSummary. The plugin type discriminator. Allowed values for this property are: "SOURCE", "TARGET", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The kind of this ConnectorPluginSummary. :rtype: str )r �r r r r r � s zConnectorPluginSummary.kindc C s ddg}t ||�sd}|| _dS )z� Sets the kind of this ConnectorPluginSummary. The plugin type discriminator. :param kind: The kind of this ConnectorPluginSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r � s c C s | j S )z� **[Required]** Gets the name of this ConnectorPluginSummary. The service to be called by the connector plugin. :return: The name of this ConnectorPluginSummary. :rtype: str �r r# r r r r � s zConnectorPluginSummary.namec C s || _ dS )z� Sets the name of this ConnectorPluginSummary. The service to be called by the connector plugin. :param name: The name of this ConnectorPluginSummary. :type: str Nr&