fi.foyt.foursquare.api.entities
类 CompactUser

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

public class CompactUser
extends Object
implements FoursquareEntity

Class representing User entity

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

构造方法摘要
CompactUser()
           
 
方法摘要
 String getFirstName()
          Returns user's first name
 String getGender()
          Returns male or female
 String getHomeCity()
          Returns user's home city
 String getId()
          Returns user's id
 String getLastName()
          Returns user's last name
 String getPhoto()
          Returns URL of a profile picture for this user.
 String getRelationship()
          The relationship of the acting user to this user.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CompactUser

public CompactUser()
方法详细信息

getId

public String getId()
Returns user's id

返回:
user's id

getFirstName

public String getFirstName()
Returns user's first name

返回:
user's first name

getLastName

public String getLastName()
Returns user's last name

返回:
user's last name

getHomeCity

public String getHomeCity()
Returns user's home city

返回:
user's home city

getPhoto

public String getPhoto()
Returns URL of a profile picture for this user.

返回:
URL of a profile picture for this user.

getGender

public String getGender()
Returns male or female

返回:
male or female

getRelationship

public String getRelationship()
The relationship of the acting user to this user. One of self, friend, pendingMe, pendingThem or followingThem

返回:
relationship of the acting user to this user


Copyright © 2013 Foyt. All Rights Reserved.