package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; import org.hibernate.validator.constraints.NotEmpty; import javax.validation.constraints.NotNull; public class TestDeviceConfiguration { @JsonProperty @NotEmpty private String number; @JsonProperty @NotNull private int code; public String getNumber() { return number; } public int getCode() { return code; } }