fi.foyt.foursquare.api.entities
类 CompleteSpecial

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

public class CompleteSpecial
extends Object
implements FoursquareEntity

Class representing CompleteSpecial entity

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

构造方法摘要
CompleteSpecial()
           
 
方法摘要
 String getDescription()
          Returns a description of how to unlock the special.
 String getFinePrint()
          Returns specific rules for this special.
 String getIcon()
          Returns the name of the icon to use: http://foursquare.com/img/specials/icon.png
 String getId()
          Returns id of this venue
 String getMessage()
          Returns a message describing the special.
 String getProvider()
          Returns provider
 String getRedemption()
          Returns redemption
 String getState()
          Returns state.
 String getTitle()
          Returns a title of the special
 String getType()
          Returns type of the venue.
 Boolean getUnlocked()
          Returns true or false indicating if this special is unlocked for the acting user.
 CompactVenue getVenue()
          Returns venue
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CompleteSpecial

public CompleteSpecial()
方法详细信息

getId

public String getId()
Returns id of this venue

返回:
id of this venue

getType

public String getType()
Returns type of the venue. One of mayor, count, frequency, regular, friends, swarm, flash or other.

返回:
type of the venue

getMessage

public String getMessage()
Returns a message describing the special.

返回:
a message describing the special

getFinePrint

public String getFinePrint()
Returns specific rules for this special.

返回:
specific rules for this special.

getDescription

public String getDescription()
Returns a description of how to unlock the special.

返回:
description of how to unlock the special.

getUnlocked

public Boolean getUnlocked()
Returns true or false indicating if this special is unlocked for the acting user.

返回:
true or false indicating if this special is unlocked for the acting user.

getIcon

public String getIcon()
Returns the name of the icon to use: http://foursquare.com/img/specials/icon.png

返回:
the name of the icon

getTitle

public String getTitle()
Returns a title of the special

返回:
a title of the special

getState

public String getState()
Returns state. One of unlocked, before start, in progress, taken, locked

返回:
state

getProvider

public String getProvider()
Returns provider

返回:
provider

getRedemption

public String getRedemption()
Returns redemption

返回:
redemption

getVenue

public CompactVenue getVenue()
Returns venue

返回:
venue


Copyright © 2013 Foyt. All Rights Reserved.