UserSessionInfo

@Serializable
data class UserSessionInfo(val firstName: String? = null, val lastName: String? = null, val externalId: String? = null, val id: String, val notifyByEmail: Boolean? = null, val attributes: Map<String, String>? = null, val sharingScope: SharingScope? = null, val createdOn: String? = null, val emailVerified: Boolean? = null, val phoneVerified: Boolean? = null, val status: AccountStatus? = null, val roles: List<Role>? = null, val dataGroups: List<String>? = null, val clientData: JsonElement? = null, val languages: List<String>? = null, val studyIds: List<String>, val externalIds: Map<String, String>? = null, val authenticated: Boolean, val sessionToken: String, val reauthToken: String? = null, val environment: Environment? = null, val email: String? = null, val phone: Phone? = null, val dataSharing: Boolean? = null, val signedMostRecentConsent: Boolean? = null, val synapseUserId: String? = null, val consented: Boolean = false, val consentStatuses: Map<String, ConsentStatus>? = null, val enrollments: Map<String, EnrollmentInfo>? = null, val orgMembership: String? = null, val type: String? = null)

Constructors

Link copied to clipboard
constructor(firstName: String? = null, lastName: String? = null, externalId: String? = null, id: String, notifyByEmail: Boolean? = null, attributes: Map<String, String>? = null, sharingScope: SharingScope? = null, createdOn: String? = null, emailVerified: Boolean? = null, phoneVerified: Boolean? = null, status: AccountStatus? = null, roles: List<Role>? = null, dataGroups: List<String>? = null, clientData: JsonElement? = null, languages: List<String>? = null, studyIds: List<String>, externalIds: Map<String, String>? = null, authenticated: Boolean, sessionToken: String, reauthToken: String? = null, environment: Environment? = null, email: String? = null, phone: Phone? = null, dataSharing: Boolean? = null, signedMostRecentConsent: Boolean? = null, synapseUserId: String? = null, consented: Boolean = false, consentStatuses: Map<String, ConsentStatus>? = null, enrollments: Map<String, EnrollmentInfo>? = null, orgMembership: String? = null, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "attributes")
val attributes: Map<String, String>? = null
Link copied to clipboard
@SerialName(value = "authenticated")
val authenticated: Boolean
Link copied to clipboard
@SerialName(value = "clientData")
val clientData: JsonElement? = null
Link copied to clipboard
@SerialName(value = "consented")
val consented: Boolean = false
Link copied to clipboard
@SerialName(value = "consentStatuses")
val consentStatuses: Map<String, ConsentStatus>? = null
Link copied to clipboard
@SerialName(value = "createdOn")
val createdOn: String? = null
Link copied to clipboard
@SerialName(value = "dataGroups")
val dataGroups: List<String>? = null
Link copied to clipboard
@SerialName(value = "dataSharing")
val dataSharing: Boolean? = null
Link copied to clipboard
@SerialName(value = "email")
val email: String? = null
Link copied to clipboard
@SerialName(value = "emailVerified")
val emailVerified: Boolean? = null
Link copied to clipboard
@SerialName(value = "enrollments")
val enrollments: Map<String, EnrollmentInfo>? = null
Link copied to clipboard
@SerialName(value = "environment")
val environment: Environment? = null
Link copied to clipboard
@SerialName(value = "externalId")
val externalId: String? = null
Link copied to clipboard
@SerialName(value = "externalIds")
val externalIds: Map<String, String>? = null
Link copied to clipboard
@SerialName(value = "firstName")
val firstName: String? = null
Link copied to clipboard
@SerialName(value = "id")
val id: String
Link copied to clipboard
@SerialName(value = "languages")
val languages: List<String>? = null
Link copied to clipboard
@SerialName(value = "lastName")
val lastName: String? = null
Link copied to clipboard
@SerialName(value = "notifyByEmail")
val notifyByEmail: Boolean? = null
Link copied to clipboard
@SerialName(value = "orgMembership")
val orgMembership: String? = null
Link copied to clipboard
@SerialName(value = "phone")
val phone: Phone? = null
Link copied to clipboard
@SerialName(value = "phoneVerified")
val phoneVerified: Boolean? = null
Link copied to clipboard
@SerialName(value = "reauthToken")
val reauthToken: String? = null
Link copied to clipboard
@SerialName(value = "roles")
val roles: List<Role>? = null
Link copied to clipboard
@SerialName(value = "sessionToken")
val sessionToken: String
Link copied to clipboard
@SerialName(value = "sharingScope")
val sharingScope: SharingScope? = null
Link copied to clipboard
@SerialName(value = "signedMostRecentConsent")
val signedMostRecentConsent: Boolean? = null
Link copied to clipboard
@SerialName(value = "status")
val status: AccountStatus? = null
Link copied to clipboard
@SerialName(value = "studyIds")
val studyIds: List<String>
Link copied to clipboard
@SerialName(value = "synapseUserId")
val synapseUserId: String? = null
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null

Functions

Link copied to clipboard
fun UserSessionInfo.clientDataJson(): <Error class: unknown class>?