public class StravaActivity extends Object implements StravaCacheable<Integer>
A run, ride, or other activity
| Constructor and Description |
|---|
StravaActivity()
No args constructor
|
public Integer getAchievementCount()
public StravaAthlete getAthlete()
public Integer getAthleteCount()
public Float getAverageCadence()
public Float getAverageHeartrate()
public Float getAverageSpeed()
public Float getAverageTemp()
public Float getAverageWatts()
public List<StravaBestRunningEffort> getBestEfforts()
public Float getCalories()
public Integer getCommentCount()
public Boolean getCommute()
public String getDescription()
public Boolean getDeviceWatts()
public Float getDistance()
public Integer getElapsedTime()
public String getEmbedToken()
public StravaMapPoint getEndLatlng()
public String getExternalId()
public Boolean getFlagged()
public StravaGear getGear()
public String getGearId()
public Boolean getHasKudoed()
public Integer getId()
getId in interface StravaCacheable<Integer>public String getInstagramPrimaryPhoto()
public Float getKilojoules()
public Integer getKudosCount()
@Deprecated public String getLocationCity()
@Deprecated public String getLocationCountry()
@Deprecated public String getLocationState()
public Boolean getManual()
public StravaMap getMap()
public Integer getMaxHeartrate()
public Float getMaxSpeed()
public Integer getMovingTime()
public String getName()
public Integer getPhotoCount()
public StravaActivityPhotos getPhotos()
public Boolean getPrivateActivity()
public StravaResourceState getResourceState()
getResourceState in interface StravaCacheable<Integer>public List<StravaSegmentEffort> getSegmentEfforts()
public List<StravaSplit> getSplitsMetric()
public List<StravaSplit> getSplitsStandard()
public ZonedDateTime getStartDate()
public LocalDateTime getStartDateLocal()
public Float getStartLatitude()
public StravaMapPoint getStartLatlng()
public Float getStartLongitude()
public String getTimezone()
public Float getTotalElevationGain()
public Integer getTotalPhotoCount()
public Boolean getTrainer()
public StravaActivityType getType()
public Integer getUploadId()
public StravaVideo getVideo()
public Float getWeightedAverageWatts()
public StravaWorkoutType getWorkoutType()
public void setAchievementCount(Integer achievementCount)
achievementCount - the achievementCount to setpublic void setAthlete(StravaAthlete athlete)
athlete - the athlete to setpublic void setAthleteCount(Integer athleteCount)
athleteCount - the athleteCount to setpublic void setAverageCadence(Float averageCadence)
averageCadence - the averageCadence to setpublic void setAverageHeartrate(Float averageHeartrate)
averageHeartrate - the averageHeartrate to setpublic void setAverageSpeed(Float averageSpeed)
averageSpeed - the averageSpeed to setpublic void setAverageTemp(Float averageTemp)
averageTemp - the averageTemp to setpublic void setAverageWatts(Float averageWatts)
averageWatts - the averageWatts to setpublic void setBestEfforts(List<StravaBestRunningEffort> bestEfforts)
bestEfforts - the bestEfforts to setpublic void setCalories(Float calories)
calories - the calories to setpublic void setCommentCount(Integer commentCount)
commentCount - the commentCount to setpublic void setCommute(Boolean commute)
commute - the commute to setpublic void setDescription(String description)
description - the description to setpublic void setDeviceWatts(Boolean deviceWatts)
deviceWatts - the deviceWatts to setpublic void setDistance(Float distance)
distance - the distance to setpublic void setElapsedTime(Integer elapsedTime)
elapsedTime - the elapsedTime to setpublic void setEmbedToken(String embedToken)
embedToken - the embedToken to setpublic void setEndLatlng(StravaMapPoint endLatlng)
endLatlng - the endLatlng to setpublic void setExternalId(String externalId)
externalId - the externalId to setpublic void setFlagged(Boolean flagged)
flagged - the flagged to setpublic void setGear(StravaGear gear)
gear - the gear to setpublic void setGearId(String gearId)
gearId - the gearId to setpublic void setHasKudoed(Boolean hasKudoed)
hasKudoed - the hasKudoed to setpublic void setId(Integer id)
id - the id to setpublic void setInstagramPrimaryPhoto(String instagramPrimaryPhoto)
instagramPrimaryPhoto - the instagramPrimaryPhoto to setpublic void setKilojoules(Float kilojoules)
kilojoules - the kilojoules to setpublic void setKudosCount(Integer kudosCount)
kudosCount - the kudosCount to set@Deprecated public void setLocationCity(String locationCity)
locationCity - the locationCity to set@Deprecated public void setLocationCountry(String locationCountry)
locationCountry - the locationCountry to set@Deprecated public void setLocationState(String locationState)
locationState - the locationState to setpublic void setManual(Boolean manual)
manual - the manual to setpublic void setMap(StravaMap map)
map - the map to setpublic void setMaxHeartrate(Integer maxHeartrate)
maxHeartrate - the maxHeartrate to setpublic void setMaxSpeed(Float maxSpeed)
maxSpeed - the maxSpeed to setpublic void setMovingTime(Integer movingTime)
movingTime - the movingTime to setpublic void setName(String name)
name - the name to setpublic void setPhotoCount(Integer photoCount)
photoCount - the photoCount to setpublic void setPhotos(StravaActivityPhotos photos)
photos - the photos to setpublic void setPrivateActivity(Boolean privateActivity)
privateActivity - the privateActivity to setpublic void setResourceState(StravaResourceState resourceState)
resourceState - the resourceState to setpublic void setSegmentEfforts(List<StravaSegmentEffort> segmentEfforts)
segmentEfforts - the segmentEfforts to setpublic void setSplitsMetric(List<StravaSplit> splitsMetric)
splitsMetric - the splitsMetric to setpublic void setSplitsStandard(List<StravaSplit> splitsStandard)
splitsStandard - the splitsStandard to setpublic void setStartDate(ZonedDateTime startDate)
startDate - the startDate to setpublic void setStartDateLocal(LocalDateTime startDateLocal)
startDateLocal - the startDateLocal to setpublic void setStartLatitude(Float startLatitude)
startLatitude - the startLatitude to setpublic void setStartLatlng(StravaMapPoint startLatlng)
startLatlng - the startLatlng to setpublic void setStartLongitude(Float startLongitude)
startLongitude - the startLongitude to setpublic void setTimezone(String timezone)
timezone - the timezone to setpublic void setTotalElevationGain(Float totalElevationGain)
totalElevationGain - the totalElevationGain to setpublic void setTotalPhotoCount(Integer totalPhotoCount)
totalPhotoCount - the totalPhotoCount to setpublic void setTrainer(Boolean trainer)
trainer - the trainer to setpublic void setType(StravaActivityType type)
type - the type to setpublic void setUploadId(Integer uploadId)
uploadId - the uploadId to setpublic void setVideo(StravaVideo video)
video - the video to setpublic void setWeightedAverageWatts(Float weightedAverageWatts)
weightedAverageWatts - the weightedAverageWatts to setpublic void setWorkoutType(StravaWorkoutType workoutType)
workoutType - the workoutType to setpublic Boolean getHasHeartrate()
public void setHasHeartrate(Boolean hasHeartrate)
public String getDeviceName()
public void setDeviceName(String deviceName)
Copyright © 2016 Dan Shannon. All rights reserved.