com.belerweb.social.weibo.bean
Class User

java.lang.Object
  extended by com.belerweb.social.bean.JsonBean
      extended by com.belerweb.social.weibo.bean.User

public class User
extends JsonBean

用户 文档地址:http://open.weibo.com/wiki/常见返回对象数据结构#.E7.94.A8.E6.88.B7.EF.BC.88user.EF.BC.89


Constructor Summary
User()
           
 
Method Summary
 Boolean getAllowAllActMsg()
          是否允许所有人给我发私信
 Boolean getAllowAllComment()
          是否允许所有人对我的微博进行评论
 String getAvatarLarge()
          用户大头像地址
 Integer getBiFollowersCount()
          用户的互粉数
 Integer getCity()
          用户所在城市ID
 Date getCreatedAt()
          用户创建(注册)时间
 String getDescription()
          用户个人描述
 String getDomain()
          用户的个性化域名
 Integer getFavouritesCount()
          收藏数
 Integer getFollowersCount()
          粉丝数
 Boolean getFollowing()
          暂未支持
 Boolean getFollowMe()
          该用户是否关注当前登录用户
 Integer getFriendsCount()
          关注数
 Gender getGender()
          性别
 Boolean getGeoEnabled()
          是否允许标识用户的地理位置
 String getId()
          用户UID
 String getIdstr()
          字符串型的用户UID
 String getLang()
          用户当前的语言版本,zh-cn:简体中文,zh-tw:繁体中文,en:英语
 String getLocation()
          用户所在地
 String getName()
          友好显示名称
 OnlineStatus getOnlineStatus()
          用户的在线状态
 String getProfileImageUrl()
          用户头像地址,50×50像素
 String getProfileUrl()
          用户的微博统一URL地址
 Integer getProvince()
          用户所在省级ID
 String getRemark()
          用户备注信息,只有在查询用户关系时才返回此字段
 String getScreenName()
          用户昵称
 Status getStatus()
          用户的最近一条微博信息字段 详细
 Integer getStatusesCount()
          微博数
 String getUrl()
          用户博客地址
 Boolean getVerified()
          是否是微博认证用户,即加V用户
 String getVerifiedReason()
          认证原因
 Integer getVerifiedType()
          暂未支持
 String getWeihao()
          用户的微号
static User parse(org.json.JSONObject jsonObject)
           
 void setAllowAllActMsg(Boolean allowAllActMsg)
           
 void setAllowAllComment(Boolean allowAllComment)
           
 void setAvatarLarge(String avatarLarge)
           
 void setBiFollowersCount(Integer biFollowersCount)
           
 void setCity(Integer city)
           
 void setCreatedAt(Date createdAt)
           
 void setDescription(String description)
           
 void setDomain(String domain)
           
 void setFavouritesCount(Integer favouritesCount)
           
 void setFollowersCount(Integer followersCount)
           
 void setFollowing(Boolean following)
           
 void setFollowMe(Boolean followMe)
           
 void setFriendsCount(Integer friendsCount)
           
 void setGender(Gender gender)
           
 void setGeoEnabled(Boolean geoEnabled)
           
 void setId(String id)
           
 void setIdstr(String idstr)
           
 void setLang(String lang)
           
 void setLocation(String location)
           
 void setName(String name)
           
 void setOnlineStatus(OnlineStatus onlineStatus)
           
 void setProfileImageUrl(String profileImageUrl)
           
 void setProfileUrl(String profileUrl)
           
 void setProvince(Integer province)
           
 void setRemark(String remark)
           
 void setScreenName(String screenName)
           
 void setStatus(Status status)
           
 void setStatusesCount(Integer statusesCount)
           
 void setUrl(String url)
           
 void setVerified(Boolean verified)
           
 void setVerifiedReason(String verifiedReason)
           
 void setVerifiedType(Integer verifiedType)
           
 void setWeihao(String weihao)
           
 
Methods inherited from class com.belerweb.social.bean.JsonBean
getJsonObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
Method Detail

getId

public String getId()
用户UID


setId

public void setId(String id)

getIdstr

public String getIdstr()
字符串型的用户UID


setIdstr

public void setIdstr(String idstr)

getScreenName

public String getScreenName()
用户昵称


setScreenName

public void setScreenName(String screenName)

getName

public String getName()
友好显示名称


setName

public void setName(String name)

getProvince

public Integer getProvince()
用户所在省级ID


setProvince

public void setProvince(Integer province)

getCity

public Integer getCity()
用户所在城市ID


setCity

public void setCity(Integer city)

getLocation

public String getLocation()
用户所在地


setLocation

public void setLocation(String location)

getDescription

public String getDescription()
用户个人描述


setDescription

public void setDescription(String description)

getUrl

public String getUrl()
用户博客地址


setUrl

public void setUrl(String url)

getProfileImageUrl

public String getProfileImageUrl()
用户头像地址,50×50像素


setProfileImageUrl

public void setProfileImageUrl(String profileImageUrl)

getProfileUrl

public String getProfileUrl()
用户的微博统一URL地址


setProfileUrl

public void setProfileUrl(String profileUrl)

getDomain

public String getDomain()
用户的个性化域名


setDomain

public void setDomain(String domain)

getWeihao

public String getWeihao()
用户的微号


setWeihao

public void setWeihao(String weihao)

getGender

public Gender getGender()
性别


setGender

public void setGender(Gender gender)

getFollowersCount

public Integer getFollowersCount()
粉丝数


setFollowersCount

public void setFollowersCount(Integer followersCount)

getFriendsCount

public Integer getFriendsCount()
关注数


setFriendsCount

public void setFriendsCount(Integer friendsCount)

getStatusesCount

public Integer getStatusesCount()
微博数


setStatusesCount

public void setStatusesCount(Integer statusesCount)

getFavouritesCount

public Integer getFavouritesCount()
收藏数


setFavouritesCount

public void setFavouritesCount(Integer favouritesCount)

getCreatedAt

public Date getCreatedAt()
用户创建(注册)时间


setCreatedAt

public void setCreatedAt(Date createdAt)

getFollowing

public Boolean getFollowing()
暂未支持


setFollowing

public void setFollowing(Boolean following)

getAllowAllActMsg

public Boolean getAllowAllActMsg()
是否允许所有人给我发私信


setAllowAllActMsg

public void setAllowAllActMsg(Boolean allowAllActMsg)

getGeoEnabled

public Boolean getGeoEnabled()
是否允许标识用户的地理位置


setGeoEnabled

public void setGeoEnabled(Boolean geoEnabled)

getVerified

public Boolean getVerified()
是否是微博认证用户,即加V用户


setVerified

public void setVerified(Boolean verified)

getVerifiedType

public Integer getVerifiedType()
暂未支持


setVerifiedType

public void setVerifiedType(Integer verifiedType)

getRemark

public String getRemark()
用户备注信息,只有在查询用户关系时才返回此字段


setRemark

public void setRemark(String remark)

getStatus

public Status getStatus()
用户的最近一条微博信息字段 详细


setStatus

public void setStatus(Status status)

getAllowAllComment

public Boolean getAllowAllComment()
是否允许所有人对我的微博进行评论


setAllowAllComment

public void setAllowAllComment(Boolean allowAllComment)

getAvatarLarge

public String getAvatarLarge()
用户大头像地址


setAvatarLarge

public void setAvatarLarge(String avatarLarge)

getVerifiedReason

public String getVerifiedReason()
认证原因


setVerifiedReason

public void setVerifiedReason(String verifiedReason)

getFollowMe

public Boolean getFollowMe()
该用户是否关注当前登录用户


setFollowMe

public void setFollowMe(Boolean followMe)

getOnlineStatus

public OnlineStatus getOnlineStatus()
用户的在线状态


setOnlineStatus

public void setOnlineStatus(OnlineStatus onlineStatus)

getBiFollowersCount

public Integer getBiFollowersCount()
用户的互粉数


setBiFollowersCount

public void setBiFollowersCount(Integer biFollowersCount)

getLang

public String getLang()
用户当前的语言版本,zh-cn:简体中文,zh-tw:繁体中文,en:英语


setLang

public void setLang(String lang)

parse

public static User parse(org.json.JSONObject jsonObject)


Copyright © 2014. All Rights Reserved.