@Immutable public interface User extends JsonReadable, JsonPatchable
| Modifier and Type | Interface and Description |
|---|---|
static class |
User.Smart
Smart user with extra features.
|
| Modifier and Type | Method and Description |
|---|---|
UserEmails |
emails()
Get user's emails.
|
Github |
github()
Github we're in.
|
PublicKeys |
keys()
Get his keys.
|
String |
login()
Get his login.
|
void |
markAsRead(Date lastread)
Marks notifications as read.
|
Notifications |
notifications()
Notifications for this user.
|
UserOrganizations |
organizations()
Get his organizations.
|
jsonpatchGithub github()
String login() throws IOException
IOException - If it failsUserOrganizations organizations()
PublicKeys keys()
UserEmails emails()
Notifications notifications() throws IOException
IOException - Thrown, if an error during sending request and/or
receiving response occurs.void markAsRead(Date lastread) throws IOException
lastread - Describes the last point that notifications were
checked.IOException - Thrown, if an error during sending request and/or
receiving response occurs.Copyright © 2012–2018 jcabi.com. All rights reserved.