Class ChannelReport
Channel report.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ChannelReport : Report
Properties
Id
Gets or sets the identifier.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MessageBytesReceived
Gets or sets the number of message bytes received on this channel.
Declaration
public long? MessageBytesReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MessageBytesSent
Gets or sets the number of message bytes sent on this channel.
Declaration
public long? MessageBytesSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MessagesReceived
Gets or sets the number of messages received on this channel.
Declaration
public long? MessagesReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MessagesSent
Gets or sets the number of messages sent on this channel.
Declaration
public long? MessagesSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
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 ChannelReport FromJson(string instanceJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | instanceJson | The instance JSON. |
Returns
Type | Description |
---|---|
ChannelReport | The deserialized instance. |
FromJsonArray(String)
Derializes an array from JSON.
Declaration
public static ChannelReport[] FromJsonArray(string arrayJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | arrayJson | The array JSON. |
Returns
Type | Description |
---|---|
ChannelReport[] | 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(ChannelReport)
Serializes an instance to JSON.
Declaration
public static string ToJson(ChannelReport instance)
Parameters
Type | Name | Description |
---|---|---|
ChannelReport | instance | The instance to serialize. |
Returns
Type | Description |
---|---|
System.String | The instance JSON. |
ToJsonArray(ChannelReport[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(ChannelReport[] array)
Parameters
Type | Name | Description |
---|---|---|
ChannelReport[] | array | The array. |
Returns
Type | Description |
---|---|
System.String | The serialized array JSON. |