public interface UserData extends GphotoData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KIND
The unqualified kind for a user.
|
static Category |
USER_CATEGORY
A category object for users.
|
static java.lang.String |
USER_KIND
The fully qualified kind term for users.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getMaxPhotos()
The number of photos a user can have in a single album.
|
java.lang.String |
getNickname()
The nickname of the user.
|
java.lang.Long |
getQuotaLimit()
The quota limit of the user.
|
java.lang.Long |
getQuotaUsed()
The quota in bytes that the user has used.
|
java.lang.String |
getThumbnail()
A url to the user's portrait.
|
java.lang.String |
getUsername()
The username of the user.
|
void |
setMaxPhotos(java.lang.Integer max)
Set the maximum number of photos the user is allowed.
|
void |
setNickname(java.lang.String nickname)
Set the nickname of the user this data represents.
|
void |
setQuotaLimit(java.lang.Long quota)
Set the quota limit for the user this data represents.
|
void |
setQuotaUsed(java.lang.Long quota)
Set the used quota for the user.
|
void |
setThumbnail(java.lang.String thumbnail)
Set the thumbnail for the user portrait.
|
void |
setUsername(java.lang.String username)
Set the username for the user this data represents.
|
getGphotoId, setGphotoId, setGphotoId
addExtension, addRepeatingExtension, declareExtensions, removeExtension, removeExtension, removeRepeatingExtension, setExtension
static final java.lang.String KIND
static final java.lang.String USER_KIND
static final Category USER_CATEGORY
java.lang.String getUsername()
void setUsername(java.lang.String username)
username
- the username of the user.java.lang.String getNickname()
void setNickname(java.lang.String nickname)
nickname
- the nickname of the user.java.lang.String getThumbnail()
void setThumbnail(java.lang.String thumbnail)
thumbnail
- the url to the user portrait image.java.lang.Long getQuotaUsed()
void setQuotaUsed(java.lang.Long quota)
quota
- the quota usage in bytes for this user.java.lang.Long getQuotaLimit()
void setQuotaLimit(java.lang.Long quota)
quota
- the quota in bytes for the user.java.lang.Integer getMaxPhotos()
void setMaxPhotos(java.lang.Integer max)
max
- the number of photos the user is allowed.