Class User
java.lang.Object
com.github.rami_sabbagh.codeforces.api.objects.CFObject
com.github.rami_sabbagh.codeforces.api.objects.User
public class User extends CFObject
Represents a Codeforces user.
-
Field Summary
Fields Modifier and Type Field Description URI
avatar
User's avatar URL.String
city
Localized.int
contribution
User contribution.String
country
Localized.String
email
Shown only if user allowed to share his contact info.String
firstName
Localized.int
friendOfCount
Amount of users who have this user in friends.String
handle
Codeforces user handle.String
lastName
Localized.long
lastOnlineTimeSeconds
Time, when user was last seen online, in unix format.String
maxRank
Localized.int
maxRating
String
openId
Shown only if user allowed to share his contact info.String
organization
Localized.String
rank
Localized.int
rating
long
registrationTimeSeconds
Time, when user was registered, in unix format.URI
titlePhoto
User's title photo URL.String
vkld
User id for VK social network. -
Constructor Summary
Constructors Constructor Description User()
-
Method Summary
Methods inherited from class com.github.rami_sabbagh.codeforces.api.objects.CFObject
toString, toStringPretty
-
Field Details
-
handle
Codeforces user handle. -
email
Shown only if user allowed to share his contact info. -
vkld
User id for VK social network. Shown only if user allowed to share his contact info. -
openId
Shown only if user allowed to share his contact info. -
firstName
Localized. Can be absent. -
lastName
Localized. Can be absent. -
country
Localized. Can be absent. -
city
Localized. Can be absent. -
organization
Localized. Can be absent. -
contribution
public int contributionUser contribution. -
rank
Localized. -
rating
public int rating -
maxRank
Localized. -
maxRating
public int maxRating -
lastOnlineTimeSeconds
public long lastOnlineTimeSecondsTime, when user was last seen online, in unix format. -
registrationTimeSeconds
public long registrationTimeSecondsTime, when user was registered, in unix format. -
friendOfCount
public int friendOfCountAmount of users who have this user in friends. -
avatar
User's avatar URL. -
titlePhoto
User's title photo URL.
-
-
Constructor Details
-
User
public User()
-