UserEntityTypeMapperImpl

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
internal val admin: UserTypeEntity
Link copied to clipboard
internal val app: UserTypeEntity
Link copied to clipboard
internal val external: UserTypeEntity
Link copied to clipboard
Link copied to clipboard
internal val guest: UserTypeEntity
Link copied to clipboard
internal val none: UserTypeEntity
Link copied to clipboard
internal val owner: UserTypeEntity
Link copied to clipboard
internal val service: UserTypeEntity
Link copied to clipboard
internal val standard: UserTypeEntity

Functions

Link copied to clipboard
open override fun fromApiTypeAndTeamAndDomain(apiUserTypeDTO: UserTypeDTO?, otherUserDomain: String, selfUserTeamId: String?, otherUserTeamId: String?, selfUserDomain: String, isLegacyBot: Boolean = false): UserTypeEntity

Maps API user type combined with inference logic to determine the specific user type.

Link copied to clipboard
open override fun fromUserTypeInfo(userTypeInfo: UserTypeInfo): UserTypeEntity
Link copied to clipboard
open override fun teamRoleCodeToUserType(permissionCode: Int?, isService: Boolean = false): UserTypeEntity