1package anaconda
2
3type User struct {
4	ContributorsEnabled            bool     `json:"contributors_enabled"`
5	CreatedAt                      string   `json:"created_at"`
6	DefaultProfile                 bool     `json:"default_profile"`
7	DefaultProfileImage            bool     `json:"default_profile_image"`
8	Description                    string   `json:"description"`
9	Email                          string   `json:"email"`
10	Entities                       Entities `json:"entities"`
11	FavouritesCount                int      `json:"favourites_count"`
12	FollowRequestSent              bool     `json:"follow_request_sent"`
13	FollowersCount                 int      `json:"followers_count"`
14	Following                      bool     `json:"following"`
15	FriendsCount                   int      `json:"friends_count"`
16	GeoEnabled                     bool     `json:"geo_enabled"`
17	HasExtendedProfile             bool     `json:"has_extended_profile"`
18	Id                             int64    `json:"id"`
19	IdStr                          string   `json:"id_str"`
20	IsTranslator                   bool     `json:"is_translator"`
21	IsTranslationEnabled           bool     `json:"is_translation_enabled"`
22	Lang                           string   `json:"lang"` // BCP-47 code of user defined language
23	ListedCount                    int64    `json:"listed_count"`
24	Location                       string   `json:"location"` // User defined location
25	Name                           string   `json:"name"`
26	Notifications                  bool     `json:"notifications"`
27	ProfileBackgroundColor         string   `json:"profile_background_color"`
28	ProfileBackgroundImageURL      string   `json:"profile_background_image_url"`
29	ProfileBackgroundImageUrlHttps string   `json:"profile_background_image_url_https"`
30	ProfileBackgroundTile          bool     `json:"profile_background_tile"`
31	ProfileBannerURL               string   `json:"profile_banner_url"`
32	ProfileImageURL                string   `json:"profile_image_url"`
33	ProfileImageUrlHttps           string   `json:"profile_image_url_https"`
34	ProfileLinkColor               string   `json:"profile_link_color"`
35	ProfileSidebarBorderColor      string   `json:"profile_sidebar_border_color"`
36	ProfileSidebarFillColor        string   `json:"profile_sidebar_fill_color"`
37	ProfileTextColor               string   `json:"profile_text_color"`
38	ProfileUseBackgroundImage      bool     `json:"profile_use_background_image"`
39	Protected                      bool     `json:"protected"`
40	ScreenName                     string   `json:"screen_name"`
41	ShowAllInlineMedia             bool     `json:"show_all_inline_media"`
42	Status                         *Tweet   `json:"status"` // Only included if the user is a friend
43	StatusesCount                  int64    `json:"statuses_count"`
44	TimeZone                       string   `json:"time_zone"`
45	URL                            string   `json:"url"`
46	UtcOffset                      int      `json:"utc_offset"`
47	Verified                       bool     `json:"verified"`
48	WithheldInCountries            []string `json:"withheld_in_countries"`
49	WithheldScope                  string   `json:"withheld_scope"`
50}
51
52// Provide language translator from BCP-47 to human readable format for Lang field?
53// Available through golang.org/x/text/language, deserves further investigation
54