FMLiveSwitchExternalNetworkInfo Class Reference

External network information. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 
(NSString *) - publicHostname
 Gets the public hostname. More...
 
(NSString *) - publicIPAddress
 Gets the public IP address. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setPublicHostname:
 Sets the public hostname. More...
 
(void) - setPublicIPAddress:
 Sets the public IP address. 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

(FMLiveSwitchExternalNetworkInfo *) + externalNetworkInfo
 
(FMLiveSwitchExternalNetworkInfo *) + fromJsonWithNetworkInfoJson:
 Deserializes Json to a ExternalNetworkInfo. More...
 
(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

External 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.

◆ externalNetworkInfo

+ (FMLiveSwitchExternalNetworkInfo*) externalNetworkInfo

◆ fromJsonWithNetworkInfoJson:

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

Deserializes Json to a ExternalNetworkInfo.

Parameters
networkInfoJsonThe serialized Json.
Returns
The deserialized ExternalNetworkInfo.

Implements FMLiveSwitchNetworkInfo.

◆ init

- (instancetype) init

◆ publicHostname

- (NSString*) publicHostname

Gets the public hostname.

◆ publicIPAddress

- (NSString*) publicIPAddress

Gets the public IP address.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchNetworkInfo.

◆ setPublicHostname:

- (void) setPublicHostname: (NSString *)  value

Sets the public hostname.

◆ setPublicIPAddress:

- (void) setPublicIPAddress: (NSString *)  value

Sets the public IP address.

◆ toJsonWithNetworkInfo:

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

Serializes an instance to Json.

Parameters
networkInfoThe instance to serialize.
Returns
Serialized Json.