m2x/v2/metadata.py
def update_metadata(self, params):
    """ Generic method for a resource's Update Metadata endpoint.

    Example endpoints:

    * `Update Device Metadata <https://m2x.att.com/developer/documentation/v2/device#Update-Device-Metadata>`_
    * `Update Distribution Metadata <https://m2x.att.com/developer/documentation/v2/distribution#Update-Distribution-Metadata>`_
    * `Update Collection Metadata <https://m2x.att.com/developer/documentation/v2/collections#Update-Collection-Metadata>`_

    :param params: The metadata being updated

    :return: The API response, see M2X API docs for details
    :rtype: dict

    :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
    """
    return self.api.put(self.metadata_path(), data=params)
def update_metadata(self, params):
    return self.api.put(self.metadata_path(), data=params)
def update_metadata ( self , params ) : return self . api . put ( self . metadata_path ( ) , data = params )
Generic method for a resource's Update Metadata endpoint.

    Example endpoints:

    * `Update Device Metadata <https://m2x.att.com/developer/documentation/v2/device#Update-Device-Metadata>`_
    * `Update Distribution Metadata <https://m2x.att.com/developer/documentation/v2/distribution#Update-Distribution-Metadata>`_
    * `Update Collection Metadata <https://m2x.att.com/developer/documentation/v2/collections#Update-Collection-Metadata>`_

    :param params: The metadata being updated

    :return: The API response, see M2X API docs for details
    :rtype: dict

    :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
Generic method for a resource s Update Metadata endpoint .