Skip to content

Commit ce23e07

Browse files
committed
Add some missing fields to User
1 parent 22c2335 commit ce23e07

File tree

1 file changed

+13
-2
lines changed
  • src/main/java/com/creatubbles/api/core

1 file changed

+13
-2
lines changed

src/main/java/com/creatubbles/api/core/User.java

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,20 @@
44

55
public class User {
66
public String id, age, birth_month, birth_year;
7-
public String username, display_name, email, country, role;
8-
public boolean is_teacher, is_loggable, is_site_admin, newsletter;
7+
public String username, display_name, email, role;
8+
public String country_code, country_name;
9+
public String created_at, short_url, avatar_url;
10+
public boolean is_male, is_teacher, is_loggable, is_site_admin, newsletter;
11+
12+
@Deprecated
913
public int signed_up_as;
14+
15+
/**
16+
* @see #country_code
17+
* @see #country_name
18+
*/
19+
@Deprecated
20+
public String country;
1021

1122
/**
1223
* @see OAuthAccessTokenRequest

0 commit comments

Comments
 (0)