com.fitbit.api.common.model.user
Class UserInfo

java.lang.Object
  extended by 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)
           
 
Method Summary
 org.joda.time.LocalDate dateOfBirth()
           
static List<UserInfo> friendJsonArrayToUserInfoList(org.json.JSONArray array)
           
 String getAboutMe()
           
 String getAvatar()
           
 String getCity()
           
 String getCountry()
           
 String getDateOfBirth()
           
 String getDisplayName()
           
 String getDistanceUnit()
           
 String getEncodedId()
           
 String getFullName()
           
 Gender getGender()
           
 String getGlucoseUnit()
           
 double getHeight()
           
 String getHeightUnit()
           
 String getLocale()
           
 org.joda.time.LocalDate getMemberSince()
           
 String getNickname()
           
 int getOffsetFromUTCMillis()
           
 String getState()
           
 double getStrideLengthRunning()
           
 double getStrideLengthWalking()
           
 String getTimezone()
           
 String getWaterUnit()
           
 double getWeight()
           
 String getWeightUnit()
           
 org.joda.time.DateTimeZone timezone()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.