TrimHorizonStreamingCursor

class oci.sch.models.TrimHorizonStreamingCursor(**kwargs)

Bases: oci.sch.models.streaming_cursor_details.StreamingCursorDetails

TRIM_HORIZON cursor type. Starts reading from the oldest available message in the stream. For configuration instructions, see Creating a Connector with a Streaming Source.

Attributes

KIND_LATEST str(object=’’) -> str
KIND_TRIM_HORIZON str(object=’’) -> str
kind [Required] Gets the kind of this StreamingCursorDetails.

Methods

__init__(**kwargs) Initializes a new TrimHorizonStreamingCursor object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
KIND_LATEST = 'LATEST'
KIND_TRIM_HORIZON = 'TRIM_HORIZON'
__init__(**kwargs)

Initializes a new TrimHorizonStreamingCursor object with values from keyword arguments. The default value of the kind attribute of this class is TRIM_HORIZON and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:kind (str) – The value to assign to the kind property of this TrimHorizonStreamingCursor. Allowed values for this property are: “LATEST”, “TRIM_HORIZON”
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

kind

[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’.

Returns:The kind of this StreamingCursorDetails.
Return type:str