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

org.whispersystems.signalservice.internal.push.VerificationCodeFailureResponseBody.kt Maven / Gradle / Ivy

There is a newer version: 2.15.3_unofficial_107
Show newest version
package org.whispersystems.signalservice.internal.push

import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonProperty

/**
 * Jackson parser for the response body from the server explaining a failure.
 * See also [org.whispersystems.signalservice.api.push.exceptions.ExternalServiceFailureException]
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
data class VerificationCodeFailureResponseBody(
  @JsonProperty("permanentFailure") val permanentFailure: Boolean,
  @JsonProperty("reason") val reason: String
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy