ActiveFitUrl

class ActiveFitUrl(var key: String? = null, var url: String? = null)

A single named link from the Active Fit application configuration.

Consumers encounter these as the com.advantahealth.api.settings.model.ActiveFitConfig.urls list returned by com.advantahealth.api.settings.ApplicationSettings.getActiveFitSettings. Look up an entry by its key to resolve the destination url for things like terms of service, privacy policy, support, or other backend-driven external resources, rather than hard-coding addresses in the host app.

Both fields originate from the backend; the SDK only surfaces entries where both key and url are present, but the fields remain nullable on this public type.

Constructors

Link copied to clipboard
constructor(key: String? = null, url: String? = null)

Properties

Link copied to clipboard
var key: String?

The identifier the backend assigns to this link (for example "termsAndConditions", "privacyPolicy", "support"). null if unset.

Link copied to clipboard
var url: String?

The absolute web address this key resolves to, or null if unset.

Functions

Link copied to clipboard
open override fun toString(): String