ExistingUser

data class ExistingUser(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?)

A object representing the data used to update an existing user in Prism's systems. This must be after a user has already been created. It should always be done before a new scan, so the user data is up to date.

Constructors

Link copied to clipboard
constructor(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

{string?} 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
val sex: UserSex?

{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 user