UserMapper

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
fun toModel(user: User): UserEntity
Link copied to clipboard
fun toModelMinimized(userId: QualifiedIDEntity, name: String?, assetId: QualifiedIDEntity?, userTypeEntity: UserTypeEntity, accentId: Int): UserEntityMinimized
Link copied to clipboard
fun toUserAndTeamPairModel(qualifiedId: QualifiedIDEntity, name: String?, handle: String?, email: String?, phone: String?, accentId: Int, team: String?, connectionStatus: ConnectionEntity.State, previewAssetId: QualifiedIDEntity?, completeAssetId: QualifiedIDEntity?, userAvailabilityStatus: UserAvailabilityStatusEntity, userType: UserTypeEntity, botService: BotIdEntity?, deleted: Boolean, hasIncompleteMetadata: Boolean, expiresAt: <Error class: unknown class>?, defederated: Boolean, supportedProtocols: Set<SupportedProtocolEntity>?, oneOnOneConversationId: QualifiedIDEntity?, isVerifiedProteus: Long, isUnderLegalHold: Long, id: String?, teamName: String?, teamIcon: String?): <Error class: unknown class><UserDetailsEntity, TeamEntity?>