bosesoundtouchapi.soundtouchmodelrequest

@export
class SoundTouchModelRequest:

A class representing a model that can issue a POST request with an xml payload that gets placed in the request body.

SoundTouchModelRequest()

Initializes a new instance of the class.

@abstractmethod
def ToXmlRequestBody(self, encoding: str = 'utf-8') -> str:

Returns a POST request body for updating a configuration.

Returns:

An xml string that can be used in a POST request to update a device configuration.