ConversationMapper

internal interface ConversationMapper

Inheritors

Functions

Link copied to clipboard
abstract fun fromApiModel(mlsPublicKeysDTO: MLSPublicKeysDTO?): MLSPublicKeys?
Link copied to clipboard
abstract fun fromApiModelToAccessModel(accessList: Set<ConversationAccessDTO>): Set<Conversation.Access>
Link copied to clipboard
abstract fun fromApiModelToAccessRoleModel(accessRoleList: Set<ConversationAccessRoleDTO>): Set<Conversation.AccessRole>
Link copied to clipboard
abstract fun fromApiModelToDaoModel(apiModel: ConversationResponse, mlsGroupState: ConversationEntity.GroupState?, selfUserTeamId: TeamId?): ConversationEntity
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun toApiModel(access: Conversation.Access): ConversationAccessDTO
abstract fun toApiModel(accessRole: Conversation.AccessRole): ConversationAccessRoleDTO
abstract fun toApiModel(protocol: CreateConversationParam.Protocol): ConvProtocol
abstract fun toApiModel(name: String?, members: List<UserId>, teamId: String?, options: CreateConversationParam): CreateConversationRequest
Link copied to clipboard
abstract fun toDAOAccess(accessList: Set<ConversationAccessDTO>): List<ConversationEntity.Access>
Link copied to clipboard
abstract fun toDAOAccessRole(accessRoleList: Set<ConversationAccessRoleDTO>): List<ConversationEntity.AccessRole>
Link copied to clipboard