FMLiveSwitchDataStreamReport Class Reference

Data stream report. More...

Instance Methods

(FMLiveSwitchNullableLong *) - bytesReceived
 Gets the number of bytes received on this data stream. More...
 
(FMLiveSwitchNullableLong *) - bytesSent
 Gets the number of bytes sent on this data stream. More...
 
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchDataStreamReport class. More...
 
(FMLiveSwitchNullableLong *) - messagesReceived
 Gets the number of messages received on this data stream. More...
 
(FMLiveSwitchNullableLong *) - messagesSent
 Gets the number of messages sent on this data stream. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setBytesReceived:
 Sets the number of bytes received on this data stream. More...
 
(void) - setBytesSent:
 Sets the number of bytes sent on this data stream. More...
 
(void) - setMessagesReceived:
 Sets the number of messages received on this data stream. More...
 
(void) - setMessagesSent:
 Sets the number of messages sent on this data stream. More...
 
(NSString *) - toJson
 Serializes this instance to Json. More...
 

Class Methods

(FMLiveSwitchDataStreamReport *) + dataStreamReport
 Initializes a new instance of the FMLiveSwitchDataStreamReport class. More...
 
(FMLiveSwitchDataStreamReport *) + fromJsonWithDataStreamReportJson:
 Deserializes Json to a DataStreamReport. More...
 
(NSString *) + toJsonWithDataStreamReport:
 Serializes an instance to Json. More...
 
- Class Methods inherited from FMLiveSwitchReport
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for a report. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for a report. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for a report. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for a report. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for a report. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for a report. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for a report. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for a report. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for a report. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for a report. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an array for a report. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for a report. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for a report. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for a report. More...
 
(FMLiveSwitchReport *) + report
 

Detailed Description

Data stream report.

Method Documentation

◆ bytesReceived

- (FMLiveSwitchNullableLong*) bytesReceived

Gets the number of bytes received on this data stream.

◆ bytesSent

- (FMLiveSwitchNullableLong*) bytesSent

Gets the number of bytes sent on this data stream.

◆ dataStreamReport

+ (FMLiveSwitchDataStreamReport*) dataStreamReport

Initializes a new instance of the FMLiveSwitchDataStreamReport class.

◆ deserializePropertiesWithKey:valueJson:

- (void) deserializePropertiesWithKey: (NSString *)  key
valueJson: (NSString *)  valueJson 

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchReport.

◆ fromJsonWithDataStreamReportJson:

+ (FMLiveSwitchDataStreamReport*) fromJsonWithDataStreamReportJson: (NSString *)  dataStreamReportJson

Deserializes Json to a DataStreamReport.

Parameters
dataStreamReportJsonThe serialized Json.
Returns
The deserialized DataChannelReport.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchDataStreamReport class.

Implements FMLiveSwitchReport.

◆ messagesReceived

- (FMLiveSwitchNullableLong*) messagesReceived

Gets the number of messages received on this data stream.

◆ messagesSent

- (FMLiveSwitchNullableLong*) messagesSent

Gets the number of messages sent on this data stream.

◆ serializePropertiesWithJsonObject:

- (void) serializePropertiesWithJsonObject: (NSMutableDictionary< NSString *, NSString * > *)  jsonObject

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchReport.

◆ setBytesReceived:

- (void) setBytesReceived: (FMLiveSwitchNullableLong *)  value

Sets the number of bytes received on this data stream.

◆ setBytesSent:

- (void) setBytesSent: (FMLiveSwitchNullableLong *)  value

Sets the number of bytes sent on this data stream.

◆ setMessagesReceived:

- (void) setMessagesReceived: (FMLiveSwitchNullableLong *)  value

Sets the number of messages received on this data stream.

◆ setMessagesSent:

- (void) setMessagesSent: (FMLiveSwitchNullableLong *)  value

Sets the number of messages sent on this data stream.

◆ toJson

- (NSString*) toJson

Serializes this instance to Json.

◆ toJsonWithDataStreamReport:

+ (NSString*) toJsonWithDataStreamReport: (FMLiveSwitchDataStreamReport *)  dataStreamReport

Serializes an instance to Json.

Parameters
dataStreamReportThe instance to serialize.
Returns
Serialized Json.