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 URIavatarUser's avatar URL.StringcityLocalized.intcontributionUser contribution.StringcountryLocalized.StringemailShown only if user allowed to share his contact info.StringfirstNameLocalized.intfriendOfCountAmount of users who have this user in friends.StringhandleCodeforces user handle.StringlastNameLocalized.longlastOnlineTimeSecondsTime, when user was last seen online, in unix format.StringmaxRankLocalized.intmaxRatingStringopenIdShown only if user allowed to share his contact info.StringorganizationLocalized.StringrankLocalized.intratinglongregistrationTimeSecondsTime, when user was registered, in unix format.URItitlePhotoUser's title photo URL.StringvkldUser 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()
-