Table of Contents

Class DeleteItemResponse

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

The result of DeleteItemRequest.

public sealed record DeleteItemResponse : IEquatable<DeleteItemResponse>
Inheritance
DeleteItemResponse
Implements
Inherited Members

Constructors

DeleteItemResponse()

public DeleteItemResponse()

Properties

Attributes

Gets the deleted item when ReturnValues was AllOld and an item existed; otherwise null.

public IReadOnlyDictionary<string, AttributeValue>? Attributes { get; init; }

Property Value

IReadOnlyDictionary<string, AttributeValue>

ConsumedCapacity

Gets the capacity the call consumed. Non-null only when the request set ReturnConsumedCapacity; otherwise null.

public ConsumedCapacity? ConsumedCapacity { get; init; }

Property Value

ConsumedCapacity

ItemCollectionMetrics

Gets the size estimate of the item collection, if requested with ReturnItemCollectionMetrics and the table has a local secondary index; otherwise null.

public ItemCollectionMetrics? ItemCollectionMetrics { get; init; }

Property Value

ItemCollectionMetrics

Methods

Equals(DeleteItemResponse?)

public bool Equals(DeleteItemResponse? other)

Parameters

other DeleteItemResponse

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(DeleteItemResponse?, DeleteItemResponse?)

public static bool operator ==(DeleteItemResponse? left, DeleteItemResponse? right)

Parameters

left DeleteItemResponse
right DeleteItemResponse

Returns

bool

operator !=(DeleteItemResponse?, DeleteItemResponse?)

public static bool operator !=(DeleteItemResponse? left, DeleteItemResponse? right)

Parameters

left DeleteItemResponse
right DeleteItemResponse

Returns

bool