fi.foyt.foursquare.api.entities
类 CompleteUser

java.lang.Object
  继承者 fi.foyt.foursquare.api.entities.CompactUser
      继承者 fi.foyt.foursquare.api.entities.CompleteUser
所有已实现的接口:
FoursquareEntity, Serializable

public class CompleteUser
extends CompactUser

Class representing CompleteUser entity

作者:
Antti Leppä
另请参见:
https://developer.foursquare.com/docs/responses/user.html, 序列化表格

构造方法摘要
CompleteUser()
           
 
方法摘要
 Count getBadges()
          Returns count of badges for the user
 CheckinGroup getCheckins()
          Returns the count of checkins by this user.
 Contact getContact()
          Returns user's contact information
 Count getFollowers()
          Returns count of followers for this user
 Count getFollowing()
          Returns count how may users this user follows
 UserGroups getFriends()
          Returns users for this friend
 VenueGroup getMayorships()
          Returns the count of mayorships by this user.
 Boolean getPings()
          Returns whether user will receive pings from this user
 Count getRequests()
          Returns friend request count for this user
 Scores getScores()
          Returns user's scores
 TipGroup getTips()
          Returns for count of tips by this user.
 TodoGroup getTodos()
          Returns for count of todos by this user.
 String getType()
          Returns type of the user.
 
从类 fi.foyt.foursquare.api.entities.CompactUser 继承的方法
getFirstName, getGender, getHomeCity, getId, getLastName, getPhoto, getRelationship
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CompleteUser

public CompleteUser()
方法详细信息

getType

public String getType()
Returns type of the user. One of brand, celebrity or user.

返回:
type of the user

getContact

public Contact getContact()
Returns user's contact information

返回:
user's contact information

getPings

public Boolean getPings()
Returns whether user will receive pings from this user

返回:
whether user will receive pings from this user

getBadges

public Count getBadges()
Returns count of badges for the user

返回:
count of badges for the user

getCheckins

public CheckinGroup getCheckins()
Returns the count of checkins by this user. Contains most recent checkin as an array of items, if the user is a friend.

返回:
checkins by this user

getMayorships

public VenueGroup getMayorships()
Returns the count of mayorships by this user. Contains selected mayorships as an array of items, if the user is a friend.

返回:
mayorships by this user

getTips

public TipGroup getTips()
Returns for count of tips by this user. Contains selected tips as an array of items, if the user is friend.

返回:
tips by this user.

getTodos

public TodoGroup getTodos()
Returns for count of todos by this user. Contains selected todos as an array of items, if the user is friend.

返回:
todos by this user

getFriends

public UserGroups getFriends()
Returns users for this friend

返回:
users for this friend

getFollowers

public Count getFollowers()
Returns count of followers for this user

返回:
count of followers for this user

getFollowing

public Count getFollowing()
Returns count how may users this user follows

返回:
count how may users this user follows

getRequests

public Count getRequests()
Returns friend request count for this user

返回:
friend request count for this user

getScores

public Scores getScores()
Returns user's scores

返回:
user's scores


Copyright © 2013 Foyt. All Rights Reserved.