Class CreateCursorDetails
Object used to create a cursor to consume messages in a stream.
Inherited Members
Namespace: Oci.StreamingService.Models
Assembly: OCI.DotNetSDK.Streaming.dll
Syntax
public class CreateCursorDetailsProperties
Offset
Declaration
[JsonProperty(PropertyName = "offset")]
public long? Offset { get; set; }Property Value
| Type | Description | 
|---|---|
| long? | The offset to consume from if the cursor type is  | 
Partition
Declaration
[Required(ErrorMessage = "Partition is required.")]
[JsonProperty(PropertyName = "partition")]
public string Partition { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The partition to get messages from. | 
Remarks
Required
Time
Declaration
[JsonProperty(PropertyName = "time")]
public DateTime? Time { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The time to consume from if the cursor type is  | 
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateCursorDetails.TypeEnum? Type { get; set; }Property Value
| Type | Description | 
|---|---|
| CreateCursorDetails.TypeEnum? | The type of cursor, which determines the starting point from which the stream will be consumed:
 
 | 
Remarks
Required