Show / Hide Table of Contents

Class GetMessagesRequest

Inheritance
object
GetMessagesRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.StreamingService.Requests
Assembly: OCI.DotNetSDK.Streaming.dll
Syntax
public class GetMessagesRequest : IOciRequest
Examples

Click here to see an example of how to use GetMessages request.

Properties

Cursor

Declaration
[Required(ErrorMessage = "Cursor is required.")]
[HttpConverter(TargetEnum.Query, "cursor")]
public string Cursor { get; set; }
Property Value
Type Description
string

The cursor used to consume the stream.

Remarks

Required

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

The maximum number of messages to return. You can specify any value up to 10000. By default, the service returns as many messages as possible. Consider your average message size to help avoid exceeding throughput on the stream.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

StreamId

Declaration
[Required(ErrorMessage = "StreamId is required.")]
[HttpConverter(TargetEnum.Path, "streamId")]
public string StreamId { get; set; }
Property Value
Type Description
string

The OCID of the stream.

Remarks

Required

Implements

IOciRequest
In this article
Back to top