public class StravaComment extends Object implements StravaCacheable<Integer>
Record of an individual comment made on an activity
| Constructor and Description |
|---|
StravaComment()
No args constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getActivityId() |
StravaAthlete |
getAthlete() |
ZonedDateTime |
getCreatedAt() |
Integer |
getId() |
StravaResourceState |
getResourceState() |
String |
getText() |
int |
hashCode() |
void |
setActivityId(Integer activityId) |
void |
setAthlete(StravaAthlete athlete) |
void |
setCreatedAt(ZonedDateTime createdAt) |
void |
setId(Integer id) |
void |
setResourceState(StravaResourceState resourceState) |
void |
setText(String text) |
String |
toString() |
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public Integer getActivityId()
public StravaAthlete getAthlete()
public ZonedDateTime getCreatedAt()
public Integer getId()
getId in interface StravaCacheable<Integer>public StravaResourceState getResourceState()
getResourceState in interface StravaCacheable<Integer>public String getText()
public int hashCode()
hashCode in class ObjectObject.hashCode()public void setActivityId(Integer activityId)
activityId - the activityId to setpublic void setAthlete(StravaAthlete athlete)
athlete - the athlete to setpublic void setCreatedAt(ZonedDateTime createdAt)
createdAt - the createdAt to setpublic void setId(Integer id)
id - the id to setpublic void setResourceState(StravaResourceState resourceState)
resourceState - the resourceState to setpublic void setText(String text)
text - the text to setpublic String toString()
toString in class ObjectObject.toString()Copyright © 2016 Dan Shannon. All rights reserved.