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

org.whispersystems.signalservice.internal.push.RegistrationSessionRequestBody.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
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
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy