# Contact

data class Contact(val id: String = UUID.randomUUID().toString(), val name: String, val source: Contact.Source = Personal, val isFavorite: Boolean, val phones: List<Phone>, val emails: List<Email>, val associatedUserId: String?, val avatar: String? = null, val avatarUrl: URL? = null, val state: Presence.State? = Presence.State.OFFLINE, val userName: String? = null, val displayName: String? = null, val domain: String? = null, val mood: String? = null, val note: String? = null, wasDeleted: Boolean = false) : ConferenceParticipant

## Constructors

Contact
Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), name: String, source: Contact.Source = Personal, isFavorite: Boolean, phones: List<Phone>, emails: List<Email>, associatedUserId: String?, avatar: String? = null, avatarUrl: URL? = null, state: Presence.State? = Presence.State.OFFLINE, userName: String? = null, displayName: String? = null, domain: String? = null, mood: String? = null, note: String? = null, wasDeleted: Boolean = false)

## Types

Companion
Link copied to clipboard
object Companion
Source
Link copied to clipboard
sealed class Source : Parcelable

## Properties

associatedUserId
Link copied to clipboard
val associatedUserId: String?
avatar
Link copied to clipboard
val avatar: String? = null
avatarUrl
Link copied to clipboard
val avatarUrl: URL? = null
callerId
Link copied to clipboard
open override val callerId: String
displayName
Link copied to clipboard
val displayName: String? = null
domain
Link copied to clipboard
val domain: String? = null
emails
Link copied to clipboard
val emails: List<Email>
id
Link copied to clipboard
val id: String
isFavorite
Link copied to clipboard
val isFavorite: Boolean
mood
Link copied to clipboard
val mood: String? = null
name
Link copied to clipboard
val name: String
note
Link copied to clipboard
val note: String? = null
phones
Link copied to clipboard
val phones: List<Phone>
source
Link copied to clipboard
val source: Contact.Source
state
Link copied to clipboard
val state: Presence.State?
userName
Link copied to clipboard
val userName: String? = null