com.fitbit.api.common.model.user
Class UserInfo
java.lang.Object
com.fitbit.api.common.model.user.UserInfo
public class UserInfo
- extends Object
|
Constructor Summary |
UserInfo(org.json.JSONObject json)
|
UserInfo(org.json.JSONObject jsonObject,
boolean wrapped)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserInfo
public UserInfo(org.json.JSONObject json)
throws org.json.JSONException
- Throws:
org.json.JSONException
UserInfo
public UserInfo(org.json.JSONObject jsonObject,
boolean wrapped)
throws org.json.JSONException
- Throws:
org.json.JSONException
friendJsonArrayToUserInfoList
public static List<UserInfo> friendJsonArrayToUserInfoList(org.json.JSONArray array)
throws org.json.JSONException
- Throws:
org.json.JSONException
getEncodedId
public String getEncodedId()
getDisplayName
public String getDisplayName()
getGender
public Gender getGender()
getDateOfBirth
public String getDateOfBirth()
dateOfBirth
public org.joda.time.LocalDate dateOfBirth()
getHeight
public double getHeight()
getWeight
public double getWeight()
getStrideLengthWalking
public double getStrideLengthWalking()
getStrideLengthRunning
public double getStrideLengthRunning()
getFullName
public String getFullName()
getNickname
public String getNickname()
getCountry
public String getCountry()
getState
public String getState()
getCity
public String getCity()
getAboutMe
public String getAboutMe()
getMemberSince
public org.joda.time.LocalDate getMemberSince()
getTimezone
public String getTimezone()
timezone
public org.joda.time.DateTimeZone timezone()
getOffsetFromUTCMillis
public int getOffsetFromUTCMillis()
getLocale
public String getLocale()
getAvatar
public String getAvatar()
getGlucoseUnit
public String getGlucoseUnit()
getWaterUnit
public String getWaterUnit()
getHeightUnit
public String getHeightUnit()
getDistanceUnit
public String getDistanceUnit()
getWeightUnit
public String getWeightUnit()
Copyright © 2012. All Rights Reserved.