bosesoundtouchapi.models.softwareupdatequeryresponse

@export
class SoftwareUpdateQueryResponse:

SoundTouch device SoftwareUpdateQueryResponse configuration object.

This class contains the attributes and sub-items that represent a software update query response.

SoftwareUpdateQueryResponse(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

Device identifier the configuration information was obtained from.

CanAbort: bool

True if the software update can be aborted; otherwise, False.

FailureCode: str

Failure code value, if the software update failed.

FailureId: str

Failure id value, if the software update failed.

HasFailed: bool

True if the software update failed; otherwise, False.

PercentComplete: int

Denotes the progress percent to completion (0 - 100).

State: str

Current state of the software update: "IDLE", "DOWNLOADING", "AUTHENTICATING", "INSTALLING", "COMPLETED", "CHECKING".

def ToString(self) -> str:

Returns a displayable string representation of the class.