-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
232 lines (192 loc) · 4.81 KB
/
User.java
File metadata and controls
232 lines (192 loc) · 4.81 KB
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
public class User {
String login;
Long id;
URL url;
URL avatar_url;
URL follower_url;
URL following_url;
URL organization_url;
URL repo_url;
URL starred_url;
String name;
String company;
URL blog;
String location;
String email;
String hireable;
String bio;
Long followers;
Long following;
String created_at;
String updated_at;
List<User>followers_list = new ArrayList<>();
List<User>followings_list = new ArrayList<>();
public User(Long id,String login){
this.id = id;
this.login = login;
}
public User(String login){
this.login = login;
}
public User(String login, URL url){
this.login = login;
this.url = url;
}
public User(
String login,
Long id,
URL avatar_url,
URL follower_url,
URL following_url,
URL organization_url,
URL repo_url,
URL starred_url,
String name,
String company,
URL blog,
String location,
String email,
String hireable,
String bio,
Long followers,
Long following,
String created_at,
String updated_at) {
this.login = login;
this.id = id;
this.avatar_url = avatar_url;
this.follower_url = follower_url;
this.following_url = following_url;
this.organization_url = organization_url;
this.repo_url = repo_url;
this.starred_url = starred_url;
this.name = name;
this.company = company;
this.blog = blog;
this.location = location;
this.email = email;
this.hireable = hireable;
this.bio = bio;
this.followers = followers;
this.following = following;
this.created_at = created_at;
this.updated_at = updated_at;
}
public String getLogin() {
return login;
}
public void setLogin(String login) {
this.login = login;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public URL getAvatar_url() {
return avatar_url;
}
public void setAvatar_url(URL avatar_url) {
this.avatar_url = avatar_url;
}
public URL getFollower_url() {
return follower_url;
}
public void setFollower_url(URL follower_url) {
this.follower_url = follower_url;
}
public URL getFollowing_url() {
return following_url;
}
public void setFollowing_url(URL following_url) {
this.following_url = following_url;
}
public URL getOrganization_url() {
return organization_url;
}
public void setOrganization_url(URL organization_url) {
this.organization_url = organization_url;
}
public URL getRepo_url() {
return repo_url;
}
public void setRepo_url(URL repo_url) {
this.repo_url = repo_url;
}
public URL getStarred_url() {
return starred_url;
}
public void setStarred_url(URL stared_url) {
this.starred_url = stared_url;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company;
}
public URL getBlog() {
return blog;
}
public void setBlog(URL blog) {
this.blog = blog;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getHireable() {
return hireable;
}
public void setHireable(String hireable) {
this.hireable = hireable;
}
public String getBio() {
return bio;
}
public void setBio(String bio) {
this.bio = bio;
}
public Long getFollowers() {
return followers;
}
public void setFollowers(Long followers) {
this.followers = followers;
}
public Long getFollowing() {
return following;
}
public void setFollowing(Long following) {
this.following = following;
}
public String getCreated_at() {
return created_at;
}
public void setCreated_at(String created_at) {
this.created_at = created_at;
}
public String getUpdated_at() {
return updated_at;
}
public void setUpdated_at(String updated_at) {
this.updated_at = updated_at;
}
}