FMLiveSwitchClientReport Class Reference

Client report. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(NSString *) - id
 Gets the identifier. More...
 
(instancetype) - init
 
(FMLiveSwitchNullableLong *) - messageBytesReceived
 Gets the number of message bytes received by this client. More...
 
(FMLiveSwitchNullableLong *) - messageBytesSent
 Gets the number of message bytes sent by this client. More...
 
(FMLiveSwitchNullableLong *) - messagesReceived
 Gets the number of messages received by this client. More...
 
(FMLiveSwitchNullableLong *) - messagesSent
 Gets the number of messages sent by this client. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setId:
 Sets the identifier. More...
 
(void) - setMessageBytesReceived:
 Sets the number of message bytes received by this client. More...
 
(void) - setMessageBytesSent:
 Sets the number of message bytes sent by this client. More...
 
(void) - setMessagesReceived:
 Sets the number of messages received by this client. More...
 
(void) - setMessagesSent:
 Sets the number of messages sent by this client. More...
 
(NSString *) - toJson
 Serializes this instance to Json. More...
 

Class Methods

(FMLiveSwitchClientReport *) + clientReport
 
(NSMutableArray *) + fromJsonArrayWithArrayJson:
 Derializes an array from JSON. More...
 
(FMLiveSwitchClientReport *) + fromJsonWithInstanceJson:
 Deserializes an instance from JSON. More...
 
(NSString *) + toJsonArray:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithInstance:
 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

Client report.

Method Documentation

◆ clientReport

+ (FMLiveSwitchClientReport*) clientReport

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchReport.

◆ fromJsonArrayWithArrayJson:

+ (NSMutableArray*) fromJsonArrayWithArrayJson: (NSString *)  arrayJson

Derializes an array from JSON.

Parameters
arrayJsonThe array JSON.
Returns
The deserialized array.

◆ fromJsonWithInstanceJson:

+ (FMLiveSwitchClientReport*) fromJsonWithInstanceJson: (NSString *)  instanceJson

Deserializes an instance from JSON.

Parameters
instanceJsonThe instance JSON.
Returns
The deserialized instance.

◆ id

- (NSString*) id

Gets the identifier.

◆ init

- (instancetype) init

Implements FMLiveSwitchReport.

◆ messageBytesReceived

- (FMLiveSwitchNullableLong*) messageBytesReceived

Gets the number of message bytes received by this client.

◆ messageBytesSent

- (FMLiveSwitchNullableLong*) messageBytesSent

Gets the number of message bytes sent by this client.

◆ messagesReceived

- (FMLiveSwitchNullableLong*) messagesReceived

Gets the number of messages received by this client.

◆ messagesSent

- (FMLiveSwitchNullableLong*) messagesSent

Gets the number of messages sent by this client.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchReport.

◆ setId:

- (void) setId: (NSString *)  value

Sets the identifier.

◆ setMessageBytesReceived:

- (void) setMessageBytesReceived: (FMLiveSwitchNullableLong *)  value

Sets the number of message bytes received by this client.

◆ setMessageBytesSent:

- (void) setMessageBytesSent: (FMLiveSwitchNullableLong *)  value

Sets the number of message bytes sent by this client.

◆ setMessagesReceived:

- (void) setMessagesReceived: (FMLiveSwitchNullableLong *)  value

Sets the number of messages received by this client.

◆ setMessagesSent:

- (void) setMessagesSent: (FMLiveSwitchNullableLong *)  value

Sets the number of messages sent by this client.

◆ toJson

- (NSString*) toJson

Serializes this instance to Json.

◆ toJsonArray:

+ (NSString*) toJsonArray: (NSMutableArray *)  array

Serializes an array to JSON.

Parameters
arrayThe array.
Returns
The serialized array JSON.

◆ toJsonWithInstance:

+ (NSString*) toJsonWithInstance: (FMLiveSwitchClientReport *)  instance

Serializes an instance to JSON.

Parameters
instanceThe instance to serialize.
Returns
The instance JSON.