# LiveVoiceCreateRequest

> 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.livevoicecreaterequest/
> Summary: LiveVoiceCreateRequest: The request that creates a live voice session.

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

The request that creates a live voice session.

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

```csharp
public LiveVoiceCreateRequest()
```

## Properties

### <a id="Tracon_LiveVoiceCreateRequest_Credential"></a> Credential

Gets the tenant's own credential for the provider, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null)
to use the credential the provider was configured with.

```csharp
public ModelProviderCredential? Credential { get; init; }
```

#### Property Value

 [ModelProviderCredential](/api/tracon.modelprovidercredential/)?

#### Remarks

Tracon resolves it from the tenant's provider binding for
[ILiveVoiceProvider.ProviderName](/api/tracon.ilivevoiceprovider/#Tracon_ILiveVoiceProvider_ProviderName) and passes it only to a provider
whose [ILiveVoiceProvider.SupportsTenantCredentials](/api/tracon.ilivevoiceprovider/#Tracon_ILiveVoiceProvider_SupportsTenantCredentials) is
[true](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool). It lives in memory for the call and is never
persisted; its text form never shows the key.

### <a id="Tracon_LiveVoiceCreateRequest_Options"></a> Options

Gets the session settings.

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

 [LiveVoiceSessionOptions](/api/tracon.livevoicesessionoptions/)

### <a id="Tracon_LiveVoiceCreateRequest_SdpOffer"></a> SdpOffer

Gets the media peer's SDP offer.

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

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

### <a id="Tracon_LiveVoiceCreateRequest_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_LiveVoiceCreateRequest_Equals_Tracon_LiveVoiceCreateRequest_"></a> Equals\(LiveVoiceCreateRequest?\)

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

`other` [LiveVoiceCreateRequest](/api/tracon.livevoicecreaterequest/)?

#### Returns

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

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

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

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

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

### <a id="Tracon_LiveVoiceCreateRequest_op_Equality_Tracon_LiveVoiceCreateRequest_Tracon_LiveVoiceCreateRequest_"></a> operator ==\(LiveVoiceCreateRequest?, LiveVoiceCreateRequest?\)

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

`left` [LiveVoiceCreateRequest](/api/tracon.livevoicecreaterequest/)?

`right` [LiveVoiceCreateRequest](/api/tracon.livevoicecreaterequest/)?

#### Returns

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

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

`left` [LiveVoiceCreateRequest](/api/tracon.livevoicecreaterequest/)?

`right` [LiveVoiceCreateRequest](/api/tracon.livevoicecreaterequest/)?

#### Returns

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