Packages
extwitter
0.6.0
0.14.0
0.13.1
0.13.0
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.0
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Twitter client library for Elixir.
Current section
Files
Jump to
Current section
Files
lib/extwitter/model.ex
defmodule ExTwitter.Model.Tweet do
@moduledoc """
Tweet object.
## Reference
https://dev.twitter.com/overview/api/tweets
"""
defstruct contributors: nil, coordinates: nil, created_at: nil,
current_user_retweet: nil, entities: nil, favorite_count: nil,
favorited: nil, filter_level: nil, geo: nil, id: nil, id_str: nil,
in_reply_to_screen_name: nil, in_reply_to_status_id: nil,
in_reply_to_status_id_str: nil, in_reply_to_user_id: nil,
in_reply_to_user_id_str: nil, lang: nil, place: nil,
possibly_sensitive: nil, quoted_status_id: nil,
quoted_status_id_str: nil, quoted_status: nil, scopes: nil,
retweet_count: nil, retweeted: nil, retweeted_status: nil,
source: nil, text: nil, truncated: nil, user: nil,
withheld_copyright: nil, withheld_in_countries: nil,
withheld_scope: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.Upload do
defstruct expires_after_secs: nil, media_id: nil, media_id_string: nil, size: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.User do
@moduledoc """
User object.
## Reference
https://dev.twitter.com/overview/api/users
"""
defstruct contributors_enabled: nil, created_at: nil,
default_profile: nil, default_profile_image: nil, description: nil,
entities: nil, favourites_count: nil, follow_request_sent: nil,
followers_count: nil, following: nil, friends_count: nil,
geo_enabled: nil, id: nil, id_str: nil, is_translation_enabled: nil,
is_translator: nil, lang: nil, listed_count: nil, location: nil,
name: nil, notifications: nil, profile_background_color: nil,
profile_background_image_url: nil,
profile_background_image_url_https: nil, profile_background_tile: nil,
profile_banner_url: nil, profile_image_url: nil,
profile_image_url_https: nil, profile_link_color: nil,
profile_sidebar_border_color: nil, profile_sidebar_fill_color: nil,
profile_text_color: nil, profile_use_background_image: nil,
protected: nil, screen_name: nil, show_all_inline_media: nil,
status: nil, statuses_count: nil, time_zone: nil, url: nil,
utc_offset: nil, verified: nil, withheld_in_countries: nil,
withheld_scope: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.DirectMessage do
defstruct created_at: nil, entities: nil, id: nil, id_str: nil,
recipient: nil, recipient_id: nil, recipient_screen_name: nil,
sender: nil, sender_id: nil, sender_screen_name: nil, text: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.Entities do
@moduledoc """
Entities object.
## Reference
https://dev.twitter.com/overview/api/entities
"""
defstruct hashtags: nil, media: nil, symbols: nil, urls: nil,
user_mentions: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.Trend do
defstruct events: nil, name: nil, promoted_content: nil, query: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.List do
defstruct slug: nil, name: nil, created_at: nil, uri: nil, subscriber_count: nil,
id_str: nil, member_count: nil, mode: nil, id: nil, full_name: nil,
description: nil, user: nil, following: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.Place do
@moduledoc """
Place object.
## Reference
https://dev.twitter.com/overview/api/places
"""
defstruct id: nil, url: nil, place_type: nil, name: nil, full_name: nil,
country_code: nil, country: nil, contained_within: nil,
bounding_box: nil, attributes: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.Geo do
defstruct type: nil, coordinates: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.DeletedTweet do
defstruct status: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.Limit do
defstruct track: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.StallWarning do
defstruct code: nil, message: nil, percent_full: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.Cursor do
defstruct items: nil, next_cursor: nil, previous_cursor: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.RequestToken do
defstruct oauth_token: nil, oauth_token_secret: nil, oauth_callback_confirmed: nil
@type t :: %__MODULE__{}
end
defmodule ExTwitter.Model.AccessToken do
defstruct oauth_token: nil, oauth_token_secret: nil
@type t :: %__MODULE__{}
end