All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.net.folivo.trixnity.clientserverapi.model.authentication.ThirdPartyIdentifier.kt Maven / Gradle / Ivy

There is a newer version: 4.7.1
Show newest version
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
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy