This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
/
TwitterDtos.cs
182 lines (167 loc) · 6.57 KB
/
TwitterDtos.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
using System;
using System.Collections.Generic;
namespace ChaweetApi.ServiceModel
{
public class GeoPoint
{
public string type { get; set; }
public double[] coordinates { get; set; }
}
public class SizeEntity
{
public int w { get; set; }
public int h { get; set; }
public string resize { get; set; }
}
public class MediaEntity
{
public string media_url { get; set; }
public string media_url_https { get; set; }
public string url { get; set; }
public string display_url { get; set; }
public string expanded_url { get; set; }
public Dictionary<string, SizeEntity> sizes { get; set; }
public string type { get; set; }
public int[] indices { get; set; }
}
public class UrlEntity
{
public string url { get; set; }
public string display_url { get; set; }
public string expanded_url { get; set; }
public int[] indices { get; set; }
}
public class UserMentionEntity
{
public ulong id { get; set; }
public string id_str { get; set; }
public string name { get; set; }
public string screen_name { get; set; }
public int[] indices { get; set; }
}
public class HashTagEntity
{
public string text { get; set; }
public int[] indicies { get; set; }
}
public class TweetEntities
{
public MediaEntity[] media { get; set; }
public UrlEntity[] urls { get; set; }
public UserMentionEntity[] user_mentions { get; set; }
public HashTagEntity[] hashtags { get; set; }
}
public class UserStat
{
public ulong id { get; set; }
public string screen_name { get; set; }
public string name { get; set; }
public int friends_count { get; set; }
public int followers_count { get; set; }
public int listed_count { get; set; }
public int statuses_count { get; set; }
}
public class Tweet
{
public ulong id { get; set; }
public ulong? in_reply_to_status_id { get; set; }
public bool retweeted { get; set; }
public bool truncated { get; set; }
public string created_at { get; set; }
public ulong? in_reply_to_user_id { get; set; }
public string in_reply_to_screen_name { get; set; }
public TweetUser user { get; set; }
public TweetEntities entities { get; set; }
public bool favorited { get; set; }
public string source { get; set; }
public string retweet_count { get; set; }
public string text { get; set; }
public GeoPoint geo { get; set; }
public GeoPoint coordinates { get; set; }
}
public class DirectMessage
{
public ulong id { get; set; }
public string created_at { get; set; }
public string sender_screen_name { get; set; }
public TweetUser sender { get; set; }
public TweetUser recipient { get; set; }
public ulong recipient_id { get; set; }
public ulong sender_id { get; set; }
public string recipient_screen_name { get; set; }
public string text { get; set; }
}
public class TweetUser
{
public string name { get; set; }
public string profile_sidebar_border_color { get; set; }
public string profile_background_tile { get; set; }
public string profile_sidebar_fill_color { get; set; }
public string created_at { get; set; }
public string profile_image_url { get; set; }
public string profile_link_color { get; set; }
public string location { get; set; }
public string url { get; set; }
public int favourites_count { get; set; }
public bool contributors_enabled { get; set; }
public string utc_offset { get; set; }
public string id { get; set; }
public string profile_use_background_image { get; set; }
public string profile_text_color { get; set; }
public bool @protected { get; set; }
public int followers_count { get; set; }
public string lang { get; set; }
public bool verified { get; set; }
public string profile_background_color { get; set; }
public bool geo_enabled { get; set; }
public bool? notifications { get; set; }
public string description { get; set; }
public string time_zone { get; set; }
public int friends_count { get; set; }
public int statuses_count { get; set; }
public string profile_background_image_url { get; set; }
public string screen_name { get; set; }
}
public class TwitterUser
{
public string name { get; set; }
public string profile_sidebar_border_color { get; set; }
public string profile_background_tile { get; set; }
public string profile_sidebar_fill_color { get; set; }
public string created_at { get; set; }
public string profile_image_url { get; set; }
public string profile_link_color { get; set; }
public bool? follow_request_sent { get; set; }
public string location { get; set; }
public string url { get; set; }
public int favourites_count { get; set; }
public bool contributors_enabled { get; set; }
public string utc_offset { get; set; }
public string id { get; set; }
public string profile_use_background_image { get; set; }
public string profile_text_color { get; set; }
public bool @protected { get; set; }
public int followers_count { get; set; }
public string lang { get; set; }
public bool verified { get; set; }
public string profile_background_color { get; set; }
public bool geo_enabled { get; set; }
public bool? notifications { get; set; }
public string description { get; set; }
public string time_zone { get; set; }
public int friends_count { get; set; }
public int statuses_count { get; set; }
public string profile_background_image_url { get; set; }
public Tweet status { get; set; }
public string screen_name { get; set; }
public bool? following { get; set; }
}
public class TwitterUserIds
{
public ulong next_cursor { get; set; }
public ulong previous_cursor { get; set; }
public ulong[] ids { get; set; }
public string next_cursor_str { get; set; }
public string previous_cursor_str { get; set; }
}
}