Show / Hide Table of Contents

Class PutMessagesResult

The response to a {@link #putMessages(PutMessagesRequest) putMessages} request. It indicates the number of failed messages as well as an array of results for successful and failed messages.

Inheritance
object
PutMessagesResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.StreamingService.Models
Assembly: OCI.DotNetSDK.Streaming.dll
Syntax
public class PutMessagesResult

Properties

Entries

Declaration
[Required(ErrorMessage = "Entries is required.")]
[JsonProperty(PropertyName = "entries")]
public List<PutMessagesResultEntry> Entries { get; set; }
Property Value
Type Description
List<PutMessagesResultEntry>

An array of items representing the result of each message. The order is guaranteed to be the same as in the PutMessagesDetails object. If a message was successfully appended to the stream, the entry includes the offset, partition, and timestamp. If a message failed to be appended to the stream, the entry includes the error and errorMessage.

Remarks

Required

Failures

Declaration
[Required(ErrorMessage = "Failures is required.")]
[JsonProperty(PropertyName = "failures")]
public int? Failures { get; set; }
Property Value
Type Description
int?

The number of messages that failed to be added to the stream.

Remarks

Required

In this article
Back to top