Uses of Class
co.tryterra.terraclient.models.Athlete
-
Packages that use Athlete Package Description co.tryterra.terraclient.api This package contains all the interfaces used by this library. -
-
Uses of Athlete in co.tryterra.terraclient.api
Methods in co.tryterra.terraclient.api that return types with arguments of type Athlete Modifier and Type Method Description Optional<Athlete>
TerraWebhookPayload. asAthlete()
Attempt to parse the raw payload as anAthlete
object.Future<TerraApiResponse<Athlete>>
TerraClientV2. getAthleteForUser(PartialUser user)
Asynchronously makes a request to the/athlete
endpoint to fetch the athlete data for the given user.Future<TerraApiResponse<Athlete>>
TerraClientV2. getAthleteForUser(PartialUser user, RequestConfig requestConfig)
Asynchronously makes a request to the/athlete
endpoint to fetch the athlete data for the given user.
-