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, setAccessTokengetEmail, getLocale, getUsernameaddAttribute, 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, writeExternalpublic String getFirstName()
CommonProfilegetFirstName in class CommonProfilepublic String getFamilyName()
CommonProfilegetFamilyName in class CommonProfilepublic String getDisplayName()
CommonProfilegetDisplayName in class CommonProfilepublic URI getPictureUrl()
CommonProfilegetPictureUrl in class CommonProfilepublic URI getProfileUrl()
CommonProfilegetProfileUrl in class CommonProfilepublic String getLocation()
CommonProfilegetLocation in class CommonProfilepublic Gender getGender()
CommonProfilegetGender in class CommonProfilepublic 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 © 2017. All rights reserved.