org.whispersystems.signalservice.internal.push.UpdateVerificationSessionRequestBody.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signal-service-java Show documentation
Show all versions of signal-service-java Show documentation
Signal Service communication library for Java, unofficial fork
package org.whispersystems.signalservice.internal.push
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonProperty
@JsonInclude(JsonInclude.Include.NON_NULL)
data class UpdateVerificationSessionRequestBody(
@JsonProperty val captcha: String?,
@JsonProperty val pushToken: String?,
@JsonProperty val pushChallenge: String?,
@JsonProperty val mcc: String?,
@JsonProperty val mnc: String?
) {
@JsonProperty
val pushTokenType: String? = if (pushToken != null) "fcm" else null
}