com.fitbit.api.common.model.activities
Class ActivityReference
java.lang.Object
com.fitbit.api.common.model.activities.ActivityReference
- Direct Known Subclasses:
- LoggedActivityReference
public class ActivityReference
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivityReference
public ActivityReference(long activityId,
String name,
String description,
Long activityParentId,
String activityParentName)
ActivityReference
public ActivityReference(org.json.JSONObject json)
throws org.json.JSONException
- Throws:
org.json.JSONException
constructActivityReferenceList
public static List<ActivityReference> constructActivityReferenceList(Response res)
throws FitbitAPIException
- Throws:
FitbitAPIException
getActivityId
public long getActivityId()
getName
public String getName()
getDescription
public String getDescription()
getActivityParentId
public Long getActivityParentId()
getActivityParentName
public String getActivityParentName()
Copyright © 2012. All Rights Reserved.