# IdempotencyRequest

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.idempotencyrequest/
> Summary: IdempotencyRequest: An idempotency reservation request.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

An idempotency reservation request.

```csharp
public sealed record IdempotencyRequest : IEquatable<IdempotencyRequest>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.idempotencyrequest/">IdempotencyRequest</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;IdempotencyRequest&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_IdempotencyRequest__ctor"></a> IdempotencyRequest\(\)

```csharp
public IdempotencyRequest()
```

## Properties

### <a id="Tracon_IdempotencyRequest_CreatedAt"></a> CreatedAt

The time the reservation was made (UTC).

```csharp
public required DateTimeOffset CreatedAt { get; init; }
```

#### Property Value

 [DateTimeOffset](https://learn.microsoft.com/dotnet/api/system.datetimeoffset)

### <a id="Tracon_IdempotencyRequest_Fingerprint"></a> Fingerprint

The HTTP method + path + raw body digest (SHA-256).

```csharp
public required string Fingerprint { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_IdempotencyRequest_Key"></a> Key

The key the client sent in the `Idempotency-Key` header.

```csharp
public required string Key { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_IdempotencyRequest_TenantId"></a> TenantId

The tenant identifier.

```csharp
public required string TenantId { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### <a id="Tracon_IdempotencyRequest_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_IdempotencyRequest_Equals_Tracon_IdempotencyRequest_"></a> Equals\(IdempotencyRequest?\)

```csharp
public bool Equals(IdempotencyRequest? other)
```

#### Parameters

`other` [IdempotencyRequest](/api/tracon.idempotencyrequest/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_IdempotencyRequest_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_IdempotencyRequest_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_IdempotencyRequest_op_Equality_Tracon_IdempotencyRequest_Tracon_IdempotencyRequest_"></a> operator ==\(IdempotencyRequest?, IdempotencyRequest?\)

```csharp
public static bool operator ==(IdempotencyRequest? left, IdempotencyRequest? right)
```

#### Parameters

`left` [IdempotencyRequest](/api/tracon.idempotencyrequest/)?

`right` [IdempotencyRequest](/api/tracon.idempotencyrequest/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_IdempotencyRequest_op_Inequality_Tracon_IdempotencyRequest_Tracon_IdempotencyRequest_"></a> operator \!=\(IdempotencyRequest?, IdempotencyRequest?\)

```csharp
public static bool operator !=(IdempotencyRequest? left, IdempotencyRequest? right)
```

#### Parameters

`left` [IdempotencyRequest](/api/tracon.idempotencyrequest/)?

`right` [IdempotencyRequest](/api/tracon.idempotencyrequest/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
