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... | |
External network information.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchNetworkInfo.
+ (FMLiveSwitchExternalNetworkInfo*) externalNetworkInfo |
+ (FMLiveSwitchExternalNetworkInfo*) fromJsonWithNetworkInfoJson: | (NSString *) | networkInfoJson |
Deserializes Json to a ExternalNetworkInfo.
networkInfoJson | The serialized Json. |
Implements FMLiveSwitchNetworkInfo.
- (instancetype) init |
Implements FMLiveSwitchNetworkInfo.
- (NSString*) publicHostname |
Gets the public hostname.
- (NSString*) publicIPAddress |
Gets the public IP address.
- (void) serializePropertiesWithJsonObject: | (NSMutableDictionary< NSString *, NSString * > *) | jsonObject |
Serializes the properties.
jsonObject | The JSON object. |
Implements FMLiveSwitchNetworkInfo.
- (void) setPublicHostname: | (NSString *) | value |
Sets the public hostname.
- (void) setPublicIPAddress: | (NSString *) | value |
Sets the public IP address.
+ (NSString*) toJsonWithNetworkInfo: | (FMLiveSwitchExternalNetworkInfo *) | networkInfo |
Serializes an instance to Json.
networkInfo | The instance to serialize. |