User

data class User(val id: String, val token: String, val email: String?, val sex: UserSex, val region: UserRegion, val usaResidence: String?, val birthDate: LocalDate, val weight: Weight, val height: Height, val researchConsent: Boolean)

Constructors

Link copied to clipboard
constructor(id: String, token: String, email: String?, sex: UserSex, region: UserRegion, usaResidence: String?, birthDate: LocalDate, weight: Weight, height: Height, researchConsent: Boolean)

Properties

Link copied to clipboard

{LocalDate} The birthdate of the user

Link copied to clipboard

{string} The email of the user

Link copied to clipboard

{Height} The height of the user

Link copied to clipboard
val id: String

{string} The internal id of the user model

Link copied to clipboard

{UserRegion} The region the user resides in

Link copied to clipboard

{boolean} Research Consent for the user. This is used to enroll or unenroll the user in using the uploaded body scans for training purposes.

Link copied to clipboard

{UserSex} The sex of the user

Link copied to clipboard

{string} The 3rd-party identifier of the user associated with the scan

Link copied to clipboard

{string} The US state the user resides in

Link copied to clipboard

{Weight} The weight of the suer