/ fm / liveswitch / InternalNetworkInfo
Class: InternalNetworkInfo
fm.liveswitch.InternalNetworkInfo
Internal network information.
Hierarchy
-
↳ InternalNetworkInfo
Table of contents
Constructors
Methods
- deserializeProperties
- getIPAddresses
- getPorts
- getTypeString
- serializeProperties
- setIPAddresses
- setPorts
- toJson
- fromJson
- toJson
Constructors
constructor
+ new InternalNetworkInfo(): InternalNetworkInfo
Returns: InternalNetworkInfo
Inherited from: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/InternalNetworkInfo.ts:12
Methods
deserializeProperties
▸ Protected
deserializeProperties(key
: string, valueJson
: string): void
Deserializes the properties.
Parameters:
Name | Type | Description |
---|---|---|
key |
string | The key. |
valueJson |
string | The value in JSON format. |
Returns: void
Overrides: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/InternalNetworkInfo.ts:65
getIPAddresses
▸ getIPAddresses(): string[]
Gets the IP addresses.
Returns: string[]
Inherited from: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:90
getPorts
▸ getPorts(): number[]
Gets the ports.
Returns: number[]
Inherited from: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:102
getTypeString
▸ getTypeString(): string
Returns: string
Overrides: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/InternalNetworkInfo.ts:10
serializeProperties
▸ Protected
serializeProperties(jsonObject
: Hash<string, string>): void
Serializes the properties.
Parameters:
Name | Type | Description |
---|---|---|
jsonObject |
Hash<string, string> | The JSON object. |
Returns: void
Overrides: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/InternalNetworkInfo.ts:78
setIPAddresses
▸ setIPAddresses(value
: string[]): void
Sets the IP addresses.
Parameters:
Name | Type |
---|---|
value |
string[] |
Returns: void
Inherited from: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:132
setPorts
▸ setPorts(value
: number[]): void
Sets the ports.
Parameters:
Name | Type |
---|---|
value |
number[] |
Returns: void
Inherited from: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:144
toJson
▸ toJson(): string
Serializes this instance to Json.
Returns: string
Inherited from: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:156
fromJson
▸ Static
fromJson(networkInfoJson
: string): InternalNetworkInfo
Deserializes Json to a InternalNetworkInfo.
Parameters:
Name | Type | Description |
---|---|---|
networkInfoJson |
string | The serialized Json. |
Returns: InternalNetworkInfo
The deserialized InternalNetworkInfo.
Overrides: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/InternalNetworkInfo.ts:31
toJson
▸ Static
toJson(networkInfo
: InternalNetworkInfo): string
Serializes an instance to Json.
Parameters:
Name | Type | Description |
---|---|---|
networkInfo |
InternalNetworkInfo | The instance to serialize. |
Returns: string
Serialized Json.
Overrides: NetworkInfo
Defined in: Generated/TypeScript/fm.liveswitch/InternalNetworkInfo.ts:49