fi.foyt.foursquare.api.entities
类 Photo

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

public class Photo
extends Object
implements FoursquareEntity

Class representing Photo entity

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

构造方法摘要
Photo()
           
 
方法摘要
 Checkin getCheckin()
          Returns checkin in which photo is related to
 Long getCreatedAt()
          Returns seconds since epoch when this photo was created.
 String getId()
          Returns photo's id
 SizeGroup getSizes()
          Returns image sizes
 Source getSource()
          Returns source of the image (Application)
 CompleteTip getTip()
          Returns tip in which photo is related to
 String getUrl()
          Returns the url for the original uploaded file.
 CompactUser getUser()
          Returns user that uploaded the image
 CompactVenue getVenue()
          Returns venue where photo was taken
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Photo

public Photo()
方法详细信息

getId

public String getId()
Returns photo's id

返回:
photo's id

getCreatedAt

public Long getCreatedAt()
Returns seconds since epoch when this photo was created.

返回:
seconds since epoch when this photo was created.

getUrl

public String getUrl()
Returns the url for the original uploaded file.

返回:
the url for the original uploaded file.

getSizes

public SizeGroup getSizes()
Returns image sizes

返回:
image sizes

getSource

public Source getSource()
Returns source of the image (Application)

返回:
source of the image

getUser

public CompactUser getUser()
Returns user that uploaded the image

返回:
user that uploaded the image

getVenue

public CompactVenue getVenue()
Returns venue where photo was taken

返回:
venue where photo was taken

getTip

public CompleteTip getTip()
Returns tip in which photo is related to

返回:
tip in which photo is related to

getCheckin

public Checkin getCheckin()
Returns checkin in which photo is related to

返回:
checkin in which photo is related to


Copyright © 2013 Foyt. All Rights Reserved.