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() |
clearSensitiveData, getAccessToken, setAccessToken
getLocale, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addPermissions, addRole, addRoles, addRoles, build, getAttribute, getAttribute, getAttributes, getClientName, getId, getOldTypedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setRemembered, toString, writeExternal
public AttributesDefinition getAttributesDefinition()
UserProfile
null
for a (generic) user profile.getAttributesDefinition
in class UserProfile
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 String getEmail()
CommonProfile
getEmail
in class CommonProfile
public String getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public String 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 © 2016. All rights reserved.