mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-26 10:28:05 +01:00
1) A /v2/keys controller. 2) Separate wire protocol PreKey POJOs from database PreKey objects. 3) Separate wire protocol PreKey submission and response POJOs. 4) Introduce a new update/response JSON format for /v2/keys.
21 lines
314 B
Java
21 lines
314 B
Java
package org.whispersystems.textsecuregcm.entities;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
public class PreKeyCount {
|
|
|
|
@JsonProperty
|
|
private int count;
|
|
|
|
public PreKeyCount(int count) {
|
|
this.count = count;
|
|
}
|
|
|
|
public PreKeyCount() {}
|
|
|
|
public int getCount() {
|
|
return count;
|
|
}
|
|
}
|