Uses of Interface
co.tryterra.terraclient.api.User
-
Packages that use User Package Description co.tryterra.terraclient.api This package contains all the interfaces used by this library. -
-
Uses of User in co.tryterra.terraclient.api
Methods in co.tryterra.terraclient.api that return User Modifier and Type Method Description @Nullable User
TerraApiResponse. getUser()
The user that the request fetched data for.Methods in co.tryterra.terraclient.api that return types with arguments of type User Modifier and Type Method Description Future<? extends TerraApiResponse<? extends User>>
TerraClientV2. getAllUsers()
Makes a request to the/subscriptions
endpoint to fetch all users registered with your developer ID.Future<? extends TerraApiResponse<? extends User>>
TerraClientV2. getUser(PartialUser user)
Asynchronously makes a request to the/userInfo
endpoint to fetch the details for the user represented by the givenPartialUser
.Future<? extends TerraApiResponse<? extends User>>
TerraClientV2. getUser(String userId)
Makes a request to the/userInfo
endpoint to fetch the details for the user with the given ID.Optional<User>
TerraWebhookPayload. getUser()
Get the user that the webhook event is for.
-