public class StravaProfile extends OAuth20Profile
This class is the user profile for Strava with appropriate getters.
It is returned by the StravaClient
.
logger, SEPARATOR
Constructor and Description |
---|
StravaProfile() |
Modifier and Type | Method and Description |
---|---|
List<StravaGear> |
getBikes() |
List<StravaClub> |
getClubs() |
String |
getCountry() |
Date |
getCreatedAt() |
String |
getDatePreference() |
String |
getDisplayName()
Return the displayed name of the user.
|
String |
getFamilyName()
Return the family name of the user.
|
String |
getFirstName()
Return the first name of the user.
|
Integer |
getFollowerCount() |
Integer |
getFriendCount() |
Gender |
getGender()
Return the gender of the user.
|
String |
getLocation()
Return the location of the user.
|
String |
getMeasurementPreference() |
URI |
getPictureUrl()
Return the url of the picture of the user.
|
String |
getProfileMedium() |
URI |
getProfileUrl()
Return the url of the profile of the user.
|
Integer |
getResourceState() |
List<StravaGear> |
getShoes() |
String |
getState() |
Date |
getUpdatedAt() |
Boolean |
isPremium() |
clearSensitiveData, getAccessToken, setAccessToken
getEmail, getLocale, getUsername
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, build, containsAttribute, containsAuthenicationAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setRemembered, toString, writeExternal
public String getFirstName()
CommonProfile
getFirstName
in class CommonProfile
public String getFamilyName()
CommonProfile
getFamilyName
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public URI getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public URI getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public String getLocation()
CommonProfile
getLocation
in class CommonProfile
public Gender getGender()
CommonProfile
getGender
in class CommonProfile
public Integer getResourceState()
public String getProfileMedium()
public String getState()
public String getCountry()
public Boolean isPremium()
public Date getCreatedAt()
public Date getUpdatedAt()
public Integer getFollowerCount()
public Integer getFriendCount()
public String getDatePreference()
public String getMeasurementPreference()
public List<StravaGear> getBikes()
public List<StravaGear> getShoes()
public List<StravaClub> getClubs()
Copyright © 2018. All rights reserved.