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

org.whispersystems.signalservice.api.profiles.SignalServiceProfile Maven / Gradle / Ivy

The newest version!
package org.whispersystems.signalservice.api.profiles;


import com.fasterxml.jackson.annotation.JsonProperty;

public class SignalServiceProfile {

  @JsonProperty
  private String identityKey;

  @JsonProperty
  private String name;

  @JsonProperty
  private String avatar;

  @JsonProperty
  private String unidentifiedAccess;

  @JsonProperty
  private boolean unrestrictedUnidentifiedAccess;

  @JsonProperty
  private Capabilities capabilities;

  public SignalServiceProfile() {}

  public String getIdentityKey() {
    return identityKey;
  }

  public String getName() {
    return name;
  }

  public String getAvatar() {
    return avatar;
  }

  public String getUnidentifiedAccess() {
    return unidentifiedAccess;
  }

  public boolean isUnrestrictedUnidentifiedAccess() {
    return unrestrictedUnidentifiedAccess;
  }

  public Capabilities getCapabilities() {
    return capabilities;
  }

  public static class Capabilities {
    @JsonProperty
    private boolean uuid;

    public Capabilities() {}

    public boolean isUuid() {
      return uuid;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy