|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dropbox.client2.DropboxAPI.Account
public static class DropboxAPI.Account
Information about a user's account.
| Field Summary | |
|---|---|
String |
country
The user's ISO country code. |
String |
displayName
The user's "real" name. |
long |
quota
The user's quota, in bytes. |
long |
quotaNormal
The user's quota excluding shared files. |
long |
quotaShared
The user's quota of shared files. |
String |
referralLink
The url the user can give to get referral credit. |
long |
uid
The user's account ID. |
| Constructor Summary | |
|---|---|
protected |
DropboxAPI.Account(Map<String,Object> map)
Creates an account from a Map. |
protected |
DropboxAPI.Account(String country,
String displayName,
long uid,
String referralLink,
long quota,
long quotaNormal,
long quotaShared)
Creates an account object from an initial set of values. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final String country
public final String displayName
public final long quota
public final long quotaNormal
public final long quotaShared
public final long uid
public final String referralLink
| Constructor Detail |
|---|
protected DropboxAPI.Account(Map<String,Object> map)
map - a Map that looks like:
{"country": "",
"display_name": "John Q. User",
"quota_info": {
"shared": 37378890,
"quota": 62277025792,
"normal": 263758550
},
"uid": "174"}
protected DropboxAPI.Account(String country,
String displayName,
long uid,
String referralLink,
long quota,
long quotaNormal,
long quotaShared)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||