org.whispersystems.signalservice.internal.push.RegistrationSessionRequestBody.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
import org.whispersystems.signalservice.api.account.AccountAttributes
import org.whispersystems.signalservice.api.push.SignedPreKeyEntity
@JsonInclude(JsonInclude.Include.NON_NULL)
data class RegistrationSessionRequestBody(
@JsonProperty val sessionId: String? = null,
@JsonProperty val recoveryPassword: String? = null,
@JsonProperty val accountAttributes: AccountAttributes,
@JsonProperty val aciIdentityKey: String,
@JsonProperty val pniIdentityKey: String,
@JsonProperty val aciSignedPreKey: SignedPreKeyEntity,
@JsonProperty val pniSignedPreKey: SignedPreKeyEntity,
@JsonProperty val aciPqLastResortPreKey: KyberPreKeyEntity,
@JsonProperty val pniPqLastResortPreKey: KyberPreKeyEntity,
@JsonProperty val gcmToken: GcmRegistrationId?,
@JsonProperty val skipDeviceTransfer: Boolean,
@JsonProperty val requireAtomic: Boolean = true
)