FMLiveSwitchNetworkInterfaceInfo Class Reference

Network interface information. More...

Instance Methods

(long long) - adapterSpeed
 Gets the network interface adapter speed. More...
 
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 
(NSString *) - ipAddress
 Gets the network interface address. More...
 
(NSString *) - mask
 Gets the network interface subnet mask. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setAdapterSpeed:
 Sets the network interface adapter speed. More...
 
(void) - setIPAddress:
 Sets the network interface address. More...
 
(void) - setMask:
 Sets the network interface subnet mask. More...
 
(void) - setType:
 Sets the type. More...
 
(NSString *) - toJson
 Serializes this instance to Json. More...
 
(NSString *) - type
 Gets the type. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(NSMutableArray *) + fromJsonArrayWithNetworkInterfaceInfosJson:
 Deserializes JSON to an array. More...
 
(FMLiveSwitchNetworkInterfaceInfo *) + fromJsonWithNetworkInterfaceInfoJson:
 Deserializes Json to a NetworkInterfaceInfo. More...
 
(FMLiveSwitchNetworkInterfaceInfo *) + networkInterfaceInfo
 
(NSString *) + toJsonArrayWithNetworkInterfaceInfos:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithClient:
 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

Network interface information.

Method Documentation

◆ adapterSpeed

- (long long) adapterSpeed

Gets the network interface adapter speed.

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchInfo.

◆ fromJsonArrayWithNetworkInterfaceInfosJson:

+ (NSMutableArray*) fromJsonArrayWithNetworkInterfaceInfosJson: (NSString *)  networkInterfaceInfosJson

Deserializes JSON to an array.

Parameters
networkInterfaceInfosJsonThe serialized JSON.
Returns
The deserialized array.

◆ fromJsonWithNetworkInterfaceInfoJson:

+ (FMLiveSwitchNetworkInterfaceInfo*) fromJsonWithNetworkInterfaceInfoJson: (NSString *)  networkInterfaceInfoJson

Deserializes Json to a NetworkInterfaceInfo.

Parameters
networkInterfaceInfoJsonThe serialized Json.
Returns
The deserialized NetworkInterfaceInfo.

◆ init

- (instancetype) init

Implements FMLiveSwitchInfo.

◆ ipAddress

- (NSString*) ipAddress

Gets the network interface address.

◆ mask

- (NSString*) mask

Gets the network interface subnet mask.

◆ networkInterfaceInfo

+ (FMLiveSwitchNetworkInterfaceInfo*) networkInterfaceInfo

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

◆ setAdapterSpeed:

- (void) setAdapterSpeed: (long long)  value

Sets the network interface adapter speed.

◆ setIPAddress:

- (void) setIPAddress: (NSString *)  value

Sets the network interface address.

◆ setMask:

- (void) setMask: (NSString *)  value

Sets the network interface subnet mask.

◆ setType:

- (void) setType: (NSString *)  value

Sets the type.

◆ toJson

- (NSString*) toJson

Serializes this instance to Json.

◆ toJsonArrayWithNetworkInterfaceInfos:

+ (NSString*) toJsonArrayWithNetworkInterfaceInfos: (NSMutableArray *)  networkInterfaceInfos

Serializes an array to JSON.

Parameters
networkInterfaceInfosThe array to serialize.
Returns
The serialized JSON.

◆ toJsonWithClient:

+ (NSString*) toJsonWithClient: (FMLiveSwitchNetworkInterfaceInfo *)  client

Serializes an instance to Json.

Parameters
clientThe instance to serialize.
Returns
Serialized Json.

◆ type

- (NSString*) type

Gets the type.