FMLiveSwitchMessageInfo Class Reference

Message information. More...

Instance Methods

(NSString *) - channelId
 Gets the channel identifier. More...
 
(NSString *) - clientId
 Gets the client identifier. More...
 
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(NSString *) - deviceId
 Gets the device identifier. More...
 
(instancetype) - init
 
(NSString *) - payload
 Gets the message. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setChannelId:
 Sets the channel identifier. More...
 
(void) - setClientId:
 Sets the client identifier. More...
 
(void) - setDeviceId:
 Sets the device identifier. More...
 
(void) - setPayload:
 Sets the message. More...
 
(void) - setUserId:
 Sets the user identifier. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 
(NSString *) - userId
 Gets the user identifier. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(FMLiveSwitchMessageInfo *) + fromJsonWithMessageInfoJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchMessageInfo *) + messageInfo
 
(NSString *) + toJsonWithMessageInfo:
 Serializes an instance to JSON. More...
 
- Class Methods inherited from FMLiveSwitchInfo
(FMLiveSwitchInfo *) + info
 
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for an info. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for an info. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for an info. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for an info. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for an info. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for an info. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for an info. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for an info. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for an info. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for an info. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an object for an info. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for an info. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for an info. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for an info. More...
 

Detailed Description

Message information.

Method Documentation

◆ channelId

- (NSString*) channelId

Gets the channel identifier.

◆ clientId

- (NSString*) clientId

Gets the client identifier.

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchInfo.

◆ deviceId

- (NSString*) deviceId

Gets the device identifier.

◆ fromJsonWithMessageInfoJson:

+ (FMLiveSwitchMessageInfo*) fromJsonWithMessageInfoJson: (NSString *)  messageInfoJson

Deserializes an instance from JSON.

◆ init

- (instancetype) init

Implements FMLiveSwitchInfo.

◆ messageInfo

+ (FMLiveSwitchMessageInfo*) messageInfo

◆ payload

- (NSString*) payload

Gets the message.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

◆ setChannelId:

- (void) setChannelId: (NSString *)  value

Sets the channel identifier.

◆ setClientId:

- (void) setClientId: (NSString *)  value

Sets the client identifier.

◆ setDeviceId:

- (void) setDeviceId: (NSString *)  value

Sets the device identifier.

◆ setPayload:

- (void) setPayload: (NSString *)  value

Sets the message.

◆ setUserId:

- (void) setUserId: (NSString *)  value

Sets the user identifier.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonWithMessageInfo:

+ (NSString*) toJsonWithMessageInfo: (FMLiveSwitchMessageInfo *)  messageInfo

Serializes an instance to JSON.

◆ userId

- (NSString*) userId

Gets the user identifier.