bosesoundtouchapi.models.networkstatus

@export
class NetworkStatus:

SoundTouch device NetworkStatus configuration object.

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

NetworkStatus(root: xml.etree.ElementTree.Element)

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.
DeviceId: str

The device identifier, as assigned by the manufacturer.

InterfaceCount: int

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

SerialNumber: str

The device serial number, as assigned by the manufacturer.

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.