fi.foyt.foursquare.api
类 ResultMeta

java.lang.Object
  继承者 fi.foyt.foursquare.api.ResultMeta

public class ResultMeta
extends Object

Class representing API query result status

作者:
Antti Leppä

构造方法摘要
ResultMeta(Integer code, String errorType, String errorDetail)
          Constructor
 
方法摘要
 Integer getCode()
          Returns code
 String getErrorDetail()
          Returns error details
 String getErrorType()
          Returns error type.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ResultMeta

public ResultMeta(Integer code,
                  String errorType,
                  String errorDetail)
Constructor

参数:
code - code
errorType - errorType
errorDetail - error details
方法详细信息

getCode

public Integer getCode()
Returns code

返回:
code

getErrorType

public String getErrorType()
Returns error type. Possible error types are: invalid_auth, param_error, endpoint_error, not_authorized, rate_limit_exceeded, deprecated, server_error and other

返回:
error type
另请参见:
https://developer.foursquare.com/docs/overview.html

getErrorDetail

public String getErrorDetail()
Returns error details

返回:
error details


Copyright © 2013 Foyt. All Rights Reserved.