Exemple #1
0
    def device_tags(self, **params):
        """ Method for `List Device Tags <https://m2x.att.com/developer/documentation/v2/device#List-Device-Tags>`_ endpoint.

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

        :return: Device tags associated with your account
        :rtype: dict

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return Device.by_tags(self, **params)
Exemple #2
0
 def test_by_tags(self, **kwargs):
     out = Device.by_tags(self.client.api)
     assert out['foo'] == 1
     assert out['bar'] == 1
Exemple #3
0
 def device_tags(self, **params):
     return Device.by_tags(self, **params)
Exemple #4
0
 def test_by_tags(self, **kwargs):
     out = Device.by_tags(self.client.api)
     assert out['foo'] == 1
     assert out['bar'] == 1
Exemple #5
0
 def device_tags(self, **params):
     return Device.by_tags(self, **params)