io.getstream.core.models.PaginatedNotificationGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stream-java Show documentation
Show all versions of stream-java Show documentation
Stream Feeds Java Client for backend and android integrations
package io.getstream.core.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
public class PaginatedNotificationGroup extends Paginated> {
private final int unread;
private final int unseen;
@JsonCreator
public PaginatedNotificationGroup(
@JsonProperty("next") String next,
@JsonProperty("results") List> results,
@JsonProperty("duration") String duration,
@JsonProperty("unread") int unread,
@JsonProperty("unseen") int unseen) {
super(next, results, duration);
this.unread = unread;
this.unseen = unseen;
}
public int getUnread() {
return this.unread;
}
public int getUnseen() {
return this.unseen;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy