weiboclient4j.model.User Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weiboclient4j Show documentation
Show all versions of weiboclient4j Show documentation
Java library for Sina Weibo
package weiboclient4j.model;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.type.TypeReference;
import java.util.Date;
import java.util.List;
/**
* @author Hover Ruan
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class User {
public static final TypeReference> TYPE_USER_LIST = new TypeReference>() {
};
private long id;
private String idstr;
private String screenName;
private String name;
private String province;
private String city;
private String location;
private String description;
private String url;
private String profileImageUrl;
private String profileUrl;
private String domain;
private String gender;
private int followersCount;
private int friendsCount;
private int statusesCount;
private int favouritesCount;
private Date createdAt;
private boolean following;
private boolean followMe;
private boolean verified;
private boolean allowAllActMsg;
private boolean geoEnabled;
private Status status;
private String remark;
private String avatarLarge;
private String verifiedReason;
private int verifiedType;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getIdstr() {
return idstr;
}
public void setIdstr(String idstr) {
this.idstr = idstr;
}
public String getScreenName() {
return screenName;
}
public void setScreenName(String screenName) {
this.screenName = screenName;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getProfileImageUrl() {
return profileImageUrl;
}
public void setProfileImageUrl(String profileImageUrl) {
this.profileImageUrl = profileImageUrl;
}
public String getProfileUrl() {
return profileUrl;
}
public void setProfileUrl(String profileUrl) {
this.profileUrl = profileUrl;
}
public String getDomain() {
return domain;
}
public void setDomain(String domain) {
this.domain = domain;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public int getFollowersCount() {
return followersCount;
}
public void setFollowersCount(int followersCount) {
this.followersCount = followersCount;
}
public int getFriendsCount() {
return friendsCount;
}
public void setFriendsCount(int friendsCount) {
this.friendsCount = friendsCount;
}
public int getStatusesCount() {
return statusesCount;
}
public void setStatusesCount(int statusesCount) {
this.statusesCount = statusesCount;
}
public int getFavouritesCount() {
return favouritesCount;
}
public void setFavouritesCount(int favouritesCount) {
this.favouritesCount = favouritesCount;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public boolean isFollowing() {
return following;
}
public void setFollowing(boolean following) {
this.following = following;
}
public boolean isFollowMe() {
return followMe;
}
public void setFollowMe(boolean followMe) {
this.followMe = followMe;
}
public boolean isVerified() {
return verified;
}
public void setVerified(boolean verified) {
this.verified = verified;
}
public boolean isAllowAllActMsg() {
return allowAllActMsg;
}
public void setAllowAllActMsg(boolean allowAllActMsg) {
this.allowAllActMsg = allowAllActMsg;
}
public boolean isGeoEnabled() {
return geoEnabled;
}
public void setGeoEnabled(boolean geoEnabled) {
this.geoEnabled = geoEnabled;
}
public Status getStatus() {
return status;
}
public void setStatus(Status status) {
this.status = status;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getAvatarLarge() {
return avatarLarge;
}
public void setAvatarLarge(String avatarLarge) {
this.avatarLarge = avatarLarge;
}
public String getVerifiedReason() {
return verifiedReason;
}
public void setVerifiedReason(String verifiedReason) {
this.verifiedReason = verifiedReason;
}
public int getVerifiedType() {
return verifiedType;
}
public void setVerifiedType(int verifiedType) {
this.verifiedType = verifiedType;
}
}