Table of Contents

Class StorageDriverClaim

Namespace
Temporalio.Converters
Assembly
Temporalio.dll

Driver-specific data identifying a single payload in an external storage system.

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

Remarks

WARNING: This API is experimental and may change in the future.

Constructors

StorageDriverClaim(IReadOnlyDictionary<string, string>)

Driver-specific data identifying a single payload in an external storage system.

public StorageDriverClaim(IReadOnlyDictionary<string, string> ClaimData)

Parameters

ClaimData IReadOnlyDictionary<string, string>

Key/value pairs the driver needs to retrieve the payload later. This is written into history, so it must contain everything required for retrieval and must not contain secrets.

Remarks

WARNING: This API is experimental and may change in the future.

Properties

ClaimData

Key/value pairs the driver needs to retrieve the payload later. This is written into history, so it must contain everything required for retrieval and must not contain secrets.

public IReadOnlyDictionary<string, string> ClaimData { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Methods

Equals(StorageDriverClaim?)

Whether this claim identifies the same stored payload as another.

public bool Equals(StorageDriverClaim? other)

Parameters

other StorageDriverClaim

Claim to compare with.

Returns

bool

True if both hold the same claim data.

Remarks

Compared by content. The generated record equality would compare the dictionary by reference, so two claims built from equal but separate dictionaries would not be equal.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.