Uses of Class
co.tryterra.terraclient.models.v2.activity.Activity
-
Packages that use Activity Package Description co.tryterra.terraclient.api This package contains all the interfaces used by this library. -
-
Uses of Activity in co.tryterra.terraclient.api
Methods in co.tryterra.terraclient.api that return types with arguments of type Activity Modifier and Type Method Description Optional<List<Activity>>
TerraWebhookPayload. asActivityV2()
Attempt to parse the raw payload as anActivity
object (API version 2).Future<TerraApiResponse<Activity>>
TerraClientV2. getActivityForUser(PartialUser user, Instant startTime, @Nullable Instant endTime)
Asynchronously makes a request to the/activity
endpoint to fetch the activity data for the given user.Future<TerraApiResponse<Activity>>
TerraClientV2. getActivityForUser(PartialUser user, Instant startTime, @Nullable Instant endTime, RequestConfig requestConfig)
Asynchronously makes a request to the/activity
endpoint to fetch the activity data for the given user.
-