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 CandidatePairReport class.
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.Nullable<System.Int64> |
BytesSent
Gets or sets the number of candidate pair bytes sent.
Declaration
public long? BytesSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
ConsentRequestsReceived
Gets or sets the number of candidate pair consent requests received.
Declaration
public long? ConsentRequestsReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
ConsentRequestsSent
Gets or sets the number of candidate pair consent requests sent.
Declaration
public long? ConsentRequestsSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
ConsentResponsesReceived
Gets or sets the number of candidate pair consent responses received.
Declaration
public long? ConsentResponsesReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
ConsentResponsesSent
Gets or sets the number of candidate pair consent responses sent.
Declaration
public long? ConsentResponsesSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
CurrentRoundTripTime
Gets or sets the candidate pair current round trip time in milliseconds.
Declaration
public int? CurrentRoundTripTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
RequestsReceived
Gets or sets the number of candidate pair requests received.
Declaration
public long? RequestsReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
RequestsSent
Gets or sets the number of candidate pair requests sent.
Declaration
public long? RequestsSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
ResponsesReceived
Gets or sets the number of candidate pair responses received.
Declaration
public long? ResponsesReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
ResponsesSent
Gets or sets the number of candidate pair responses sent.
Declaration
public long? ResponsesSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
TotalRoundTripTime
Gets or sets the candidate pair total round trip time in milliseconds.
Declaration
public int? TotalRoundTripTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | 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.String | instanceJson | The instance JSON. |
Returns
Type | Description |
---|---|
CandidatePairReport | The deserialized instance. |
FromJsonArray(String)
Derializes an array from JSON.
Declaration
public static CandidatePairReport[] FromJsonArray(string arrayJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | arrayJson | The array JSON. |
Returns
Type | Description |
---|---|
CandidatePairReport[] | The deserialized array. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | jsonObject | The JSON object. |
Overrides
ToJson()
Serializes this instance to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
ToJson(CandidatePairReport)
Serializes an instance to JSON.
Declaration
public static string ToJson(CandidatePairReport instance)
Parameters
Type | Name | Description |
---|---|---|
CandidatePairReport | instance | The instance. |
Returns
Type | Description |
---|---|
System.String | The serialized instance JSON. |
ToJsonArray(CandidatePairReport[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(CandidatePairReport[] array)
Parameters
Type | Name | Description |
---|---|---|
CandidatePairReport[] | array | The array. |
Returns
Type | Description |
---|---|
System.String | The serialized array JSON. |