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

org.whispersystems.signalservice.internal.push.VerifyAccountResponse 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.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class VerifyAccountResponse {
  @JsonProperty
  public String uuid;

  @JsonProperty
  public String pni;

  @JsonProperty
  public boolean storageCapable;

  @JsonProperty
  public String number;

  @JsonCreator
  public VerifyAccountResponse() {}

  public VerifyAccountResponse(String uuid, String pni, boolean storageCapable) {
    this.uuid           = uuid;
    this.pni            = pni;
    this.storageCapable = storageCapable;
  }

  public String getUuid() {
    return uuid;
  }

  public boolean isStorageCapable() {
    return storageCapable;
  }

  public String getPni() {
    return pni;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy