IdempotencyRequest
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllAn idempotency reservation request.
public sealed record IdempotencyRequest : IEquatable<IdempotencyRequest>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<IdempotencyRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”IdempotencyRequest()
Section titled “ IdempotencyRequest()”public IdempotencyRequest()Properties
Section titled “Properties”CreatedAt
Section titled “ CreatedAt”The time the reservation was made (UTC).
public required DateTimeOffset CreatedAt { get; init; }Property Value
Section titled “Property Value”Fingerprint
Section titled “ Fingerprint”The HTTP method + path + raw body digest (SHA-256).
public required string Fingerprint { get; init; }Property Value
Section titled “Property Value”The key the client sent in the Idempotency-Key header.
public required string Key { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant identifier.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(IdempotencyRequest?)
Section titled “ Equals(IdempotencyRequest?)”public bool Equals(IdempotencyRequest? other)Parameters
Section titled “Parameters”other IdempotencyRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(IdempotencyRequest?, IdempotencyRequest?)
Section titled “ operator ==(IdempotencyRequest?, IdempotencyRequest?)”public static bool operator ==(IdempotencyRequest? left, IdempotencyRequest? right)Parameters
Section titled “Parameters”left IdempotencyRequest?
right IdempotencyRequest?
Returns
Section titled “Returns”operator !=(IdempotencyRequest?, IdempotencyRequest?)
Section titled “ operator !=(IdempotencyRequest?, IdempotencyRequest?)”public static bool operator !=(IdempotencyRequest? left, IdempotencyRequest? right)Parameters
Section titled “Parameters”left IdempotencyRequest?
right IdempotencyRequest?