FMLiveSwitchInternalNetworkInfo Class Reference

Internal network information. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
- Instance Methods inherited from FMLiveSwitchNetworkInfo
(NSMutableArray *) - ipAddresses
 Gets the IP addresses. More...
 
(NSMutableArray *) - ports
 Gets the ports. More...
 
(void) - setIPAddresses:
 Sets the IP addresses. More...
 
(void) - setPorts:
 Sets the ports. More...
 
(NSString *) - toJson
 Serializes this instance to Json. More...
 

Class Methods

(FMLiveSwitchInternalNetworkInfo *) + fromJsonWithNetworkInfoJson:
 Deserializes Json to a InternalNetworkInfo. More...
 
(FMLiveSwitchInternalNetworkInfo *) + internalNetworkInfo
 
(NSString *) + toJsonWithNetworkInfo:
 Serializes an instance to Json. More...
 
- Class Methods inherited from FMLiveSwitchNetworkInfo
(FMLiveSwitchNetworkInfo *) + networkInfo
 
(NSString *) + toJsonWithNetworkInfo:
 Serializes an instance to Json. More...
 

Detailed Description

Internal network information.

Method Documentation

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchNetworkInfo.

◆ fromJsonWithNetworkInfoJson:

+ (FMLiveSwitchInternalNetworkInfo*) fromJsonWithNetworkInfoJson: (NSString *)  networkInfoJson

Deserializes Json to a InternalNetworkInfo.

Parameters
networkInfoJsonThe serialized Json.
Returns
The deserialized InternalNetworkInfo.

Implements FMLiveSwitchNetworkInfo.

◆ init

- (instancetype) init

◆ internalNetworkInfo

+ (FMLiveSwitchInternalNetworkInfo*) internalNetworkInfo

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchNetworkInfo.

◆ toJsonWithNetworkInfo:

+ (NSString*) toJsonWithNetworkInfo: (FMLiveSwitchInternalNetworkInfo *)  networkInfo

Serializes an instance to Json.

Parameters
networkInfoThe instance to serialize.
Returns
Serialized Json.