@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserStreamData {
private long approximateCreationDateTime;
private Keys keys;
private OldImage oldImage;
private String sequenceNumber;
private long sizeBytes;
private String streamViewType;
// A static class with an inner static class must declare the path of the lombok annotation.
@lombok.Getter
@lombok.Setter
@JsonIgnoreProperties(ignoreUnknown = true)
static class Keys {
private Id id;
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
static class Id {
private String s;
}
}
// ...
}