def streams(self): """ Method for `List Data Streams <https://m2x.att.com/developer/documentation/v2/device#List-Data-Streams>`_ endpoint. :return: List of data streams associated with this device as :class:`.Stream` objects :rtype: `list <https://docs.python.org/2/library/functions.html#list>`_ :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request """ return Stream.list(self.api, self)
def streams(self): return Stream.list(self.api, self)