.. _models_reference:

****************
Models Reference
****************

.. tabs::

   .. group-tab:: API v1.1

      .. class:: tweepy.models.BoundingBox

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/geo#bounding-box

      .. class:: tweepy.models.DirectMessage

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/direct-messages/sending-and-receiving/guides/message-create-object

      .. class:: tweepy.models.Friendship

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-show#example-response

      .. class:: tweepy.models.List

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/get-lists-show#example-response

      .. class:: tweepy.models.Media

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/entities#media

      .. class:: tweepy.models.Place

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/geo#place

      .. class:: tweepy.models.Relationship

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-lookup#example-response

      .. class:: tweepy.models.SavedSearch

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-show-id#example-response

      .. class:: tweepy.models.SearchResults

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets#example-response

      .. class:: tweepy.models.Status

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/tweet

      .. class:: tweepy.models.User

         :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/user

   .. group-tab:: API v2

      .. versionadded:: 4.0

      .. class:: tweepy.List

         .. versionadded:: 4.4

         :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/lists

      .. class:: tweepy.Media

         :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/media

      .. class:: tweepy.Place

         :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/place

      .. class:: tweepy.Poll

         :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/poll

      .. class:: tweepy.ReferencedTweet

         :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/tweet

      .. class:: tweepy.Space

         .. versionadded:: 4.1

         .. versionchanged:: 4.4
            Added ``ended_at`` and ``topic_ids`` fields

         :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/space

      .. class:: tweepy.Tweet

         :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/tweet

      .. class:: tweepy.User

         :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/user
