com.fitbit.api.common.model.devices
Class ScaleMeasurementLog

java.lang.Object
  extended by com.fitbit.api.common.model.devices.ScaleMeasurementLog

public class ScaleMeasurementLog
extends Object


Constructor Summary
ScaleMeasurementLog(org.json.JSONObject jsonObject)
           
ScaleMeasurementLog(Long logId, Double fat, Double weight, org.joda.time.LocalDate date, org.joda.time.LocalTime time, String userId, String scaleUserName)
           
 
Method Summary
 org.joda.time.LocalDate getDate()
           
 Double getFat()
           
 Long getLogId()
           
 String getScaleUserName()
           
 org.joda.time.LocalTime getTime()
           
 String getUserId()
           
 Double getWeight()
           
static List<ScaleMeasurementLog> jsonArrayToMeasurementLogList(org.json.JSONArray array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleMeasurementLog

public ScaleMeasurementLog(Long logId,
                           Double fat,
                           Double weight,
                           org.joda.time.LocalDate date,
                           org.joda.time.LocalTime time,
                           String userId,
                           String scaleUserName)

ScaleMeasurementLog

public ScaleMeasurementLog(org.json.JSONObject jsonObject)
                    throws org.json.JSONException
Throws:
org.json.JSONException
Method Detail

jsonArrayToMeasurementLogList

public static List<ScaleMeasurementLog> jsonArrayToMeasurementLogList(org.json.JSONArray array)
                                                               throws org.json.JSONException
Throws:
org.json.JSONException

getLogId

public Long getLogId()

getFat

public Double getFat()

getWeight

public Double getWeight()

getDate

public org.joda.time.LocalDate getDate()

getTime

public org.joda.time.LocalTime getTime()

getUserId

public String getUserId()

getScaleUserName

public String getScaleUserName()


Copyright © 2012. All Rights Reserved.