# WorkflowResponseClaim

> 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.workflowresponseclaim/
> Summary: WorkflowResponseClaim: The outcome of recording an answer that may claim a request.

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

The outcome of recording an answer that may claim a request.

```csharp
public sealed record WorkflowResponseClaim : IEquatable<WorkflowResponseClaim>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.workflowresponseclaim/">WorkflowResponseClaim</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;WorkflowResponseClaim&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_WorkflowResponseClaim__ctor"></a> WorkflowResponseClaim\(\)

```csharp
public WorkflowResponseClaim()
```

## Properties

### <a id="Tracon_WorkflowResponseClaim_Claimed"></a> Claimed

Gets a value indicating whether the record was written.

```csharp
public required bool Claimed { get; init; }
```

#### Property Value

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

Gets the active record that already held the claim when [WorkflowResponseClaim.Claimed](/api/tracon.workflowresponseclaim/#Tracon_WorkflowResponseClaim_Claimed) is
[false](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool); otherwise [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null).

```csharp
public WorkflowResponseRecord? Existing { get; init; }
```

#### Property Value

 [WorkflowResponseRecord](/api/tracon.workflowresponserecord/)?

## Methods

### <a id="Tracon_WorkflowResponseClaim_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_WorkflowResponseClaim_Equals_Tracon_WorkflowResponseClaim_"></a> Equals\(WorkflowResponseClaim?\)

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

`other` [WorkflowResponseClaim](/api/tracon.workflowresponseclaim/)?

#### Returns

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

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

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

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

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

### <a id="Tracon_WorkflowResponseClaim_op_Equality_Tracon_WorkflowResponseClaim_Tracon_WorkflowResponseClaim_"></a> operator ==\(WorkflowResponseClaim?, WorkflowResponseClaim?\)

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

`left` [WorkflowResponseClaim](/api/tracon.workflowresponseclaim/)?

`right` [WorkflowResponseClaim](/api/tracon.workflowresponseclaim/)?

#### Returns

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

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

`left` [WorkflowResponseClaim](/api/tracon.workflowresponseclaim/)?

`right` [WorkflowResponseClaim](/api/tracon.workflowresponseclaim/)?

#### Returns

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