@Immutable @Loggable(value=1) public static final class User.Smart extends Object implements User
User.Smart| Constructor and Description |
|---|
User.Smart(User usr)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
URL |
avatarUrl()
Get his avatar URL.
|
String |
company()
Get his company.
|
String |
email()
Get his email.
|
Github |
github()
Github we're in.
|
int |
id()
Get his ID.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
String |
location()
Get his location.
|
String |
login()
Get his login.
|
String |
name()
Get his name.
|
Organizations |
organizations()
Get his organizations.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
URL |
url()
Get his URL.
|
public User.Smart(User usr)
usr - Userpublic int id()
throws IOException
IOException - If it failspublic URL avatarUrl() throws IOException
IOException - If it failspublic URL url() throws IOException
IOException - If it failspublic String name() throws IOException
IOException - If it failspublic String company() throws IOException
IOException - If it failspublic String location() throws IOException
IOException - If it failspublic String email() throws IOException
IOException - If it failspublic String login() throws IOException
Userlogin in interface UserIOException - If it failspublic Organizations organizations()
Userorganizations in interface Userpublic javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problempublic void patch(javax.json.JsonObject json)
throws IOException
JsonPatchablepatch in interface JsonPatchablejson - JSON objectIOException - If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.