Table of Contents

Class PutRequest

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

Writes an item as part of a WriteRequest, with the effect of PutItem without a condition.

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

Constructors

PutRequest()

public PutRequest()

Properties

Item

Gets the item, including all key attributes. It replaces an existing item with the same key entirely. At most 400 KB; string and binary values must not be empty and sets must not be empty.

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

Property Value

IReadOnlyDictionary<string, AttributeValue>

Methods

Equals(PutRequest?)

public bool Equals(PutRequest? other)

Parameters

other PutRequest

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

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

Parameters

left PutRequest
right PutRequest

Returns

bool

operator !=(PutRequest?, PutRequest?)

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

Parameters

left PutRequest
right PutRequest

Returns

bool