a f/@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d d Z e d d ZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZed 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 SOURCETARGETLOWMEDIUMHIGHUNKNOWNACTIVEDELETEDcKsZdddddddd|_dddddd d d|_d |_d |_d |_d |_d |_d |_d |_d S) 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)kindname time_createdestimated_throughputlifecycle_state display_nameschemarrZ timeCreatedZestimatedThroughputZlifecycleStateZ displayNamerN) Z swagger_typesZ attribute_map_kind_name _time_created_estimated_throughput_lifecycle_state _display_name_schema)selfkwargsr C/usr/lib/python3.9/site-packages/oci/sch/models/connector_plugin.py__init__:s..  zConnectorPlugin.__init__cCs(|d}|dkrdS|dkr dSdSdS)z Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. rrZTargetConnectorPluginrZSourceConnectorPluginrNr )Zobject_dictionarytyper r r! get_subtypes zConnectorPlugin.get_subtypecCs|jS)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 )rrr r r!rs zConnectorPlugin.kindcCs ddg}t||sd}||_dS)z Sets the kind of this ConnectorPlugin. The plugin type discriminator. :param kind: The kind of this ConnectorPlugin. :type: str rrUNKNOWN_ENUM_VALUEN)rr)rrallowed_valuesr r r!rs  cCs|jS)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 rr%r r r!rs zConnectorPlugin.namecCs ||_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()rrr r r!rs cCs|jS)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 rr%r r r!rszConnectorPlugin.time_createdcCs ||_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))rrr r r!rscCs|jS)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 )rr%r r r!rs z$ConnectorPlugin.estimated_throughputcCs gd}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&N)rr)rrr'r r r!rs  cCs|jS)a **[Required]** Gets the lifecycle_state of this ConnectorPlugin. The current state of the service connector. 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'. :return: The lifecycle_state of this ConnectorPlugin. :rtype: str )rr%r r r!r s zConnectorPlugin.lifecycle_statecCs ddg}t||sd}||_dS)z Sets the lifecycle_state of this ConnectorPlugin. The current state of the service connector. :param lifecycle_state: The lifecycle_state of this ConnectorPlugin. :type: str r rr&N)rr)rrr'r r r!rs  cCs|jS)a$ **[Required]** Gets the display_name of this ConnectorPlugin. A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. :return: The display_name of this ConnectorPlugin. :rtype: str rr%r r r!r's zConnectorPlugin.display_namecCs ||_dS)a  Sets the display_name of this ConnectorPlugin. A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. :param display_name: The display_name of this ConnectorPlugin. :type: str Nr*)rrr r r!r4s cCs|jS)z Gets the schema of this ConnectorPlugin. Gets the specified connector plugin configuration information in OpenAPI specification format. :return: The schema of this ConnectorPlugin. :rtype: str rr%r r r!rAs zConnectorPlugin.schemacCs ||_dS)z Sets the schema of this ConnectorPlugin. Gets the specified connector plugin configuration information in OpenAPI specification format. :param schema: The schema of this ConnectorPlugin. :type: str Nr+)rrr r r!rMs cCst|SN)rr%r r r!__repr__YszConnectorPlugin.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherr r r!__eq__\szConnectorPlugin.__eq__cCs ||k Sr,r r/r r r!__ne__bszConnectorPlugin.__ne__N)__name__ __module__ __qualname____doc__Z KIND_SOURCEZ KIND_TARGETZESTIMATED_THROUGHPUT_LOWZESTIMATED_THROUGHPUT_MEDIUMZESTIMATED_THROUGHPUT_HIGHZESTIMATED_THROUGHPUT_UNKNOWNZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETEDr" staticmethodr$propertyrsetterrrrrrrr-r1r2r r r r!r sVI               rN)Zoci.utilrrrZoci.decoratorsrobjectrr r r r!s