Table of Contents

Class ItemResponse

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

The result of one TransactGetItem.

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

Constructors

ItemResponse()

public ItemResponse()

Properties

Item

Gets the attributes of the item, restricted to the projection if the action had one. null when no item has the key: a missing item is not an error. An existing item without any projected attribute is an empty dictionary.

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

Property Value

IReadOnlyDictionary<string, AttributeValue>

Methods

Equals(ItemResponse?)

public bool Equals(ItemResponse? other)

Parameters

other ItemResponse

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 ==(ItemResponse?, ItemResponse?)

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

Parameters

left ItemResponse
right ItemResponse

Returns

bool

operator !=(ItemResponse?, ItemResponse?)

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

Parameters

left ItemResponse
right ItemResponse

Returns

bool