Class CandidatePairReport
Candidate pair report.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class CandidatePairReport : Report
Constructors
CandidatePairReport()
Initializes a new instance of the Candidate
Declaration
public CandidatePairReport()
Properties
BytesReceived
Gets or sets the number of candidate pair bytes received.
Declaration
public long? BytesReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
BytesSent
Gets or sets the number of candidate pair bytes sent.
Declaration
public long? BytesSent { get; set; }
Property Value
Type | Description |
---|---|
System. |
ConsentRequestsReceived
Gets or sets the number of candidate pair consent requests received.
Declaration
public long? ConsentRequestsReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
ConsentRequestsSent
Gets or sets the number of candidate pair consent requests sent.
Declaration
public long? ConsentRequestsSent { get; set; }
Property Value
Type | Description |
---|---|
System. |
ConsentResponsesReceived
Gets or sets the number of candidate pair consent responses received.
Declaration
public long? ConsentResponsesReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
ConsentResponsesSent
Gets or sets the number of candidate pair consent responses sent.
Declaration
public long? ConsentResponsesSent { get; set; }
Property Value
Type | Description |
---|---|
System. |
CurrentRoundTripTime
Gets or sets the candidate pair current round trip time in milliseconds.
Declaration
public int? CurrentRoundTripTime { get; set; }
Property Value
Type | Description |
---|---|
System. |
RequestsReceived
Gets or sets the number of candidate pair requests received.
Declaration
public long? RequestsReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
RequestsSent
Gets or sets the number of candidate pair requests sent.
Declaration
public long? RequestsSent { get; set; }
Property Value
Type | Description |
---|---|
System. |
ResponsesReceived
Gets or sets the number of candidate pair responses received.
Declaration
public long? ResponsesReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
ResponsesSent
Gets or sets the number of candidate pair responses sent.
Declaration
public long? ResponsesSent { get; set; }
Property Value
Type | Description |
---|---|
System. |
TotalRoundTripTime
Gets or sets the candidate pair total round trip time in milliseconds.
Declaration
public int? TotalRoundTripTime { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key. |
System. |
valueJson | The value in JSON format. |
Overrides
FromJson(String)
Deserializes an instance from JSON.
Declaration
public static CandidatePairReport FromJson(string instanceJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
instanceJson | The instance JSON. |
Returns
Type | Description |
---|---|
Candidate |
The deserialized instance. |
FromJsonArray(String)
Derializes an array from JSON.
Declaration
public static CandidatePairReport[] FromJsonArray(string arrayJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
arrayJson | The array JSON. |
Returns
Type | Description |
---|---|
Candidate |
The deserialized array. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<System. |
jsonObject | The JSON object. |
Overrides
ToJson()
Serializes this instance to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System. |
ToJson(CandidatePairReport)
Serializes an instance to JSON.
Declaration
public static string ToJson(CandidatePairReport instance)
Parameters
Type | Name | Description |
---|---|---|
Candidate |
instance | The instance. |
Returns
Type | Description |
---|---|
System. |
The serialized instance JSON. |
ToJsonArray(CandidatePairReport[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(CandidatePairReport[] array)
Parameters
Type | Name | Description |
---|---|---|
Candidate |
array | The array. |
Returns
Type | Description |
---|---|
System. |
The serialized array JSON. |