a f@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@s^eZdZdZdZdZddZeddZe dd Z e j d d Z d d Z d dZ ddZdS)StreamingCursorDetailsa The `read setting`__, which determines where in the stream to start moving data. 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 __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-streaming-source.htm LATEST TRIM_HORIZONcKsddi|_ddi|_d|_dS)a? Initializes a new StreamingCursorDetails 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.TrimHorizonStreamingCursor` * :class:`~oci.sch.models.LatestStreamingCursor` 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 StreamingCursorDetails. Allowed values for this property are: "LATEST", "TRIM_HORIZON", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type kind: str kindstrN)Z swagger_typesZ attribute_map_kind)selfkwargsrK/usr/lib/python3.9/site-packages/oci/sch/models/streaming_cursor_details.py__init__s zStreamingCursorDetails.__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. r rZTrimHorizonStreamingCursorrZLatestStreamingCursorrNr)Zobject_dictionarytyperrr get_subtype:s z"StreamingCursorDetails.get_subtypecCs|jS)a{ **[Required]** Gets the kind of this StreamingCursorDetails. The type discriminator. Allowed values for this property are: "LATEST", "TRIM_HORIZON", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The kind of this StreamingCursorDetails. :rtype: str )r r rrrr Js zStreamingCursorDetails.kindcCs ddg}t||sd}||_dS)z Sets the kind of this StreamingCursorDetails. The type discriminator. :param kind: The kind of this StreamingCursorDetails. :type: str rrZUNKNOWN_ENUM_VALUEN)rr )r r Zallowed_valuesrrrr Ys  cCst|SN)rrrrr__repr__hszStreamingCursorDetails.__repr__cCs|dur dS|j|jkS)NF)__dict__r otherrrr__eq__kszStreamingCursorDetails.__eq__cCs ||k Srrrrrr__ne__qszStreamingCursorDetails.__ne__N)__name__ __module__ __qualname____doc__Z KIND_LATESTZKIND_TRIM_HORIZONr staticmethodrpropertyr setterrrrrrrrr s    rN)Zoci.utilrrrZoci.decoratorsrobjectrrrrrs