code: def get_new_media(self, api_media):
          
          return Media(site_id=self.site_id,
                       wp_id=api_media["ID"],
                       **self.api_object_data("media", api_media))
docs: Instantiate a new Media from api data.
  
          :param api_media: the api data for the Media
          :return: the new Media