abacusai.web_search_result
==========================

.. py:module:: abacusai.web_search_result


Classes
-------

.. autoapisummary::

   abacusai.web_search_result.AbstractApiClass
   abacusai.web_search_result.WebSearchResult


Module Contents
---------------

.. py:class:: AbstractApiClass(client, id)

   .. py:method:: __eq__(other)

      Return self==value.



   .. py:method:: _get_attribute_as_dict(attribute)


.. py:class:: WebSearchResult(client, title=None, url=None, snippet=None, content=None)

   Bases: :py:obj:`abacusai.return_class.AbstractApiClass`


   A single search result.

   :param client: An authenticated API Client instance
   :type client: ApiClient
   :param title: The title of the search result.
   :type title: str
   :param url: The URL of the search result.
   :type url: str
   :param snippet: The snippet of the search result.
   :type snippet: str
   :param content: The page of content fetched from the url.
   :type content: str


   .. py:method:: __repr__()

      Return repr(self).



   .. py:method:: to_dict()

      Get a dict representation of the parameters in this class

      :returns: The dict value representation of the class parameters
      :rtype: dict



