Show / Hide Table of Contents

Class UpdateMessagesResult

The response to a UpdateMessages request. It indicates the number of server and client failures as well as an array of entries for successful and failed actions.

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

Properties

ClientFailures

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

The number of messages that failed to be updated in the queue because of a client failure such as an invalid receipt or invalid visibilityInSeconds.

Remarks

Required

Entries

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

An array of items representing the result of each action. The order is guaranteed to be the same as in the UpdateMessagesDetails object. If a message was successfully updated in the queue, the entry includes the id and visibleAfter fields. If a message failed to be updated in the queue, the entry includes the errorCode and errorMessage fields.

Remarks

Required

ServerFailures

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

The number of messages that failed to be updated in the queue because of a server failure.

Remarks

Required

In this article
Back to top