def add_device(self, params):
        """ Method for `Add Device to an Existing Distribution <https://m2x.att.com/developer/documentation/v2/distribution#Add-Device-to-an-existing-Distribution>`_ endpoint.

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

        :return: The newly created DistributionDevice
        :rtype: DistributionDevice

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return DistributionDevice.create(self.api, distribution_id=self.id, **params)
def add_device(self, params):
        """ Method for `Add Device to an Existing Distribution <https://m2x.att.com/developer/documentation/v2/distribution#Add-Device-to-an-existing-Distribution>`_ endpoint.

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

        :return: The newly created DistributionDevice
        :rtype: DistributionDevice

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return DistributionDevice.create(self.api, distribution_id=self.id, **params)
def add_device ( self , params ) : return DistributionDevice . create ( self . api , distribution_id = self . id , * * params )
Method for `Add Device to an Existing Distribution <https://m2x.att.com/developer/documentation/v2/distribution#Add-Device-to-an-existing-Distribution>`_ endpoint.

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

        :return: The newly created DistributionDevice
        :rtype: DistributionDevice

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
Method for Add Device to an Existing Distribution <https : // m2x . att . com / developer / documentation / v2 / distribution#Add - Device - to - an - existing - Distribution > _ endpoint .