Skip to content

VoiceConversationRequest

Namespace AgentPrism · Assembly AgentPrism.Core.dll

The immutable facts of a conversation connection.

public sealed record VoiceConversationRequest : IEquatable<VoiceConversationRequest>

objectVoiceConversationRequest

IEquatable<VoiceConversationRequest>

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

The tenant and the session resolve while the connection is established and stay constant for the whole connection (29.3). A tenant or session value that arrives inside a frame is not accepted: to change the tenant on a long-lived connection is to move authorization after the handshake.

public VoiceConversationRequest()

Gets the actor that opened the connection, for the audit trail.

public string? CreatedBy { get; init; }

string?

Gets the identifier of the agent session that the conversation runs on.

public required string SessionId { get; init; }

string

Gets the tenant that was resolved while the connection was established.

public required string TenantId { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(VoiceConversationRequest? other)

other VoiceConversationRequest?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(VoiceConversationRequest?, VoiceConversationRequest?)

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

left VoiceConversationRequest?

right VoiceConversationRequest?

bool

operator !=(VoiceConversationRequest?, VoiceConversationRequest?)

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

left VoiceConversationRequest?

right VoiceConversationRequest?

bool