org.whispersystems.signalservice.internal.push.SetUsernameRequest 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.JsonProperty;
class SetUsernameRequest {
@JsonProperty
private String nickname;
@JsonProperty
private String existingUsername;
SetUsernameRequest(String nickname, String existingUsername) {
this.nickname = nickname;
this.existingUsername = existingUsername;
}
String getNickname() {
return nickname;
}
String getExistingUsername() {
return existingUsername;
}
}