ruạṛ
a ���fC � @ 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 )�StreamingSourceDetailsz� The Streaming source. For configuration instructions, see `Creating a Connector with a Streaming Source`__. __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-streaming-source.htm c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new StreamingSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.sch.models.StreamingSourceDetails.kind` attribute of this class is ``streaming`` 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 StreamingSourceDetails. Allowed values for this property are: "logging", "monitoring", "streaming", "plugin" :type kind: str :param stream_id: The value to assign to the stream_id property of this StreamingSourceDetails. :type stream_id: str :param cursor: The value to assign to the cursor property of this StreamingSourceDetails. :type cursor: oci.sch.models.StreamingCursorDetails �strZStreamingCursorDetails)�kind� stream_id�cursorr ZstreamIdr NZ streaming)Z swagger_typesZ attribute_mapZ_kind� _stream_id�_cursor)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/sch/models/streaming_source_details.py�__init__ s ��zStreamingSourceDetails.__init__c C s | j S )a$ **[Required]** Gets the stream_id of this StreamingSourceDetails. The `OCID`__ of the stream. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The stream_id of this StreamingSourceDetails. :rtype: str �r �r r r r r ; s z StreamingSourceDetails.stream_idc C s || _ dS )a Sets the stream_id of this StreamingSourceDetails. The `OCID`__ of the stream. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param stream_id: The stream_id of this StreamingSourceDetails. :type: str Nr )r r r r r r I s c C s | j S )z� Gets the cursor of this StreamingSourceDetails. :return: The cursor of this StreamingSourceDetails. :rtype: oci.sch.models.StreamingCursorDetails �r r r r r r W s zStreamingSourceDetails.cursorc C s || _ dS )z� Sets the cursor of this StreamingSourceDetails. :param cursor: The cursor of this StreamingSourceDetails. :type: oci.sch.models.StreamingCursorDetails Nr )r r r r r r a s c C s t | �S �N)r r r r r �__repr__k s zStreamingSourceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__n s zStreamingSourceDetails.__eq__c C s | |k S r r r r r r �__ne__t s zStreamingSourceDetails.__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