public class StravaPhoto extends Object implements StravaCacheable<Integer>
Photos are external objects associated with an activity. Currently, the only external photo source is Instagram.
| Constructor and Description |
|---|
StravaPhoto()
no args constructor
|
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public Integer getActivityId()
public String getActivityName()
public String getCaption()
public ZonedDateTime getCreatedAt()
public LocalDateTime getCreatedAtLocal()
public Integer getId()
getId in interface StravaCacheable<Integer>public StravaMapPoint getLocation()
public String getRef()
public StravaResourceState getResourceState()
getResourceState in interface StravaCacheable<Integer>public StravaPhotoSource getSource()
public StravaPhotoType getType()
public String getUid()
public String getUniqueId()
public ZonedDateTime getUploadedAt()
public StravaPhotoUrls getUrls()
public Boolean getUsePrimaryPhoto()
public int hashCode()
hashCode in class ObjectObject.hashCode()public void setActivityId(Integer activityId)
activityId - the activityId to setpublic void setActivityName(String activityName)
activityName - the activityName to setpublic void setCaption(String caption)
caption - the caption to setpublic void setCreatedAt(ZonedDateTime createdAt)
createdAt - the createdAt to setpublic void setCreatedAtLocal(LocalDateTime createdAtLocal)
createdAtLocal - the createdAtLocal to setpublic void setId(Integer id)
id - the id to setpublic void setLocation(StravaMapPoint location)
location - the location to setpublic void setRef(String ref)
ref - the ref to setpublic void setResourceState(StravaResourceState resourceState)
resourceState - the resourceState to setpublic void setSource(StravaPhotoSource source)
source - the source to setpublic void setType(StravaPhotoType type)
type - the type to setpublic void setUid(String uid)
uid - the uid to setpublic void setUniqueId(String uniqueId)
uniqueId - the uniqueId to setpublic void setUploadedAt(ZonedDateTime uploadedAt)
uploadedAt - the uploadedAt to setpublic void setUrls(StravaPhotoUrls urls)
urls - the urls to setpublic void setUsePrimaryPhoto(Boolean usePrimaryPhoto)
usePrimaryPhoto - the usePrimaryPhoto to setpublic String toString()
toString in class ObjectObject.toString()Copyright © 2016 Dan Shannon. All rights reserved.