def collection(self, id): """ Method for `View Collection Details <https://m2x.att.com/developer/documentation/v2/collections#View-Collection-Details>`_ endpoint. :param id: ID of the Collection to retrieve :type id: str :return: The matching Collection :rtype: Collection :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request """ return Collection.get(self, id)
def collection(self, id): return Collection.get(self, id)