A B C D E F G H I L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCOUNT_DEFAULT - co.tryterra.terraclient.RequestConfig.Samples
-
Use the account default.
- ActiveDurationsData - Class in co.tryterra.terraclient.models.v2.activity
- ActiveDurationsData() - Constructor for class co.tryterra.terraclient.models.v2.activity.ActiveDurationsData
- Activity - Class in co.tryterra.terraclient.models.v2.activity
- Activity() - Constructor for class co.tryterra.terraclient.models.v2.activity.Activity
- ActivityLevelSample - Class in co.tryterra.terraclient.models.v2.samples
- ActivityLevelSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.ActivityLevelSample
- addDefaultEventHandler(Consumer<TerraWebhookPayload>) - Method in class co.tryterra.terraclient.WebhookHandlerUtility
-
Registers a handler method that will be called if no other handler method can be resolved for a received event type.
- addEventHandler(String, Consumer<TerraWebhookPayload>) - Method in class co.tryterra.terraclient.WebhookHandlerUtility
-
Registers a handler method for the given event type.
- AfibClassificationSample - Class in co.tryterra.terraclient.models.v2.samples
- AfibClassificationSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.AfibClassificationSample
- asActivityV2() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as an
Activity
object (API version 2). - asAthlete() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as an
Athlete
object. - asAuthData() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as a
AuthData
object. - asBodyV2() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as a
Body
object (API version 2). - asDailyV2() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as a
Daily
object (API version 2). - asDeauthData() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as a
DeauthData
object. - Asleep() - Constructor for class co.tryterra.terraclient.models.v2.sleep.SleepDurationsData.Asleep
- asMenstruationV2() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as a
Menstruation
object (API version 2). - asNutritionV2() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as a
Nutrition
object (API version 2). - asReauthData() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as a
ReauthData
object. - asRequestProcessing() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as an
RequestProcessing
object. - asSleepV2() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Attempt to parse the raw payload as an
Sleep
object (API version 2). - Athlete - Class in co.tryterra.terraclient.models
- Athlete() - Constructor for class co.tryterra.terraclient.models.Athlete
- AuthData - Class in co.tryterra.terraclient.models
- AuthData() - Constructor for class co.tryterra.terraclient.models.AuthData
- AuthenticationResponse - Class in co.tryterra.terraclient.models
- AuthenticationResponse() - Constructor for class co.tryterra.terraclient.models.AuthenticationResponse
- avgHrBpm - Variable in class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
- avgHrvRmssd - Variable in class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
- avgHrvSdnn - Variable in class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
- Awake() - Constructor for class co.tryterra.terraclient.models.v2.sleep.SleepDurationsData.Awake
B
- BloodPressureData - Class in co.tryterra.terraclient.models.v2.body
- BloodPressureData() - Constructor for class co.tryterra.terraclient.models.v2.body.BloodPressureData
- BloodPressureSample - Class in co.tryterra.terraclient.models.v2.samples
- BloodPressureSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.BloodPressureSample
- Body - Class in co.tryterra.terraclient.models.v2.body
- Body() - Constructor for class co.tryterra.terraclient.models.v2.body.Body
- BodyParsingException - Exception in co.tryterra.terraclient.exceptions
-
Exception thrown internally when a non-JSON payload, or malformed JSON payload is attempted to be parsed.
- BodyParsingException(String) - Constructor for exception co.tryterra.terraclient.exceptions.BodyParsingException
- BodyParsingException(Throwable) - Constructor for exception co.tryterra.terraclient.exceptions.BodyParsingException
- BreathSample - Class in co.tryterra.terraclient.models.v2.samples
- BreathSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.BreathSample
- BreathsData() - Constructor for class co.tryterra.terraclient.models.v2.sleep.RespirationData.BreathsData
- build() - Method in class co.tryterra.terraclient.RequestConfig.Builder
-
Create a
RequestConfig
object from this builder. - builder() - Static method in class co.tryterra.terraclient.RequestConfig
C
- CadenceSample - Class in co.tryterra.terraclient.models.v2.samples
- CadenceSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.CadenceSample
- CalorieSample - Class in co.tryterra.terraclient.models.v2.samples
- CalorieSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.CalorieSample
- CaloriesData - Class in co.tryterra.terraclient.models.v2.common
- CaloriesData() - Constructor for class co.tryterra.terraclient.models.v2.common.CaloriesData
- co.tryterra.terraclient - module co.tryterra.terraclient
- co.tryterra.terraclient - package co.tryterra.terraclient
- co.tryterra.terraclient.api - package co.tryterra.terraclient.api
-
This package contains all the interfaces used by this library.
- co.tryterra.terraclient.api.annotations - package co.tryterra.terraclient.api.annotations
-
This package contains all the annotations used by this library.
- co.tryterra.terraclient.exceptions - package co.tryterra.terraclient.exceptions
- co.tryterra.terraclient.models - package co.tryterra.terraclient.models
-
This package contains all data models used when deserializing Terra API responses.
- co.tryterra.terraclient.models.v2.activity - package co.tryterra.terraclient.models.v2.activity
- co.tryterra.terraclient.models.v2.body - package co.tryterra.terraclient.models.v2.body
- co.tryterra.terraclient.models.v2.common - package co.tryterra.terraclient.models.v2.common
- co.tryterra.terraclient.models.v2.daily - package co.tryterra.terraclient.models.v2.daily
- co.tryterra.terraclient.models.v2.menstruation - package co.tryterra.terraclient.models.v2.menstruation
- co.tryterra.terraclient.models.v2.nutrition - package co.tryterra.terraclient.models.v2.nutrition
- co.tryterra.terraclient.models.v2.samples - package co.tryterra.terraclient.models.v2.samples
- co.tryterra.terraclient.models.v2.sleep - package co.tryterra.terraclient.models.v2.sleep
D
- Daily - Class in co.tryterra.terraclient.models.v2.daily
- Daily() - Constructor for class co.tryterra.terraclient.models.v2.daily.Daily
- DailyDistanceData - Class in co.tryterra.terraclient.models.v2.daily
- DailyDistanceData() - Constructor for class co.tryterra.terraclient.models.v2.daily.DailyDistanceData
- DailyDistanceData.Detailed - Class in co.tryterra.terraclient.models.v2.daily
- DailyDistanceData.Elevation - Class in co.tryterra.terraclient.models.v2.daily
- DailyDistanceData.Swimming - Class in co.tryterra.terraclient.models.v2.daily
- DeauthData - Class in co.tryterra.terraclient.models
- DeauthData() - Constructor for class co.tryterra.terraclient.models.DeauthData
- deauthenticateUser(PartialUser) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/deauthenticateUser
endpoint to deauthenticate the given user with Terra, terminating the connection. - Detailed() - Constructor for class co.tryterra.terraclient.models.v2.common.DistanceData.Detailed
- Detailed() - Constructor for class co.tryterra.terraclient.models.v2.common.HeartRateData.Detailed
- Detailed() - Constructor for class co.tryterra.terraclient.models.v2.daily.DailyDistanceData.Detailed
- DeviceData - Class in co.tryterra.terraclient.models.v2.common
- DeviceData() - Constructor for class co.tryterra.terraclient.models.v2.common.DeviceData
- DistanceData - Class in co.tryterra.terraclient.models.v2.common
- DistanceData() - Constructor for class co.tryterra.terraclient.models.v2.common.DistanceData
- DistanceData.Detailed - Class in co.tryterra.terraclient.models.v2.common
- DistanceData.Summary - Class in co.tryterra.terraclient.models.v2.common
- DistanceData.Summary.Elevation - Class in co.tryterra.terraclient.models.v2.common
- DistanceData.Summary.Swimming - Class in co.tryterra.terraclient.models.v2.common
- DistanceSample - Class in co.tryterra.terraclient.models.v2.samples
- DistanceSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.DistanceSample
E
- ECGReading - Class in co.tryterra.terraclient.models.v2.samples
- ECGReading() - Constructor for class co.tryterra.terraclient.models.v2.samples.ECGReading
- Elevation() - Constructor for class co.tryterra.terraclient.models.v2.common.DistanceData.Summary.Elevation
- Elevation() - Constructor for class co.tryterra.terraclient.models.v2.daily.DailyDistanceData.Elevation
- ElevationSample - Class in co.tryterra.terraclient.models.v2.samples
- ElevationSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.ElevationSample
- EnergyData - Class in co.tryterra.terraclient.models.v2.activity
- EnergyData() - Constructor for class co.tryterra.terraclient.models.v2.activity.EnergyData
- EXCLUDE - co.tryterra.terraclient.RequestConfig.Samples
-
Exclude samples from the response data.
F
- FloorsClimbedSample - Class in co.tryterra.terraclient.models.v2.samples
- FloorsClimbedSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.FloorsClimbedSample
G
- generateAuthenticationURL(String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/authenticateUser
endpoint to authenticate a user for the specified resource
If successful, the response will have a 200 status code with the authentication URL. - generateAuthenticationURL(String, String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/authenticateUser
endpoint to authenticate a user for the specified resource
If successful, the response will have a 200 status code with the authentication URL. - generateAuthenticationURL(String, String, String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/authenticateUser
endpoint to authenticate a user for the specified resource
If successful, the response will have a 200 status code with the authentication URL. - generateAuthenticationURL(String, String, String, String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/authenticateUser
endpoint to authenticate a user for the specified resource
If successful, the response will have a 200 status code with the authentication URL. - GenerateWidgetResponse - Class in co.tryterra.terraclient.models
- GenerateWidgetResponse() - Constructor for class co.tryterra.terraclient.models.GenerateWidgetResponse
- generateWidgetSession(String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/generateWidgetSession
endpoint to generate a widget session for user authentication
If successful, the response will have a 200 status code with the widget session link. - generateWidgetSession(String, String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/generateWidgetSession
endpoint to generate a widget session for user authentication
If successful, the response will have a 200 status code with the widget session link. - generateWidgetSession(String, String, String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/generateWidgetSession
endpoint to generate a widget session for user authentication
If successful, the response will have a 200 status code with the widget session link. - generateWidgetSession(String, String, String, String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/generateWidgetSession
endpoint to generate a widget session for user authentication
If successful, the response will have a 200 status code with the widget session link. - generateWidgetSession(String, String, String, String, String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/generateWidgetSession
endpoint to generate a widget session for user authentication
If successful, the response will have a 200 status code with the widget session link. - generateWidgetSession(String, String, String, String, String, boolean) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/auth/generateWidgetSession
endpoint to generate a widget session for user authentication
If successful, the response will have a 200 status code with the widget session link. - getActivityForUser(PartialUser, Instant, Instant) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/activity
endpoint to fetch the activity data for the given user. - getActivityForUser(PartialUser, Instant, Instant, RequestConfig) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/activity
endpoint to fetch the activity data for the given user. - getAllUsers() - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Makes a request to the
/subscriptions
endpoint to fetch all users registered with your developer ID. - getAthleteForUser(PartialUser) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/athlete
endpoint to fetch the athlete data for the given user. - getAthleteForUser(PartialUser, RequestConfig) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/athlete
endpoint to fetch the athlete data for the given user. - getBodyForUser(PartialUser, Instant, Instant) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/body
endpoint to fetch the body data for the given user. - getBodyForUser(PartialUser, Instant, Instant, RequestConfig) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/body
endpoint to fetch the body data for the given user. - getClientV2(String, String) - Static method in class co.tryterra.terraclient.TerraClientFactory
-
Creates a new
TerraClientV2
instance using the authentication information provided, as well as the default request config. - getClientV2(String, String, RequestConfig) - Static method in class co.tryterra.terraclient.TerraClientFactory
-
Creates a new
TerraClientV2
instance using the authentication information provided, as well as the given request config. - getClientV2(String, String, String) - Static method in class co.tryterra.terraclient.TerraClientFactory
-
Creates a new
TerraClientV2
instance using the authentication information provided, as well as the default request config. - getClientV2(String, String, String, RequestConfig) - Static method in class co.tryterra.terraclient.TerraClientFactory
-
Creates a new
TerraClientV2
instance using the authentication information provided, as well as the given request config. - getDailyForUser(PartialUser, Instant, Instant) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/daily
endpoint to fetch the daily data for the given user. - getDailyForUser(PartialUser, Instant, Instant, RequestConfig) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/daily
endpoint to fetch the daily data for the given user. - getId() - Method in interface co.tryterra.terraclient.api.PartialUser
-
The user's ID.
- getLastWebhookUpdate() - Method in interface co.tryterra.terraclient.api.User
-
The last time the user's data was attempted to be updated by Terra.
- getMenstruationForUser(PartialUser, Instant, Instant) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/menstruation
endpoint to fetch the menstruation data for the given user. - getMenstruationForUser(PartialUser, Instant, Instant, RequestConfig) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/menstruation
endpoint to fetch the menstruation data for the given user. - getMessage() - Method in interface co.tryterra.terraclient.api.TerraApiResponse
-
The value of the
message
key in the returned response body. - getNutritionForUser(PartialUser, Instant, Instant) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/nutrition
endpoint to fetch the nutrition data for the given user. - getNutritionForUser(PartialUser, Instant, Instant, RequestConfig) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/nutrition
endpoint to fetch the nutrition data for the given user. - getParsedData() - Method in interface co.tryterra.terraclient.api.TerraApiResponse
-
The data parsed from the response body as a list of Java objects.
- getProvider() - Method in interface co.tryterra.terraclient.api.User
-
The provider that this user is registered with.
- getRaw() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
The raw, unparsed JSON body for the request.
- getRawBody() - Method in interface co.tryterra.terraclient.api.TerraApiResponse
-
The raw, unparsed JSON body returned with the response.
- getReferenceId() - Method in interface co.tryterra.terraclient.api.User
- getResponseCode() - Method in interface co.tryterra.terraclient.api.TerraApiResponse
-
The HTTP response code that Terra returned from the request.
- getScopes() - Method in interface co.tryterra.terraclient.api.User
-
The scopes that this user allowed.
- getSleepForUser(PartialUser, Instant, Instant) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/sleep
endpoint to fetch the sleep data for the given user. - getSleepForUser(PartialUser, Instant, Instant, RequestConfig) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/sleep
endpoint to fetch the sleep data for the given user. - getType() - Method in interface co.tryterra.terraclient.api.TerraApiResponse
-
The value of the
type
key in the returned response body. - getType() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Get the type of the webhook event.
- getUser() - Method in interface co.tryterra.terraclient.api.TerraApiResponse
-
The user that the request fetched data for.
- getUser() - Method in interface co.tryterra.terraclient.api.TerraWebhookPayload
-
Get the user that the webhook event is for.
- getUser(PartialUser) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/userInfo
endpoint to fetch the details for the user represented by the givenPartialUser
. - getUser(String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Makes a request to the
/userInfo
endpoint to fetch the details for the user with the given ID. - getWithSamples() - Method in class co.tryterra.terraclient.RequestConfig
-
The value that will be sent to indicate whether the API should return data samples with the response body.
- GlucoseData - Class in co.tryterra.terraclient.models.v2.body
- GlucoseData() - Constructor for class co.tryterra.terraclient.models.v2.body.GlucoseData
- GlucoseDataSample - Class in co.tryterra.terraclient.models.v2.samples
- GlucoseDataSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.GlucoseDataSample
H
- HeartData - Class in co.tryterra.terraclient.models.v2.body
- HeartData() - Constructor for class co.tryterra.terraclient.models.v2.body.HeartData
- HeartRateData - Class in co.tryterra.terraclient.models.v2.common
- HeartRateData() - Constructor for class co.tryterra.terraclient.models.v2.common.HeartRateData
- HeartRateData.Detailed - Class in co.tryterra.terraclient.models.v2.common
- HeartRateData.Summary - Class in co.tryterra.terraclient.models.v2.common
- HeartRateDataSample - Class in co.tryterra.terraclient.models.v2.samples
- HeartRateDataSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.HeartRateDataSample
- HeartRateVariabilityDataSampleSdnn - Class in co.tryterra.terraclient.models.v2.samples
- HeartRateVariabilityDataSampleSdnn() - Constructor for class co.tryterra.terraclient.models.v2.samples.HeartRateVariabilityDataSampleSdnn
- HeartRateVariablilitySampleRmssd - Class in co.tryterra.terraclient.models.v2.samples
- HeartRateVariablilitySampleRmssd() - Constructor for class co.tryterra.terraclient.models.v2.samples.HeartRateVariablilitySampleRmssd
- HeartRateZoneData - Class in co.tryterra.terraclient.models.v2.samples
- HeartRateZoneData() - Constructor for class co.tryterra.terraclient.models.v2.samples.HeartRateZoneData
- hrZoneData - Variable in class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
- HydrationData - Class in co.tryterra.terraclient.models.v2.body
- HydrationData() - Constructor for class co.tryterra.terraclient.models.v2.body.HydrationData
- HydrationLevelSample - Class in co.tryterra.terraclient.models.v2.samples
- HydrationLevelSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.HydrationLevelSample
- HydrationMeasurementSample - Class in co.tryterra.terraclient.models.v2.samples
- HydrationMeasurementSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.HydrationMeasurementSample
I
- INCLUDE - co.tryterra.terraclient.RequestConfig.Samples
-
Include samples in the response data.
- isRetryIfRateLimited() - Method in class co.tryterra.terraclient.RequestConfig
-
The value that will be sent to indicate whether the request will be retried later if rate limited.
- isSuccessful() - Method in interface co.tryterra.terraclient.api.TerraApiResponse
-
Whether the request to Terra returned a successful HTTP response code.
- isToWebhook() - Method in class co.tryterra.terraclient.RequestConfig
-
The value that will be sent to indicate whether the API should send the data directly to the developer's webhook URL.
L
- LapData - Class in co.tryterra.terraclient.models.v2.activity
- LapData() - Constructor for class co.tryterra.terraclient.models.v2.activity.LapData
- LapSample - Class in co.tryterra.terraclient.models.v2.samples
- LapSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.LapSample
- listProviders() - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Asynchronously makes a request to the
/integrations
endpoint to fetch a list of all available providers.
M
- Macros - Class in co.tryterra.terraclient.models.v2.common
- Macros() - Constructor for class co.tryterra.terraclient.models.v2.common.Macros
- maxHrBpm - Variable in class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
- Meal - Class in co.tryterra.terraclient.models.v2.samples
- Meal() - Constructor for class co.tryterra.terraclient.models.v2.samples.Meal
- Meal.Quantity - Class in co.tryterra.terraclient.models.v2.samples
- MeasurementDataSample - Class in co.tryterra.terraclient.models.v2.samples
- MeasurementDataSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.MeasurementDataSample
- MeasurementsData - Class in co.tryterra.terraclient.models.v2.body
- MeasurementsData() - Constructor for class co.tryterra.terraclient.models.v2.body.MeasurementsData
- Menstruation - Class in co.tryterra.terraclient.models.v2.menstruation
- Menstruation() - Constructor for class co.tryterra.terraclient.models.v2.menstruation.Menstruation
- MenstruationData - Class in co.tryterra.terraclient.models.v2.menstruation
- MenstruationData() - Constructor for class co.tryterra.terraclient.models.v2.menstruation.MenstruationData
- MenstruationFlowSample - Class in co.tryterra.terraclient.models.v2.samples
- MenstruationFlowSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.MenstruationFlowSample
- Metadata - Class in co.tryterra.terraclient.models.v2.activity
- Metadata - Class in co.tryterra.terraclient.models.v2.common
- Metadata - Class in co.tryterra.terraclient.models.v2.daily
- Metadata - Class in co.tryterra.terraclient.models.v2.sleep
- Metadata() - Constructor for class co.tryterra.terraclient.models.v2.activity.Metadata
- Metadata() - Constructor for class co.tryterra.terraclient.models.v2.common.Metadata
- Metadata() - Constructor for class co.tryterra.terraclient.models.v2.daily.Metadata
- Metadata() - Constructor for class co.tryterra.terraclient.models.v2.sleep.Metadata
- MetData - Class in co.tryterra.terraclient.models.v2.common
- MetData() - Constructor for class co.tryterra.terraclient.models.v2.common.MetData
- MetSample - Class in co.tryterra.terraclient.models.v2.samples
- MetSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.MetSample
- Micros - Class in co.tryterra.terraclient.models.v2.common
- Micros() - Constructor for class co.tryterra.terraclient.models.v2.common.Micros
- minHrBpm - Variable in class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
- MovementData - Class in co.tryterra.terraclient.models.v2.activity
- MovementData() - Constructor for class co.tryterra.terraclient.models.v2.activity.MovementData
N
- Nullable - Annotation Type in co.tryterra.terraclient.api.annotations
-
Anything annotated with this annotation may have a
null
value. - Nutrition - Class in co.tryterra.terraclient.models.v2.nutrition
- Nutrition() - Constructor for class co.tryterra.terraclient.models.v2.nutrition.Nutrition
- Nutrition.Summary - Class in co.tryterra.terraclient.models.v2.nutrition
O
- Other() - Constructor for class co.tryterra.terraclient.models.v2.sleep.SleepDurationsData.Other
- OtherDeviceData - Class in co.tryterra.terraclient.models.v2.samples
- OtherDeviceData() - Constructor for class co.tryterra.terraclient.models.v2.samples.OtherDeviceData
- OxygenData - Class in co.tryterra.terraclient.models.v2.common
- OxygenData() - Constructor for class co.tryterra.terraclient.models.v2.common.OxygenData
- OxygenSaturationData() - Constructor for class co.tryterra.terraclient.models.v2.sleep.RespirationData.OxygenSaturationData
- OxygenSaturationSample - Class in co.tryterra.terraclient.models.v2.samples
- OxygenSaturationSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.OxygenSaturationSample
P
- parseAndDispatchWebhookPayload(String) - Method in class co.tryterra.terraclient.WebhookHandlerUtility
-
Parses the raw payload sent with a webhook request into a
TerraWebhookPayload
and then dispatches it to the correct handler method for its event type. - parseWebhookPayload(String) - Method in class co.tryterra.terraclient.WebhookHandlerUtility
-
Parses the raw payload sent with a webhook request into a
TerraWebhookPayload
. - PartialUser - Interface in co.tryterra.terraclient.api
-
Interface representing a partial Terra user, containing only the user ID.
- PolylineMapData - Class in co.tryterra.terraclient.models.v2.activity
- PolylineMapData() - Constructor for class co.tryterra.terraclient.models.v2.activity.PolylineMapData
- PositionData - Class in co.tryterra.terraclient.models.v2.activity
- PositionData() - Constructor for class co.tryterra.terraclient.models.v2.activity.PositionData
- PositionSample - Class in co.tryterra.terraclient.models.v2.samples
- PositionSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.PositionSample
- PowerData - Class in co.tryterra.terraclient.models.v2.activity
- PowerData() - Constructor for class co.tryterra.terraclient.models.v2.activity.PowerData
- PowerSample - Class in co.tryterra.terraclient.models.v2.samples
- PowerSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.PowerSample
- ProvidersResponse - Class in co.tryterra.terraclient.models
- ProvidersResponse() - Constructor for class co.tryterra.terraclient.models.ProvidersResponse
- PulseVelocitySample - Class in co.tryterra.terraclient.models.v2.samples
- PulseVelocitySample() - Constructor for class co.tryterra.terraclient.models.v2.samples.PulseVelocitySample
Q
- Quantity() - Constructor for class co.tryterra.terraclient.models.v2.samples.Meal.Quantity
R
- RawECGSample - Class in co.tryterra.terraclient.models.v2.samples
- RawECGSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.RawECGSample
- ReadinessData - Class in co.tryterra.terraclient.models.v2.sleep
- ReadinessData() - Constructor for class co.tryterra.terraclient.models.v2.sleep.ReadinessData
- ReauthData - Class in co.tryterra.terraclient.models
- ReauthData() - Constructor for class co.tryterra.terraclient.models.ReauthData
- RequestConfig - Class in co.tryterra.terraclient
-
Class representing request configuration parameters used when making calls to the Terra API.
- RequestConfig.Builder - Class in co.tryterra.terraclient
-
Builder class for
RequestConfig
instances. - RequestConfig.Samples - Enum in co.tryterra.terraclient
-
Enum representing all possible values for the
with_samples
query parameter. - RequestProcessing - Class in co.tryterra.terraclient.models
- RequestProcessing() - Constructor for class co.tryterra.terraclient.models.RequestProcessing
- RespirationData - Class in co.tryterra.terraclient.models.v2.sleep
- RespirationData() - Constructor for class co.tryterra.terraclient.models.v2.sleep.RespirationData
- RespirationData.BreathsData - Class in co.tryterra.terraclient.models.v2.sleep
- RespirationData.OxygenSaturationData - Class in co.tryterra.terraclient.models.v2.sleep
- RespirationData.SnoringData - Class in co.tryterra.terraclient.models.v2.sleep
- restingHrBpm - Variable in class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
- retryIfRateLimited(boolean) - Method in class co.tryterra.terraclient.RequestConfig.Builder
-
Set whether to retry the request if the request has been rate limited by the provider.
- RRIntervalSample - Class in co.tryterra.terraclient.models.v2.samples
- RRIntervalSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.RRIntervalSample
S
- ScoresData - Class in co.tryterra.terraclient.models.v2.daily
- ScoresData() - Constructor for class co.tryterra.terraclient.models.v2.daily.ScoresData
- Sleep - Class in co.tryterra.terraclient.models.v2.sleep
- Sleep() - Constructor for class co.tryterra.terraclient.models.v2.sleep.Sleep
- SleepDurationsData - Class in co.tryterra.terraclient.models.v2.sleep
- SleepDurationsData() - Constructor for class co.tryterra.terraclient.models.v2.sleep.SleepDurationsData
- SleepDurationsData.Asleep - Class in co.tryterra.terraclient.models.v2.sleep
- SleepDurationsData.Awake - Class in co.tryterra.terraclient.models.v2.sleep
- SleepDurationsData.Other - Class in co.tryterra.terraclient.models.v2.sleep
- SleepHypnogramSample - Class in co.tryterra.terraclient.models.v2.samples
- SleepHypnogramSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.SleepHypnogramSample
- SnoringData() - Constructor for class co.tryterra.terraclient.models.v2.sleep.RespirationData.SnoringData
- SnoringSample - Class in co.tryterra.terraclient.models.v2.samples
- SnoringSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.SnoringSample
- SpeedSample - Class in co.tryterra.terraclient.models.v2.samples
- SpeedSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.SpeedSample
- StepSample - Class in co.tryterra.terraclient.models.v2.samples
- StepSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.StepSample
- StrainData - Class in co.tryterra.terraclient.models.v2.activity
- StrainData() - Constructor for class co.tryterra.terraclient.models.v2.activity.StrainData
- strainLevel - Variable in class co.tryterra.terraclient.models.v2.activity.StrainData
- StressData - Class in co.tryterra.terraclient.models.v2.daily
- StressData() - Constructor for class co.tryterra.terraclient.models.v2.daily.StressData
- StressSample - Class in co.tryterra.terraclient.models.v2.samples
- StressSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.StressSample
- Summary() - Constructor for class co.tryterra.terraclient.models.v2.common.DistanceData.Summary
- Summary() - Constructor for class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
- Summary() - Constructor for class co.tryterra.terraclient.models.v2.nutrition.Nutrition.Summary
- Swimming() - Constructor for class co.tryterra.terraclient.models.v2.common.DistanceData.Summary.Swimming
- Swimming() - Constructor for class co.tryterra.terraclient.models.v2.daily.DailyDistanceData.Swimming
T
- TagData - Class in co.tryterra.terraclient.models.v2.daily
- TagData() - Constructor for class co.tryterra.terraclient.models.v2.daily.TagData
- TagEntry - Class in co.tryterra.terraclient.models.v2.samples
- TagEntry() - Constructor for class co.tryterra.terraclient.models.v2.samples.TagEntry
- TemperatureData - Class in co.tryterra.terraclient.models.v2.body
- TemperatureData - Class in co.tryterra.terraclient.models.v2.sleep
- TemperatureData() - Constructor for class co.tryterra.terraclient.models.v2.body.TemperatureData
- TemperatureData() - Constructor for class co.tryterra.terraclient.models.v2.sleep.TemperatureData
- TemperatureSample - Class in co.tryterra.terraclient.models.v2.samples
- TemperatureSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.TemperatureSample
- TerraApiResponse<T> - Interface in co.tryterra.terraclient.api
-
Interface for any response from Terra's API, containing the returned data from the query (if available) as well as the raw, unparsed body as a
JsonNode
. - TerraClientFactory - Class in co.tryterra.terraclient
-
A factory for creating a Terra client instance, which will be used for all requests to the Terra REST API.
- TerraClientFactory() - Constructor for class co.tryterra.terraclient.TerraClientFactory
- TerraClientV2 - Interface in co.tryterra.terraclient.api
-
Interface for facilities to make requests to the Terra API.
- TerraException - Exception in co.tryterra.terraclient.exceptions
-
Base class for all checked exceptions thrown by this library.
- TerraException(String) - Constructor for exception co.tryterra.terraclient.exceptions.TerraException
- TerraException(Throwable) - Constructor for exception co.tryterra.terraclient.exceptions.TerraException
- TerraRuntimeException - Exception in co.tryterra.terraclient.exceptions
-
Base class for all RuntimeExceptions thrown by this library.
- TerraRuntimeException(String) - Constructor for exception co.tryterra.terraclient.exceptions.TerraRuntimeException
- TerraRuntimeException(Throwable) - Constructor for exception co.tryterra.terraclient.exceptions.TerraRuntimeException
- TerraWebhookPayload - Interface in co.tryterra.terraclient.api
-
Interface representing a payload received to a developer's webhook URL from Terra.
- toWebhook(boolean) - Method in class co.tryterra.terraclient.RequestConfig.Builder
-
Set whether the data returned from the API request will be in the response body or sent to the developer webhook.
- TssData - Class in co.tryterra.terraclient.models.v2.activity
- TssData() - Constructor for class co.tryterra.terraclient.models.v2.activity.TssData
- TssSample - Class in co.tryterra.terraclient.models.v2.samples
- TssSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.TssSample
U
- User - Interface in co.tryterra.terraclient.api
-
Interface representing a full Terra user.
- userFromId(String) - Method in interface co.tryterra.terraclient.api.TerraClientV2
-
Create a new temporary
PartialUser
object, without making an API call, that can be passed in to theuser
parameter of the data request methods of this class. - userMaxHrBpm - Variable in class co.tryterra.terraclient.models.v2.common.HeartRateData.Summary
V
- valueOf(String) - Static method in enum co.tryterra.terraclient.RequestConfig.Samples
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum co.tryterra.terraclient.RequestConfig.Samples
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifySignature(String, String) - Method in class co.tryterra.terraclient.WebhookHandlerUtility
-
Verify the signature of the incoming webhook to ensure that it was sent by Terra.
- Vo2MaxSample - Class in co.tryterra.terraclient.models.v2.samples
- Vo2MaxSample() - Constructor for class co.tryterra.terraclient.models.v2.samples.Vo2MaxSample
W
- WebhookHandlerUtility - Class in co.tryterra.terraclient
-
Class which provides various utilities to assist in handling webhook payloads received from Terra.
- WebhookHandlerUtility(String) - Constructor for class co.tryterra.terraclient.WebhookHandlerUtility
-
Constructor for this class
- withSamples(RequestConfig.Samples) - Method in class co.tryterra.terraclient.RequestConfig.Builder
-
Set whether the data returned from the API request will include sample data.
- WorkData - Class in co.tryterra.terraclient.models.v2.activity
- WorkData() - Constructor for class co.tryterra.terraclient.models.v2.activity.WorkData
All Classes All Packages