Include the uuid with the list of mismatched devices

This commit is contained in:
Ehren Kret
2021-05-14 14:45:12 -05:00
parent 514b94a5cb
commit 6906336dfb
2 changed files with 59 additions and 32 deletions

View File

@@ -0,0 +1,22 @@
/*
* Copyright 2021 Signal Messenger, LLC
* SPDX-License-Identifier: AGPL-3.0-only
*/
package org.whispersystems.textsecuregcm.entities;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.UUID;
public class AccountMismatchedDevices {
@JsonProperty
public final UUID uuid;
@JsonProperty
public final MismatchedDevices devices;
public AccountMismatchedDevices(final UUID uuid, final MismatchedDevices devices) {
this.uuid = uuid;
this.devices = devices;
}
}