Skip to content
Tracon

LiveVoiceSessionStatusResponse

Namespace Tracon · Assembly Tracon.AspNetCore.dll

The status of a provider-hosted live voice session.

public sealed record LiveVoiceSessionStatusResponse : IEquatable<LiveVoiceSessionStatusResponse>

objectLiveVoiceSessionStatusResponse

IEquatable<LiveVoiceSessionStatusResponse>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public LiveVoiceSessionStatusResponse()

Gets the billable duration the provider has reported so far.

[JsonPropertyName("liveSeconds")]
public decimal? LiveSeconds { get; init; }

decimal?

Gets the model the session is bound to.

[JsonPropertyName("model")]
public string? Model { get; init; }

string?

Gets when the session was created.

[JsonPropertyName("startedAt")]
public required DateTimeOffset StartedAt { get; init; }

DateTimeOffset

Gets the lifecycle state: pending, active or ended.

[JsonPropertyName("state")]
public required string State { get; init; }

string

Gets how many delegations have become runs.

[JsonPropertyName("turns")]
public required int Turns { get; init; }

int

Gets Tracon’s identifier for the session.

[JsonPropertyName("voiceSessionId")]
public required Guid VoiceSessionId { get; init; }

Guid

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(LiveVoiceSessionStatusResponse? other)

other LiveVoiceSessionStatusResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(LiveVoiceSessionStatusResponse?, LiveVoiceSessionStatusResponse?)

Section titled “ operator ==(LiveVoiceSessionStatusResponse?, LiveVoiceSessionStatusResponse?)”
public static bool operator ==(LiveVoiceSessionStatusResponse? left, LiveVoiceSessionStatusResponse? right)

left LiveVoiceSessionStatusResponse?

right LiveVoiceSessionStatusResponse?

bool

operator !=(LiveVoiceSessionStatusResponse?, LiveVoiceSessionStatusResponse?)

Section titled “ operator !=(LiveVoiceSessionStatusResponse?, LiveVoiceSessionStatusResponse?)”
public static bool operator !=(LiveVoiceSessionStatusResponse? left, LiveVoiceSessionStatusResponse? right)

left LiveVoiceSessionStatusResponse?

right LiveVoiceSessionStatusResponse?

bool