fi.foyt.foursquare.api.entities
类 Checkin

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

public class Checkin
extends Object
implements FoursquareEntity

Class representing Checkin entity

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

构造方法摘要
Checkin()
           
 
方法摘要
 CommentGroup getComments()
          Returns comments for checkin
 Long getCreatedAt()
          Returns when this checkin was created (epoch)
 String getId()
          Returns checkin id
 Boolean getIsMayor()
          Returns is the checked user mayor
 Location getLocation()
          Returns Location of the checkin.
 CheckinGroup getOverlaps()
          Returns checkins from friends checked into the same venue around the same time.
 PhotoGroup getPhotos()
          Returns photos of the checkin
 String getShout()
          Returns shout text
 Source getSource()
          Returns Source object containing application name and url that created this checkin
 String getTimeZone()
          Returns timezone of the checkin
 String getType()
          Returns checkin type (checkin, shout, or venueless)
 CompactUser getUser()
          Returns user who checked in
 CompactVenue getVenue()
          Returns venue if any
 Boolean isPrivate()
          Returns is this a private checkin
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Checkin

public Checkin()
方法详细信息

getId

public String getId()
Returns checkin id

返回:
checkin id

getType

public String getType()
Returns checkin type (checkin, shout, or venueless)

返回:
checkin type

isPrivate

public Boolean isPrivate()
Returns is this a private checkin

返回:
is this a private checkin

getUser

public CompactUser getUser()
Returns user who checked in

返回:
user who checked in

getIsMayor

public Boolean getIsMayor()
Returns is the checked user mayor

返回:
is the checked user mayor

getTimeZone

public String getTimeZone()
Returns timezone of the checkin

返回:
timezone of the checkin

getVenue

public CompactVenue getVenue()
Returns venue if any

返回:
venue if any

getLocation

public Location getLocation()
Returns Location of the checkin. Field may be present if the type of this checkin is shout or venueless.

返回:
Location of the checkin

getShout

public String getShout()
Returns shout text

返回:
shout text

getCreatedAt

public Long getCreatedAt()
Returns when this checkin was created (epoch)

返回:
when this checkin was created

getPhotos

public PhotoGroup getPhotos()
Returns photos of the checkin

返回:
photos of the checkin

getComments

public CommentGroup getComments()
Returns comments for checkin

返回:
comments for checkin

getSource

public Source getSource()
Returns Source object containing application name and url that created this checkin

返回:
Checkin source

getOverlaps

public CheckinGroup getOverlaps()
Returns checkins from friends checked into the same venue around the same time.

返回:
Overlapping checkins


Copyright © 2013 Foyt. All Rights Reserved.