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� �Zed d!� �Zejd"d!� �Zd#d$� Zd%d&� Zd'd(� Zd)S )*�ConnectorPlugina� A service source or service target used to create a connector. Example connector plugins include the Queue 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 sZ dddddddd�| _ dddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS )a' Initializes a new ConnectorPlugin 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.TargetConnectorPlugin` * :class:`~oci.sch.models.SourceConnectorPlugin` 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 ConnectorPlugin. 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 ConnectorPlugin. :type name: str :param time_created: The value to assign to the time_created property of this ConnectorPlugin. :type time_created: datetime :param estimated_throughput: The value to assign to the estimated_throughput property of this ConnectorPlugin. 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 ConnectorPlugin. 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 ConnectorPlugin. :type display_name: str :param schema: The value to assign to the schema property of this ConnectorPlugin. :type schema: str �strZdatetime)�kind�name�time_created�estimated_throughput�lifecycle_state�display_name�schemar r ZtimeCreatedZestimatedThroughputZlifecycleStateZdisplayNamer N) Z swagger_typesZ attribute_map�_kind�_name� _time_created�_estimated_throughput�_lifecycle_state� _display_name�_schema)�self�kwargs� r �C/usr/lib/python3.9/site-packages/oci/sch/models/connector_plugin.py�__init__: s. .�� zConnectorPlugin.__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 ZTargetConnectorPluginr ZSourceConnectorPluginr Nr )Zobject_dictionary�typer r r! �get_subtype� s zConnectorPlugin.get_subtypec C s | j S )an **[Required]** Gets the kind of this ConnectorPlugin. 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 ConnectorPlugin. :rtype: str )r �r r r r! r � s zConnectorPlugin.kindc C s ddg}t ||�sd}|| _dS )z� Sets the kind of this ConnectorPlugin. The plugin type discriminator. :param kind: The kind of this ConnectorPlugin. :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 ConnectorPlugin. The service to be called by the connector plugin. Example: `QueueSource` :return: The name of this ConnectorPlugin. :rtype: str �r r% r r r! r � s zConnectorPlugin.namec C s || _ dS )z� Sets the name of this ConnectorPlugin. The service to be called by the connector plugin. Example: `QueueSource` :param name: The name of this ConnectorPlugin. :type: str Nr( )r r r r r! r � s c C s | j S )ah **[Required]** Gets the time_created of this ConnectorPlugin. The date and time when this plugin became available. Format is defined by `RFC3339`__. Example: `2023-09-09T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this ConnectorPlugin. :rtype: datetime �r r% r r r! r � s zConnectorPlugin.time_createdc C s || _ dS )ad Sets the time_created of this ConnectorPlugin. The date and time when this plugin became available. Format is defined by `RFC3339`__. Example: `2023-09-09T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this ConnectorPlugin. :type: datetime Nr) )r r r r r! r � s c C s | j S )a� Gets the estimated_throughput of this ConnectorPlugin. The estimated throughput range (LOW, MEDIUM, HIGH). 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'. :return: The estimated_throughput of this ConnectorPlugin. :rtype: str )r r% r r r! r � s z$ConnectorPlugin.estimated_throughputc C s g d�}t ||�sd}|| _dS )z� Sets the estimated_throughput of this ConnectorPlugin. The estimated throughput range (LOW, MEDIUM, HIGH). :param estimated_throughput: The estimated_throughput of this ConnectorPlugin. :type: str )r r r r r&