Table of Contents

Class Connection

Namespace
Vonage.Video.Sessions.ListConnections
Assembly
Vonage.dll
public record Connection : IEquatable<Connection>
Inheritance
Connection
Implements
Inherited Members

Constructors

Connection(string, State, long)

public Connection(string ConnectionId, Connection.State ConnectionState, long CreatedAt)

Parameters

ConnectionId string

The connection ID.

ConnectionState Connection.State

The state of the connection.

CreatedAt long

The timestamp for when the connection was created, expressed in milliseconds since the Unix epoch (January 1, 1970, 00:00:00 UTC).

Properties

ConnectionId

The connection ID.

[JsonPropertyName("connectionId")]
public string ConnectionId { get; init; }

Property Value

string

ConnectionState

The state of the connection.

[JsonPropertyName("connectionState")]
[JsonConverter(typeof(EnumDescriptionJsonConverter<Connection.State>))]
public Connection.State ConnectionState { get; init; }

Property Value

Connection.State

CreatedAt

The timestamp for when the connection was created, expressed in milliseconds since the Unix epoch (January 1, 1970, 00:00:00 UTC).

[JsonPropertyName("createdAt")]
public long CreatedAt { get; init; }

Property Value

long