public class StravaClubAnnouncement extends Object implements StravaCacheable<Integer>
Announcements are posts sent by Club Admins or Owners to the members of a club. Only members of private clubs can access their announcements. The objects are returned in summary representation.
| Constructor and Description |
|---|
StravaClubAnnouncement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
StravaAthlete |
getAthlete() |
Integer |
getClubId() |
ZonedDateTime |
getCreatedAt() |
Integer |
getId() |
String |
getMessage() |
StravaResourceState |
getResourceState() |
int |
hashCode() |
void |
setAthlete(StravaAthlete athlete) |
void |
setClubId(Integer clubId) |
void |
setCreatedAt(ZonedDateTime createdAt) |
void |
setId(Integer id) |
void |
setMessage(String message) |
void |
setResourceState(StravaResourceState resourceState) |
String |
toString() |
public Integer getId()
getId in interface StravaCacheable<Integer>public void setId(Integer id)
id - the id to setpublic StravaResourceState getResourceState()
getResourceState in interface StravaCacheable<Integer>public void setResourceState(StravaResourceState resourceState)
resourceState - the resourceState to setpublic Integer getClubId()
public void setClubId(Integer clubId)
clubId - the clubId to setpublic StravaAthlete getAthlete()
public void setAthlete(StravaAthlete athlete)
athlete - the athlete to setpublic ZonedDateTime getCreatedAt()
public void setCreatedAt(ZonedDateTime createdAt)
createdAt - the createdAt to setpublic String getMessage()
public void setMessage(String message)
message - the message to setpublic String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)Copyright © 2016 Dan Shannon. All rights reserved.