@@ -155,6 +155,26 @@ public class OuraRestSourceConnectorConfig extends AbstractConfig {
155155 private static final String OURA_SLEEP_TIME_RECOMMENDATION_ENABLED_DOC = "Enable or disable Oura sleep time recommendation" ;
156156 private static final String OURA_SLEEP_TIME_RECOMMENDATION_ENABLED_DISPLAY = "Oura sleep time recommendation enabled" ;
157157
158+ private static final String OURA_DAILY_STRESS_ENABLED_CONFIG = "oura.daily.stress.enabled" ;
159+ private static final String OURA_DAILY_STRESS_ENABLED_DOC = "Enable or disable Oura daily stress" ;
160+ private static final String OURA_DAILY_STRESS_ENABLED_DISPLAY = "Oura daily stress enabled" ;
161+
162+ private static final String OURA_VO2MAX_ENABLED_CONFIG = "oura.vo2max.enabled" ;
163+ private static final String OURA_VO2MAX_ENABLED_DOC = "Enable or disable Oura vo2max" ;
164+ private static final String OURA_VO2MAX_ENABLED_DISPLAY = "Oura vo2max enabled" ;
165+
166+ private static final String OURA_DAILY_RESILIENCE_ENABLED_CONFIG = "oura.daily.resilience.enabled" ;
167+ private static final String OURA_DAILY_RESILIENCE_ENABLED_DOC = "Enable or disable Oura daily resilience" ;
168+ private static final String OURA_DAILY_RESILIENCE_ENABLED_DISPLAY = "Oura daily resilience enabled" ;
169+
170+ private static final String OURA_DAILY_CARDIOVASCULAR_AGE_ENABLED_CONFIG = "oura.daily.cardiovascular.age.enabled" ;
171+ private static final String OURA_DAILY_CARDIOVASCULAR_AGE_ENABLED_DOC = "Enable or disable Oura daily cardiovascular age" ;
172+ private static final String OURA_DAILY_CARDIOVASCULAR_AGE_ENABLED_DISPLAY = "Oura daily cardiovascular age enabled" ;
173+
174+ private static final String OURA_ENHANCED_TAG_ENABLED_CONFIG = "oura.enhanced.tag.enabled" ;
175+ private static final String OURA_ENHANCED_TAG_ENABLED_DOC = "Enable or disable Oura enhanced tag" ;
176+ private static final String OURA_ENHANCED_TAG_ENABLED_DISPLAY = "Oura enhanced tag enabled" ;
177+
158178 private OuraUserRepository userRepository ;
159179 private final Headers clientCredentials ;
160180
@@ -424,6 +444,56 @@ public String toString() {
424444 ++orderInGroup ,
425445 Width .SHORT ,
426446 OURA_SLEEP_TIME_RECOMMENDATION_ENABLED_DISPLAY )
447+
448+ .define (OURA_DAILY_STRESS_ENABLED_CONFIG ,
449+ Type .BOOLEAN ,
450+ true ,
451+ Importance .LOW ,
452+ OURA_DAILY_STRESS_ENABLED_DOC ,
453+ group ,
454+ ++orderInGroup ,
455+ Width .SHORT ,
456+ OURA_DAILY_STRESS_ENABLED_DISPLAY )
457+
458+ .define (OURA_VO2MAX_ENABLED_CONFIG ,
459+ Type .BOOLEAN ,
460+ true ,
461+ Importance .LOW ,
462+ OURA_VO2MAX_ENABLED_DOC ,
463+ group ,
464+ ++orderInGroup ,
465+ Width .SHORT ,
466+ OURA_VO2MAX_ENABLED_DISPLAY )
467+
468+ .define (OURA_DAILY_RESILIENCE_ENABLED_CONFIG ,
469+ Type .BOOLEAN ,
470+ true ,
471+ Importance .LOW ,
472+ OURA_DAILY_RESILIENCE_ENABLED_DOC ,
473+ group ,
474+ ++orderInGroup ,
475+ Width .SHORT ,
476+ OURA_DAILY_RESILIENCE_ENABLED_DISPLAY )
477+
478+ .define (OURA_DAILY_CARDIOVASCULAR_AGE_ENABLED_CONFIG ,
479+ Type .BOOLEAN ,
480+ true ,
481+ Importance .LOW ,
482+ OURA_DAILY_CARDIOVASCULAR_AGE_ENABLED_DOC ,
483+ group ,
484+ ++orderInGroup ,
485+ Width .SHORT ,
486+ OURA_DAILY_CARDIOVASCULAR_AGE_ENABLED_DISPLAY )
487+
488+ .define (OURA_ENHANCED_TAG_ENABLED_CONFIG ,
489+ Type .BOOLEAN ,
490+ true ,
491+ Importance .LOW ,
492+ OURA_ENHANCED_TAG_ENABLED_DOC ,
493+ group ,
494+ ++orderInGroup ,
495+ Width .SHORT ,
496+ OURA_ENHANCED_TAG_ENABLED_DISPLAY )
427497 ;
428498 }
429499
@@ -526,5 +596,10 @@ public URL getOuraUserRepositoryTokenUrl() {
526596 public boolean getOuraRingConfigurationEnabled () { return getBoolean (OURA_RING_CONFIGURATION_ENABLED_CONFIG ); }
527597 public boolean getOuraRestModePeriodEnabled () { return getBoolean (OURA_REST_MODE_PERIOD_ENABLED_CONFIG ); }
528598 public boolean getOuraSleepTimeRecommendationEnabled () { return getBoolean (OURA_SLEEP_TIME_RECOMMENDATION_ENABLED_CONFIG ); }
599+ public boolean getOuraDailyStressEnabled () { return getBoolean (OURA_DAILY_STRESS_ENABLED_CONFIG ); }
600+ public boolean getOuraVo2maxEnabled () { return getBoolean (OURA_VO2MAX_ENABLED_CONFIG ); }
601+ public boolean getOuraDailyResilienceEnabled () { return getBoolean (OURA_DAILY_RESILIENCE_ENABLED_CONFIG ); }
602+ public boolean getOuraDailyCardiovascularAgeEnabled () { return getBoolean (OURA_DAILY_CARDIOVASCULAR_AGE_ENABLED_CONFIG ); }
603+ public boolean getOuraEnhancedTagEnabled () { return getBoolean (OURA_ENHANCED_TAG_ENABLED_CONFIG ); }
529604
530605}
0 commit comments