示例#1
0
    def device_catalog(self, **params):
        """ Method for `List Public Devices Catalog <https://m2x.att.com/developer/documentation/v2/device#List-Public-Devices-Catalog>`_ endpoint.

        :param params: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: List of :class:`.Device` 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 Device.catalog(self, **params)
示例#2
0
 def test_catalog(self, **kwargs):
     out = Device.catalog(self.client.api)
     assert len(out) == 2
示例#3
0
 def device_catalog(self, **params):
     return Device.catalog(self, **params)
示例#4
0
 def test_catalog(self, **kwargs):
     out = Device.catalog(self.client.api)
     assert len(out) == 2
示例#5
0
 def device_catalog(self, **params):
     return Device.catalog(self, **params)