# FakeModelRequest

> 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.testing.fakemodelrequest/
> Summary: FakeModelRequest: A single request that reached the fake provider.

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

A single request that reached the fake provider.

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

```csharp
public FakeModelRequest()
```

## Properties

### <a id="Tracon_Testing_FakeModelRequest_IsStreaming"></a> IsStreaming

Whether this was a streaming call.

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

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

Message history in the request.

```csharp
public required IReadOnlyList<ChatMessage> Messages { get; init; }
```

#### Property Value

 [IReadOnlyList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist\-1)<ChatMessage\>

### <a id="Tracon_Testing_FakeModelRequest_Options"></a> Options

Options that came with the request. Also carries tool definitions.

```csharp
public ChatOptions? Options { get; init; }
```

#### Property Value

 ChatOptions?

## Methods

### <a id="Tracon_Testing_FakeModelRequest_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_Testing_FakeModelRequest_Equals_Tracon_Testing_FakeModelRequest_"></a> Equals\(FakeModelRequest?\)

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

`other` [FakeModelRequest](/api/tracon.testing.fakemodelrequest/)?

#### Returns

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

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

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

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

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

### <a id="Tracon_Testing_FakeModelRequest_op_Equality_Tracon_Testing_FakeModelRequest_Tracon_Testing_FakeModelRequest_"></a> operator ==\(FakeModelRequest?, FakeModelRequest?\)

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

`left` [FakeModelRequest](/api/tracon.testing.fakemodelrequest/)?

`right` [FakeModelRequest](/api/tracon.testing.fakemodelrequest/)?

#### Returns

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

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

`left` [FakeModelRequest](/api/tracon.testing.fakemodelrequest/)?

`right` [FakeModelRequest](/api/tracon.testing.fakemodelrequest/)?

#### Returns

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