commonMain.net.folivo.trixnity.clientserverapi.model.authentication.ThirdPartyIdentifier.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trixnity-clientserverapi-model Show documentation
Show all versions of trixnity-clientserverapi-model Show documentation
Multiplatform Kotlin SDK for matrix-protocol
package net.folivo.trixnity.clientserverapi.model.authentication
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class ThirdPartyIdentifier(
@SerialName("added_at") val addedAt: Long,
@SerialName("address") val address: String,
@SerialName("medium") val medium: Medium,
@SerialName("validated_at") val validatedAt: Long
) {
@Serializable
enum class Medium {
@SerialName("email")
EMAIL,
@SerialName("msisdn")
MSISDN
}
}