bosesoundtouchapi.models.networkinfo

@export
class NetworkInfo:

SoundTouch device NetworkInfo configuration object.

This class contains the attributes and sub-items that represent the network information configuration of the device.

NetworkInfo(root: xml.etree.ElementTree.Element = None)

Initializes a new instance of the class.

Arguments:
  • root (Element): xmltree Element item to load arguments from.
    If specified, then other passed arguments are ignored.
InterfaceCount: int

Total number of network interfaces defined, including both wired and wireless.

WifiProfileCount: int

Number of wireless (wifi) network interfaces defined.

def ToString(self, includeItems: bool = False) -> str:

Returns a displayable string representation of the class.

Arguments:
  • includeItems (bool): True to include all items in the list; otherwise False to only include the base list.