Search Results for

    / fm / liveswitch / NetworkInfo

    Class: NetworkInfo

    fm.liveswitch.NetworkInfo

    Network information.

    Hierarchy

    • NetworkInfo

      ↳ ExternalNetworkInfo

      ↳ InternalNetworkInfo

    Table of contents

    Constructors

    • constructor

    Methods

    • deserializeProperties
    • getIPAddresses
    • getPorts
    • getTypeString
    • serializeProperties
    • setIPAddresses
    • setPorts
    • toJson
    • fromJson
    • toJson

    Constructors

    constructor

    + new NetworkInfo(): NetworkInfo

    Returns: NetworkInfo

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:15

    Methods

    deserializeProperties

    ▸ ProtecteddeserializeProperties(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

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:69


    getIPAddresses

    ▸ getIPAddresses(): string[]

    Gets the IP addresses.

    Returns: string[]

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:90


    getPorts

    ▸ getPorts(): number[]

    Gets the ports.

    Returns: number[]

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:102


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:9


    serializeProperties

    ▸ ProtectedserializeProperties(jsonObject: Hash<string, string>): void

    Serializes the properties.

    Parameters:

    Name Type Description
    jsonObject Hash<string, string> The JSON object.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:115


    setIPAddresses

    ▸ setIPAddresses(value: string[]): void

    Sets the IP addresses.

    Parameters:

    Name Type
    value string[]

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:132


    setPorts

    ▸ setPorts(value: number[]): void

    Sets the ports.

    Parameters:

    Name Type
    value number[]

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:144


    toJson

    ▸ toJson(): string

    Serializes this instance to Json.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:156


    fromJson

    ▸ StaticfromJson(networkInfoJson: string): NetworkInfo

    Deserializes Json to a GatewayInfo.

    Parameters:

    Name Type Description
    networkInfoJson string The serialized Json.

    Returns: NetworkInfo

    The deserialized GatewayInfo.

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:35


    toJson

    ▸ StatictoJson(networkInfo: NetworkInfo): string

    Serializes an instance to Json.

    Parameters:

    Name Type Description
    networkInfo NetworkInfo The instance to serialize.

    Returns: string

    Serialized Json.

    Defined in: Generated/TypeScript/fm.liveswitch/NetworkInfo.ts:53

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0