Back to project page StravaFlow.
The source code is released under:
MIT License
If you think the Android project StravaFlow listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package me.mattlogan.stravaflow.api.model; /* w w w .ja va 2 s . c o m*/ import java.io.Serializable; public class StravaActivity implements Serializable { int id; String name; String startDate; String locationCity; String locationState; float distance; float totalElevationGain; public StravaActivity(int id, String name, String startDate, String locationCity, String locationState, float distance, float totalElevationGain) { this.id = id; this.name = name; this.startDate = startDate; this.locationCity = locationCity; this.locationState = locationState; this.distance = distance; this.totalElevationGain = totalElevationGain; } public int getId() { return id; } public String getName() { return name; } public String getStartDate() { return startDate; } public String getLocationCity() { return locationCity; } public String getLocationState() { return locationState; } public float getDistance() { return distance; } public float getTotalElevationGain() { return totalElevationGain; } @Override public String toString() { return name; } }